mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
mt76: do not send BAR frame on tx aggregation flush stop
There is no need to send a BAR frame after stopping aggregation, and doing so could lead to sending class 3 frames after deauthentication from an AP Signed-off-by: Balakrishna Bandi <b.balakrishna@globaledgesoft.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
58bab0d42f
commit
e3ca8fa0ca
@ -578,7 +578,6 @@ mt7603_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
|||||||
case IEEE80211_AMPDU_TX_STOP_FLUSH:
|
case IEEE80211_AMPDU_TX_STOP_FLUSH:
|
||||||
case IEEE80211_AMPDU_TX_STOP_FLUSH_CONT:
|
case IEEE80211_AMPDU_TX_STOP_FLUSH_CONT:
|
||||||
mtxq->aggr = false;
|
mtxq->aggr = false;
|
||||||
ieee80211_send_bar(vif, sta->addr, tid, mtxq->agg_ssn);
|
|
||||||
mt7603_mac_tx_ba_reset(dev, msta->wcid.idx, tid, -1);
|
mt7603_mac_tx_ba_reset(dev, msta->wcid.idx, tid, -1);
|
||||||
break;
|
break;
|
||||||
case IEEE80211_AMPDU_TX_START:
|
case IEEE80211_AMPDU_TX_START:
|
||||||
|
@ -473,7 +473,6 @@ mt7615_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
|||||||
case IEEE80211_AMPDU_TX_STOP_FLUSH:
|
case IEEE80211_AMPDU_TX_STOP_FLUSH:
|
||||||
case IEEE80211_AMPDU_TX_STOP_FLUSH_CONT:
|
case IEEE80211_AMPDU_TX_STOP_FLUSH_CONT:
|
||||||
mtxq->aggr = false;
|
mtxq->aggr = false;
|
||||||
ieee80211_send_bar(vif, sta->addr, tid, mtxq->agg_ssn);
|
|
||||||
mt7615_mcu_set_tx_ba(dev, params, 0);
|
mt7615_mcu_set_tx_ba(dev, params, 0);
|
||||||
break;
|
break;
|
||||||
case IEEE80211_AMPDU_TX_START:
|
case IEEE80211_AMPDU_TX_START:
|
||||||
|
@ -390,7 +390,6 @@ int mt76x02_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
|||||||
case IEEE80211_AMPDU_TX_STOP_FLUSH:
|
case IEEE80211_AMPDU_TX_STOP_FLUSH:
|
||||||
case IEEE80211_AMPDU_TX_STOP_FLUSH_CONT:
|
case IEEE80211_AMPDU_TX_STOP_FLUSH_CONT:
|
||||||
mtxq->aggr = false;
|
mtxq->aggr = false;
|
||||||
ieee80211_send_bar(vif, sta->addr, tid, mtxq->agg_ssn);
|
|
||||||
break;
|
break;
|
||||||
case IEEE80211_AMPDU_TX_START:
|
case IEEE80211_AMPDU_TX_START:
|
||||||
mtxq->agg_ssn = IEEE80211_SN_TO_SEQ(ssn);
|
mtxq->agg_ssn = IEEE80211_SN_TO_SEQ(ssn);
|
||||||
|
Loading…
Reference in New Issue
Block a user