Home
last modified time | relevance | path

Searched refs:ah_curchan (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_radar.c145 cc = AH_PRIVATE(ah)->ah_curchan;
233 const struct ieee80211_channel *chan = ahp->ah_curchan;
357 if (!ahp->ah_curchan) {
365 chan->channel = ahp->ah_curchan->channel;
366 chan->channel_flags = ahp->ah_curchan->channel_flags;
367 chan->max_reg_tx_power = ahp->ah_curchan->max_reg_tx_power;
369 ahp->ah_curchan->priv_flags |= CHANNEL_DFS_CLEAR;
370 chan->priv_flags = ahp->ah_curchan->priv_flags;
542 ichan = ahp->ah_curchan;
562 if (IS_5GHZ_FAST_CLOCK_EN(ah, ahp->ah_curchan)) {
H A Dar9300_spectral.c199 if (AH_PRIVATE(ah)->ah_curchan && in ar9300_prep_spectral_scan()
200 IS_5GHZ_FAST_CLOCK_EN(ah, AH_PRIVATE(ah)->ah_curchan)) in ar9300_prep_spectral_scan()
420 c = AH_PRIVATE(ah)->ah_curchan; in ar9300_get_spectral_params()
553 if (AH_PRIVATE(ah)->ah_curchan && in ar9300_stop_spectral_scan()
554 IS_5GHZ_FAST_CLOCK_EN(ah, AH_PRIVATE(ah)->ah_curchan)) in ar9300_stop_spectral_scan()
H A Dar9300_reset.c396 if ((!is_scan) && chan == AH_PRIVATE(ah)->ah_curchan) { in ar9300_chain_noise_floor()
1981 if (IS_CHAN_2GHZ((AH_PRIVATE(ah)->ah_curchan))) { in ar9300_phy_disable()
1989 if (IS_CHAN_2GHZ((AH_PRIVATE(ah)->ah_curchan))) { in ar9300_phy_disable()
2574 ichan = ath_hal_checkchannel(ah, AH_PRIVATE(ah)->ah_curchan); in ar9300_iq_calibration()
2747 const struct ieee80211_channel *chan = ahpriv->ah_curchan; in ar9300_set_tx_power_limit()
4410 chan->ic_freq == AH_PRIVATE(ah)->ah_curchan->ic_freq) in First_NFCal()
4692 if (ap->ah_curchan->channel != chan->channel) in ar9300_reset()
4735 if (!is_scan && (!ap->ah_curchan || in ar9300_reset()
4736 ap->ah_curchan->ic_freq != chan->ic_freq)) // || in ar9300_reset()
4789 (AH_PRIVATE(ah)->ah_curchan != AH_NULL) && in ar9300_reset()
[all …]
H A Dar9300_ani.c298 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_ani_init_defaults()
460 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_ani_control()
749 if (AH_PRIVATE(ah)->ah_curchan == NULL) { in ar9300_ani_control()
768 if (AH_PRIVATE(ah)->ah_curchan == NULL) { in ar9300_ani_control()
906 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_ani_reset()
H A Dar9300_radio.c236 AH_PRIVATE(ah)->ah_curchan = chan; in ar9300_set_channel()
H A Dar9300_keycache.c112 if (AH_PRIVATE(ah)->ah_curchan == AH_NULL) { in ar9300_reset_key_cache_entry()
385 if (AH_PRIVATE(ah)->ah_curchan == AH_NULL) { in ar9300_set_key_cache_entry()
H A Dar9300_misc.c70 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_mac_to_usec()
85 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_mac_to_clks()
370 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_set_basic_rate()
1340 HAL_CHANNEL_INTERNAL *ichan = ath_hal_checkchannel(ah, AH_PRIVATE(ah)->ah_curchan); in ar9300_dma_reg_dump()
1733 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_config_bb_panic_watchdog()
2120 ath_hal_checkchannel(ah, AH_PRIVATE(ah)->ah_curchan); in ar9300_set_rifs_delay()
2146 if (IEEE80211_IS_CHAN_HT40(AH_PRIVATE(ah)->ah_curchan)) { in ar9300_set_rifs_delay()
2152 if (IEEE80211_IS_CHAN_HT40(AH_PRIVATE(ah)->ah_curchan)) { in ar9300_set_rifs_delay()
2339 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_select_ant_config()
2485 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_bt_coex_antenna_diversity()
H A Dar9300_recv_ds.c193 rxs->rs_channel = AH_PRIVATE(ah)->ah_curchan->channel; in ar9300_proc_rx_desc_fast()
H A Dar9300_phy.c1058 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_disp_tpc_tables()
1129 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_get_tpc_tables()
H A Dar9300_power.c367 if (AH_PRIVATE(ah)->ah_curchan->channel_flags & CHANNEL_CCK) { in ar9300_wow_offload_download_hal_params()
844 if (AH_PRIVATE(ah)->ah_curchan->channel_flags & CHANNEL_CCK) { in ar9300_wow_create_keep_alive_pattern()
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_ani.c195 ar5212AniReset(ah, AH_PRIVATE(ah)->ah_curchan, in ar5212AniSetParams()
392 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar5212AniOfdmErrTrigger()
502 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar5212AniCckErrTrigger()
876 if (AH_PRIVATE(ah)->ah_curchan == AH_NULL) { in ar5212AniGetListenTime()
H A Dar5212_misc.c301 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar5212SetBasicRate()
430 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar5212SetAntennaSwitch()
599 if (!IEEE80211_IS_CHAN_A(AH_PRIVATE(ah)->ah_curchan)) in ar5212SetCoverageClass()
608 if (IEEE80211_IS_CHAN_HALF(AH_PRIVATE(ah)->ah_curchan)) { in ar5212SetCoverageClass()
611 } else if (IEEE80211_IS_CHAN_QUARTER(AH_PRIVATE(ah)->ah_curchan)) { in ar5212SetCoverageClass()
H A Dar5212_recv.c97 ar5212AniReset(ah, ahp->ah_curchan, ahp->ah_opmode, !is_scanning); in ar5212StartPcuReceive()
H A Dar5212_reset.c222 (AH_PRIVATE(ah)->ah_curchan != AH_NULL) && in ar5212Reset()
223 (chan->ic_freq != AH_PRIVATE(ah)->ah_curchan->ic_freq) && in ar5212Reset()
225 (AH_PRIVATE(ah)->ah_curchan->ic_flags & IEEE80211_CHAN_ALLTURBO))) { in ar5212Reset()
1989 struct ieee80211_channel dummy = *AH_PRIVATE(ah)->ah_curchan; in ar5212SetTxPowerLimit()
/freebsd/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_reset.c174 AH_PRIVATE(ah)->ah_curchan != AH_NULL && in ar5312Reset()
175 (chan->ic_freq != AH_PRIVATE(ah)->ah_curchan->ic_freq) && in ar5312Reset()
177 (AH_PRIVATE(ah)->ah_curchan->ic_flags & IEEE80211_CHAN_ALLTURBO))) { in ar5312Reset()
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_ani.c369 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar5416AniOfdmErrTrigger()
466 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar5416AniCckErrTrigger()
824 if (AH_PRIVATE(ah)->ah_curchan == AH_NULL) { in ar5416AniGetListenTime()
H A Dar5416_recv.c114 ar5416AniReset(ah, ahp->ah_curchan, ahp->ah_opmode, ! is_scanning); in ar5416StartPcuReceive()
H A Dar5416_cal.c521 ret = ar5416LoadNF(ah, AH_PRIVATE(ah)->ah_curchan); in ar5416PerCalibrationN()
756 if (IEEE80211_IS_CHAN_2GHZ(AH_PRIVATE(ah)->ah_curchan)) in ar5416SanitizeNF()
H A Dar5416_radar.c431 return IS_5GHZ_FAST_CLOCK_EN(ah, ahp->ah_curchan); in ar5416IsFastClockEnabled()
H A Dar2133.c224 AH_PRIVATE(ah)->ah_curchan = chan; in ar2133SetChannel()
/freebsd/sys/dev/ath/ath_hal/ar9002/
H A Dar9280.c211 AH_PRIVATE(ah)->ah_curchan = chan; in ar9280SetChannel()
H A Dar9287.c153 AH_PRIVATE(ah)->ah_curchan = chan; in ar9287SetChannel()
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_reset.c818 AH_PRIVATE(ah)->ah_curchan = chan; in ar5211SetChannel()
878 runTime, AH_PRIVATE(ah)->ah_curchan->ic_freq); in ar5211RunNoiseFloor()
1925 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar5211InvalidGainReadback()
H A Dar5211_misc.c619 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar5211SetAntennaSwitch()
/freebsd/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_xmit.c157 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar5210ResetTxQueue()

12