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()
478 struct ath_common *common = ath5k_hw_common(ah); in ath5k_set_key() local
501 if (common->crypt_caps & ATH_CRYPT_CAP_CIPHER_AESCCM) in ath5k_set_key()
513 ret = ath_key_config(common, vif, sta, key); in ath5k_set_key()
526 ath_key_delete(common, key); in ath5k_set_key()
654 struct ath_common *common = ath5k_hw_common(ah); in ath5k_get_survey() local
655 struct ath_cycle_counters *cc = &common->cc_survey; in ath5k_get_survey()
656 unsigned int div = common->clockrate * 1000; in ath5k_get_survey()
661 spin_lock_bh(&common->cc_lock); in ath5k_get_survey()
662 ath_hw_cycle_counters_update(common); in ath5k_get_survey()
670 spin_unlock_bh(&common->cc_lock); in ath5k_get_survey()