/linux-6.6.21/drivers/net/wireless/mediatek/mt7601u/ |
D | mac.c | 355 mt7601u_mac_wcid_setup(struct mt7601u_dev *dev, u8 idx, u8 vif_idx, u8 *mac) in mt7601u_mac_wcid_setup() argument 360 attr = FIELD_PREP(MT_WCID_ATTR_BSS_IDX, vif_idx & 7) | in mt7601u_mac_wcid_setup() 361 FIELD_PREP(MT_WCID_ATTR_BSS_IDX_EXT, !!(vif_idx & 8)); in mt7601u_mac_wcid_setup() 571 int mt76_mac_shared_key_setup(struct mt7601u_dev *dev, u8 vif_idx, u8 key_idx, in mt76_mac_shared_key_setup() argument 582 trace_set_shared_key(dev, vif_idx, key_idx); in mt76_mac_shared_key_setup() 584 mt7601u_wr_copy(dev, MT_SKEY(vif_idx, key_idx), in mt76_mac_shared_key_setup() 587 val = mt76_rr(dev, MT_SKEY_MODE(vif_idx)); in mt76_mac_shared_key_setup() 588 val &= ~(MT_SKEY_MODE_MASK << MT_SKEY_MODE_SHIFT(vif_idx, key_idx)); in mt76_mac_shared_key_setup() 589 val |= cipher << MT_SKEY_MODE_SHIFT(vif_idx, key_idx); in mt76_mac_shared_key_setup() 590 mt76_wr(dev, MT_SKEY_MODE(vif_idx), val); in mt76_mac_shared_key_setup()
|
D | mac.h | 162 int mt76_mac_shared_key_setup(struct mt7601u_dev *dev, u8 vif_idx, u8 key_idx,
|
D | mt7601u.h | 364 mt7601u_mac_wcid_setup(struct mt7601u_dev *dev, u8 idx, u8 vif_idx, u8 *mac);
|
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_txrx.c | 217 u8 sta_idx, u8 vif_idx, u8 slot) in ath9k_htc_tx_mgmt() argument 244 mgmt_hdr.vif_idx = vif_idx; in ath9k_htc_tx_mgmt() 263 u8 sta_idx, u8 vif_idx, u8 slot, in ath9k_htc_tx_data() argument 281 tx_hdr.vif_idx = vif_idx; in ath9k_htc_tx_data() 350 u8 sta_idx, vif_idx; in ath9k_htc_tx_start() local 360 vif_idx = avp->index; in ath9k_htc_tx_start() 368 vif_idx = priv->mon_vif_idx; in ath9k_htc_tx_start() 378 sta_idx = priv->vif_sta_pos[vif_idx]; in ath9k_htc_tx_start() 383 sta_idx, vif_idx, slot, is_cab); in ath9k_htc_tx_start() 386 sta_idx, vif_idx, slot); in ath9k_htc_tx_start()
|
D | htc.h | 76 u8 vif_idx; member 87 u8 vif_idx; member
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mac.c | 58 int mt76x02_mac_shared_key_setup(struct mt76x02_dev *dev, u8 vif_idx, in mt76x02_mac_shared_key_setup() argument 69 val = mt76_rr(dev, MT_SKEY_MODE(vif_idx)); in mt76x02_mac_shared_key_setup() 70 val &= ~(MT_SKEY_MODE_MASK << MT_SKEY_MODE_SHIFT(vif_idx, key_idx)); in mt76x02_mac_shared_key_setup() 71 val |= cipher << MT_SKEY_MODE_SHIFT(vif_idx, key_idx); in mt76x02_mac_shared_key_setup() 72 mt76_wr(dev, MT_SKEY_MODE(vif_idx), val); in mt76x02_mac_shared_key_setup() 74 mt76_wr_copy(dev, MT_SKEY(vif_idx, key_idx), key_data, in mt76x02_mac_shared_key_setup() 149 u8 vif_idx, u8 *mac) in mt76x02_mac_wcid_setup() argument 154 attr = FIELD_PREP(MT_WCID_ATTR_BSS_IDX, vif_idx & 7) | in mt76x02_mac_wcid_setup() 155 FIELD_PREP(MT_WCID_ATTR_BSS_IDX_EXT, !!(vif_idx & 8)); in mt76x02_mac_wcid_setup()
|
D | mt76x02_mac.h | 172 int mt76x02_mac_shared_key_setup(struct mt76x02_dev *dev, u8 vif_idx, 178 void mt76x02_mac_wcid_setup(struct mt76x02_dev *dev, u8 idx, u8 vif_idx,
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mac.c | 936 u8 vif_idx = 0; in mt7603_mac_write_txwi() local 942 vif_idx = mvif->idx; in mt7603_mac_write_txwi() 943 if (vif_idx && qid >= MT_TXQ_BEACON) in mt7603_mac_write_txwi() 944 vif_idx += 0x10; in mt7603_mac_write_txwi() 966 FIELD_PREP(MT_TXD1_OWN_MAC, vif_idx) | in mt7603_mac_write_txwi()
|