Home
last modified time | relevance | path

Searched refs:curchan (Results 1 – 20 of 20) sorted by relevance

/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dani.c130 aniState = &ah->curchan->ani; in ath9k_ani_restart()
162 aniState = &ah->curchan->ani; in ath9k_hw_ani_ofdm_err_trigger_old()
231 aniState = &ah->curchan->ani; in ath9k_hw_ani_cck_err_trigger_old()
263 struct ar5416AniState *aniState = &ah->curchan->ani; in ath9k_hw_set_ofdm_nil()
320 aniState = &ah->curchan->ani; in ath9k_hw_ani_ofdm_err_trigger()
331 struct ar5416AniState *aniState = &ah->curchan->ani; in ath9k_hw_set_cck_nil()
382 aniState = &ah->curchan->ani; in ath9k_hw_ani_cck_err_trigger()
393 aniState = &ah->curchan->ani; in ath9k_hw_ani_lower_immunity_old()
449 aniState = &ah->curchan->ani; in ath9k_hw_ani_lower_immunity()
471 struct ath9k_channel *chan = ah->curchan; in ath9k_ani_reset_old()
[all …]
Dhtc_drv_gpio.c381 if (!ah->curchan) in ath9k_htc_radio_enable()
382 ah->curchan = ath9k_cmn_get_curchannel(hw, ah); in ath9k_htc_radio_enable()
385 ret = ath9k_hw_reset(ah, ah->curchan, ah->caldata, false); in ath9k_htc_radio_enable()
389 ret, ah->curchan->channel); in ath9k_htc_radio_enable()
445 if (!ah->curchan) in ath9k_htc_radio_disable()
446 ah->curchan = ath9k_cmn_get_curchannel(hw, ah); in ath9k_htc_radio_disable()
449 ret = ath9k_hw_reset(ah, ah->curchan, ah->caldata, false); in ath9k_htc_radio_disable()
453 ret, ah->curchan->channel); in ath9k_htc_radio_disable()
Dcalib.c78 limit = ath9k_hw_get_nf_limits(ah, ah->curchan); in ath9k_hw_update_nfcal_hist_buffer()
312 if (IS_CHAN_2GHZ(ah->curchan)) in ath9k_hw_nf_sanitize()
401 if (!ah->curchan || !ah->curchan->noisefloor) in ath9k_hw_getchan_noise()
404 return ah->curchan->noisefloor; in ath9k_hw_getchan_noise()
426 ath9k_hw_getnf(ah, ah->curchan); in ath9k_hw_bstuck_nfcal()
Dcommon.c136 struct ieee80211_channel *curchan = hw->conf.channel; in ath9k_cmn_get_curchannel() local
140 chan_idx = curchan->hw_value; in ath9k_cmn_get_curchannel()
142 ath9k_cmn_update_ichannel(channel, curchan, hw->conf.channel_type); in ath9k_cmn_get_curchannel()
Dmain.c181 int pos = ah->curchan - &ah->channels[0]; in ath_update_survey_stats()
187 if (!ah->curchan) in ath_update_survey_stats()
278 sc->sc_ah->curchan->channel, in ath_set_channel()
523 ath9k_hw_ani_monitor(ah, ah->curchan); in ath_ani_calibrate()
532 ah->curchan, in ath_ani_calibrate()
885 if (!ah->curchan) in ath_radio_enable()
886 ah->curchan = ath9k_cmn_get_curchannel(sc->hw, ah); in ath_radio_enable()
888 r = ath9k_hw_reset(ah, ah->curchan, ah->caldata, false); in ath_radio_enable()
951 if (!ah->curchan) in ath_radio_disable()
952 ah->curchan = ath9k_cmn_get_curchannel(hw, ah); in ath_radio_disable()
[all …]
Dar9003_phy.c115 ah->curchan = chan; in ar9003_hw_set_channel()
738 if (IS_CHAN_B(ah->curchan)) in ar9003_hw_rfbus_done()
762 struct ath9k_channel *chan = ah->curchan; in ar9003_hw_ani_control()
1037 if (IS_CHAN_HT40(ah->curchan)) { in ar9003_hw_do_getnf()
1067 struct ath9k_channel *chan = ah->curchan; in ar9003_hw_ani_cache_ini_regs()
1071 aniState = &ah->curchan->ani; in ar9003_hw_ani_cache_ini_regs()
1239 if (ah->curchan && IS_CHAN_HT40(ah->curchan)) in ar9003_hw_bb_watchdog_config()
Dinit.c632 ah->curchan = &ah->channels[chan->hw_value]; in ath9k_init_band_txpower()
633 ath9k_cmn_update_ichannel(ah->curchan, chan, NL80211_CHAN_HT20); in ath9k_init_band_txpower()
642 struct ath9k_channel *curchan = ah->curchan; in ath9k_init_txpower_limits() local
649 ah->curchan = curchan; in ath9k_init_txpower_limits()
Dhtc_drv_main.c206 ret = ath9k_hw_reset(ah, ah->curchan, caldata, false); in ath9k_htc_reset()
219 mode = ath9k_htc_get_curmode(priv, ah->curchan); in ath9k_htc_reset()
260 priv->ah->curchan->channel, in ath9k_htc_set_channel()
1007 ath9k_hw_ani_monitor(ah, ah->curchan); in ath9k_htc_ani_work()
1012 ath9k_hw_calibrate(ah, ah->curchan, in ath9k_htc_ani_work()
1084 struct ieee80211_channel *curchan = hw->conf.channel; in ath9k_htc_start() local
1095 curchan->center_freq); in ath9k_htc_start()
1109 ret, curchan->center_freq); in ath9k_htc_start()
1385 struct ieee80211_channel *curchan = hw->conf.channel; in ath9k_htc_config() local
1386 int pos = curchan->hw_value; in ath9k_htc_config()
[all …]
Dhw.c90 if (!ah->curchan) /* should really check for CCK instead */ in ath9k_hw_set_clockrate()
183 if (ah->curchan && IS_CHAN_QUARTER_RATE(ah->curchan)) { in ath9k_hw_computetxtime()
190 } else if (ah->curchan && in ath9k_hw_computetxtime()
191 IS_CHAN_HALF_RATE(ah->curchan)) { in ath9k_hw_computetxtime()
1248 struct ath9k_channel *curchan = ah->curchan; in ath9k_hw_reset() local
1260 if (curchan && !ah->chip_fullsleep) in ath9k_hw_reset()
1261 ath9k_hw_getnf(ah, curchan); in ath9k_hw_reset()
1275 (ah->curchan != NULL) && in ath9k_hw_reset()
1276 (chan->channel != ah->curchan->channel) && in ath9k_hw_reset()
1278 (ah->curchan->channelFlags & CHANNEL_ALL)) && in ath9k_hw_reset()
[all …]
Dar9002_phy.c151 ah->curchan = chan; in ar9002_hw_set_channel()
482 if (IS_CHAN_HT40(ah->curchan)) in ar9002_hw_do_getnf()
492 if (IS_CHAN_HT40(ah->curchan)) in ar9002_hw_do_getnf()
Dani.h22 #define DO_ANI(ah) (((ah)->proc_phyerr & HAL_PROCESS_ANI) && ah->curchan)
Dar5008_phy.c219 ah->curchan = chan; in ar5008_hw_set_channel()
954 if (IS_CHAN_B(ah->curchan)) in ar5008_hw_rfbus_done()
1036 struct ar5416AniState *aniState = &ah->curchan->ani; in ar5008_hw_ani_control_old()
1214 struct ath9k_channel *chan = ah->curchan; in ar5008_hw_ani_control_new()
1469 if (!IS_CHAN_HT40(ah->curchan)) in ar5008_hw_do_getnf()
1490 struct ath9k_channel *chan = ah->curchan; in ar5008_hw_ani_cache_ini_regs()
Dar9003_paprd.c23 struct ath9k_channel *chan = ah->curchan; in ar9003_paprd_enable()
72 struct ath9k_channel *chan = ah->curchan; in ar9003_get_training_power_5g()
117 if (IS_CHAN_2GHZ(ah->curchan)) in ar9003_paprd_setup_single_table()
Dxmit.c1538 struct ath9k_channel *curchan = ah->curchan; in ath_txchainmask_reduction() local
1540 (curchan->channelFlags & CHANNEL_5GHZ) && in ath_txchainmask_reduction()
Dar9003_calib.c173 ath9k_hw_loadnf(ah, ah->curchan); in ar9003_hw_calibrate()
Dhw.h664 struct ath9k_channel *curchan; member
Dar9002_calib.c693 ath9k_hw_loadnf(ah, ah->curchan); in ar9002_hw_calibrate()
Dmac.c419 struct ath9k_channel *chan = ah->curchan; in ath9k_hw_resettxqueue()
/linux-2.6.39/drivers/net/wireless/ath/ath5k/
Dbase.c434 sc->curchan->center_freq, chan->center_freq); in ath5k_chan_set()
551 rix = sc->rate_idx[sc->curchan->band][hw_rix]; in ath5k_hw_to_driver_rix()
1361 rxs->freq = sc->curchan->center_freq; in ath5k_receive_frame()
1362 rxs->band = sc->curchan->band; in ath5k_receive_frame()
1377 sc->sbands[sc->curchan->band].bitrates[rxs->rate_idx].hw_value_short) in ath5k_receive_frame()
2226 ieee80211_frequency_to_channel(sc->curchan->center_freq), in ath5k_tasklet_calibrate()
2227 sc->curchan->hw_value); in ath5k_tasklet_calibrate()
2237 if (ath5k_hw_phy_calibrate(ah, sc->curchan)) in ath5k_tasklet_calibrate()
2240 sc->curchan->center_freq)); in ath5k_tasklet_calibrate()
2537 sc->curchan = sc->hw->conf.channel; in ath5k_init_hw()
[all …]
Dbase.h204 struct ieee80211_channel *curchan; /* current h/w channel */ member