Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_core.c110 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt792x_remove_interface()
159 u8 omac_idx = mvif->mt76.omac_idx; in mt792x_get_tsf() local
168 n = omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : omac_idx; in mt792x_get_tsf()
185 u8 omac_idx = mvif->mt76.omac_idx; in mt792x_set_tsf() local
194 n = omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : omac_idx; in mt792x_set_tsf()
H A Dmt76_connac_mcu.c328 u8 omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv() local
360 omac->omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv()
362 omac->hw_bss_idx = omac_idx > EXT_BSSID_START ? HW_BSSID_0 : omac_idx; in mt76_connac_mcu_bss_omac_tlv()
558 generic->muar_idx = mvif->omac_idx; in mt76_connac_mcu_wtbl_generic_tlv()
1120 u8 omac_idx; in mt76_connac_mcu_uni_add_dev() member
1133 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1155 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1184 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_dev()
1531 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_bss()
1546 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.c477 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0, band_idx = 0; in mt76_connac2_mac_write_txwi() local
489 omac_idx = mvif->omac_idx; in mt76_connac2_mac_write_txwi()
523 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt76_connac2_mac_write_txwi()
H A Dmt76_connac_mcu.h200 u8 omac_idx; member
1353 u8 omac_idx; member
H A Dmt76.h706 u8 omac_idx; member
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c190 mvif->mt76.omac_idx = idx; in mt7996_add_interface()
200 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7996_add_interface()
221 (!mvif->mt76.omac_idx || mvif->mt76.omac_idx > 3)) in mt7996_add_interface()
263 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7996_remove_interface()
498 if (mvif->mt76.omac_idx > HW_BSSID_MAX) in mt7996_update_bss_color()
850 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in __mt7996_get_tsf()
851 : mvif->mt76.omac_idx; in __mt7996_get_tsf()
890 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7996_set_tsf()
891 : mvif->mt76.omac_idx; in mt7996_set_tsf()
916 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7996_offset_tsf()
[all …]
H A Dmcu.c674 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7996_mcu_muar_config()
792 bss->omac_idx = mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
798 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
841 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) { in mt7996_mcu_add_bss_info()
1962 u8 omac_idx; in mt7996_mcu_add_dev_info() member
1975 .omac_idx = mvif->mt76.omac_idx, in mt7996_mcu_add_dev_info()
1985 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7996_mcu_add_dev_info()
3431 u8 omac = mvif->mt76.omac_idx; in mt7996_mcu_set_obss_spr_siga()
3604 .own_mac_idx = mvif->mt76.omac_idx, in mt7996_mcu_twt_agrt_update()
H A Dmcu.h36 u8 omac_idx; member
H A Dmac.c841 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0; in mt7996_mac_write_txwi() local
853 omac_idx = mvif->omac_idx; in mt7996_mac_write_txwi()
879 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7996_mac_write_txwi()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmain.c233 mvif->mt76.omac_idx = idx; in mt7915_add_interface()
246 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7915_add_interface()
267 (!mvif->mt76.omac_idx || mvif->mt76.omac_idx > 3)) in mt7915_add_interface()
309 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7915_remove_interface()
585 if (mvif->mt76.omac_idx > HW_BSSID_MAX) in mt7915_update_bss_color()
931 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in __mt7915_get_tsf()
932 : mvif->mt76.omac_idx; in __mt7915_get_tsf()
976 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7915_set_tsf()
977 : mvif->mt76.omac_idx; in mt7915_set_tsf()
1007 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.c607 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7915_mcu_muar_config()
646 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) { in mt7915_mcu_add_bss_info()
675 if (mvif->mt76.omac_idx >= EXT_BSSID_START && in mt7915_mcu_add_bss_info()
676 mvif->mt76.omac_idx < REPEATER_BSSID_START) in mt7915_mcu_add_bss_info()
1740 u8 omac_idx; in mt7915_mcu_add_dev_info() member
1755 .omac_idx = mvif->mt76.omac_idx, in mt7915_mcu_add_dev_info()
1768 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7915_mcu_add_dev_info()
3505 u8 omac = mvif->mt76.omac_idx; in mt7915_mcu_set_obss_spr_siga()
3774 .own_mac_idx = mvif->mt76.omac_idx, in mt7915_mcu_twt_agrt_update()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmain.c208 mvif->mt76.omac_idx = idx; in mt7615_add_interface()
216 dev->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7615_add_interface()
217 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7615_add_interface()
272 dev->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7615_remove_interface()
273 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7615_remove_interface()
918 u16 idx = mvif->mt76.omac_idx; in mt7615_get_tsf()
946 u16 idx = mvif->mt76.omac_idx; in mt7615_set_tsf()
972 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 Dusb_sdio.c114 idx = sta->vif->mt76.omac_idx; in mt7663_usb_sdio_set_rates()
H A Dmac.c723 u8 fc_type, fc_stype, p_fmt, q_idx, omac_idx = 0, wmm_idx = 0; in mt7615_mac_write_txwi() local
739 omac_idx = mvif->omac_idx; in mt7615_mac_write_txwi()
780 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7615_mac_write_txwi()
1109 u16 idx = sta->vif->mt76.omac_idx; in mt7615_mac_set_rates()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c301 mvif->mt76.omac_idx = mvif->mt76.idx; in mt7921_add_interface()
312 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7921_add_interface()