|
@@ -916,7 +916,7 @@ static void rs_tx_status(void *priv_r, struct ieee80211_supported_band *sband,
|
|
|
tpt = search_tbl->expected_tpt[rs_index];
|
|
|
else
|
|
|
tpt = 0;
|
|
|
- if (info->flags & IEEE80211_TX_CTL_AMPDU)
|
|
|
+ if (info->flags & IEEE80211_TX_STAT_AMPDU)
|
|
|
rs_collect_tx_data(search_win, rs_index, tpt,
|
|
|
info->status.ampdu_ack_len,
|
|
|
info->status.ampdu_ack_map);
|
|
@@ -932,7 +932,7 @@ static void rs_tx_status(void *priv_r, struct ieee80211_supported_band *sband,
|
|
|
tpt = curr_tbl->expected_tpt[rs_index];
|
|
|
else
|
|
|
tpt = 0;
|
|
|
- if (info->flags & IEEE80211_TX_CTL_AMPDU)
|
|
|
+ if (info->flags & IEEE80211_TX_STAT_AMPDU)
|
|
|
rs_collect_tx_data(window, rs_index, tpt,
|
|
|
info->status.ampdu_ack_len,
|
|
|
info->status.ampdu_ack_map);
|
|
@@ -944,7 +944,7 @@ static void rs_tx_status(void *priv_r, struct ieee80211_supported_band *sband,
|
|
|
/* If not searching for new mode, increment success/failed counter
|
|
|
* ... these help determine when to start searching again */
|
|
|
if (lq_sta->stay_in_tbl) {
|
|
|
- if (info->flags & IEEE80211_TX_CTL_AMPDU) {
|
|
|
+ if (info->flags & IEEE80211_TX_STAT_AMPDU) {
|
|
|
lq_sta->total_success += info->status.ampdu_ack_map;
|
|
|
lq_sta->total_failed +=
|
|
|
(info->status.ampdu_ack_len - info->status.ampdu_ack_map);
|