diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2009-11-15 17:07:30 -0500 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2009-11-18 17:09:10 -0500 |
| commit | 599bf6a4d64d8399e99514e0e1ef02e97e43238f (patch) | |
| tree | 870498289546f57a6d96f5c272fde5a8aaca1f2c | |
| parent | 3e5b1101f59fb3e17a8eb32cca100ae07fd7100e (diff) | |
mac80211: add the total ampdu length to tx info
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
| -rw-r--r-- | include/net/mac80211.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 2c10eac637d8..3b3defbe6fc1 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
| @@ -390,10 +390,12 @@ struct ieee80211_tx_rate { | |||
| 390 | * @control: union for control data | 390 | * @control: union for control data |
| 391 | * @status: union for status data | 391 | * @status: union for status data |
| 392 | * @driver_data: array of driver_data pointers | 392 | * @driver_data: array of driver_data pointers |
| 393 | * @ampdu_ack_len: number of aggregated frames. | 393 | * @ampdu_ack_len: number of acked aggregated frames. |
| 394 | * relevant only if IEEE80211_TX_STATUS_AMPDU was set. | 394 | * relevant only if IEEE80211_TX_STATUS_AMPDU was set. |
| 395 | * @ampdu_ack_map: block ack bit map for the aggregation. | 395 | * @ampdu_ack_map: block ack bit map for the aggregation. |
| 396 | * relevant only if IEEE80211_TX_STATUS_AMPDU was set. | 396 | * relevant only if IEEE80211_TX_STATUS_AMPDU was set. |
| 397 | * @ampdu_len: number of aggregated frames. | ||
| 398 | * relevant only if IEEE80211_TX_STATUS_AMPDU was set. | ||
| 397 | * @ack_signal: signal strength of the ACK frame | 399 | * @ack_signal: signal strength of the ACK frame |
| 398 | */ | 400 | */ |
| 399 | struct ieee80211_tx_info { | 401 | struct ieee80211_tx_info { |
| @@ -428,7 +430,8 @@ struct ieee80211_tx_info { | |||
| 428 | u8 ampdu_ack_len; | 430 | u8 ampdu_ack_len; |
| 429 | u64 ampdu_ack_map; | 431 | u64 ampdu_ack_map; |
| 430 | int ack_signal; | 432 | int ack_signal; |
| 431 | /* 8 bytes free */ | 433 | u8 ampdu_len; |
| 434 | /* 7 bytes free */ | ||
| 432 | } status; | 435 | } status; |
| 433 | struct { | 436 | struct { |
| 434 | struct ieee80211_tx_rate driver_rates[ | 437 | struct ieee80211_tx_rate driver_rates[ |
