Lines Matching refs:common
257 struct ath_common *common = ath5k_hw_common(ah); in ath5k_bss_info_changed() local
263 memcpy(common->curbssid, bss_conf->bssid, ETH_ALEN); in ath5k_bss_info_changed()
264 common->curaid = 0; in ath5k_bss_info_changed()
295 bss_conf->aid, common->curbssid); in ath5k_bss_info_changed()
296 common->curaid = bss_conf->aid; in ath5k_bss_info_changed()
489 struct ath_common *common = ath5k_hw_common(ah); in ath5k_set_key() local
512 if (common->crypt_caps & ATH_CRYPT_CAP_CIPHER_AESCCM) in ath5k_set_key()
524 ret = ath_key_config(common, vif, sta, key); in ath5k_set_key()
537 ath_key_delete(common, key); in ath5k_set_key()
665 struct ath_common *common = ath5k_hw_common(ah); in ath5k_get_survey() local
666 struct ath_cycle_counters *cc = &common->cc_survey; in ath5k_get_survey()
667 unsigned int div = common->clockrate * 1000; in ath5k_get_survey()
672 spin_lock_bh(&common->cc_lock); in ath5k_get_survey()
673 ath_hw_cycle_counters_update(common); in ath5k_get_survey()
681 spin_unlock_bh(&common->cc_lock); in ath5k_get_survey()