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>
This commit is contained in:
parent
3e5b1101f5
commit
599bf6a4d6
|
@ -390,10 +390,12 @@ struct ieee80211_tx_rate {
|
||||||
* @control: union for control data
|
* @control: union for control data
|
||||||
* @status: union for status data
|
* @status: union for status data
|
||||||
* @driver_data: array of driver_data pointers
|
* @driver_data: array of driver_data pointers
|
||||||
* @ampdu_ack_len: number of aggregated frames.
|
* @ampdu_ack_len: number of acked aggregated frames.
|
||||||
* relevant only if IEEE80211_TX_STATUS_AMPDU was set.
|
* relevant only if IEEE80211_TX_STATUS_AMPDU was set.
|
||||||
* @ampdu_ack_map: block ack bit map for the aggregation.
|
* @ampdu_ack_map: block ack bit map for the aggregation.
|
||||||
* relevant only if IEEE80211_TX_STATUS_AMPDU was set.
|
* relevant only if IEEE80211_TX_STATUS_AMPDU was set.
|
||||||
|
* @ampdu_len: number of aggregated frames.
|
||||||
|
* relevant only if IEEE80211_TX_STATUS_AMPDU was set.
|
||||||
* @ack_signal: signal strength of the ACK frame
|
* @ack_signal: signal strength of the ACK frame
|
||||||
*/
|
*/
|
||||||
struct ieee80211_tx_info {
|
struct ieee80211_tx_info {
|
||||||
|
@ -428,7 +430,8 @@ struct ieee80211_tx_info {
|
||||||
u8 ampdu_ack_len;
|
u8 ampdu_ack_len;
|
||||||
u64 ampdu_ack_map;
|
u64 ampdu_ack_map;
|
||||||
int ack_signal;
|
int ack_signal;
|
||||||
/* 8 bytes free */
|
u8 ampdu_len;
|
||||||
|
/* 7 bytes free */
|
||||||
} status;
|
} status;
|
||||||
struct {
|
struct {
|
||||||
struct ieee80211_tx_rate driver_rates[
|
struct ieee80211_tx_rate driver_rates[
|
||||||
|
|
Reference in New Issue