Home
last modified time | relevance | path

Searched refs:vif_idx (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dmac.c355 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()
Dmac.h162 int mt76_mac_shared_key_setup(struct mt7601u_dev *dev, u8 vif_idx, u8 key_idx,
Dmt7601u.h364 mt7601u_mac_wcid_setup(struct mt7601u_dev *dev, u8 idx, u8 vif_idx, u8 *mac);
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c217 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()
345 u8 sta_idx, vif_idx; in ath9k_htc_tx_start() local
355 vif_idx = avp->index; in ath9k_htc_tx_start()
363 vif_idx = priv->mon_vif_idx; in ath9k_htc_tx_start()
373 sta_idx = priv->vif_sta_pos[vif_idx]; in ath9k_htc_tx_start()
378 sta_idx, vif_idx, slot, is_cab); in ath9k_htc_tx_start()
381 sta_idx, vif_idx, slot); in ath9k_htc_tx_start()
Dhtc.h76 u8 vif_idx; member
87 u8 vif_idx; member
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.h172 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,
Dmt76x02_mac.c58 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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c907 u8 vif_idx = 0; in mt7603_mac_write_txwi() local
913 vif_idx = mvif->idx; in mt7603_mac_write_txwi()
914 if (vif_idx && qid >= MT_TXQ_BEACON) in mt7603_mac_write_txwi()
915 vif_idx += 0x10; in mt7603_mac_write_txwi()
937 FIELD_PREP(MT_TXD1_OWN_MAC, vif_idx) | in mt7603_mac_write_txwi()