Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_core.c160 mconf->vif->phy->omac_mask &= ~BIT_ULL(mconf->mt76.omac_idx); in mt792x_mac_link_bss_remove()
224 u8 omac_idx = mvif->bss_conf.mt76.omac_idx; in mt792x_get_tsf() local
233 n = omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : omac_idx; in mt792x_get_tsf()
250 u8 omac_idx = mvif->bss_conf.mt76.omac_idx; in mt792x_set_tsf() local
259 n = omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : omac_idx; in mt792x_set_tsf()
H A Dmt76_connac_mcu.c333 u8 omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv() local
365 omac->omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv()
367 omac->hw_bss_idx = omac_idx > EXT_BSSID_START ? HW_BSSID_0 : omac_idx; in mt76_connac_mcu_bss_omac_tlv()
567 generic->muar_idx = mvif->omac_idx; in mt76_connac_mcu_wtbl_generic_tlv()
1151 u8 omac_idx; in mt76_connac_mcu_uni_add_dev() member
1164 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1187 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1220 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_dev()
1568 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_bss()
1583 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_bss()
[all …]
H A Dmt76_connac_mac.c501 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0, band_idx = 0; in mt76_connac2_mac_write_txwi() local
513 omac_idx = mvif->omac_idx; in mt76_connac2_mac_write_txwi()
547 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt76_connac2_mac_write_txwi()
H A Dmt76_connac_mcu.h206 u8 omac_idx; member
1442 u8 omac_idx; member
H A Dmt76.h775 u8 omac_idx; member
/linux-6.15/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()
312 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7915_remove_interface()
593 if (mvif->mt76.omac_idx > HW_BSSID_MAX) in mt7915_update_bss_color()
1013 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in __mt7915_get_tsf()
1014 : mvif->mt76.omac_idx; in __mt7915_get_tsf()
1058 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7915_set_tsf()
1059 : mvif->mt76.omac_idx; in mt7915_set_tsf()
1089 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7915_offset_tsf()
[all …]
H A Dmcu.h42 u8 omac_idx; member
52 u8 omac_idx; member
H A Dmcu.c634 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7915_mcu_muar_config()
673 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) { in mt7915_mcu_add_bss_info()
702 if (mvif->mt76.omac_idx >= EXT_BSSID_START && in mt7915_mcu_add_bss_info()
703 mvif->mt76.omac_idx < REPEATER_BSSID_START) in mt7915_mcu_add_bss_info()
1777 u8 omac_idx; in mt7915_mcu_add_dev_info() member
1792 .omac_idx = mvif->mt76.omac_idx, in mt7915_mcu_add_dev_info()
1805 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7915_mcu_add_dev_info()
3621 u8 omac = mvif->mt76.omac_idx; in mt7915_mcu_set_obss_spr_siga()
3890 .own_mac_idx = mvif->mt76.omac_idx, in mt7915_mcu_twt_agrt_update()
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c291 mlink->omac_idx = idx; in mt7996_vif_link_add()
302 phy->omac_mask |= BIT_ULL(mlink->omac_idx); in mt7996_vif_link_add()
321 (!mlink->omac_idx || mlink->omac_idx > 3)) in mt7996_vif_link_add()
381 phy->omac_mask &= ~BIT_ULL(mlink->omac_idx); in mt7996_vif_link_remove()
833 link->mt76.omac_idx <= HW_BSSID_MAX) || in mt7996_link_info_changed()
1386 n = link->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in __mt7996_get_tsf()
1387 : link->mt76.omac_idx; in __mt7996_get_tsf()
1431 n = link->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7996_set_tsf()
1432 : link->mt76.omac_idx; in mt7996_set_tsf()
1471 n = link->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7996_offset_tsf()
[all …]
H A Dmcu.c913 u32 idx = mlink->omac_idx - REPEATER_BSSID_START; in mt7996_mcu_muar_config()
1023 bss->omac_idx = mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
1029 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
1073 if (mlink->omac_idx >= REPEATER_BSSID_START) { in mt7996_mcu_add_bss_info()
2523 u8 omac_idx; in mt7996_mcu_add_dev_info() member
2536 .omac_idx = mlink->omac_idx, in mt7996_mcu_add_dev_info()
2546 if (mlink->omac_idx >= REPEATER_BSSID_START) in mt7996_mcu_add_dev_info()
4196 u8 omac = link->mt76.omac_idx; in mt7996_mcu_set_obss_spr_siga()
4370 .own_mac_idx = link->mt76.omac_idx, in mt7996_mcu_twt_agrt_update()
H A Dmac.c879 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0; in mt7996_mac_write_txwi() local
902 omac_idx = mlink->omac_idx; in mt7996_mac_write_txwi()
928 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7996_mac_write_txwi()
H A Dmcu.h58 u8 omac_idx; member
/linux-6.15/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()
904 u16 idx = mvif->mt76.omac_idx; in mt7615_get_tsf()
932 u16 idx = mvif->mt76.omac_idx; in mt7615_set_tsf()
958 u16 idx = mvif->mt76.omac_idx; in mt7615_offset_tsf()
H A Dmcu.c368 if (c->omac_idx > EXT_BSSID_MAX) in mt7615_mcu_rx_csa_notify()
371 if (ext_phy && ext_phy->omac_mask & BIT_ULL(c->omac_idx)) in mt7615_mcu_rx_csa_notify()
591 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7615_mcu_muar_config()
630 u8 omac_idx; in mt7615_mcu_add_dev() member
645 .omac_idx = mvif->mt76.omac_idx, in mt7615_mcu_add_dev()
658 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7615_mcu_add_dev()
676 u8 omac_idx; in mt7615_mcu_add_beacon_offload() member
691 .omac_idx = mvif->mt76.omac_idx, in mt7615_mcu_add_beacon_offload()
747 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7615_mcu_add_bss()
760 if (enable && mvif->mt76.omac_idx >= EXT_BSSID_START && in mt7615_mcu_add_bss()
[all …]
H A Dmcu.h153 u8 omac_idx; member
H A Dmac.c719 u8 fc_type, fc_stype, p_fmt, q_idx, omac_idx = 0, wmm_idx = 0; in mt7615_mac_write_txwi() local
735 omac_idx = mvif->omac_idx; in mt7615_mac_write_txwi()
776 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7615_mac_write_txwi()
1105 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-6.15/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c730 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0, band_idx = 0; in mt7925_mac_write_txwi() local
745 omac_idx = mvif->omac_idx; in mt7925_mac_write_txwi()
775 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7925_mac_write_txwi()
H A Dmcu.c2386 idx = mconf->mt76.omac_idx > EXT_BSSID_START ? HW_BSSID_0 : in mt7925_mcu_bss_basic_tlv()
2387 mconf->mt76.omac_idx; in mt7925_mcu_bss_basic_tlv()
2416 basic_req->omac_idx = mconf->mt76.omac_idx; in mt7925_mcu_bss_basic_tlv()
2653 u8 omac_idx; in mt7925_mcu_del_dev() member
2686 dev_req.hdr.omac_idx = mvif->omac_idx; in mt7925_mcu_del_dev()
2690 basic_req.basic.omac_idx = mvif->omac_idx; in mt7925_mcu_del_dev()
H A Dmain.c374 mconf->mt76.omac_idx = ieee80211_vif_is_mld(vif) ? in mt7925_mac_link_bss_add()
387 mvif->phy->omac_mask |= BIT_ULL(mconf->mt76.omac_idx); in mt7925_mac_link_bss_add()
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c309 mvif->bss_conf.mt76.omac_idx = mvif->bss_conf.mt76.idx; in mt7921_add_interface()
322 phy->omac_mask |= BIT_ULL(mvif->bss_conf.mt76.omac_idx); in mt7921_add_interface()