diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-02 14:05:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-08 14:15:59 -0400 |
commit | 238f74a227fd7de8ea1bc66dcbbd36cf9920d1cb (patch) | |
tree | 2174b8920ae81c82e7e382d1fc66e1609df11828 /net/mac80211/wme.h | |
parent | 994d31f7430c3639b73c6ee038bd437c926b1227 (diff) |
mac80211: move QOS control helpers into ieee80211.h
Also remove the WLAN_IS_QOS_DATA inline after removing the last
two users. This starts moving away from using rx->fc to using
the header frame_control directly.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/wme.h')
-rw-r--r-- | net/mac80211/wme.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/mac80211/wme.h b/net/mac80211/wme.h index bbdb53344817..1aca609eccfc 100644 --- a/net/mac80211/wme.h +++ b/net/mac80211/wme.h | |||
@@ -19,18 +19,10 @@ | |||
19 | #define QOS_CONTROL_ACK_POLICY_NORMAL 0 | 19 | #define QOS_CONTROL_ACK_POLICY_NORMAL 0 |
20 | #define QOS_CONTROL_ACK_POLICY_NOACK 1 | 20 | #define QOS_CONTROL_ACK_POLICY_NOACK 1 |
21 | 21 | ||
22 | #define QOS_CONTROL_TID_MASK 0x0f | ||
23 | #define QOS_CONTROL_ACK_POLICY_SHIFT 5 | 22 | #define QOS_CONTROL_ACK_POLICY_SHIFT 5 |
24 | 23 | ||
25 | #define QOS_CONTROL_TAG1D_MASK 0x07 | ||
26 | |||
27 | extern const int ieee802_1d_to_ac[8]; | 24 | extern const int ieee802_1d_to_ac[8]; |
28 | 25 | ||
29 | static inline int WLAN_FC_IS_QOS_DATA(u16 fc) | ||
30 | { | ||
31 | return (fc & 0x8C) == 0x88; | ||
32 | } | ||
33 | |||
34 | #ifdef CONFIG_MAC80211_QOS | 26 | #ifdef CONFIG_MAC80211_QOS |
35 | void ieee80211_install_qdisc(struct net_device *dev); | 27 | void ieee80211_install_qdisc(struct net_device *dev); |
36 | int ieee80211_qdisc_installed(struct net_device *dev); | 28 | int ieee80211_qdisc_installed(struct net_device *dev); |