mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-06 19:02: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 <nbd@nbd.name>
This commit is contained in:
parent
c89d362541
commit
c7d2d63109
@ -953,6 +953,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:
|
||||
|
||||
@ -200,6 +200,7 @@ struct mt76_wcid {
|
||||
u8 hw_key_idx;
|
||||
|
||||
u8 sta:1;
|
||||
u8 ext_phy:1;
|
||||
|
||||
u8 rx_check_pn;
|
||||
u8 rx_key_pn[IEEE80211_NUM_TIDS][6];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user