wireless: move IEEE80211_NUM_ACS to ieee80211.h
authorJohannes Berg <johannes.berg@intel.com>
Thu, 5 Jan 2017 12:37:28 +0000 (13:37 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 5 Nov 2017 17:02:44 +0000 (18:02 +0100)
This constant isn't really specific to mac80211, so move it
"up" a level to ieee80211.h

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h

index 35bb2e3a4dc7c9d8bdf9d124f35b6ffea26f5919..94bd4bbcbed5ff5ce33eb1f88a9f3a20fcb02b9a 100644 (file)
@@ -179,6 +179,8 @@ static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2)
 
 /* number of user priorities 802.11 uses */
 #define IEEE80211_NUM_UPS              8
+/* number of ACs */
+#define IEEE80211_NUM_ACS              4
 
 #define IEEE80211_QOS_CTL_LEN          2
 /* 1d tag mask */