Home
last modified time | relevance | path

Searched refs:IS_CHAN_2GHZ (Results 1 – 17 of 17) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Deeprom.c190 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_legacy_target_powers()
196 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_legacy_target_powers()
200 IS_CHAN_2GHZ(chan)) && i > 0 && in ath9k_hw_get_legacy_target_powers()
202 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_legacy_target_powers()
215 IS_CHAN_2GHZ(chan)); in ath9k_hw_get_legacy_target_powers()
217 IS_CHAN_2GHZ(chan)); in ath9k_hw_get_legacy_target_powers()
244 if (freq <= ath9k_hw_fbin2freq(powInfo[0].bChannel, IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_target_powers()
250 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_target_powers()
255 IS_CHAN_2GHZ(chan)) && i > 0 && in ath9k_hw_get_target_powers()
257 IS_CHAN_2GHZ(chan))) { in ath9k_hw_get_target_powers()
[all …]
Deeprom_def.c38 (u8)FREQ2FBIN(centers.synth_center, IS_CHAN_2GHZ(chan)), in ath9k_get_txgain_index()
539 pModal = &(eep->modalHeader[IS_CHAN_2GHZ(chan)]); in ath9k_hw_def_set_board_values()
540 txRxAttenLocal = IS_CHAN_2GHZ(chan) ? 23 : 44; in ath9k_hw_def_set_board_values()
572 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_def_set_board_values()
679 if (IS_CHAN_2GHZ(chan)) in ath9k_hw_def_set_board_values()
713 pModal = &(eep->modalHeader[IS_CHAN_2GHZ(chan)]); in ath9k_hw_def_set_addac()
724 IS_CHAN_2GHZ(chan)); in ath9k_hw_def_set_addac()
743 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_def_set_addac()
844 modalIdx = IS_CHAN_2GHZ(chan) ? 1 : 0; in ath9k_hw_set_def_power_cal_table()
858 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_set_def_power_cal_table()
[all …]
Deeprom_9287.c355 (u8)FREQ2FBIN(centers.synth_center, IS_CHAN_2GHZ(chan)), in ar9287_eeprom_get_tx_gain_index()
433 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_set_ar9287_power_cal_table()
592 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_set_ar9287_power_per_rate_table()
657 IS_CHAN_2GHZ(chan), in ath9k_hw_set_ar9287_power_per_rate_table()
737 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_set_ar9287_power_per_rate_table()
754 if (IS_CHAN_2GHZ(chan)) in ath9k_hw_set_ar9287_power_per_rate_table()
820 if (IS_CHAN_2GHZ(chan)) { in ath9k_hw_ar9287_set_txpower()
Dcalib.c52 if (!chan || IS_CHAN_2GHZ(chan)) in ath9k_hw_get_nf_limits()
334 if (IS_CHAN_2GHZ(ah->curchan)) in ath9k_hw_nf_sanitize()
Dar9003_calib.c1292 ar9003_hw_manual_peak_cal(ah, i, IS_CHAN_2GHZ(chan)); in ar9003_hw_do_pcoem_manual_peak_cal()
1299 if (IS_CHAN_2GHZ(chan)){ in ar9003_hw_do_pcoem_manual_peak_cal()
1434 if (ath9k_hw_mci_is_enabled(ah) && IS_CHAN_2GHZ(chan) && run_agc_cal) in ar9003_hw_init_cal_pcoem()
1465 if (ath9k_hw_mci_is_enabled(ah) && IS_CHAN_2GHZ(chan) && run_agc_cal) in ar9003_hw_init_cal_pcoem()
1606 if (AR_SREV_9550(ah) && IS_CHAN_2GHZ(chan)) { in ar9003_hw_init_cal_soc()
1614 ar9003_hw_manual_peak_cal(ah, 0, IS_CHAN_2GHZ(chan)); in ar9003_hw_init_cal_soc()
Dmci.c186 if (IS_CHAN_2GHZ(sc->sc_ah->curchan)) { in ath_mci_update_scheme()
653 if (!chan || !IS_CHAN_2GHZ(chan)) in ath9k_mci_update_wlan_channels()
705 if (!IS_CHAN_2GHZ(ah->curchan)) in ath9k_mci_set_txpower()
Dar5008_phy.c276 bool is2GHz = IS_CHAN_2GHZ(chan); in ar5008_hw_spur_mitigate()
315 denominator = IS_CHAN_2GHZ(chan) ? 440 : 400; in ar5008_hw_spur_mitigate()
513 if (IS_CHAN_2GHZ(chan)) { in ar5008_hw_set_rf_regs()
793 if (IS_CHAN_2GHZ(chan)) in ar5008_hw_set_rfmode()
Dar9003_paprd.c155 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()
Dar9003_rtt.c214 if (IS_CHAN_2GHZ(chan)){ in ar9003_hw_rtt_restore()
Dar9002_phy.c196 bool is2GHz = IS_CHAN_2GHZ(chan); in ar9002_hw_spur_mitigate()
280 denominator = IS_CHAN_2GHZ(chan) ? 44 : 40; in ar9002_hw_spur_mitigate()
Dar9003_phy.c180 u8 *spur_fbin_ptr = ar9003_get_spur_chan_ptr(ah, IS_CHAN_2GHZ(chan)); in ar9003_hw_spur_mitigate_mrc_cck()
217 IS_CHAN_2GHZ(chan)); in ar9003_hw_spur_mitigate_mrc_cck()
715 if (IS_CHAN_2GHZ(chan)) { in ar9550_hw_get_modes_txgain_index()
894 if (IS_CHAN_2GHZ(chan)) in ar9003_hw_set_rfmode()
1481 IS_CHAN_2GHZ(ah->curchan)); in ar9003_hw_set_bt_ant_diversity()
Dar9003_mci.c684 ar9003_mci_2g5g_changed(ah, IS_CHAN_2GHZ(chan)); in ar9003_mci_start_reset()
726 if (!IS_CHAN_2GHZ(chan) || (mci_hw->bt_state != MCI_BT_SLEEP)) in ar9003_mci_end_reset()
747 if (IS_CHAN_2GHZ(chan)) in ar9003_mci_end_reset()
Dar9003_eeprom.c3776 if (IS_CHAN_2GHZ(chan)) in ar9003_hw_atten_chain_get()
3804 if (IS_CHAN_2GHZ(chan)) in ar9003_hw_atten_chain_get_margin()
4162 bool is2ghz = IS_CHAN_2GHZ(chan); in ath9k_hw_ar9300_set_board_values()
4633 bool is2GHz = IS_CHAN_2GHZ(chan); in ar9003_hw_get_target_power_eeprom()
5112 bool is2ghz = IS_CHAN_2GHZ(chan); in ar9003_hw_set_power_per_rate_table()
5290 if (IS_CHAN_2GHZ(chan)) { in ar9003_paprd_set_txpower()
5325 if (IS_CHAN_2GHZ(chan)) in ath9k_hw_ar9300_set_txpower()
5430 if (IS_CHAN_2GHZ(chan)) in ar9003_get_paprd_scale_factor()
Dhw.c49 else if (IS_CHAN_2GHZ(chan)) in ath9k_hw_set_clockrate()
1039 if (IS_CHAN_2GHZ(chan) && in ath9k_hw_init_global_settings()
1089 if (IS_CHAN_2GHZ(chan)) in ath9k_regd_get_ctl()
1853 ar9003_mci_reset(ah, false, IS_CHAN_2GHZ(chan), save_fullsleep); in ath9k_hw_reset()
2718 if (IS_CHAN_2GHZ(chan)) in get_antenna_gain()
Dar9002_calib.c41 if (!((IS_CHAN_2GHZ(chan) || IS_CHAN_A_FAST_CLOCK(ah, chan)) && in ar9002_hw_is_cal_supported()
Dhw.h426 #define IS_CHAN_2GHZ(_c) (!IS_CHAN_5GHZ(_c)) macro
Deeprom_4k.c550 IS_CHAN_2GHZ(chan), in ath9k_hw_set_4k_power_per_rate_table()