Lines Matching refs:vif

138 	struct ath6kl_vif *vif, *found = NULL;
145 list_for_each_entry(vif, &ar->vif_list, list) {
146 if (vif->fw_vif_idx == if_idx) {
147 found = vif;
504 int len, struct ath6kl_vif *vif)
528 id = vif->last_roc_id;
529 cfg80211_ready_on_channel(&vif->wdev, id, chan,
537 struct ath6kl_vif *vif)
562 if (vif->last_cancel_roc_id &&
563 vif->last_cancel_roc_id + 1 == vif->last_roc_id)
564 id = vif->last_cancel_roc_id; /* event for cancel command */
566 id = vif->last_roc_id; /* timeout on uncanceled r-o-c */
567 vif->last_cancel_roc_id = 0;
568 cfg80211_remain_on_channel_expired(&vif->wdev, id, chan, GFP_ATOMIC);
574 struct ath6kl_vif *vif)
587 cfg80211_mgmt_tx_status(&vif->wdev, id,
600 struct ath6kl_vif *vif)
619 dlen, freq, vif->probe_req_report);
621 if (vif->probe_req_report || vif->nw_type == AP_NETWORK)
622 cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0);
643 struct ath6kl_vif *vif)
661 cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0);
855 struct ath6kl_vif *vif)
865 if (vif->nw_type == AP_NETWORK) {
867 struct net_device *dev = vif->ndev;
874 vif, le16_to_cpu(ev->u.ap_bss.ch));
886 vif, ev->u.ap_sta.aid, ev->u.ap_sta.mac_addr,
932 ath6kl_connect_event(vif, le16_to_cpu(ev->u.sta.ch),
1021 struct ath6kl_vif *vif)
1038 ath6kl_disconnect_event(vif, ev->disconn_reason,
1065 struct ath6kl_vif *vif)
1074 ath6kl_tkip_micerr_event(vif, ev->key_id, ev->is_mcast);
1081 struct ath6kl_vif *vif = from_timer(vif, t, sched_scan_timer);
1083 cfg80211_sched_scan_results(vif->ar->wiphy, 0);
1087 struct ath6kl_vif *vif)
1113 test_bit(CLEAR_BSSFILTER_ON_BEACON, &vif->flags)) {
1114 clear_bit(CLEAR_BSSFILTER_ON_BEACON, &vif->flags);
1115 ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
1127 test_bit(CONNECTED, &vif->flags) &&
1128 memcmp(bih->bssid, vif->bssid, ETH_ALEN) == 0) {
1133 vif->assoc_bss_dtim_period = tim[3];
1134 set_bit(DTIM_PERIOD_AVAIL, &vif->flags);
1160 if (test_bit(SCHED_SCANNING, &vif->flags) &&
1161 !timer_pending(&vif->sched_scan_timer)) {
1162 mod_timer(&vif->sched_scan_timer, jiffies +
1275 struct ath6kl_vif *vif)
1281 ath6kl_scan_complete_evt(vif, a_sle32_to_cpu(ev->status));
1288 int len, struct ath6kl_vif *vif)
1306 cfg80211_pmksa_candidate_notify(vif->ndev, i,
1348 struct ath6kl_vif *vif)
1350 ath6kl_tgt_stats_event(vif, datap, len);
1505 struct ath6kl_vif *vif)
1529 ath6kl_wmi_delete_pstream_cmd(wmi, vif->fw_vif_idx,
1545 ath6kl_wmi_delete_pstream_cmd(wmi, vif->fw_vif_idx,
1578 struct ath6kl_vif *vif)
1586 if (vif->nw_type != INFRA_NETWORK ||
1588 vif->ar->fw_capabilities))
1591 if (vif->sme_state != SME_CONNECTED)
1599 vif->bssid, rate, pkts, vif->txe_intvl);
1601 cfg80211_cqm_txe_notify(vif->ndev, vif->bssid, pkts,
1602 rate, vif->txe_intvl, GFP_KERNEL);
2077 ath6kl_dbg(ATH6KL_DBG_WMI, "%s scheduled scan on vif %d\n",
2901 struct ath6kl_vif *vif)
2905 set_bit(HOST_SLEEP_MODE_CMD_PROCESSED, &vif->flags);
3353 struct ath6kl_vif *vif)
3357 aggr_recv_addba_req_evt(vif, cmd->tid,
3364 struct ath6kl_vif *vif)
3368 aggr_recv_delba_req_evt(vif, cmd->tid);
3474 struct ath6kl_vif *vif)
3483 ath6kl_pspoll_event(vif, le16_to_cpu(ev->aid));
3489 struct ath6kl_vif *vif)
3491 ath6kl_dtimexpiry_event(vif);
3879 struct ath6kl_vif *vif;
3881 vif = ath6kl_get_vif_by_index(wmi->parent_dev, if_idx);
3882 if (!vif) {
3884 "Wmi event for unavailable vif, vif_index:%d\n",
3892 return ath6kl_wmi_connect_event_rx(wmi, datap, len, vif);
3895 return ath6kl_wmi_disconnect_event_rx(wmi, datap, len, vif);
3898 return ath6kl_wmi_tkip_micerr_event_rx(wmi, datap, len, vif);
3901 return ath6kl_wmi_bssinfo_event_rx(wmi, datap, len, vif);
3905 vif);
3908 return ath6kl_wmi_scan_complete_rx(wmi, datap, len, vif);
3911 return ath6kl_wmi_stats_event_rx(wmi, datap, len, vif);
3914 return ath6kl_wmi_cac_event_rx(wmi, datap, len, vif);
3917 return ath6kl_wmi_pspoll_event_rx(wmi, datap, len, vif);
3920 return ath6kl_wmi_dtimexpiry_event_rx(wmi, datap, len, vif);
3923 return ath6kl_wmi_addba_req_event_rx(wmi, datap, len, vif);
3926 return ath6kl_wmi_delba_req_event_rx(wmi, datap, len, vif);
3930 return ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx(wmi, vif);
3933 return ath6kl_wmi_remain_on_chnl_event_rx(wmi, datap, len, vif);
3938 len, vif);
3941 return ath6kl_wmi_tx_status_event_rx(wmi, datap, len, vif);
3944 return ath6kl_wmi_rx_probe_req_event_rx(wmi, datap, len, vif);
3947 return ath6kl_wmi_rx_action_event_rx(wmi, datap, len, vif);
3950 return ath6kl_wmi_txe_notify_event_rx(wmi, datap, len, vif);