diff options
author | Alexander Bondar <alexander.bondar@intel.com> | 2013-04-07 02:53:30 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-22 09:33:06 -0400 |
commit | 908f8d07e9774c2476e0683f6a0ce50562a2da45 (patch) | |
tree | e78129be8c7044a0f53903ef74579501b07d77b3 /include/net/mac80211.h | |
parent | 6e3ab5543bed9dffb7d1a6404c3782284a432a70 (diff) |
mac80211: indicate admission control in TX queue parameters
Some driver implementations need to know whether mandatory
admission control is required by the AP for some ACs. Add
a parameter to the TX queue parameters indicating this.
As there's currently no support for admission control in
mac80211's AP implementation, it's only ever set for the
client implementation.
Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 4f693a5c54de..b77d57a070e5 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -128,6 +128,7 @@ enum ieee80211_ac_numbers { | |||
128 | * 2^n-1 in the range 1..32767] | 128 | * 2^n-1 in the range 1..32767] |
129 | * @cw_max: maximum contention window [like @cw_min] | 129 | * @cw_max: maximum contention window [like @cw_min] |
130 | * @txop: maximum burst time in units of 32 usecs, 0 meaning disabled | 130 | * @txop: maximum burst time in units of 32 usecs, 0 meaning disabled |
131 | * @acm: is mandatory admission control required for the access category | ||
131 | * @uapsd: is U-APSD mode enabled for the queue | 132 | * @uapsd: is U-APSD mode enabled for the queue |
132 | */ | 133 | */ |
133 | struct ieee80211_tx_queue_params { | 134 | struct ieee80211_tx_queue_params { |
@@ -135,6 +136,7 @@ struct ieee80211_tx_queue_params { | |||
135 | u16 cw_min; | 136 | u16 cw_min; |
136 | u16 cw_max; | 137 | u16 cw_max; |
137 | u8 aifs; | 138 | u8 aifs; |
139 | bool acm; | ||
138 | bool uapsd; | 140 | bool uapsd; |
139 | }; | 141 | }; |
140 | 142 | ||