@@ -72,7 +72,7 @@ static struct mt76_wcid *mt7996_rx_get_wcid(struct mt7996_dev *dev,
72
72
if (!sta -> vif )
73
73
return NULL ;
74
74
75
- return & sta -> vif -> sta .wcid ;
75
+ return & sta -> vif -> deflink . sta .wcid ;
76
76
}
77
77
78
78
bool mt7996_mac_wtbl_update (struct mt7996_dev * dev , int idx , u32 mask )
@@ -182,7 +182,7 @@ static void mt7996_mac_sta_poll(struct mt7996_dev *dev)
182
182
rssi [3 ] = to_rssi (GENMASK (31 , 14 ), val );
183
183
184
184
msta -> ack_signal =
185
- mt76_rx_signal (msta -> vif -> phy -> mt76 -> antenna_mask , rssi );
185
+ mt76_rx_signal (msta -> vif -> deflink . phy -> mt76 -> antenna_mask , rssi );
186
186
187
187
ewma_avg_signal_add (& msta -> avg_ack_signal , - msta -> ack_signal );
188
188
}
@@ -196,7 +196,7 @@ void mt7996_mac_enable_rtscts(struct mt7996_dev *dev,
196
196
struct mt7996_vif * mvif = (struct mt7996_vif * )vif -> drv_priv ;
197
197
u32 addr ;
198
198
199
- addr = mt7996_mac_wtbl_lmac_addr (dev , mvif -> sta .wcid .idx , 5 );
199
+ addr = mt7996_mac_wtbl_lmac_addr (dev , mvif -> deflink . sta .wcid .idx , 5 );
200
200
if (enable )
201
201
mt76_set (dev , addr , BIT (5 ));
202
202
else
@@ -984,7 +984,7 @@ int mt7996_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr,
984
984
if (vif ) {
985
985
struct mt7996_vif * mvif = (struct mt7996_vif * )vif -> drv_priv ;
986
986
987
- txp -> fw .bss_idx = mvif -> mt76 .idx ;
987
+ txp -> fw .bss_idx = mvif -> deflink . mt76 .idx ;
988
988
}
989
989
990
990
txp -> fw .token = cpu_to_le16 (id );
0 commit comments