|
@@ -475,7 +475,7 @@ enum mac80211_rate_control_flags {
|
|
#define IEEE80211_TX_INFO_RATE_DRIVER_DATA_SIZE 24
|
|
#define IEEE80211_TX_INFO_RATE_DRIVER_DATA_SIZE 24
|
|
|
|
|
|
/* maximum number of rate stages */
|
|
/* maximum number of rate stages */
|
|
-#define IEEE80211_TX_MAX_RATES 5
|
|
|
|
|
|
+#define IEEE80211_TX_MAX_RATES 4
|
|
|
|
|
|
/**
|
|
/**
|
|
* struct ieee80211_tx_rate - rate selection/status
|
|
* struct ieee80211_tx_rate - rate selection/status
|
|
@@ -563,11 +563,11 @@ struct ieee80211_tx_info {
|
|
} control;
|
|
} control;
|
|
struct {
|
|
struct {
|
|
struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES];
|
|
struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES];
|
|
- u8 ampdu_ack_len;
|
|
|
|
int ack_signal;
|
|
int ack_signal;
|
|
|
|
+ u8 ampdu_ack_len;
|
|
u8 ampdu_len;
|
|
u8 ampdu_len;
|
|
u8 antenna;
|
|
u8 antenna;
|
|
- /* 14 bytes free */
|
|
|
|
|
|
+ /* 21 bytes free */
|
|
} status;
|
|
} status;
|
|
struct {
|
|
struct {
|
|
struct ieee80211_tx_rate driver_rates[
|
|
struct ieee80211_tx_rate driver_rates[
|
|
@@ -634,7 +634,7 @@ ieee80211_tx_info_clear_status(struct ieee80211_tx_info *info)
|
|
info->status.rates[i].count = 0;
|
|
info->status.rates[i].count = 0;
|
|
|
|
|
|
BUILD_BUG_ON(
|
|
BUILD_BUG_ON(
|
|
- offsetof(struct ieee80211_tx_info, status.ampdu_ack_len) != 23);
|
|
|
|
|
|
+ offsetof(struct ieee80211_tx_info, status.ack_signal) != 20);
|
|
memset(&info->status.ampdu_ack_len, 0,
|
|
memset(&info->status.ampdu_ack_len, 0,
|
|
sizeof(struct ieee80211_tx_info) -
|
|
sizeof(struct ieee80211_tx_info) -
|
|
offsetof(struct ieee80211_tx_info, status.ampdu_ack_len));
|
|
offsetof(struct ieee80211_tx_info, status.ampdu_ack_len));
|