Lines Matching full:vif
36 struct ieee80211_vif *vif; member
44 struct ieee80211_vif *vif) in iwl_mvm_mac_tsf_id_iter() argument
47 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_tsf_id_iter()
51 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter()
70 switch (data->vif->type) { in iwl_mvm_mac_tsf_id_iter()
80 if (vif->type != NL80211_IFTYPE_AP || in iwl_mvm_mac_tsf_id_iter()
85 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
86 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
91 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
92 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
108 if ((vif->type != NL80211_IFTYPE_AP && in iwl_mvm_mac_tsf_id_iter()
109 vif->type != NL80211_IFTYPE_STATION) || in iwl_mvm_mac_tsf_id_iter()
114 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
115 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
120 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
121 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
150 struct ieee80211_vif *vif) in iwl_mvm_mac_iface_iterator() argument
153 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_iface_iterator()
156 if (vif == data->vif) { in iwl_mvm_mac_iface_iterator()
170 iwl_mvm_mac_tsf_id_iter(_data, mac, vif); in iwl_mvm_mac_iface_iterator()
174 struct ieee80211_vif *vif) in iwl_mvm_mac_ctxt_recalc_tsf_id() argument
176 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_recalc_tsf_id()
179 .vif = vif, in iwl_mvm_mac_ctxt_recalc_tsf_id()
196 int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_mac_ctxt_init() argument
198 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_init()
201 .vif = vif, in iwl_mvm_mac_ctxt_init()
228 /* MAC ID 0 should be used only for the managed/IBSS vif with non-MLO in iwl_mvm_mac_ctxt_init()
232 switch (vif->type) { in iwl_mvm_mac_ctxt_init()
236 if (!vif->p2p) in iwl_mvm_mac_ctxt_init()
251 * the vif being added already. in iwl_mvm_mac_ctxt_init()
294 if (vif->type == NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_mac_ctxt_init()
298 if (vif->type == NL80211_IFTYPE_AP || in iwl_mvm_mac_ctxt_init()
299 vif->type == NL80211_IFTYPE_ADHOC) { in iwl_mvm_mac_ctxt_init()
318 struct ieee80211_vif *vif, in iwl_mvm_ack_rates() argument
323 unsigned long basic = vif->bss_conf.basic_rates; in iwl_mvm_ack_rates()
403 void iwl_mvm_set_fw_basic_rates(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_set_fw_basic_rates() argument
412 iwl_mvm_ack_rates(mvm, vif, chanctx ? chanctx->def.chan->band in iwl_mvm_set_fw_basic_rates()
423 struct ieee80211_vif *vif, in iwl_mvm_set_fw_protection_flags() argument
468 void iwl_mvm_set_fw_qos_params(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_set_fw_qos_params() argument
472 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_fw_qos_params()
501 int iwl_mvm_get_mac_type(struct ieee80211_vif *vif) in iwl_mvm_get_mac_type() argument
505 switch (vif->type) { in iwl_mvm_get_mac_type()
507 if (vif->p2p) in iwl_mvm_get_mac_type()
531 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_cmd_common() argument
536 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_cmd_common()
537 const u8 *bssid = bssid_override ?: vif->bss_conf.bssid; in iwl_mvm_mac_ctxt_cmd_common()
543 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_type(vif)); in iwl_mvm_mac_ctxt_cmd_common()
547 memcpy(cmd->node_addr, vif->addr, ETH_ALEN); in iwl_mvm_mac_ctxt_cmd_common()
554 iwl_mvm_set_fw_basic_rates(mvm, vif, &vif->bss_conf, &cmd->cck_rates, in iwl_mvm_mac_ctxt_cmd_common()
558 cpu_to_le32(vif->bss_conf.use_short_preamble ? in iwl_mvm_mac_ctxt_cmd_common()
561 cpu_to_le32(vif->bss_conf.use_short_slot ? in iwl_mvm_mac_ctxt_cmd_common()
566 iwl_mvm_set_fw_qos_params(mvm, vif, &vif->bss_conf, cmd->ac, in iwl_mvm_mac_ctxt_cmd_common()
571 iwl_mvm_set_fw_protection_flags(mvm, vif, &vif->bss_conf, in iwl_mvm_mac_ctxt_cmd_common()
587 void iwl_mvm_set_fw_dtim_tbtt(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_set_fw_dtim_tbtt() argument
628 struct ieee80211_vif *vif) in iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin() argument
631 &vif->bss_conf.p2p_noa_attr; in iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin()
638 struct ieee80211_vif *vif) in iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy() argument
642 if (vif->bss_conf.twt_requester && IWL_MVM_USE_TWT) in iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy()
644 if (vif->bss_conf.twt_protected) in iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy()
646 if (vif->bss_conf.twt_broadcast) in iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy()
653 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_cmd_sta() argument
660 WARN_ON(vif->type != NL80211_IFTYPE_STATION); in iwl_mvm_mac_ctxt_cmd_sta()
663 iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, bssid_override, action); in iwl_mvm_mac_ctxt_cmd_sta()
671 if (vif->p2p) { in iwl_mvm_mac_ctxt_cmd_sta()
673 iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin(mvm, vif); in iwl_mvm_mac_ctxt_cmd_sta()
681 if (vif->cfg.assoc && vif->bss_conf.dtim_period && in iwl_mvm_mac_ctxt_cmd_sta()
683 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_cmd_sta()
685 iwl_mvm_set_fw_dtim_tbtt(mvm, vif, &vif->bss_conf, in iwl_mvm_mac_ctxt_cmd_sta()
706 ctxt_sta->bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_sta()
707 ctxt_sta->dtim_interval = cpu_to_le32(vif->bss_conf.beacon_int * in iwl_mvm_mac_ctxt_cmd_sta()
708 vif->bss_conf.dtim_period); in iwl_mvm_mac_ctxt_cmd_sta()
711 ctxt_sta->assoc_id = cpu_to_le32(vif->cfg.aid); in iwl_mvm_mac_ctxt_cmd_sta()
713 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mvm_mac_ctxt_cmd_sta()
716 if (vif->bss_conf.he_support && !iwlwifi_mod_params.disable_11ax) { in iwl_mvm_mac_ctxt_cmd_sta()
719 cpu_to_le32(iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy(mvm, vif)); in iwl_mvm_mac_ctxt_cmd_sta()
727 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_cmd_listener() argument
734 WARN_ON(vif->type != NL80211_IFTYPE_MONITOR); in iwl_mvm_mac_ctxt_cmd_listener()
736 iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); in iwl_mvm_mac_ctxt_cmd_listener()
756 vif->type, IWL_STA_GENERAL_PURPOSE); in iwl_mvm_mac_ctxt_cmd_listener()
764 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_cmd_ibss() argument
767 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_cmd_ibss()
770 WARN_ON(vif->type != NL80211_IFTYPE_ADHOC); in iwl_mvm_mac_ctxt_cmd_ibss()
772 iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); in iwl_mvm_mac_ctxt_cmd_ibss()
779 cmd.ibss.bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_ibss()
791 static void iwl_mvm_go_iterator(void *_data, u8 *mac, struct ieee80211_vif *vif) in iwl_mvm_go_iterator() argument
794 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_go_iterator()
796 if (vif->type == NL80211_IFTYPE_AP && vif->p2p && in iwl_mvm_go_iterator()
802 struct ieee80211_vif *vif) in iwl_mac_ctxt_p2p_dev_has_extended_disc() argument
822 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_cmd_p2p_device() argument
827 WARN_ON(vif->type != NL80211_IFTYPE_P2P_DEVICE); in iwl_mvm_mac_ctxt_cmd_p2p_device()
829 iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); in iwl_mvm_mac_ctxt_cmd_p2p_device()
832 iwl_mac_ctxt_p2p_dev_has_extended_disc(mvm, vif); in iwl_mvm_mac_ctxt_cmd_p2p_device()
884 struct ieee80211_vif *vif) in iwl_mvm_mac_ctxt_get_lowest_rate() argument
886 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_get_lowest_rate()
888 unsigned long basic = vif->bss_conf.basic_rates; in iwl_mvm_mac_ctxt_get_lowest_rate()
896 if (link_id == IEEE80211_LINK_UNSPECIFIED && ieee80211_vif_is_mld(vif)) { in iwl_mvm_mac_ctxt_get_lowest_rate()
910 link_conf = rcu_dereference(vif->link_conf[link_id]); in iwl_mvm_mac_ctxt_get_lowest_rate()
931 if (band == NL80211_BAND_2GHZ && !vif->p2p && in iwl_mvm_mac_ctxt_get_lowest_rate()
932 vif->type != NL80211_IFTYPE_P2P_DEVICE && in iwl_mvm_mac_ctxt_get_lowest_rate()
963 struct ieee80211_vif *vif) in iwl_mvm_mac_ctxt_get_beacon_rate() argument
967 u32 legacy = vif->bss_conf.beacon_tx_rate.control[info->band].legacy; in iwl_mvm_mac_ctxt_get_beacon_rate()
976 return iwl_mvm_mac_ctxt_get_lowest_rate(mvm, info, vif); in iwl_mvm_mac_ctxt_get_beacon_rate()
980 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_set_tx() argument
984 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_set_tx()
1009 rate = iwl_mvm_mac_ctxt_get_beacon_rate(mvm, info, vif); in iwl_mvm_mac_ctxt_set_tx()
1038 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_send_beacon_v6() argument
1041 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_send_beacon_v6()
1044 iwl_mvm_mac_ctxt_set_tx(mvm, vif, beacon, &beacon_cmd.tx); in iwl_mvm_mac_ctxt_send_beacon_v6()
1048 if (vif->type == NL80211_IFTYPE_AP) in iwl_mvm_mac_ctxt_send_beacon_v6()
1058 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_send_beacon_v7() argument
1061 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_send_beacon_v7()
1064 iwl_mvm_mac_ctxt_set_tx(mvm, vif, beacon, &beacon_cmd.tx); in iwl_mvm_mac_ctxt_send_beacon_v7()
1068 if (vif->type == NL80211_IFTYPE_AP) in iwl_mvm_mac_ctxt_send_beacon_v7()
1087 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_send_beacon_v9() argument
1091 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_send_beacon_v9()
1094 u8 rate = iwl_mvm_mac_ctxt_get_beacon_rate(mvm, info, vif); in iwl_mvm_mac_ctxt_send_beacon_v9()
1112 cpu_to_le32(~crc32_le(~0, vif->cfg.ssid, in iwl_mvm_mac_ctxt_send_beacon_v9()
1113 vif->cfg.ssid_len)); in iwl_mvm_mac_ctxt_send_beacon_v9()
1129 if (vif->type == NL80211_IFTYPE_AP) in iwl_mvm_mac_ctxt_send_beacon_v9()
1148 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_send_beacon() argument
1160 return iwl_mvm_mac_ctxt_send_beacon_v6(mvm, vif, beacon); in iwl_mvm_mac_ctxt_send_beacon()
1164 return iwl_mvm_mac_ctxt_send_beacon_v9(mvm, vif, beacon, in iwl_mvm_mac_ctxt_send_beacon()
1167 return iwl_mvm_mac_ctxt_send_beacon_v7(mvm, vif, beacon); in iwl_mvm_mac_ctxt_send_beacon()
1172 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_beacon_changed() argument
1178 WARN_ON(vif->type != NL80211_IFTYPE_AP && in iwl_mvm_mac_ctxt_beacon_changed()
1179 vif->type != NL80211_IFTYPE_ADHOC); in iwl_mvm_mac_ctxt_beacon_changed()
1181 beacon = ieee80211_beacon_get_template(mvm->hw, vif, NULL, in iwl_mvm_mac_ctxt_beacon_changed()
1193 ret = iwl_mvm_mac_ctxt_send_beacon(mvm, vif, beacon, link_conf); in iwl_mvm_mac_ctxt_beacon_changed()
1200 struct ieee80211_vif *vif; member
1207 struct ieee80211_vif *vif) in iwl_mvm_mac_ap_iterator() argument
1211 if (vif->type != NL80211_IFTYPE_STATION || !vif->cfg.assoc) in iwl_mvm_mac_ap_iterator()
1215 if (vif->p2p && data->beacon_device_ts) in iwl_mvm_mac_ap_iterator()
1218 data->beacon_device_ts = vif->bss_conf.sync_device_ts; in iwl_mvm_mac_ap_iterator()
1219 data->beacon_int = vif->bss_conf.beacon_int; in iwl_mvm_mac_ap_iterator()
1250 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_cmd_fill_ap() argument
1255 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1258 .vif = vif, in iwl_mvm_mac_ctxt_cmd_fill_ap()
1270 ctxt_ap->bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1271 ctxt_ap->dtim_interval = cpu_to_le32(vif->bss_conf.beacon_int * in iwl_mvm_mac_ctxt_cmd_fill_ap()
1272 vif->bss_conf.dtim_period); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1311 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_cmd_ap() argument
1316 WARN_ON(vif->type != NL80211_IFTYPE_AP || vif->p2p); in iwl_mvm_mac_ctxt_cmd_ap()
1319 iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); in iwl_mvm_mac_ctxt_cmd_ap()
1322 iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd, &cmd.ap, in iwl_mvm_mac_ctxt_cmd_ap()
1329 struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_cmd_go() argument
1333 struct ieee80211_p2p_noa_attr *noa = &vif->bss_conf.p2p_noa_attr; in iwl_mvm_mac_ctxt_cmd_go()
1335 WARN_ON(vif->type != NL80211_IFTYPE_AP || !vif->p2p); in iwl_mvm_mac_ctxt_cmd_go()
1338 iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); in iwl_mvm_mac_ctxt_cmd_go()
1341 iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd, &cmd.go.ap, in iwl_mvm_mac_ctxt_cmd_go()
1353 static int iwl_mvm_mac_ctx_send(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_mac_ctx_send() argument
1357 switch (vif->type) { in iwl_mvm_mac_ctx_send()
1359 return iwl_mvm_mac_ctxt_cmd_sta(mvm, vif, action, in iwl_mvm_mac_ctx_send()
1363 if (!vif->p2p) in iwl_mvm_mac_ctx_send()
1364 return iwl_mvm_mac_ctxt_cmd_ap(mvm, vif, action); in iwl_mvm_mac_ctx_send()
1366 return iwl_mvm_mac_ctxt_cmd_go(mvm, vif, action); in iwl_mvm_mac_ctx_send()
1368 return iwl_mvm_mac_ctxt_cmd_listener(mvm, vif, action); in iwl_mvm_mac_ctx_send()
1370 return iwl_mvm_mac_ctxt_cmd_p2p_device(mvm, vif, action); in iwl_mvm_mac_ctx_send()
1372 return iwl_mvm_mac_ctxt_cmd_ibss(mvm, vif, action); in iwl_mvm_mac_ctx_send()
1380 int iwl_mvm_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_mac_ctxt_add() argument
1382 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_add()
1386 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_add()
1389 ret = iwl_mvm_mac_ctx_send(mvm, vif, FW_CTXT_ACTION_ADD, in iwl_mvm_mac_ctxt_add()
1395 iwl_mvm_set_last_nonqos_seq(mvm, vif); in iwl_mvm_mac_ctxt_add()
1401 int iwl_mvm_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_mac_ctxt_changed() argument
1404 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_changed()
1407 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_changed()
1410 return iwl_mvm_mac_ctx_send(mvm, vif, FW_CTXT_ACTION_MODIFY, in iwl_mvm_mac_ctxt_changed()
1414 int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_mac_ctxt_remove() argument
1416 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_remove()
1421 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_remove()
1436 if (vif->type == NL80211_IFTYPE_MONITOR) { in iwl_mvm_mac_ctxt_remove()
1566 struct ieee80211_vif *vif; in iwl_mvm_rx_missed_beacons_notif() local
1579 vif = iwl_mvm_rcu_dereference_vif_id(mvm, id, true); in iwl_mvm_rx_missed_beacons_notif()
1587 vif = bss_conf->vif; in iwl_mvm_rx_missed_beacons_notif()
1599 if (!vif) in iwl_mvm_rx_missed_beacons_notif()
1602 mac_type = iwl_mvm_get_mac_type(vif); in iwl_mvm_rx_missed_beacons_notif()
1618 iwl_mvm_connection_loss(mvm, vif, "missed beacons"); in iwl_mvm_rx_missed_beacons_notif()
1620 ieee80211_beacon_loss(vif); in iwl_mvm_rx_missed_beacons_notif()
1625 trigger = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), in iwl_mvm_rx_missed_beacons_notif()
1713 struct ieee80211_vif *vif; in iwl_mvm_probe_resp_data_notif() local
1719 vif = iwl_mvm_rcu_dereference_vif_id(mvm, id, false); in iwl_mvm_probe_resp_data_notif()
1720 if (!vif) in iwl_mvm_probe_resp_data_notif()
1723 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_probe_resp_data_notif()
1752 ieee80211_beacon_set_cntdwn(vif, notif->csa_counter); in iwl_mvm_probe_resp_data_notif()
1759 struct ieee80211_vif *csa_vif, *vif; in iwl_mvm_channel_switch_start_notif() local
1777 vif = iwl_mvm_rcu_dereference_vif_id(mvm, mac_id, true); in iwl_mvm_channel_switch_start_notif()
1778 if (!vif) in iwl_mvm_channel_switch_start_notif()
1782 csa_active = vif->bss_conf.csa_active; in iwl_mvm_channel_switch_start_notif()
1793 vif = bss_conf->vif; in iwl_mvm_channel_switch_start_notif()
1797 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_channel_switch_start_notif()
1801 switch (vif->type) { in iwl_mvm_channel_switch_start_notif()
1805 csa_vif != vif)) in iwl_mvm_channel_switch_start_notif()
1811 "channel switch noa notification on unexpected vif (csa_vif=%d, notif=%d)", in iwl_mvm_channel_switch_start_notif()
1836 iwl_mvm_cancel_channel_switch(mvm, vif, id); in iwl_mvm_channel_switch_start_notif()
1840 iwl_mvm_csa_client_absent(mvm, vif); in iwl_mvm_channel_switch_start_notif()
1842 ieee80211_chswitch_done(vif, true); in iwl_mvm_channel_switch_start_notif()
1858 struct ieee80211_vif *vif; in iwl_mvm_channel_switch_error_notif() local
1863 vif = iwl_mvm_rcu_dereference_vif_id(mvm, id, true); in iwl_mvm_channel_switch_error_notif()
1864 if (!vif) { in iwl_mvm_channel_switch_error_notif()
1874 ieee80211_channel_switch_disconnect(vif, true); in iwl_mvm_channel_switch_error_notif()
1883 struct ieee80211_vif *vif; in iwl_mvm_rx_missed_vap_notif() local
1894 vif = iwl_mvm_rcu_dereference_vif_id(mvm, id, true); in iwl_mvm_rx_missed_vap_notif()
1895 if (vif) in iwl_mvm_rx_missed_vap_notif()
1896 iwl_mvm_connection_loss(mvm, vif, "missed vap beacon"); in iwl_mvm_rx_missed_vap_notif()