Lines Matching refs:sc_ah
35 struct ath_hw *ah = sc->sc_ah;
42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP ||
43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) {
76 struct ath_hw *ah = sc->sc_ah;
116 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
197 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
219 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
246 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
297 ath9k_hw_settsf64(sc->sc_ah, avp->chanctx->tsf_val + offset);
308 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
315 if (sc->sc_ah->opmode != NL80211_IFTYPE_AP &&
316 sc->sc_ah->opmode != NL80211_IFTYPE_MESH_POINT) {
318 ath9k_hw_gettsf64(sc->sc_ah));
323 tsf = ath9k_hw_gettsf64(sc->sc_ah);
324 tsf += TU_TO_USEC(sc->sc_ah->config.sw_beacon_response_time);
337 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
391 struct ath_hw *ah = sc->sc_ah;
516 struct ath_hw *ah = sc->sc_ah;
529 ath9k_hw_disable_interrupts(sc->sc_ah);
530 sc->sc_ah->imask &= ~(ATH9K_INT_SWBA | ATH9K_INT_BMISS);
532 ath9k_hw_set_interrupts(sc->sc_ah);
533 ath9k_hw_enable_interrupts(sc->sc_ah);
544 struct ath_hw *ah = sc->sc_ah;
569 struct ath_hw *ah = sc->sc_ah;
591 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
628 struct ath_hw *ah = sc->sc_ah;
652 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) {
673 if (sc->sc_ah->opmode == NL80211_IFTYPE_ADHOC &&
700 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
703 switch (sc->sc_ah->opmode) {
712 ath9k_beacon_config_sta(sc->sc_ah, cur_conf);