/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() 191 if (IS_CHAN_A_FAST_CLOCK(ah, ah->curchan)) in dur_to_usecs() 333 pe.freq = ah->curchan->channel; in ath9k_dfs_process_phyerr() 356 if (IS_CHAN_HT40(ah->curchan) && in ath9k_dfs_process_phyerr() 358 pe.freq += IS_CHAN_HT40PLUS(ah->curchan) ? 20 : -20; in ath9k_dfs_process_phyerr()
|
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 | 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() 343 struct ieee80211_channel *curchan = chandef->chan; in ath9k_cmn_get_channel() local 346 channel = &ah->channels[curchan->hw_value]; in ath9k_cmn_get_channel()
|
D | ani.c | 131 if (!ah->curchan) in ath9k_ani_restart() 226 if (!ah->curchan) in ath9k_hw_ani_ofdm_err_trigger() 286 if (!ah->curchan) in ath9k_hw_ani_cck_err_trigger() 328 struct ath9k_channel *chan = ah->curchan; in ath9k_ani_reset() 332 if (!ah->curchan) in ath9k_ani_reset() 423 if (!ah->curchan) in ath9k_hw_ani_monitor()
|
D | calib.c | 93 limit = ath9k_hw_get_nf_limits(ah, ah->curchan); in ath9k_hw_update_nfcal_hist_buffer() 97 ((i >= AR5416_MAX_CHAINS) && !IS_CHAN_HT40(ah->curchan))) in ath9k_hw_update_nfcal_hist_buffer() 210 currCal->calData->calType, ah->curchan->chan->center_freq); in ath9k_hw_reset_calvalid() 333 if (IS_CHAN_2GHZ(ah->curchan)) in ath9k_hw_nf_sanitize() 439 ath9k_hw_getnf(ah, ah->curchan); in ath9k_hw_bstuck_nfcal()
|
D | tx99.c | 89 if (ah->curchan && IS_CHAN_HT(ah->curchan)) { in ath9k_build_tx99_skb() 91 if (IS_CHAN_HT40(ah->curchan)) in ath9k_build_tx99_skb()
|
D | link.c | 367 ath9k_hw_ani_monitor(ah, ah->curchan); in ath_ani_calibrate() 374 int ret = ath9k_hw_calibrate(ah, ah->curchan, ah->rxchainmask, in ath_ani_calibrate() 506 int pos = ah->curchan - &ah->channels[0]; in ath_update_survey_stats() 512 if (!ah->curchan) in ath_update_survey_stats()
|
D | init.c | 204 if (!ah->curchan) in ath9k_reg_notifier() 207 sc->cur_chan->txpower = 2 * ah->curchan->chan->max_power; in ath9k_reg_notifier() 704 ah->curchan = &ah->channels[chan->hw_value]; in ath9k_init_band_txpower() 714 struct ath9k_channel *curchan = ah->curchan; in ath9k_init_txpower_limits() local 721 ah->curchan = curchan; in ath9k_init_txpower_limits()
|
D | hw.c | 43 struct ath9k_channel *chan = ah->curchan; in ath9k_hw_set_clockrate() 186 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() 1034 const struct ath9k_channel *chan = ah->curchan; in ath9k_hw_init_global_settings() 1521 u32 flags_diff = chan->channelFlags ^ ah->curchan->channelFlags; in ath9k_hw_channel_change() 1766 if (!ah->curchan) in ath9k_hw_do_fastcc() 1769 if (chan->channel == ah->curchan->channel) in ath9k_hw_do_fastcc() 1772 if ((ah->curchan->channelFlags | chan->channelFlags) & in ath9k_hw_do_fastcc() 1780 ((chan->channelFlags ^ ah->curchan->channelFlags) & ~CHANNEL_HT)) in ath9k_hw_do_fastcc() [all …]
|
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() 831 ath9k_hw_ani_monitor(ah, ah->curchan); in ath9k_htc_ani_work() 836 ath9k_hw_calibrate(ah, ah->curchan, in ath9k_htc_ani_work() 915 struct ieee80211_channel *curchan = hw->conf.chandef.chan; in ath9k_htc_start() local 926 curchan->center_freq); in ath9k_htc_start() 939 ret, curchan->center_freq); in ath9k_htc_start() 1212 struct ieee80211_channel *curchan = hw->conf.chandef.chan; in ath9k_htc_config() local 1213 int pos = curchan->hw_value; in ath9k_htc_config() [all …]
|
D | ar9002_phy.c | 154 ah->curchan = chan; in ar9002_hw_set_channel() 339 if (IS_CHAN_HT40(ah->curchan)) in ar9002_hw_do_getnf() 349 if (IS_CHAN_HT40(ah->curchan)) in ar9002_hw_do_getnf()
|
D | debug_sta.c | 142 if (ah->curchan->chan->band == IEEE80211_BAND_2GHZ) in ath_debug_rate_stats() 186 band = ah->curchan->chan->band; in read_file_node_recv()
|
D | ar9003_phy.c | 240 ah->curchan = chan; in ar9003_hw_set_channel() 1081 ath9k_hw_synth_delay(ah, ah->curchan, synthDelay); in ar9003_hw_rfbus_done() 1090 struct ath9k_channel *chan = ah->curchan; in ar9003_hw_ani_control() 1377 if (IS_CHAN_HT40(ah->curchan)) { in ar9003_hw_do_getnf() 1417 struct ath9k_channel *chan = ah->curchan; in ar9003_hw_ani_cache_ini_regs() 1501 IS_CHAN_HT40(ah->curchan) ? 2 : 1, regWrites); in ar9003_hw_set_radar_params() 1589 IS_CHAN_2GHZ(ah->curchan)); in ar9003_hw_set_bt_ant_diversity() 2158 if (ah->curchan && IS_CHAN_HT40(ah->curchan)) in ar9003_hw_bb_watchdog_config()
|
D | dynack.c | 48 if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath_dynack_get_sifs() 50 else if (IS_CHAN_HALF_RATE(ah->curchan)) in ath_dynack_get_sifs()
|
D | ar5008_phy.c | 252 ah->curchan = chan; in ar5008_hw_set_channel() 883 ath9k_hw_synth_delay(ah, ah->curchan, synthDelay); in ar5008_hw_rfbus_done() 943 struct ath9k_channel *chan = ah->curchan; in ar5008_hw_ani_control_new() 1136 if (!IS_CHAN_HT40(ah->curchan)) in ar5008_hw_do_getnf() 1157 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 | recv.c | 894 if (WARN_ON(!ah->curchan)) in ath9k_rx_skb_preprocess() 916 rx_status->band = ah->curchan->chan->band; in ath9k_rx_skb_preprocess() 917 rx_status->freq = ah->curchan->chan->center_freq; in ath9k_rx_skb_preprocess()
|
D | main.c | 302 hchan = ah->curchan; in ath_reset_internal() 654 struct ieee80211_channel *curchan = sc->cur_chan->chandef.chan; in ath9k_start() local 661 curchan->center_freq); in ath9k_start() 687 r, curchan->center_freq); in ath9k_start() 949 if (!ah->curchan) in ath9k_stop() 950 ah->curchan = ath9k_cmn_get_channel(hw, ah, in ath9k_stop() 953 ath9k_hw_reset(ah, ah->curchan, ah->caldata, false); in ath9k_stop()
|
D | ar9003_wow.c | 86 if (IS_CHAN_2GHZ(ah->curchan)) in ath9k_wow_create_keep_alive_pattern()
|
/drivers/net/wireless/p54/ |
D | main.c | 302 struct ieee80211_channel *chan = priv->curchan; in p54_reset_stats() 331 oldchan = priv->curchan; in p54_config() 332 priv->curchan = NULL; in p54_config() 335 priv->curchan = oldchan; in p54_config() 342 priv->curchan = priv->hw->conf.chandef.chan; in p54_config() 622 chan = priv->curchan; in p54_get_survey() 796 priv->curchan = NULL; in p54_init_common()
|
D | p54.h | 203 struct ieee80211_channel *curchan; member
|
/drivers/net/wireless/ath/ath5k/ |
D | base.c | 451 ah->curchan->center_freq, chandef->chan->center_freq); in ath5k_chan_set() 585 rix = ah->rate_idx[ah->curchan->band][hw_rix]; in ath5k_hw_to_driver_rix() 1401 rxs->freq = ah->curchan->center_freq; in ath5k_receive_frame() 1402 rxs->band = ah->curchan->band; in ath5k_receive_frame() 1427 ah->sbands[ah->curchan->band].bitrates[rxs->rate_idx].hw_value_short) in ath5k_receive_frame() 2435 ieee80211_frequency_to_channel(ah->curchan->center_freq), in ath5k_calibrate_work() 2436 ah->curchan->hw_value); in ath5k_calibrate_work() 2438 if (ath5k_hw_phy_calibrate(ah, ah->curchan)) in ath5k_calibrate_work() 2441 ah->curchan->center_freq)); in ath5k_calibrate_work() 2746 ah->curchan = ah->hw->conf.chandef.chan; in ath5k_start() [all …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 357 struct ieee80211_channel *curchan = hw->conf.chandef.chan; in rsi_channel_change() local 358 u16 channel = curchan->hw_value; in rsi_channel_change() 363 __func__, curchan->center_freq, in rsi_channel_change() 364 curchan->flags, channel); in rsi_channel_change()
|
D | rsi_91x_mgmt.c | 861 struct ieee80211_channel *curchan = hw->conf.chandef.chan; in rsi_band_check() local 864 if (common->band != curchan->band) { in rsi_band_check() 866 common->band = curchan->band; in rsi_band_check()
|