Lines Matching full:common
149 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_set_bssid_mask() local
156 iter_data.hw_macaddr = common->macaddr; in ath9k_htc_set_bssid_mask()
166 memcpy(common->bssidmask, iter_data.mask, ETH_ALEN); in ath9k_htc_set_bssid_mask()
167 ath_hw_setbssidmask(common); in ath9k_htc_set_bssid_mask()
185 struct ath_common *common = ath9k_hw_common(ah); in ath9k_htc_reset() local
211 ath_err(common, in ath9k_htc_reset()
243 struct ath_common *common = ath9k_hw_common(ah); in ath9k_htc_set_channel() local
244 struct ieee80211_conf *conf = &common->hw->conf; in ath9k_htc_set_channel()
269 ath_dbg(common, CONFIG, in ath9k_htc_set_channel()
280 ath_err(common, in ath9k_htc_set_channel()
328 struct ath_common *common = ath9k_hw_common(priv->ah); in __ath9k_htc_remove_monitor_interface() local
334 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in __ath9k_htc_remove_monitor_interface()
338 ath_err(common, "Unable to remove monitor interface at idx: %d\n", in __ath9k_htc_remove_monitor_interface()
348 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_add_monitor_interface() local
370 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in ath9k_htc_add_monitor_interface()
400 memcpy(&tsta.macaddr, common->macaddr, ETH_ALEN); in ath9k_htc_add_monitor_interface()
409 ath_err(common, "Unable to add station entry for monitor mode\n"); in ath9k_htc_add_monitor_interface()
418 ath_dbg(common, CONFIG, in ath9k_htc_add_monitor_interface()
430 ath_dbg(common, FATAL, "Unable to attach a monitor interface\n"); in ath9k_htc_add_monitor_interface()
437 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_remove_monitor_interface() local
447 ath_err(common, "Unable to remove station entry for monitor mode\n"); in ath9k_htc_remove_monitor_interface()
455 ath_dbg(common, CONFIG, in ath9k_htc_remove_monitor_interface()
466 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_add_station() local
486 memcpy(&tsta.bssid, common->curbssid, ETH_ALEN); in ath9k_htc_add_station()
508 ath_err(common, in ath9k_htc_add_station()
515 ath_dbg(common, CONFIG, in ath9k_htc_add_station()
519 ath_dbg(common, CONFIG, in ath9k_htc_add_station()
536 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_remove_station() local
552 ath_err(common, in ath9k_htc_remove_station()
559 ath_dbg(common, CONFIG, in ath9k_htc_remove_station()
563 ath_dbg(common, CONFIG, in ath9k_htc_remove_station()
644 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_send_rate_cmd() local
650 ath_err(common, in ath9k_htc_send_rate_cmd()
660 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_init_rate() local
668 ath_dbg(common, CONFIG, in ath9k_htc_init_rate()
677 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_update_rate() local
695 ath_dbg(common, CONFIG, in ath9k_htc_update_rate()
706 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_tx_aggr_oper() local
724 ath_dbg(common, CONFIG, in ath9k_htc_tx_aggr_oper()
728 ath_dbg(common, CONFIG, in ath9k_htc_tx_aggr_oper()
746 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_start_ani() local
749 common->ani.longcal_timer = timestamp; in ath9k_htc_start_ani()
750 common->ani.shortcal_timer = timestamp; in ath9k_htc_start_ani()
751 common->ani.checkani_timer = timestamp; in ath9k_htc_start_ani()
755 ieee80211_queue_delayed_work(common->hw, &priv->ani_work, in ath9k_htc_start_ani()
770 struct ath_common *common = ath9k_hw_common(ah); in ath9k_htc_ani_work() local
785 if ((timestamp - common->ani.longcal_timer) >= ATH_LONG_CALINTERVAL) { in ath9k_htc_ani_work()
787 ath_dbg(common, ANI, "longcal @%lu\n", jiffies); in ath9k_htc_ani_work()
788 common->ani.longcal_timer = timestamp; in ath9k_htc_ani_work()
792 if (!common->ani.caldone) { in ath9k_htc_ani_work()
793 if ((timestamp - common->ani.shortcal_timer) >= in ath9k_htc_ani_work()
796 ath_dbg(common, ANI, "shortcal @%lu\n", jiffies); in ath9k_htc_ani_work()
797 common->ani.shortcal_timer = timestamp; in ath9k_htc_ani_work()
798 common->ani.resetcal_timer = timestamp; in ath9k_htc_ani_work()
801 if ((timestamp - common->ani.resetcal_timer) >= in ath9k_htc_ani_work()
803 common->ani.caldone = ath9k_hw_reset_calvalid(ah); in ath9k_htc_ani_work()
804 if (common->ani.caldone) in ath9k_htc_ani_work()
805 common->ani.resetcal_timer = timestamp; in ath9k_htc_ani_work()
811 (timestamp - common->ani.checkani_timer) >= ATH_ANI_POLLINTERVAL) { in ath9k_htc_ani_work()
813 common->ani.checkani_timer = timestamp; in ath9k_htc_ani_work()
827 common->ani.caldone = in ath9k_htc_ani_work()
843 if (!common->ani.caldone) in ath9k_htc_ani_work()
846 ieee80211_queue_delayed_work(common->hw, &priv->ani_work, in ath9k_htc_ani_work()
858 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_tx() local
868 ath_dbg(common, XMIT, "No room for padding\n"); in ath9k_htc_tx()
877 ath_dbg(common, XMIT, "No free TX slot\n"); in ath9k_htc_tx()
883 ath_dbg(common, XMIT, "Tx failed\n"); in ath9k_htc_tx()
901 struct ath_common *common = ath9k_hw_common(ah); in ath9k_htc_start() local
911 ath_dbg(common, CONFIG, in ath9k_htc_start()
925 ath_err(common, in ath9k_htc_start()
945 ath_dbg(common, CONFIG, in ath9k_htc_start()
975 struct ath_common *common = ath9k_hw_common(ah); in ath9k_htc_stop() local
982 ath_dbg(common, ANY, "Device not present\n"); in ath9k_htc_stop()
1030 ath_dbg(common, CONFIG, "Driver halt\n"); in ath9k_htc_stop()
1039 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_add_interface() local
1053 ath_err(common, "IBSS coexistence with other modes is not allowed\n"); in ath9k_htc_add_interface()
1061 ath_err(common, "Max. number of beaconing interfaces reached\n"); in ath9k_htc_add_interface()
1081 ath_err(common, in ath9k_htc_add_interface()
1123 ath_dbg(common, CONFIG, "Attach a VIF of type: %d at idx: %d\n", in ath9k_htc_add_interface()
1137 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_remove_interface() local
1151 ath_err(common, "Unable to remove interface at idx: %d\n", in ath9k_htc_remove_interface()
1180 ath_dbg(common, CONFIG, "Detach Interface at idx: %d\n", avp->index); in ath9k_htc_remove_interface()
1189 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_config() local
1205 ath_dbg(common, CONFIG, "not-idle: enabling radio\n"); in ath9k_htc_config()
1227 ath_dbg(common, CONFIG, "Set channel: %d MHz\n", in ath9k_htc_config()
1235 ath_err(common, "Unable to set channel\n"); in ath9k_htc_config()
1267 ath_dbg(common, CONFIG, "idle: disabling radio\n"); in ath9k_htc_config()
1359 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_conf_tx() local
1378 ath_dbg(common, CONFIG, in ath9k_htc_conf_tx()
1385 ath_err(common, "TXQ Update failed\n"); in ath9k_htc_conf_tx()
1406 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_set_key() local
1413 ath_dbg(common, CONFIG, "Set HW Key\n"); in ath9k_htc_set_key()
1418 ret = ath_key_config(common, vif, sta, key); in ath9k_htc_set_key()
1432 ath_key_delete(common, key); in ath9k_htc_set_key()
1446 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_set_bssid() local
1449 ath_dbg(common, CONFIG, "BSSID: %pM aid: 0x%x\n", in ath9k_htc_set_bssid()
1450 common->curbssid, common->curaid); in ath9k_htc_set_bssid()
1456 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_bss_iter() local
1460 common->curaid = bss_conf->aid; in ath9k_htc_bss_iter()
1461 memcpy(common->curbssid, bss_conf->bssid, ETH_ALEN); in ath9k_htc_bss_iter()
1481 struct ath_common *common = ath9k_hw_common(ah); in ath9k_htc_bss_info_changed() local
1487 ath_dbg(common, CONFIG, "BSS Changed ASSOC %d\n", in ath9k_htc_bss_info_changed()
1503 common->curaid = bss_conf->aid; in ath9k_htc_bss_info_changed()
1504 memcpy(common->curbssid, bss_conf->bssid, ETH_ALEN); in ath9k_htc_bss_info_changed()
1512 ath_dbg(common, CONFIG, "Beacon enabled for BSS: %pM\n", in ath9k_htc_bss_info_changed()
1525 ath_dbg(common, CONFIG, in ath9k_htc_bss_info_changed()
1543 ath_dbg(common, CONFIG, in ath9k_htc_bss_info_changed()
1702 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_htc_set_bitrate_mask() local
1716 ath_err(common, in ath9k_htc_set_bitrate_mask()
1727 ath_err(common, in ath9k_htc_set_bitrate_mask()
1733 ath_dbg(common, CONFIG, "Set bitrate masks: 0x%x, 0x%x\n", in ath9k_htc_set_bitrate_mask()