Searched refs:IS_CHAN_2GHZ (Results 1 – 17 of 17) sorted by relevance
/linux-6.1.9/drivers/net/wireless/ath/ath9k/ |
D | eeprom.c | 296 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_legacy_target_powers() 302 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_legacy_target_powers() 306 IS_CHAN_2GHZ(chan)) && i > 0 && in ath9k_hw_get_legacy_target_powers() 308 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_legacy_target_powers() 321 IS_CHAN_2GHZ(chan)); in ath9k_hw_get_legacy_target_powers() 323 IS_CHAN_2GHZ(chan)); in ath9k_hw_get_legacy_target_powers() 350 if (freq <= ath9k_hw_fbin2freq(powInfo[0].bChannel, IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_target_powers() 356 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_target_powers() 361 IS_CHAN_2GHZ(chan)) && i > 0 && in ath9k_hw_get_target_powers() 363 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_target_powers() [all …]
|
D | eeprom_def.c | 38 (u8)FREQ2FBIN(centers.synth_center, IS_CHAN_2GHZ(chan)), in ath9k_get_txgain_index() 475 pModal = &(eep->modalHeader[IS_CHAN_2GHZ(chan)]); in ath9k_hw_def_set_board_values() 476 txRxAttenLocal = IS_CHAN_2GHZ(chan) ? 23 : 44; in ath9k_hw_def_set_board_values() 509 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_def_set_board_values() 617 if (IS_CHAN_2GHZ(chan)) in ath9k_hw_def_set_board_values() 651 pModal = &(eep->modalHeader[IS_CHAN_2GHZ(chan)]); in ath9k_hw_def_set_addac() 662 IS_CHAN_2GHZ(chan)); in ath9k_hw_def_set_addac() 681 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_def_set_addac() 782 modalIdx = IS_CHAN_2GHZ(chan) ? 1 : 0; in ath9k_hw_set_def_power_cal_table() 795 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_set_def_power_cal_table() [all …]
|
D | eeprom_9287.c | 300 (u8)FREQ2FBIN(centers.synth_center, IS_CHAN_2GHZ(chan)), in ar9287_eeprom_get_tx_gain_index() 377 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_set_ar9287_power_cal_table() 536 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_set_ar9287_power_per_rate_table() 601 IS_CHAN_2GHZ(chan), in ath9k_hw_set_ar9287_power_per_rate_table() 681 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_set_ar9287_power_per_rate_table() 698 if (IS_CHAN_2GHZ(chan)) in ath9k_hw_set_ar9287_power_per_rate_table() 763 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_ar9287_set_txpower()
|
D | ar9003_phy.c | 245 u8 *spur_fbin_ptr = ar9003_get_spur_chan_ptr(ah, IS_CHAN_2GHZ(chan)); in ar9003_hw_spur_mitigate_mrc_cck() 282 IS_CHAN_2GHZ(chan)); in ar9003_hw_spur_mitigate_mrc_cck() 526 u8 *spur_fbin_ptr = ar9003_get_spur_chan_ptr(ah, IS_CHAN_2GHZ(chan)); in ar9003_hw_spur_mitigate_ofdm() 548 IS_CHAN_2GHZ(chan)); in ar9003_hw_spur_mitigate_ofdm() 557 IS_CHAN_2GHZ(chan)); in ar9003_hw_spur_mitigate_ofdm() 774 if (IS_CHAN_2GHZ(chan)) { in ar9550_hw_get_modes_txgain_index() 797 if (IS_CHAN_2GHZ(chan)) { in ar9561_hw_get_modes_txgain_index() 978 if (IS_CHAN_2GHZ(chan)) in ar9003_hw_set_rfmode() 1568 IS_CHAN_2GHZ(ah->curchan)); in ar9003_hw_set_bt_ant_diversity()
|
D | mci.c | 186 if (IS_CHAN_2GHZ(sc->sc_ah->curchan)) { in ath_mci_update_scheme() 652 if (!chan || !IS_CHAN_2GHZ(chan)) in ath9k_mci_update_wlan_channels() 704 if (!IS_CHAN_2GHZ(ah->curchan)) in ath9k_mci_set_txpower()
|
D | ar9003_calib.c | 1312 ar9003_hw_manual_peak_cal(ah, i, IS_CHAN_2GHZ(chan)); in ar9003_hw_do_pcoem_manual_peak_cal() 1319 if (IS_CHAN_2GHZ(chan)){ in ar9003_hw_do_pcoem_manual_peak_cal() 1474 if (ath9k_hw_mci_is_enabled(ah) && IS_CHAN_2GHZ(chan) && run_agc_cal) in ar9003_hw_init_cal_pcoem() 1505 if (ath9k_hw_mci_is_enabled(ah) && IS_CHAN_2GHZ(chan) && run_agc_cal) in ar9003_hw_init_cal_pcoem() 1630 if (AR_SREV_9550(ah) && IS_CHAN_2GHZ(chan)) { in ar9003_hw_init_cal_soc() 1642 IS_CHAN_2GHZ(chan)); in ar9003_hw_init_cal_soc()
|
D | calib.c | 52 if (!chan || IS_CHAN_2GHZ(chan)) in ath9k_hw_get_nf_limits() 377 if (IS_CHAN_2GHZ(ah->curchan)) in ath9k_hw_nf_sanitize()
|
D | ar9003_paprd.c | 24 bool is2ghz = IS_CHAN_2GHZ(chan); in ar9003_paprd_enable() 155 if (IS_CHAN_2GHZ(ah->curchan)) in ar9003_paprd_setup_single_table() 222 if (IS_CHAN_2GHZ(ah->curchan)) { in ar9003_paprd_setup_single_table() 257 if (IS_CHAN_2GHZ(ah->curchan) && !AR_SREV_9462(ah) && !AR_SREV_9565(ah)) in ar9003_paprd_setup_single_table()
|
D | ar9002_phy.c | 183 bool is2GHz = IS_CHAN_2GHZ(chan); in ar9002_hw_spur_mitigate() 264 denominator = IS_CHAN_2GHZ(chan) ? 44 : 40; in ar9002_hw_spur_mitigate()
|
D | ar5008_phy.c | 444 bool is2GHz = IS_CHAN_2GHZ(chan); in ar5008_hw_spur_mitigate() 480 denominator = IS_CHAN_2GHZ(chan) ? 440 : 400; in ar5008_hw_spur_mitigate() 550 if (IS_CHAN_2GHZ(chan)) { in ar5008_hw_set_rf_regs() 833 if (IS_CHAN_2GHZ(chan)) in ar5008_hw_set_rfmode()
|
D | ar9003_rtt.c | 214 if (IS_CHAN_2GHZ(chan)){ in ar9003_hw_rtt_restore()
|
D | ar9003_eeprom.c | 3846 if (IS_CHAN_2GHZ(chan)) in ar9003_hw_atten_chain_get() 3874 if (IS_CHAN_2GHZ(chan)) in ar9003_hw_atten_chain_get_margin() 4238 bool is2ghz = IS_CHAN_2GHZ(chan); in ath9k_hw_ar9300_set_board_values() 4462 if (IS_CHAN_2GHZ(chan)) { in ar9003_hw_selfgen_tpc_txpower() 4728 bool is2GHz = IS_CHAN_2GHZ(chan); in ar9003_hw_get_target_power_eeprom() 5250 bool is2ghz = IS_CHAN_2GHZ(chan); in ar9003_hw_set_power_per_rate_table() 5428 if (IS_CHAN_2GHZ(chan)) { in ar9003_paprd_set_txpower() 5463 ar9003_get_paprd_rate_mask_ht20(ah, IS_CHAN_2GHZ(chan)) & in ath9k_hw_ar9300_set_txpower() 5467 ar9003_get_paprd_rate_mask_ht40(ah, IS_CHAN_2GHZ(chan)) & in ath9k_hw_ar9300_set_txpower() 5597 bool is2ghz = IS_CHAN_2GHZ(chan); in ar9003_get_paprd_scale_factor()
|
D | ar9003_wow.c | 86 if (IS_CHAN_2GHZ(ah->curchan)) in ath9k_wow_create_keep_alive_pattern()
|
D | ar9003_mci.c | 698 ar9003_mci_2g5g_changed(ah, IS_CHAN_2GHZ(chan)); in ar9003_mci_start_reset() 740 if (!IS_CHAN_2GHZ(chan) || (mci_hw->bt_state != MCI_BT_SLEEP)) in ar9003_mci_end_reset() 761 if (IS_CHAN_2GHZ(chan)) in ar9003_mci_end_reset()
|
D | hw.c | 50 else if (IS_CHAN_2GHZ(chan)) in ath9k_hw_set_clockrate() 1126 if (IS_CHAN_2GHZ(chan) && in ath9k_hw_init_global_settings() 1180 if (IS_CHAN_2GHZ(chan)) in ath9k_regd_get_ctl() 1970 ar9003_mci_reset(ah, false, IS_CHAN_2GHZ(chan), save_fullsleep); in ath9k_hw_reset() 2946 if (IS_CHAN_2GHZ(chan)) in get_antenna_gain()
|
D | hw.h | 465 #define IS_CHAN_2GHZ(_c) (!IS_CHAN_5GHZ(_c)) macro
|
D | eeprom_4k.c | 483 IS_CHAN_2GHZ(chan), in ath9k_hw_set_4k_power_per_rate_table()
|