mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: add ext_phy field to struct mt76_wcid
Will be used to determine the phy from within the driver Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -952,6 +952,7 @@ mt76_sta_add(struct mt76_dev *dev, struct ieee80211_vif *vif,
|
||||
ewma_signal_init(&wcid->rssi);
|
||||
if (ext_phy)
|
||||
mt76_wcid_mask_set(dev->wcid_phy_mask, wcid->idx);
|
||||
wcid->ext_phy = ext_phy;
|
||||
rcu_assign_pointer(dev->wcid[wcid->idx], wcid);
|
||||
|
||||
out:
|
||||
|
||||
Reference in New Issue
Block a user