Lines Matching refs:ar

136 struct ath6kl_vif *ath6kl_get_vif_by_index(struct ath6kl *ar, u8 if_idx)  in ath6kl_get_vif_by_index()  argument
140 if (WARN_ON(if_idx > (ar->vif_max - 1))) in ath6kl_get_vif_by_index()
144 spin_lock_bh(&ar->list_lock); in ath6kl_get_vif_by_index()
145 list_for_each_entry(vif, &ar->vif_list, list) { in ath6kl_get_vif_by_index()
151 spin_unlock_bh(&ar->list_lock); in ath6kl_get_vif_by_index()
510 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_remain_on_chnl_event_rx() local
521 chan = ieee80211_get_channel(ar->wiphy, freq); in ath6kl_wmi_remain_on_chnl_event_rx()
543 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_cancel_remain_on_chnl_event_rx() local
555 chan = ieee80211_get_channel(ar->wiphy, freq); in ath6kl_wmi_cancel_remain_on_chnl_event_rx()
1085 cfg80211_sched_scan_results(vif->ar->wiphy); in ath6kl_wmi_sscan_timer()
1094 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_bssinfo_event_rx() local
1117 ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_wmi_bssinfo_event_rx()
1121 channel = ieee80211_get_channel(ar->wiphy, le16_to_cpu(bih->ch)); in ath6kl_wmi_bssinfo_event_rx()
1140 bss = cfg80211_inform_bss(ar->wiphy, channel, in ath6kl_wmi_bssinfo_event_rx()
1151 cfg80211_put_bss(ar->wiphy, bss); in ath6kl_wmi_bssinfo_event_rx()
2009 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_beginscan_cmd() local
2014 ar->fw_capabilities)) { in ath6kl_wmi_beginscan_cmd()
2047 sband = ar->wiphy->bands[band]; in ath6kl_wmi_beginscan_cmd()
2862 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_set_bitrate_mask() local
2865 ar->fw_capabilities)) in ath6kl_wmi_set_bitrate_mask()
2907 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx() local
2910 wake_up(&ar->event_wq); in ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx()
3308 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_get_rate() local
3322 ar->fw_capabilities)) { in ath6kl_wmi_get_rate()
3717 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_send_mgmt_cmd() local
3720 ar->fw_capabilities)) { in ath6kl_wmi_send_mgmt_cmd()
3727 status = __ath6kl_wmi_send_mgmt_cmd(ar->wmi, if_idx, id, freq, in ath6kl_wmi_send_mgmt_cmd()
3731 status = ath6kl_wmi_send_action_cmd(ar->wmi, if_idx, id, freq, in ath6kl_wmi_send_mgmt_cmd()