Home
last modified time | relevance | path

Searched refs:mvif (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmain.c218 mvif->phy = phy; in mt7915_add_interface()
225 mvif->wmm_idx = mvif->idx % MT7915_MAX_WMM_SETS; in mt7915_add_interface()
239 mvif->sta.wcid.ext_phy = mvif->band_idx; in mt7915_add_interface()
254 (!mvif->omac_idx || mvif->omac_idx > 3)) in mt7915_add_interface()
259 memset(&mvif->cap, -1, sizeof(mvif->cap)); in mt7915_add_interface()
373 &mvif->sta; in mt7915_set_key()
655 msta->vif = mvif; in mt7915_mac_sta_add()
841 n = mvif->omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : mvif->omac_idx; in __mt7915_get_tsf()
881 n = mvif->omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : mvif->omac_idx; in mt7915_set_tsf()
907 n = mvif->omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : mvif->omac_idx; in mt7915_offset_tsf()
[all …]
A Dmcu.c585 .bss_idx = mvif->idx, in mt7915_mcu_alloc_sta_req()
728 bss->wmm_idx = mvif->wmm_idx; in mt7915_mcu_bss_basic_tlv()
772 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt7915_mcu_bss_omac_tlv()
1650 ht->ldpc = mvif->cap.ldpc && in mt7915_mcu_wtbl_ht_tlv()
2230 if (mvif->cap.ldpc && in mt7915_mcu_sta_rate_ctrl_tlv()
2256 if (mvif->cap.ldpc && in mt7915_mcu_sta_rate_ctrl_tlv()
2461 .omac_idx = mvif->omac_idx, in mt7915_mcu_add_dev_info()
2646 if (mvif->band_idx) { in mt7915_mcu_add_beacon()
4048 .band_idx = mvif->band_idx, in mt7915_mcu_add_obss_spr()
4069 .band = mvif->band_idx, in mt7915_mcu_get_rx_rate()
[all …]
A Dmt7915.h371 u64 __mt7915_get_tsf(struct ieee80211_hw *hw, struct mt7915_vif *mvif);
385 struct mt7915_vif *mvif,
A Dmac.c1045 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_mac_write_txwi() local
1047 omac_idx = mvif->omac_idx; in mt7915_mac_write_txwi()
1048 wmm_idx = mvif->wmm_idx; in mt7915_mac_write_txwi()
1182 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_tx_prepare_skb() local
1184 txp->bss_idx = mvif->idx; in mt7915_tx_prepare_skb()
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
A Dmain.c53 mt76_wr(dev, MT_MAC_ADDR0(mvif->idx), in mt7603_add_interface()
55 mt76_wr(dev, MT_MAC_ADDR1(mvif->idx), in mt7603_add_interface()
60 mt76_wr(dev, MT_BSSID0(mvif->idx), in mt7603_add_interface()
62 mt76_wr(dev, MT_BSSID1(mvif->idx), in mt7603_add_interface()
68 dev->mt76.vif_mask |= BIT(mvif->idx); in mt7603_add_interface()
70 mvif->sta.wcid.idx = idx; in mt7603_add_interface()
71 mvif->sta.wcid.hw_key_idx = -1; in mt7603_add_interface()
78 mtxq->wcid = &mvif->sta.wcid; in mt7603_add_interface()
473 &mvif->sta; in mt7603_set_key()
669 struct mt7603_vif *mvif; in mt7603_tx() local
[all …]
A Dbeacon.c17 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_update_beacon_iter() local
20 if (!(mdev->beacon_mask & BIT(mvif->idx))) in mt7603_update_beacon_iter()
28 &mvif->sta.wcid, NULL); in mt7603_update_beacon_iter()
32 FIELD_PREP(MT_DMA_FQCR0_TARGET_WCID, mvif->sta.wcid.idx) | in mt7603_update_beacon_iter()
49 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_add_buffered_bc() local
53 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt7603_add_buffered_bc()
65 data->tail[mvif->idx] = skb; in mt7603_add_buffered_bc()
66 data->count[mvif->idx]++; in mt7603_add_buffered_bc()
124 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_pre_tbtt_tasklet() local
126 mt76_tx_queue_skb(dev, q, skb, &mvif->sta.wcid, NULL); in mt7603_pre_tbtt_tasklet()
A Dmac.c916 struct mt7603_vif *mvif; in mt7603_mac_write_txwi() local
928 mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_mac_write_txwi()
929 vif_idx = mvif->idx; in mt7603_mac_write_txwi()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
A Dmain.c288 mvif->mt76.omac_idx = mvif->mt76.idx; in mt7921_add_interface()
289 mvif->phy = phy; in mt7921_add_interface()
290 mvif->mt76.band_idx = 0; in mt7921_add_interface()
291 mvif->mt76.wmm_idx = mvif->mt76.idx % MT7921_MAX_WMM_SETS; in mt7921_add_interface()
305 mvif->sta.wcid.ext_phy = mvif->mt76.band_idx; in mt7921_add_interface()
322 (!mvif->mt76.omac_idx || mvif->mt76.omac_idx > 3)) in mt7921_add_interface()
399 &mvif->sta; in mt7921_set_key()
422 if (!mvif->wep_sta) in mt7921_set_key()
624 msta->vif = mvif; in mt7921_mac_sta_add()
636 mvif->wep_sta = msta; in mt7921_mac_sta_add()
[all …]
A Dmcu.c343 if (mvif->idx != event->bss_idx) in mt7921_mcu_connection_loss_iter()
974 .bss_idx = mvif->mt76.idx, in mt7921_mcu_set_tx()
976 .wmm_idx = mvif->mt76.wmm_idx, in mt7921_mcu_set_tx()
1013 if (!mvif->queue_params[ac].mu_edca) in mt7921_mcu_set_tx()
1016 q = &mvif->queue_params[ac].mu_edca_param_rec; in mt7921_mcu_set_tx()
1145 .bss_idx = mvif->mt76.idx, in mt7921_mcu_uni_bss_ps()
1180 .bss_idx = mvif->mt76.idx, in mt7921_mcu_uni_bss_bcnft()
1213 .bss_idx = mvif->mt76.idx, in mt7921_mcu_set_bss_pm()
1222 .bss_idx = mvif->mt76.idx, in mt7921_mcu_set_bss_pm()
1243 int rssi = -ewma_rssi_read(&mvif->rssi); in mt7921_mcu_sta_update()
[all …]
A Dmac.c372 struct mt7921_vif *mvif = (struct mt7921_vif *)vif->drv_priv; in mt7921_mac_rssi_iter() local
381 ewma_rssi_add(&mvif->rssi, -status->signal); in mt7921_mac_rssi_iter()
853 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7921_mac_write_txwi() local
855 omac_idx = mvif->omac_idx; in mt7921_mac_write_txwi()
856 wmm_idx = mvif->wmm_idx; in mt7921_mac_write_txwi()
1272 struct mt7921_vif *mvif = (struct mt7921_vif *)vif->drv_priv; in mt7921_vif_connect_iter() local
1273 struct mt7921_dev *dev = mvif->phy->dev; in mt7921_vif_connect_iter()
1278 mt76_connac_mcu_uni_add_dev(&dev->mphy, vif, &mvif->sta.wcid, true); in mt7921_vif_connect_iter()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dmain.c211 mvif->mt76.omac_idx = idx; in mt7615_add_interface()
213 mvif->mt76.band_idx = ext_phy; in mt7615_add_interface()
218 mvif->mt76.wmm_idx = mvif->mt76.idx % MT7615_MAX_WMM_SETS; in mt7615_add_interface()
231 mvif->sta.wcid.idx = idx; in mt7615_add_interface()
232 mvif->sta.wcid.ext_phy = mvif->mt76.band_idx; in mt7615_add_interface()
233 mvif->sta.wcid.hw_key_idx = -1; in mt7615_add_interface()
242 mtxq->wcid = &mvif->sta.wcid; in mt7615_add_interface()
375 &mvif->sta; in mt7615_set_key()
625 msta->vif = mvif; in mt7615_mac_sta_add()
740 struct mt7615_vif *mvif; in mt7615_tx() local
[all …]
A Dmcu.c688 .omac_idx = mvif->mt76.omac_idx, in mt7615_mcu_add_dev()
689 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev()
697 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev()
734 .omac_idx = mvif->mt76.omac_idx, in mt7615_mcu_add_beacon_offload()
737 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_beacon_offload()
754 if (mvif->mt76.band_idx) { in mt7615_mcu_add_beacon_offload()
817 u8 wlan_idx = mvif->sta.wcid.idx; in mt7615_mcu_bss_basic_tlv()
1250 .bss_idx = mvif->mt76.idx, in mt7615_mcu_uni_add_beacon_offload()
2746 .bss_idx = mvif->mt76.idx, in mt7615_mcu_set_bss_pm()
2755 .bss_idx = mvif->mt76.idx, in mt7615_mcu_set_bss_pm()
[all …]
A Dpci_mac.c119 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7615_write_fw_txp() local
121 txp->bss_idx = mvif->idx; in mt7615_write_fw_txp()
A Dmac.c630 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7615_mac_write_txwi() local
632 omac_idx = mvif->omac_idx; in mt7615_mac_write_txwi()
633 wmm_idx = mvif->wmm_idx; in mt7615_mac_write_txwi()
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt76x02_beacon.c69 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_mac_set_beacon_enable() local
78 dev->mt76.beacon_mask |= BIT(mvif->idx); in mt76x02_mac_set_beacon_enable()
80 dev->mt76.beacon_mask &= ~BIT(mvif->idx); in mt76x02_mac_set_beacon_enable()
136 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_update_beacon_iter() local
139 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt76x02_update_beacon_iter()
155 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_add_buffered_bc() local
159 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt76x02_add_buffered_bc()
171 data->tail[mvif->idx] = skb; in mt76x02_add_buffered_bc()
A Dmt76_connac_mcu.c194 .bss_idx = mvif->idx, in mt76_connac_mcu_set_vif_ps()
275 .bss_idx = mvif->idx, in mt76_connac_mcu_alloc_sta_req()
1035 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_dev()
1069 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_dev()
1259 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_bss()
1318 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_bss()
1456 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt76_connac_mcu_hw_scan()
1577 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt76_connac_mcu_sched_scan_req()
2162 .bss_idx = mvif->idx, in mt76_connac_mcu_set_p2p_oppps()
2228 .bss_idx = mvif->idx, in mt76_connac_mcu_update_gtk_rekey()
[all …]
A Dmt76x02_util.c251 msta->vif = mvif; in mt76x02_sta_add()
285 memset(mvif, 0, sizeof(*mvif)); in mt76x02_vif_init()
287 mvif->idx = idx; in mt76x02_vif_init()
288 mvif->group_wcid.idx = MT_VIF_WCID(idx); in mt76x02_vif_init()
289 mvif->group_wcid.hw_key_idx = -1; in mt76x02_vif_init()
290 mt76_packet_id_init(&mvif->group_wcid); in mt76x02_vif_init()
293 mtxq->wcid = &mvif->group_wcid; in mt76x02_vif_init()
345 dev->mt76.vif_mask &= ~BIT(mvif->idx); in mt76x02_remove_interface()
346 mt76_packet_id_flush(&dev->mt76, &mvif->group_wcid); in mt76x02_remove_interface()
452 wcid = msta ? &msta->wcid : &mvif->group_wcid; in mt76x02_set_key()
[all …]
A Dmt76x02_txrx.c25 struct mt76x02_vif *mvif; in mt76x02_tx() local
27 mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_tx()
28 wcid = &mvif->group_wcid; in mt76x02_tx()
A Dmt76x02_mmio.c60 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_pre_tbtt_tasklet() local
62 mt76_tx_queue_skb(dev, q, skb, &mvif->group_wcid, NULL); in mt76x02_pre_tbtt_tasklet()
A Dmt76_connac_mcu.h1019 mt76_connac_mcu_alloc_sta_req(struct mt76_dev *dev, struct mt76_vif *mvif,
1068 int mt76_connac_mcu_sta_ba(struct mt76_dev *dev, struct mt76_vif *mvif,
/linux/drivers/net/wireless/mediatek/mt7601u/
A Dmain.c48 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_add_interface() local
57 mvif->idx = idx; in mt7601u_add_interface()
65 mvif->group_wcid.idx = wcid; in mt7601u_add_interface()
66 mvif->group_wcid.hw_key_idx = -1; in mt7601u_add_interface()
75 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_remove_interface() local
76 unsigned int wcid = mvif->group_wcid.idx; in mt7601u_remove_interface()
214 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_sta_add() local
228 mt7601u_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt7601u_sta_add()
297 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_set_key() local
299 struct mt76_wcid *wcid = msta ? &msta->wcid : &mvif->group_wcid; in mt7601u_set_key()
[all …]
A Dtx.c215 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7601u_tx() local
217 wcid = &mvif->group_wcid; in mt7601u_tx()
/linux/drivers/net/wireless/ath/carl9170/
A Dmac.c409 struct carl9170_vif_info *mvif; in carl9170_set_beacon_timers() local
410 mvif = (void *) vif->drv_priv; in carl9170_set_beacon_timers()
412 if (mvif->enable_beacon && !WARN_ON(!ar->beacon_enabled)) { in carl9170_set_beacon_timers()

Completed in 75 milliseconds