/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_core.c | 132 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt792x_remove_interface() 181 u8 omac_idx = mvif->mt76.omac_idx; in mt792x_get_tsf() local 190 n = omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : omac_idx; in mt792x_get_tsf() 207 u8 omac_idx = mvif->mt76.omac_idx; in mt792x_set_tsf() local 216 n = omac_idx > HW_BSSID_MAX ? HW_BSSID_0 : omac_idx; in mt792x_set_tsf()
|
H A D | mt76_connac_mcu.c | 333 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() 570 generic->muar_idx = mvif->omac_idx; in mt76_connac_mcu_wtbl_generic_tlv() 1143 u8 omac_idx; in mt76_connac_mcu_uni_add_dev() member 1156 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev() 1178 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev() 1207 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_dev() 1554 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_bss() 1569 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_bss() [all …]
|
H A D | mt76_connac_mac.c | 478 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0, band_idx = 0; in mt76_connac2_mac_write_txwi() local 490 omac_idx = mvif->omac_idx; in mt76_connac2_mac_write_txwi() 524 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt76_connac2_mac_write_txwi()
|
H A D | mt76_connac_mcu.h | 201 u8 omac_idx; member 1423 u8 omac_idx; member
|
H A D | mt76.h | 742 u8 omac_idx; member
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | main.c | 206 mvif->mt76.omac_idx = idx; in mt7996_add_interface() 216 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7996_add_interface() 237 (!mvif->mt76.omac_idx || mvif->mt76.omac_idx > 3)) in mt7996_add_interface() 283 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7996_remove_interface() 535 if (mvif->mt76.omac_idx > HW_BSSID_MAX) in mt7996_update_bss_color() 879 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in __mt7996_get_tsf() 880 : mvif->mt76.omac_idx; in __mt7996_get_tsf() 919 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7996_set_tsf() 920 : mvif->mt76.omac_idx; in mt7996_set_tsf() 945 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7996_offset_tsf() [all …]
|
H A D | mcu.c | 907 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7996_mcu_muar_config() 1025 bss->omac_idx = mvif->omac_idx; in mt7996_mcu_bss_basic_tlv() 1031 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt7996_mcu_bss_basic_tlv() 1074 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) { in mt7996_mcu_add_bss_info() 2377 u8 omac_idx; in mt7996_mcu_add_dev_info() member 2390 .omac_idx = mvif->mt76.omac_idx, in mt7996_mcu_add_dev_info() 2400 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7996_mcu_add_dev_info() 4017 u8 omac = mvif->mt76.omac_idx; in mt7996_mcu_set_obss_spr_siga() 4190 .own_mac_idx = mvif->mt76.omac_idx, in mt7996_mcu_twt_agrt_update()
|
H A D | mac.c | 816 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0; in mt7996_mac_write_txwi() local 828 omac_idx = mvif->omac_idx; in mt7996_mac_write_txwi() 854 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7996_mac_write_txwi()
|
H A D | mcu.h | 58 u8 omac_idx; member
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | main.c | 233 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() 597 if (mvif->mt76.omac_idx > HW_BSSID_MAX) in mt7915_update_bss_color() 947 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in __mt7915_get_tsf() 948 : mvif->mt76.omac_idx; in __mt7915_get_tsf() 992 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7915_set_tsf() 993 : mvif->mt76.omac_idx; in mt7915_set_tsf() 1023 n = mvif->mt76.omac_idx > HW_BSSID_MAX ? HW_BSSID_0 in mt7915_offset_tsf() [all …]
|
H A D | mcu.h | 42 u8 omac_idx; member 52 u8 omac_idx; member
|
H A D | mcu.c | 609 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7915_mcu_muar_config() 648 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) { in mt7915_mcu_add_bss_info() 677 if (mvif->mt76.omac_idx >= EXT_BSSID_START && in mt7915_mcu_add_bss_info() 678 mvif->mt76.omac_idx < REPEATER_BSSID_START) in mt7915_mcu_add_bss_info() 1744 u8 omac_idx; in mt7915_mcu_add_dev_info() member 1759 .omac_idx = mvif->mt76.omac_idx, in mt7915_mcu_add_dev_info() 1772 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7915_mcu_add_dev_info() 3579 u8 omac = mvif->mt76.omac_idx; in mt7915_mcu_set_obss_spr_siga() 3848 .own_mac_idx = mvif->mt76.omac_idx, in mt7915_mcu_twt_agrt_update()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | main.c | 208 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 D | mcu.c | 368 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 D | mcu.h | 153 u8 omac_idx; member
|
H A D | mac.c | 723 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()
|
H A D | usb_sdio.c | 114 idx = sta->vif->mt76.omac_idx; in mt7663_usb_sdio_set_rates()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | mac.c | 733 u8 p_fmt, q_idx, omac_idx = 0, wmm_idx = 0, band_idx = 0; in mt7925_mac_write_txwi() local 744 omac_idx = mvif->omac_idx; in mt7925_mac_write_txwi() 774 FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); in mt7925_mac_write_txwi()
|
H A D | main.c | 337 mvif->mt76.omac_idx = mvif->mt76.idx; in mt7925_add_interface() 353 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7925_add_interface()
|
H A D | mcu.c | 2083 idx = mvif->mt76.omac_idx > EXT_BSSID_START ? HW_BSSID_0 : in mt7925_mcu_bss_basic_tlv() 2084 mvif->mt76.omac_idx; in mt7925_mcu_bss_basic_tlv() 2100 basic_req->omac_idx = mvif->mt76.omac_idx; in mt7925_mcu_bss_basic_tlv()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | main.c | 304 mvif->mt76.omac_idx = mvif->mt76.idx; in mt7921_add_interface() 315 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7921_add_interface()
|