Home
last modified time | relevance | path

Searched refs:band_idx (Results 1 – 25 of 47) sorted by relevance

12

/drivers/net/wireless/mediatek/mt76/mt7925/
A Ddebugfs.c70 s8 val[][2], int len, u8 band_idx) in mt7925_seq_puts_array() argument
76 if (val[i][band_idx] == 127) in mt7925_seq_puts_array()
79 seq_printf(file, " %6d", val[i][band_idx]); in mt7925_seq_puts_array()
122 u8 band_idx = dev->mphy.band_idx; in mt7925_txpwr() local
139 mt7925_print_txpwr_entry(CCK, cck, band_idx); in mt7925_txpwr()
144 mt7925_print_txpwr_entry(OFDM, ofdm, band_idx); in mt7925_txpwr()
149 mt7925_print_txpwr_entry(HT20, ht20, band_idx); in mt7925_txpwr()
154 mt7925_print_txpwr_entry(HT40, ht40, band_idx); in mt7925_txpwr()
165 mt7925_print_txpwr_entry(HE26, he26, band_idx); in mt7925_txpwr()
166 mt7925_print_txpwr_entry(HE52, he52, band_idx); in mt7925_txpwr()
[all …]
A Dmcu.c2024 .band_idx = band_idx, in mt7925_get_txpwr_info()
2047 u8 band_idx; in mt7925_mcu_set_sniffer() member
2467 basic_req->band_idx = mconf->mt76.band_idx; in mt7925_mcu_bss_basic_tlv()
2737 dev_req.hdr.band_idx = mvif->band_idx; in mt7925_mcu_del_dev()
2741 basic_req.basic.band_idx = mvif->band_idx; in mt7925_mcu_del_dev()
3475 u8 band_idx; in mt7925_mcu_set_rts_thresh() member
3483 .band_idx = phy->mt76->band_idx, in mt7925_mcu_set_rts_thresh()
3497 u8 band_idx; in mt7925_mcu_set_radio_en() member
3505 .band_idx = phy->mt76->band_idx, in mt7925_mcu_set_radio_en()
3770 u8 band_idx; in mt7925_mcu_set_rxfilter() member
[all …]
/drivers/net/wireless/mediatek/mt76/mt7996/
A Dmac.c56 u16 idx, u8 band_idx) in mt7996_rx_get_wcid() argument
68 if (!mt7996_band_valid(dev, band_idx)) in mt7996_rx_get_wcid()
71 if (wcid->phy_idx == band_idx) in mt7996_rx_get_wcid()
87 if (mlink->band_idx != band_idx) in mt7996_rx_get_wcid()
478 mphy = dev->mt76.phys[band_idx]; in mt7996_mac_fill_rx()
480 status->phy_idx = mphy->band_idx; in mt7996_mac_fill_rx()
912 band_idx = mlink->band_idx; in mt7996_mac_write_txwi()
938 if (band_idx) in mt7996_mac_write_txwi()
1583 u8 band_idx = phy->mt76->band_idx; in mt7996_mac_reset_counters() local
1611 u8 band_idx = phy->mt76->band_idx; in mt7996_mac_set_coverage_class() local
[all …]
A Deeprom.c65 mt7996_eeprom_parse_stream(const u8 *eeprom, u8 band_idx, u8 *path, in mt7996_eeprom_parse_stream() argument
68 switch (band_idx) { in mt7996_eeprom_parse_stream()
236 u8 band_offs = phy->mt76->band_idx * 3; in mt7996_eeprom_parse_efuse_hw_cap()
257 switch (phy->mt76->band_idx) { in mt7996_eeprom_parse_band_config()
290 u8 path, rx_path, nss, band_idx = phy->mt76->band_idx; in mt7996_eeprom_parse_hw_cap() local
296 mt7996_eeprom_parse_stream(eeprom, band_idx, &path, &rx_path, &nss); in mt7996_eeprom_parse_hw_cap()
314 mphy->chainmask = (BIT(path) - 1) << dev->chainshift[band_idx]; in mt7996_eeprom_parse_hw_cap()
317 if (band_idx < MT_BAND2) in mt7996_eeprom_parse_hw_cap()
318 dev->chainshift[band_idx + 1] = dev->chainshift[band_idx] + in mt7996_eeprom_parse_hw_cap()
A Dmcu.c1043 bss->band_idx = mvif->band_idx; in mt7996_mcu_bss_basic_tlv()
2638 .band_idx = mlink->band_idx, in mt7996_mcu_add_dev_info()
3718 .band_idx = band_idx, in mt7996_mcu_set_chan_info()
4026 .band_idx = phy->mt76->band_idx, in mt7996_mcu_get_temperature()
4231 .band_idx = phy->mt76->band_idx, in mt7996_mcu_enable_obss_spr()
4265 .band_idx = phy->mt76->band_idx, in mt7996_mcu_set_obss_spr_pd()
4313 .band_idx = phy->mt76->band_idx, in mt7996_mcu_set_obss_spr_siga()
4351 .band_idx = phy->mt76->band_idx, in mt7996_mcu_set_obss_spr_bitmap()
4509 .band_idx = phy->mt76->band_idx, in mt7996_mcu_set_rts_thresh()
4531 .band_idx = phy->mt76->band_idx, in mt7996_mcu_set_radio_en()
[all …]
A Dmain.c15 mt7996_mac_enable_nf(dev, phy->mt76->band_idx); in mt7996_run()
280 u8 band_idx = phy->mt76->band_idx; in mt7996_vif_link_add() local
294 mlink->band_idx = band_idx; in mt7996_vif_link_add()
312 mt76_wcid_init(&msta_link->wcid, band_idx); in mt7996_vif_link_add()
410 mt76_wr(dev, MT_WF_RFCR(phy->mt76->band_idx), filter); in mt7996_phy_set_rxfilter()
434 mt76_rmw_field(dev, MT_DMA_DCR0(phy->mt76->band_idx), in mt7996_set_monitor()
710 idx = MT7996_BEACON_RATES_TBL + 2 * phy->mt76->band_idx; in mt7996_get_rates_table()
730 u8 band = link->mt76.band_idx; in mt7996_update_mu_group()
934 mt76_wcid_init(&msta_link->wcid, phy->mt76->band_idx); in mt7996_mac_sta_init_link()
1541 u8 band_idx = phy->mt76->band_idx; in mt7996_set_antenna() local
[all …]
A Dinit.c205 snprintf(name, sizeof(name), "cooling_device%d", phy->mt76->band_idx); in mt7996_unregister_thermal()
219 wiphy_name(wiphy), phy->mt76->band_idx); in mt7996_thermal_init()
223 snprintf(cname, sizeof(cname), "cooling_device%d", phy->mt76->band_idx); in mt7996_thermal_init()
261 mt76_rmw_field(dev, MT_TMAC_TCR0(mphy->band_idx), MT_TMAC_TCR0_TX_BLINK, 2); in mt7996_led_set_config()
264 mt76_wr(dev, MT_LED_EN(mphy->band_idx), 1); in mt7996_led_set_config()
269 mt76_wr(dev, MT_LED_TX_BLINK(mphy->band_idx), val); in mt7996_led_set_config()
277 if (mphy->band_idx == MT_BAND1) in mt7996_led_set_config()
284 mt76_wr(dev, MT_LED_CTRL(mphy->band_idx), val); in mt7996_led_set_config()
285 mt76_clear(dev, MT_LED_CTRL(mphy->band_idx), MT_LED_CTRL_KICK); in mt7996_led_set_config()
A Dmcu.h35 u8 band_idx; member
60 u8 band_idx; member
144 u8 band_idx; /* DBDC */ member
270 u8 band_idx; member
A Ddebugfs.c465 u8 band_idx = phy->mt76->band_idx; in mt7996_ampdu_stat_read_phy() local
469 range[i] = mt76_rr(dev, MT_MIB_ARNG(band_idx, i)); in mt7996_ampdu_stat_read_phy()
475 wiphy_name(phy->mt76->hw->wiphy), band_idx); in mt7996_ampdu_stat_read_phy()
/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmcu.c1816 .band_idx = mvif->mt76.band_idx, in mt7915_mcu_add_dev_info()
1824 .band_idx = mvif->mt76.band_idx, in mt7915_mcu_add_dev_info()
2216 .band_idx = phy->mt76->band_idx, in mt7915_mcu_muru_debug_get()
3245 .band_idx = phy->mt76->band_idx, in mt7915_mcu_get_temperature()
3256 .band_idx = phy->mt76->band_idx, in mt7915_mcu_set_thermal_throttling()
3322 .band_idx = phy->mt76->band_idx, in mt7915_mcu_set_txpower_frame_min()
3347 .band_idx = phy->mt76->band_idx, in mt7915_mcu_set_txpower_frame()
3401 .band_idx = phy->mt76->band_idx, in mt7915_mcu_set_txpower_sku()
3450 .band_idx = phy->mt76->band_idx, in mt7915_mcu_get_txpower_sku()
3503 .band_idx = phy->mt76->band_idx, in mt7915_mcu_set_sku_en()
[all …]
A Dtestmode.c47 u8 band_idx; in mt7915_tm_set_tx_power() member
54 .band_idx = phy->mt76->band_idx, in mt7915_tm_set_tx_power()
80 .param.freq.band = phy->mt76->band_idx, in mt7915_tm_set_freq_offset()
114 .param.trx.band = phy->mt76->band_idx, in mt7915_tm_set_trx()
129 .param.clean.band = phy->mt76->band_idx, in mt7915_tm_clean_hwq()
147 .param.slot.band = phy->mt76->band_idx, in mt7915_tm_set_slot_time()
201 u8 band = phy->mt76->band_idx; in mt7915_tm_set_ipg_params()
340 u8 band = phy->mt76->band_idx; in mt7915_tm_reg_backup_restore()
495 mt76_rr(dev, MT_MIB_SDR3(phy->mt76->band_idx)); in mt7915_tm_set_rx_frames()
522 u8 band = phy->mt76->band_idx; in mt7915_tm_set_tx_cont()
[all …]
A Dmcu.h18 u8 band_idx; member
44 u8 band_idx; member
51 u8 band_idx; member
126 u8 band_idx; /* DBDC */ member
135 u8 band_idx; member
190 u8 band_idx; member
A Dmain.c34 dev->phy.mt76->band_idx, 0); in mt7915_run()
48 phy->mt76->band_idx, 0); in mt7915_run()
72 phy->mt76->band_idx); in mt7915_run()
235 mvif->mt76.band_idx = phy->mt76->band_idx; in mt7915_add_interface()
483 bool band = phy->mt76->band_idx; in mt7915_config()
528 bool band = phy->mt76->band_idx; in mt7915_configure_filter()
919 phy->mt76->band_idx); in mt7915_set_rts_threshold()
1006 bool band = phy->mt76->band_idx; in __mt7915_get_tsf()
1051 bool band = phy->mt76->band_idx; in mt7915_set_tsf()
1082 bool band = phy->mt76->band_idx; in mt7915_offset_tsf()
[all …]
A Ddma.c303 if (!dev->phy.mt76->band_idx) in mt7915_dma_start()
306 if (dev->dbdc_support || dev->phy.mt76->band_idx) in mt7915_dma_start()
445 MT_TXQ_ID(dev->phy.mt76->band_idx), in mt7915_dma_init()
453 MT_TXQ_ID(phy2->mt76->band_idx), in mt7915_dma_init()
510 if (!dev->phy.mt76->band_idx) { in mt7915_dma_init()
549 if (dev->dbdc_support || dev->phy.mt76->band_idx) { in mt7915_dma_init()
A Dinit.c238 mt76_wr(dev, MT_LED_STATUS_0(mphy->band_idx), val); in mt7915_led_set_config()
239 mt76_wr(dev, MT_LED_STATUS_1(mphy->band_idx), val); in mt7915_led_set_config()
242 mt76_wr(dev, MT_LED_EN(mphy->band_idx), 1); in mt7915_led_set_config()
248 if (mphy->band_idx) in mt7915_led_set_config()
251 mt76_wr(dev, MT_LED_CTRL(mphy->band_idx), val); in mt7915_led_set_config()
252 mt76_clear(dev, MT_LED_CTRL(mphy->band_idx), MT_LED_CTRL_KICK); in mt7915_led_set_config()
679 phy->mt76->band_idx = 1; in mt7915_alloc_ext_phy()
796 dev->phy.mt76->band_idx = 0; in mt7915_band_config()
807 dev->phy.mt76->band_idx = 1; in mt7915_band_config()
A Dmac.c568 u8 band_idx; in mt7915_mac_fill_rx_vector() local
573 band_idx = le32_get_bits(rxv_hdr[1], MT_RXV_HDR_BAND_IDX); in mt7915_mac_fill_rx_vector()
574 if (band_idx && !phy->mt76->band_idx) { in mt7915_mac_fill_rx_vector()
1112 u32 reg = MT_WF_PHY_RX_CTRL1(phy->mt76->band_idx); in mt7915_mac_cca_stats_reset()
1124 mt76_rr(dev, MT_TX_AGG_CNT(phy->mt76->band_idx, i)); in mt7915_mac_reset_counters()
1125 mt76_rr(dev, MT_TX_AGG_CNT2(phy->mt76->band_idx, i)); in mt7915_mac_reset_counters()
1148 u8 band = phy->mt76->band_idx; in mt7915_mac_set_timing()
1246 nf = mt7915_phy_get_nf(phy, phy->mt76->band_idx); in mt7915_update_channel()
1712 u8 band = phy->mt76->band_idx; in mt7915_mac_update_stats()
1950 trb = mt76_rr(dev, MT_TRB_RXPSR0(phy->mt76->band_idx)); in mt7915_mac_severe_check()
[all …]
A Ddebugfs.c54 bool band = phy->mt76->band_idx; in mt7915_sys_recovery_set()
709 u8 band = phy->mt76->band_idx; in mt7915_ampdu_stat_read_phy()
1001 u8 band = phy->mt76->band_idx; in mt7915_rate_txpower_get()
1080 .band_idx = phy->mt76->band_idx, in mt7915_rate_txpower_set()
1262 if (!dev->dbdc_support || phy->mt76->band_idx) { in mt7915_init_debugfs()
A Deeprom.c163 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_band_config()
220 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_hw_cap()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
A Dchannel.c745 int band_idx, i; in brcms_c_regd_init() local
748 for (band_idx = 0; band_idx < wlc->pub->_nbands; band_idx++) { in brcms_c_regd_init()
749 band = wlc->bandstate[band_idx]; in brcms_c_regd_init()
754 if (band_idx == BAND_2G_INDEX) in brcms_c_regd_init()
/drivers/net/wireless/mediatek/mt76/mt7615/
A Dmcu.c498 u8 band_idx = 0; /* DBDC support */ in mt7615_mcu_beacon_loss_event() local
631 u8 band_idx; in mt7615_mcu_add_dev() member
640 u8 band_idx; in mt7615_mcu_add_dev() member
646 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev()
654 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev()
679 u8 band_idx; in mt7615_mcu_add_beacon_offload() member
694 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_beacon_offload()
2124 u8 band_idx; in mt7615_mcu_set_chan_info() member
2154 req.band_idx = phy != &dev->phy; in mt7615_mcu_set_chan_info()
2203 u8 band_idx; in mt7615_mcu_set_sku_en() member
[all …]
A Dmain.c210 mvif->mt76.band_idx = ext_phy; in mt7615_add_interface()
228 mt76_wcid_init(&mvif->sta.wcid, mvif->mt76.band_idx); in mt7615_add_interface()
547 u8 i, band = mvif->mt76.band_idx; in mt7615_update_mu_group()
650 msta->wcid.phy_idx = mvif->mt76.band_idx; in mt7615_mac_sta_add()
652 phy = mvif->mt76.band_idx ? mt7615_ext_phy(dev) : &dev->phy; in mt7615_mac_sta_add()
685 phy = mvif->mt76.band_idx ? mt7615_ext_phy(dev) : &dev->phy; in mt7615_mac_sta_remove()
/drivers/net/wireless/mediatek/mt76/mt7921/
A Dmcu.c875 u8 band_idx; in mt7921_mcu_set_chan_info() member
891 .band_idx = phy != &dev->phy, in mt7921_mcu_set_chan_info()
1137 u8 band_idx; in mt7921_mcu_set_sniffer() member
1148 .band_idx = mvif->band_idx, in mt7921_mcu_set_sniffer()
1184 u8 band_idx; in mt7921_mcu_config_sniffer() member
1202 .band_idx = vif->bss_conf.mt76.band_idx, in mt7921_mcu_config_sniffer()
1425 u8 band_idx; in mt7921_mcu_get_temperature() member
1429 .band_idx = phy->mt76->band_idx, in mt7921_mcu_get_temperature()
/drivers/net/wireless/mediatek/mt76/
A Dmac80211.c494 u8 band_idx) in mt76_alloc_radio_phy() argument
508 phy->band_idx = band_idx; in mt76_alloc_radio_phy()
516 const struct ieee80211_ops *ops, u8 band_idx) in mt76_alloc_phy() argument
531 phy->band_idx = band_idx; in mt76_alloc_phy()
593 phy->dev->phys[phy->band_idx] = phy; in mt76_register_phy()
610 dev->phys[phy->band_idx] = NULL; in mt76_unregister_phy()
686 phy->band_idx = MT_BAND0; in mt76_alloc_device()
687 dev->phys[phy->band_idx] = phy; in mt76_alloc_device()
749 mt76_wcid_init(&dev->global_wcid, phy->band_idx); in mt76_register_device()
1551 mt76_wcid_init(wcid, phy->band_idx); in mt76_sta_add()
[all …]
A Dmt76_connac_mcu.c365 omac->band_idx = mvif->band_idx; in mt76_connac_mcu_bss_omac_tlv()
1151 u8 band_idx; in mt76_connac_mcu_uni_add_dev() member
1164 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_dev()
1187 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_dev()
1568 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_bss()
1733 req->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt76_connac_mcu_hw_scan()
1861 req->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt76_connac_mcu_sched_scan_req()
2863 u8 band_idx; in mt76_connac_mcu_set_pm() member
2874 .band_idx = band, in mt76_connac_mcu_set_pm()
/drivers/net/wireless/ath/wcn36xx/
A Dmain.c1298 int band_idx; in wcn36xx_get_survey() local
1302 band_idx = idx; in wcn36xx_get_survey()
1303 if (band_idx >= sband->n_channels) { in wcn36xx_get_survey()
1304 band_idx -= sband->n_channels; in wcn36xx_get_survey()
1308 if (!sband || band_idx >= sband->n_channels) in wcn36xx_get_survey()
1314 survey->channel = &sband->channels[band_idx]; in wcn36xx_get_survey()

Completed in 139 milliseconds

12