From: Johannes Berg Date: Thu, 5 Jan 2017 12:37:28 +0000 (+0100) Subject: wireless: move IEEE80211_NUM_ACS to ieee80211.h X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=9869147bf29b14700f1f2f32e3c4d774d60b8109;p=carl9170fw.git wireless: move IEEE80211_NUM_ACS to ieee80211.h This constant isn't really specific to mac80211, so move it "up" a level to ieee80211.h Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 35bb2e3..94bd4bb 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -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 */