diff options
| author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-01-28 07:07:18 -0500 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:19:17 -0500 |
| commit | 9e7234923789897858e1a475c579b5e2e6ad5b74 (patch) | |
| tree | 69e97df9ff34f9237bfddee6e99100e8e16e1da1 /include | |
| parent | eadc8d9e9047266a8914eb2ed4d36e797ce540d1 (diff) | |
mac80211: A-MPDU Tx adding qdisc support
This patch allows qdisc support in A-MPDU Tx. a method to
handle QoS <-> TID switches is present in this patch.
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/mac80211.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 3bbc33cc2b96..0ce2e94dc844 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
| @@ -246,6 +246,7 @@ struct ieee80211_tx_queue_stats_data { | |||
| 246 | * @IEEE80211_TX_QUEUE_AFTER_BEACON: transmit queue for frames to be | 246 | * @IEEE80211_TX_QUEUE_AFTER_BEACON: transmit queue for frames to be |
| 247 | * sent after a beacon | 247 | * sent after a beacon |
| 248 | * @IEEE80211_TX_QUEUE_BEACON: transmit queue for beacon frames | 248 | * @IEEE80211_TX_QUEUE_BEACON: transmit queue for beacon frames |
| 249 | * @NUM_TX_DATA_QUEUES_AMPDU: adding more queues for A-MPDU | ||
| 249 | */ | 250 | */ |
| 250 | enum ieee80211_tx_queue { | 251 | enum ieee80211_tx_queue { |
| 251 | IEEE80211_TX_QUEUE_DATA0, | 252 | IEEE80211_TX_QUEUE_DATA0, |
| @@ -261,11 +262,12 @@ enum ieee80211_tx_queue { | |||
| 261 | * this struct need to have fixed values. As soon as it is removed, we can | 262 | * this struct need to have fixed values. As soon as it is removed, we can |
| 262 | * fix these entries. */ | 263 | * fix these entries. */ |
| 263 | IEEE80211_TX_QUEUE_AFTER_BEACON = 6, | 264 | IEEE80211_TX_QUEUE_AFTER_BEACON = 6, |
| 264 | IEEE80211_TX_QUEUE_BEACON = 7 | 265 | IEEE80211_TX_QUEUE_BEACON = 7, |
| 266 | NUM_TX_DATA_QUEUES_AMPDU = 16 | ||
| 265 | }; | 267 | }; |
| 266 | 268 | ||
| 267 | struct ieee80211_tx_queue_stats { | 269 | struct ieee80211_tx_queue_stats { |
| 268 | struct ieee80211_tx_queue_stats_data data[NUM_TX_DATA_QUEUES]; | 270 | struct ieee80211_tx_queue_stats_data data[NUM_TX_DATA_QUEUES_AMPDU]; |
| 269 | }; | 271 | }; |
| 270 | 272 | ||
| 271 | struct ieee80211_low_level_stats { | 273 | struct ieee80211_low_level_stats { |
| @@ -348,6 +350,8 @@ struct ieee80211_tx_control { | |||
| 348 | #define IEEE80211_TXCTL_EAPOL_FRAME (1<<11) /* internal to mac80211 */ | 350 | #define IEEE80211_TXCTL_EAPOL_FRAME (1<<11) /* internal to mac80211 */ |
| 349 | #define IEEE80211_TXCTL_SEND_AFTER_DTIM (1<<12) /* send this frame after DTIM | 351 | #define IEEE80211_TXCTL_SEND_AFTER_DTIM (1<<12) /* send this frame after DTIM |
| 350 | * beacon */ | 352 | * beacon */ |
| 353 | #define IEEE80211_TXCTL_AMPDU (1<<13) /* this frame should be sent | ||
| 354 | * as part of an A-MPDU */ | ||
| 351 | u32 flags; /* tx control flags defined | 355 | u32 flags; /* tx control flags defined |
| 352 | * above */ | 356 | * above */ |
| 353 | u8 key_idx; /* keyidx from hw->set_key(), undefined if | 357 | u8 key_idx; /* keyidx from hw->set_key(), undefined if |
