Home
last modified time | relevance | path

Searched refs:omac_idx (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_core.c272 mconf->vif->phy->omac_mask &= ~BIT_ULL(mconf->mt76.omac_idx); in mt792x_mac_link_bss_remove()
336 u8 omac_idx = mvif->bss_conf.mt76.omac_idx; in mt792x_get_tsf() local
345 n = omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : omac_idx; in mt792x_get_tsf()
362 u8 omac_idx = mvif->bss_conf.mt76.omac_idx; in mt792x_set_tsf() local
371 n = omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : omac_idx; in mt792x_set_tsf()
H A Dmt76_connac_mcu.c324 .muar_idx = wcid ? mvif->omac_idx : 0, in __mt76_connac_mcu_alloc_sta_req()
376 u8 omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv() local
408 omac->omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv()
410 omac->hw_bss_idx = omac_idx > EXT_BSSID_START ? HW_BSSID_0 : omac_idx; in mt76_connac_mcu_bss_omac_tlv()
619 generic->muar_idx = mvif->omac_idx; in mt76_connac_mcu_wtbl_generic_tlv()
1203 u8 omac_idx; in mt76_connac_mcu_uni_add_dev() member
1216 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1239 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1277 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_dev()
1638 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_bss()
[all …]
H A Dmt76_connac_mac.c513 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0, band_idx = 0; in mt76_connac2_mac_write_txwi() local
525 omac_idx = mvif->omac_idx; in mt76_connac2_mac_write_txwi()
559 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt76_connac2_mac_write_txwi()
H A Dmt76_connac_mcu.h231 u8 omac_idx; member
1512 u8 omac_idx; member
H A Dmt76.h831 u8 omac_idx; member
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmain.c233 mvif->mt76.omac_idx = idx; in mt7915_add_interface()
247 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7915_add_interface()
269 (!mvif->mt76.omac_idx || mvif->mt76.omac_idx > 3)) in mt7915_add_interface()
286 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7915_add_interface()
321 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7915_remove_interface()
604 if (mvif->mt76.omac_idx > HW_BSSID_MAX) in mt7915_update_bss_color()
1031 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in __mt7915_get_tsf()
1032 : mvif->mt76.omac_idx; in __mt7915_get_tsf()
1076 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7915_set_tsf()
1077 : mvif->mt76.omac_idx; in mt7915_set_tsf()
[all …]
H A Dmcu.h42 u8 omac_idx; member
52 u8 omac_idx; member
H A Dmcu.c677 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7915_mcu_muar_config()
716 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) { in mt7915_mcu_add_bss_info()
745 if (mvif->mt76.omac_idx >= EXT_BSSID_START && in mt7915_mcu_add_bss_info()
746 mvif->mt76.omac_idx < REPEATER_BSSID_START) in mt7915_mcu_add_bss_info()
1828 u8 omac_idx; in mt7915_mcu_add_dev_info() member
1843 .omac_idx = mvif->mt76.omac_idx, in mt7915_mcu_add_dev_info()
1856 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7915_mcu_add_dev_info()
3783 u8 omac = mvif->mt76.omac_idx; in mt7915_mcu_set_obss_spr_siga()
4114 .own_mac_idx = mvif->mt76.omac_idx, in mt7915_mcu_twt_agrt_update()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmain.c208 mvif->mt76.omac_idx = idx; in mt7615_add_interface()
217 dev->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7615_add_interface()
218 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7615_add_interface()
271 dev->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7615_remove_interface()
272 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7615_remove_interface()
906 u16 idx = mvif->mt76.omac_idx; in mt7615_get_tsf()
934 u16 idx = mvif->mt76.omac_idx; in mt7615_set_tsf()
960 u16 idx = mvif->mt76.omac_idx; in mt7615_offset_tsf()
H A Dmac.c716 u8 fc_type, fc_stype, p_fmt, q_idx, omac_idx = 0, wmm_idx = 0; in mt7615_mac_write_txwi() local
732 omac_idx = mvif->omac_idx; in mt7615_mac_write_txwi()
773 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7615_mac_write_txwi()
1102 u16 idx = sta->vif->mt76.omac_idx; in mt7615_mac_set_rates()
H A Dusb_sdio.c114 idx = sta->vif->mt76.omac_idx; in mt7663_usb_sdio_set_rates()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c329 mlink->omac_idx = idx; in mt7996_vif_link_add()
341 phy->omac_mask |= BIT_ULL(mlink->omac_idx); in mt7996_vif_link_add()
356 (!mlink->omac_idx || mlink->omac_idx > 3)) in mt7996_vif_link_add()
435 phy->omac_mask &= ~BIT_ULL(mlink->omac_idx); in mt7996_vif_link_destroy()
1012 link->mt76.omac_idx <= HW_BSSID_MAX) || in mt7996_link_info_changed()
1721 n = link->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in __mt7996_get_tsf()
1722 : link->mt76.omac_idx; in __mt7996_get_tsf()
1766 n = link->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7996_set_tsf()
1767 : link->mt76.omac_idx; in mt7996_set_tsf()
1806 n = link->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7996_offset_tsf()
[all …]
H A Dmcu.c414 u8 omac_idx; member
434 mlink->omac_idx == cdata->omac_idx) { in mt7996_mcu_csa_finish()
463 mlink->omac_idx == cdata->omac_idx) { in mt7996_mcu_cca_finish()
503 cdata.omac_idx = event->omac_idx; in mt7996_mcu_ie_countdown()
1212 bss->omac_idx = mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
1218 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
3020 u8 omac_idx; in mt7996_mcu_add_dev_info() member
3033 .omac_idx = mlink->omac_idx, in mt7996_mcu_add_dev_info()
4896 u8 omac = link->mt76.omac_idx; in mt7996_mcu_set_obss_spr_siga()
5070 .own_mac_idx = link->mt76.omac_idx, in mt7996_mcu_twt_agrt_update()
H A Dmcu.h56 u8 omac_idx; member
H A Dmac.c904 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0; in mt7996_mac_write_txwi() local
924 omac_idx = mlink->omac_idx; in mt7996_mac_write_txwi()
950 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7996_mac_write_txwi()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c754 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0, band_idx = 0; in mt7925_mac_write_txwi() local
769 omac_idx = mvif->omac_idx; in mt7925_mac_write_txwi()
799 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7925_mac_write_txwi()
H A Dmcu.c2716 idx = mconf->mt76.omac_idx > EXT_BSSID_START ? HW_BSSID_0 : in mt7925_mcu_bss_basic_tlv()
2717 mconf->mt76.omac_idx; in mt7925_mcu_bss_basic_tlv()
2744 basic_req->omac_idx = mconf->mt76.omac_idx; in mt7925_mcu_bss_basic_tlv()
3013 u8 omac_idx; in mt7925_mcu_del_dev() member
3046 dev_req.hdr.omac_idx = mvif->omac_idx; in mt7925_mcu_del_dev()
3050 basic_req.basic.omac_idx = mvif->omac_idx; in mt7925_mcu_del_dev()
H A Dmain.c399 mconf->mt76.omac_idx = ieee80211_vif_is_mld(vif) ? in mt7925_mac_link_bss_add()
425 mvif->phy->omac_mask |= BIT_ULL(mconf->mt76.omac_idx); in mt7925_mac_link_bss_add()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c317 mvif->bss_conf.mt76.omac_idx = mvif->bss_conf.mt76.idx; in mt7921_add_interface()
330 phy->omac_mask |= BIT_ULL(mvif->bss_conf.mt76.omac_idx); in mt7921_add_interface()