Lines Matching defs:ah
21 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf,
26 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time);
41 int ath9k_cmn_beacon_config_sta(struct ath_hw *ah,
45 struct ath_common *common = ath9k_hw_common(ah);
69 tsf = ath9k_hw_gettsf64(ah);
70 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval);
77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval);
114 void ath9k_cmn_beacon_config_adhoc(struct ath_hw *ah,
117 struct ath_common *common = ath9k_hw_common(ah);
124 conf->nexttbtt = ath9k_get_next_tbtt(ah, ath9k_hw_gettsf64(ah),
128 ah->imask |= ATH9K_INT_SWBA;
130 ah->imask &= ~ATH9K_INT_SWBA;
144 void ath9k_cmn_beacon_config_ap(struct ath_hw *ah,
148 struct ath_common *common = ath9k_hw_common(ah);
153 conf->nexttbtt = ath9k_get_next_tbtt(ah, ath9k_hw_gettsf64(ah),
157 ah->imask |= ATH9K_INT_SWBA;
159 ah->imask &= ~ATH9K_INT_SWBA;