Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c191 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_set_vif_ps() local
199 .bss_idx = mvif->idx, in mt76_connac_mcu_set_vif_ps()
234 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_beacon_loss_iter() local
237 if (mvif->idx != event->bss_idx) in mt76_connac_mcu_beacon_loss_iter()
275 __mt76_connac_mcu_alloc_sta_req(struct mt76_dev *dev, struct mt76_vif_link *mvif, in __mt76_connac_mcu_alloc_sta_req() argument
279 .bss_idx = mvif->idx, in __mt76_connac_mcu_alloc_sta_req()
280 .muar_idx = wcid ? mvif->omac_idx : 0, in __mt76_connac_mcu_alloc_sta_req()
331 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_bss_omac_tlv() local
332 u8 omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv()
364 omac->omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv()
[all …]
H A Dmt76_connac_mac.c303 struct mt76_vif_link *mvif; in mt76_connac2_mac_tx_rate_val() local
308 mvif = mt76_vif_conf_link(mphy->dev, conf->vif, conf); in mt76_connac2_mac_tx_rate_val()
309 chandef = mvif->ctx ? &mvif->ctx->def : &mphy->chandef; in mt76_connac2_mac_tx_rate_val()
514 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac2_mac_write_txwi() local
516 omac_idx = mvif->omac_idx; in mt76_connac2_mac_write_txwi()
517 wmm_idx = mvif->wmm_idx; in mt76_connac2_mac_write_txwi()
518 band_idx = mvif->band_idx; in mt76_connac2_mac_write_txwi()
H A Dscan.c40 struct mt76_vif_link *mvif = dev->scan.mlink; in mt76_scan_send_probe() local
74 mt76_tx(phy, NULL, mvif->wcid, skb); in mt76_scan_send_probe()
/linux/drivers/net/wireless/mediatek/mt7601u/
H 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 …]
H 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/mediatek/mt76/mt7996/
H A Dmain.c294 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_vif_link_add() local
374 mvif->mt76.deflink_id == IEEE80211_LINK_UNSPECIFIED) in mt7996_vif_link_add()
375 mvif->mt76.deflink_id = link_conf->link_id; in mt7996_vif_link_add()
385 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_vif_link_remove() local
407 mvif->mt76.deflink_id == link_conf->link_id) { in mt7996_vif_link_remove()
411 mvif->mt76.deflink_id = IEEE80211_LINK_UNSPECIFIED; in mt7996_vif_link_remove()
414 mvif->mt76.deflink_id = link_id; in mt7996_vif_link_remove()
482 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_add_interface() local
504 mt76_vif_init(vif, &mvif->mt76); in mt7996_add_interface()
507 mvif->mt76.deflink_id = IEEE80211_LINK_UNSPECIFIED; in mt7996_add_interface()
[all …]
H A Dmac.c60 struct mt7996_vif *mvif; in mt7996_rx_get_wcid() local
79 mvif = msta->vif; in mt7996_rx_get_wcid()
80 for (i = 0; i < ARRAY_SIZE(mvif->mt76.link); i++) { in mt7996_rx_get_wcid()
83 mlink = rcu_dereference(mvif->mt76.link[i]); in mt7996_rx_get_wcid()
905 struct mt7996_vif *mvif; in mt7996_mac_write_txwi() local
920 mvif = vif ? (struct mt7996_vif *)vif->drv_priv : NULL; in mt7996_mac_write_txwi()
921 if (mvif) { in mt7996_mac_write_txwi()
923 mlink = rcu_dereference(mvif->mt76.offchannel_link); in mt7996_mac_write_txwi()
925 mlink = rcu_dereference(mvif->mt76.link[link_id]); in mt7996_mac_write_txwi()
1049 struct mt7996_vif *mvif = vif ? (struct mt7996_vif *)vif->drv_priv : NULL; in mt7996_tx_prepare_skb() local
[all …]
H A Dmcu.c934 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_bss_mld_tlv() local
944 mld->group_mld_id = mvif->mld_group_idx; in mt7996_mcu_bss_mld_tlv()
945 mld->remap_idx = mvif->mld_remap_idx; in mt7996_mcu_bss_mld_tlv()
1032 struct mt76_vif_link *mvif, in mt7996_mcu_bss_basic_tlv() argument
1081 bss->omac_idx = mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
1082 bss->band_idx = mvif->band_idx; in mt7996_mcu_bss_basic_tlv()
1083 bss->wmm_idx = mvif->wmm_idx; in mt7996_mcu_bss_basic_tlv()
1087 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
1107 __mt7996_mcu_alloc_bss_req(struct mt76_dev *dev, struct mt76_vif_link *mvif, int len) in __mt7996_mcu_alloc_bss_req() argument
1110 .bss_idx = mvif->idx, in __mt7996_mcu_alloc_bss_req()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c735 struct mt76_vif_link *mvif; in mt7925_mac_write_txwi() local
744 mvif = mconf ? (struct mt76_vif_link *)&mconf->mt76 : NULL; in mt7925_mac_write_txwi()
746 if (mvif) { in mt7925_mac_write_txwi()
747 omac_idx = mvif->omac_idx; in mt7925_mac_write_txwi()
748 wmm_idx = mvif->wmm_idx; in mt7925_mac_write_txwi()
749 band_idx = mvif->band_idx; in mt7925_mac_write_txwi()
824 if (mvif) { in mt7925_mac_write_txwi()
825 if (mcast && mvif->mcast_rates_idx) in mt7925_mac_write_txwi()
826 idx = mvif->mcast_rates_idx; in mt7925_mac_write_txwi()
827 else if (beacon && mvif->beacon_rates_idx) in mt7925_mac_write_txwi()
[all …]
/linux/drivers/net/wireless/ath/carl9170/
H 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()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c730 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt7615_mac_write_txwi() local
732 omac_idx = mvif->omac_idx; in mt7615_mac_write_txwi()
733 wmm_idx = mvif->wmm_idx; in mt7615_mac_write_txwi()
1173 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_mac_enable_rtscts() local
1176 addr = mt7615_mac_wtbl_addr(dev, mvif->sta.wcid.idx) + 3 * 4; in mt7615_mac_enable_rtscts()