packet: fix race condition in packet_set_ring
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / net / mac80211 / wme.h
1 /*
2  * Copyright 2004, Instant802 Networks, Inc.
3  * Copyright 2005, Devicescape Software, Inc.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  */
9
10 #ifndef _WME_H
11 #define _WME_H
12
13 #include <linux/netdevice.h>
14 #include "ieee80211_i.h"
15
16 extern const int ieee802_1d_to_ac[8];
17
18 u16 ieee80211_select_queue_80211(struct ieee80211_sub_if_data *sdata,
19                                  struct sk_buff *skb,
20                                  struct ieee80211_hdr *hdr);
21 u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata,
22                            struct sk_buff *skb);
23 void ieee80211_set_qos_hdr(struct ieee80211_sub_if_data *sdata,
24                            struct sk_buff *skb);
25
26 #endif /* _WME_H */