Commit 3db5e3e7 authored by Johannes Berg's avatar Johannes Berg

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent 343884c8
...@@ -185,6 +185,8 @@ static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2) ...@@ -185,6 +185,8 @@ static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2)
/* number of user priorities 802.11 uses */ /* number of user priorities 802.11 uses */
#define IEEE80211_NUM_UPS 8 #define IEEE80211_NUM_UPS 8
/* number of ACs */
#define IEEE80211_NUM_ACS 4
#define IEEE80211_QOS_CTL_LEN 2 #define IEEE80211_QOS_CTL_LEN 2
/* 1d tag mask */ /* 1d tag mask */
......
...@@ -147,7 +147,6 @@ enum ieee80211_ac_numbers { ...@@ -147,7 +147,6 @@ enum ieee80211_ac_numbers {
IEEE80211_AC_BE = 2, IEEE80211_AC_BE = 2,
IEEE80211_AC_BK = 3, IEEE80211_AC_BK = 3,
}; };
#define IEEE80211_NUM_ACS 4
/** /**
* struct ieee80211_tx_queue_params - transmit queue configuration * struct ieee80211_tx_queue_params - transmit queue configuration
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment