Lines Matching refs:sc_ah

35 	struct ath_hw *ah = sc->sc_ah;  in ath9k_beaconq_config()
42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP || in ath9k_beaconq_config()
43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) { in ath9k_beaconq_config()
76 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_setup()
116 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_generate()
196 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_assign_slot()
219 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_remove_slot()
250 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_choose_slot()
257 if (sc->sc_ah->opmode != NL80211_IFTYPE_AP && in ath9k_beacon_choose_slot()
258 sc->sc_ah->opmode != NL80211_IFTYPE_MESH_POINT) { in ath9k_beacon_choose_slot()
260 ath9k_hw_gettsf64(sc->sc_ah)); in ath9k_beacon_choose_slot()
265 tsf = ath9k_hw_gettsf64(sc->sc_ah); in ath9k_beacon_choose_slot()
266 tsf += TU_TO_USEC(sc->sc_ah->config.sw_beacon_response_time); in ath9k_beacon_choose_slot()
278 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_tsfadjust()
322 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_tasklet()
447 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_init()
467 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_config_ap()
492 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_config_adhoc()
512 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_allow_beacon_config()
526 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP) { in ath9k_allow_beacon_config()
534 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) { in ath9k_allow_beacon_config()
551 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cache_beacon_config()
588 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_config()
668 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_beacon()
671 switch (sc->sc_ah->opmode) { in ath9k_set_beacon()
680 ath9k_beacon_config_sta(sc->sc_ah, cur_conf); in ath9k_set_beacon()