/linux-6.1.9/drivers/net/wireless/ath/ath9k/ |
D | dfs.c | 109 if (IS_CHAN_HT40(ah->curchan)) { in ath9k_check_chirping() 126 if (IS_CHAN_HT40MINUS(ah->curchan)) in ath9k_check_chirping() 189 if (IS_CHAN_A_FAST_CLOCK(ah, ah->curchan)) in dur_to_usecs() 331 pe.freq = ah->curchan->channel; in ath9k_dfs_process_phyerr() 354 if (IS_CHAN_HT40(ah->curchan) && in ath9k_dfs_process_phyerr() 356 pe.freq += IS_CHAN_HT40PLUS(ah->curchan) ? 20 : -20; in ath9k_dfs_process_phyerr()
|
D | common.c | 180 band = ah->curchan->chan->band; in ath9k_cmn_process_rate() 183 if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath9k_cmn_process_rate() 185 else if (IS_CHAN_HALF_RATE(ah->curchan)) in ath9k_cmn_process_rate() 344 struct ieee80211_channel *curchan = chandef->chan; in ath9k_cmn_get_channel() local 347 channel = &ah->channels[curchan->hw_value]; in ath9k_cmn_get_channel() 372 if (ah->curchan && reg->power_limit != new_txpow) in ath9k_cmn_update_txpow()
|
D | mci.c | 186 if (IS_CHAN_2GHZ(sc->sc_ah->curchan)) { in ath_mci_update_scheme() 187 if (IS_CHAN_HT(sc->sc_ah->curchan)) in ath_mci_update_scheme() 196 if (IS_CHAN_5GHZ(sc->sc_ah->curchan)) in ath_mci_update_scheme() 646 struct ath9k_channel *chan = ah->curchan; in ath9k_mci_update_wlan_channels() 704 if (!IS_CHAN_2GHZ(ah->curchan)) in ath9k_mci_set_txpower() 709 if (IS_CHAN_HT40PLUS(ah->curchan) && in ath9k_mci_set_txpower() 710 (ah->curchan->channel > caldata->channel) && in ath9k_mci_set_txpower() 711 (ah->curchan->channel <= caldata->channel + 20)) in ath9k_mci_set_txpower() 713 if (IS_CHAN_HT40MINUS(ah->curchan) && in ath9k_mci_set_txpower() 714 (ah->curchan->channel < caldata->channel) && in ath9k_mci_set_txpower() [all …]
|
D | calib.c | 99 limit = ath9k_hw_get_nf_limits(ah, ah->curchan); in ath9k_hw_update_nfcal_hist_buffer() 103 ((i >= AR5416_MAX_CHAINS) && !IS_CHAN_HT40(ah->curchan))) in ath9k_hw_update_nfcal_hist_buffer() 217 ah->curchan->chan->center_freq); in ath9k_hw_reset_calvalid() 377 if (IS_CHAN_2GHZ(ah->curchan)) in ath9k_hw_nf_sanitize() 482 ath9k_hw_getnf(ah, ah->curchan); in ath9k_hw_bstuck_nfcal()
|
D | tx99.c | 87 if (ah->curchan && IS_CHAN_HT(ah->curchan)) { in ath9k_build_tx99_skb() 89 if (IS_CHAN_HT40(ah->curchan)) in ath9k_build_tx99_skb()
|
D | link.c | 371 ath9k_hw_ani_monitor(ah, ah->curchan); in ath_ani_calibrate() 378 int ret = ath9k_hw_calibrate(ah, ah->curchan, ah->rxchainmask, in ath_ani_calibrate() 510 int pos = ah->curchan - &ah->channels[0]; in ath_update_survey_stats() 516 if (!ah->curchan) in ath_update_survey_stats()
|
D | dynack.c | 33 const struct ath9k_channel *chan = ah->curchan; in ath_dynack_get_max_to() 70 if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath_dynack_get_sifs() 72 else if (IS_CHAN_HALF_RATE(ah->curchan)) in ath_dynack_get_sifs()
|
D | init.c | 266 if (!ah->curchan) in ath9k_reg_notifier() 269 sc->cur_chan->txpower = 2 * ah->curchan->chan->max_power; in ath9k_reg_notifier() 856 ah->curchan = &ah->channels[chan->hw_value]; in ath9k_init_band_txpower() 866 struct ath9k_channel *curchan = ah->curchan; in ath9k_init_txpower_limits() local 873 ah->curchan = curchan; in ath9k_init_txpower_limits()
|
D | ar9003_paprd.c | 23 struct ath9k_channel *chan = ah->curchan; in ar9003_paprd_enable() 73 struct ath9k_channel *chan = ah->curchan; in ar9003_get_training_power_2g() 101 struct ath9k_channel *chan = ah->curchan; in ar9003_get_training_power_5g() 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 | htc_drv_main.c | 211 ret = ath9k_hw_reset(ah, ah->curchan, caldata, false); in ath9k_htc_reset() 224 mode = ath9k_htc_get_curmode(priv, ah->curchan); in ath9k_htc_reset() 274 priv->ah->curchan->channel, in ath9k_htc_set_channel() 828 ath9k_hw_ani_monitor(ah, ah->curchan); in ath9k_htc_ani_work() 833 ath9k_hw_calibrate(ah, ah->curchan, in ath9k_htc_ani_work() 912 struct ieee80211_channel *curchan = hw->conf.chandef.chan; in ath9k_htc_start() local 923 curchan->center_freq); in ath9k_htc_start() 936 ret, curchan->center_freq); in ath9k_htc_start() 1209 struct ieee80211_channel *curchan = hw->conf.chandef.chan; in ath9k_htc_config() local 1210 int pos = curchan->hw_value; in ath9k_htc_config() [all …]
|
D | debug_sta.c | 142 if (ah->curchan->chan->band == NL80211_BAND_2GHZ) in ath_debug_rate_stats() 186 band = ah->curchan->chan->band; in read_file_node_recv()
|
D | hw.c | 42 struct ath9k_channel *chan = ah->curchan; in ath9k_hw_set_clockrate() 185 if (ah->curchan && IS_CHAN_QUARTER_RATE(ah->curchan)) { in ath9k_hw_computetxtime() 193 } else if (ah->curchan && in ath9k_hw_computetxtime() 194 IS_CHAN_HALF_RATE(ah->curchan)) { in ath9k_hw_computetxtime() 1050 const struct ath9k_channel *chan = ah->curchan; in ath9k_hw_init_global_settings() 1553 u32 flags_diff = chan->channelFlags ^ ah->curchan->channelFlags; in ath9k_hw_channel_change() 1799 if (!ah->curchan) in ath9k_hw_do_fastcc() 1802 if (chan->channel == ah->curchan->channel) in ath9k_hw_do_fastcc() 1805 if ((ah->curchan->channelFlags | chan->channelFlags) & in ath9k_hw_do_fastcc() 1813 ((chan->channelFlags ^ ah->curchan->channelFlags) & ~CHANNEL_HT)) in ath9k_hw_do_fastcc() [all …]
|
D | ar9002_phy.c | 155 ah->curchan = chan; in ar9002_hw_set_channel() 340 if (IS_CHAN_HT40(ah->curchan)) in ar9002_hw_do_getnf() 350 if (IS_CHAN_HT40(ah->curchan)) in ar9002_hw_do_getnf()
|
D | ar9003_phy.c | 223 ah->curchan = chan; in ar9003_hw_set_channel() 1060 ath9k_hw_synth_delay(ah, ah->curchan, synthDelay); in ar9003_hw_rfbus_done() 1069 struct ath9k_channel *chan = ah->curchan; in ar9003_hw_ani_control() 1356 if (IS_CHAN_HT40(ah->curchan)) { in ar9003_hw_do_getnf() 1396 struct ath9k_channel *chan = ah->curchan; in ar9003_hw_ani_cache_ini_regs() 1480 IS_CHAN_HT40(ah->curchan) ? 2 : 1, regWrites); in ar9003_hw_set_radar_params() 1568 IS_CHAN_2GHZ(ah->curchan)); in ar9003_hw_set_bt_ant_diversity() 2081 if (ah->curchan && IS_CHAN_HT40(ah->curchan)) in ar9003_hw_bb_watchdog_config()
|
D | ar5008_phy.c | 270 ah->curchan = chan; in ar5008_hw_set_channel() 898 ath9k_hw_synth_delay(ah, ah->curchan, synthDelay); in ar5008_hw_rfbus_done() 958 struct ath9k_channel *chan = ah->curchan; in ar5008_hw_ani_control_new() 1151 if (!IS_CHAN_HT40(ah->curchan)) in ar5008_hw_do_getnf() 1172 struct ath9k_channel *chan = ah->curchan; in ar5008_hw_ani_cache_ini_regs()
|
D | mac.c | 139 if (ah->curchan) { in ath9k_hw_abort_tx_dma() 140 if (IS_CHAN_HALF_RATE(ah->curchan)) in ath9k_hw_abort_tx_dma() 142 else if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath9k_hw_abort_tx_dma()
|
D | main.c | 307 hchan = ah->curchan; in ath_reset_internal() 659 struct ieee80211_channel *curchan = sc->cur_chan->chandef.chan; in ath9k_start() local 666 curchan->center_freq); in ath9k_start() 692 r, curchan->center_freq); in ath9k_start() 958 if (!ah->curchan) in ath9k_stop() 959 ah->curchan = ath9k_cmn_get_channel(hw, ah, in ath9k_stop() 962 ath9k_hw_reset(ah, ah->curchan, ah->caldata, false); in ath9k_stop()
|
D | recv.c | 913 if (WARN_ON(!ah->curchan)) in ath9k_rx_skb_preprocess() 935 rx_status->band = ah->curchan->chan->band; in ath9k_rx_skb_preprocess() 936 rx_status->freq = ah->curchan->chan->center_freq; in ath9k_rx_skb_preprocess()
|
D | ar9003_wow.c | 86 if (IS_CHAN_2GHZ(ah->curchan)) in ath9k_wow_create_keep_alive_pattern()
|
D | ani.c | 312 struct ath9k_channel *chan = ah->curchan; in ath9k_ani_reset()
|
D | common-spectral.c | 256 ext_nf = ath9k_hw_getchan_noise(ah, ah->curchan, in ath_cmn_process_ht20_40_fft() 483 u16 fft_len, sample_len, freq = ah->curchan->chan->center_freq; in ath_cmn_process_fft()
|
/linux-6.1.9/drivers/net/wireless/intersil/p54/ |
D | main.c | 299 struct ieee80211_channel *chan = priv->curchan; in p54_reset_stats() 328 oldchan = priv->curchan; in p54_config() 329 priv->curchan = NULL; in p54_config() 332 priv->curchan = oldchan; in p54_config() 339 priv->curchan = priv->hw->conf.chandef.chan; in p54_config() 617 chan = priv->curchan; in p54_get_survey() 791 priv->curchan = NULL; in p54_init_common()
|
D | p54.h | 200 struct ieee80211_channel *curchan; member
|
/linux-6.1.9/drivers/net/wireless/ath/ath5k/ |
D | base.c | 450 ah->curchan->center_freq, chandef->chan->center_freq); in ath5k_chan_set() 584 rix = ah->rate_idx[ah->curchan->band][hw_rix]; in ath5k_hw_to_driver_rix() 1445 rxs->freq = ah->curchan->center_freq; in ath5k_receive_frame() 1446 rxs->band = ah->curchan->band; in ath5k_receive_frame() 1471 ah->sbands[ah->curchan->band].bitrates[rxs->rate_idx].hw_value_short) in ath5k_receive_frame() 2478 ieee80211_frequency_to_channel(ah->curchan->center_freq), in ath5k_calibrate_work() 2479 ah->curchan->hw_value); in ath5k_calibrate_work() 2481 if (ath5k_hw_phy_calibrate(ah, ah->curchan)) in ath5k_calibrate_work() 2484 ah->curchan->center_freq)); in ath5k_calibrate_work() 2791 ah->curchan = ah->hw->conf.chandef.chan; in ath5k_start() [all …]
|
/linux-6.1.9/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 578 struct ieee80211_channel *curchan = hw->conf.chandef.chan; in rsi_channel_change() local 579 u16 channel = curchan->hw_value; in rsi_channel_change() 586 __func__, curchan->center_freq, in rsi_channel_change() 587 curchan->flags, channel); in rsi_channel_change() 609 status = rsi_band_check(common, curchan); in rsi_channel_change() 611 status = rsi_set_channel(adapter->priv, curchan); in rsi_channel_change()
|