mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: toggle skip_tx on station add/remove
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -310,6 +310,7 @@ mt7603_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif,
|
||||
msta->wcid.sta = 1;
|
||||
msta->wcid.idx = idx;
|
||||
mt7603_wtbl_init(dev, idx, mvif->idx, sta->addr);
|
||||
mt7603_wtbl_set_skip_tx(dev, idx, false);
|
||||
mt7603_wtbl_update_cap(dev, sta);
|
||||
|
||||
if (vif->type == NL80211_IFTYPE_AP)
|
||||
@@ -325,6 +326,7 @@ mt7603_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif,
|
||||
struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76);
|
||||
struct mt76_wcid *wcid = (struct mt76_wcid *) sta->drv_priv;
|
||||
|
||||
mt7603_wtbl_set_skip_tx(dev, wcid->idx, true);
|
||||
mt7603_wtbl_init(dev, wcid->idx, 0, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user