Lines Matching full:vif

44 			  struct ieee80211_vif *vif,  in iwl_mld_get_rate_flags()  argument
59 rate_idx = iwl_mld_get_lowest_rate(mld, info, vif); in iwl_mld_get_rate_flags()
93 struct ieee80211_vif *vif, in iwl_mld_fill_beacon_template_cmd() argument
121 cmd->short_ssid = cpu_to_le32(~crc32_le(~0, vif->cfg.ssid, in iwl_mld_fill_beacon_template_cmd()
122 vif->cfg.ssid_len)); in iwl_mld_fill_beacon_template_cmd()
127 flags |= iwl_mld_get_rate_flags(mld, info, vif, link, in iwl_mld_fill_beacon_template_cmd()
132 if (vif->type == NL80211_IFTYPE_AP) { in iwl_mld_fill_beacon_template_cmd()
156 struct ieee80211_vif *vif, in iwl_mld_update_beacon_template() argument
163 struct iwl_mld_vif *mld_vif = iwl_mld_vif_from_mac80211(vif); in iwl_mld_update_beacon_template()
166 WARN_ON(vif->type != NL80211_IFTYPE_AP && in iwl_mld_update_beacon_template()
167 vif->type != NL80211_IFTYPE_ADHOC); in iwl_mld_update_beacon_template()
180 beacon = ieee80211_beacon_get_template(mld->hw, vif, NULL, in iwl_mld_update_beacon_template()
185 ret = iwl_mld_fill_beacon_template_cmd(mld, vif, beacon, &cmd, in iwl_mld_update_beacon_template()
243 struct ieee80211_vif *vif, in iwl_mld_send_ap_early_keys() argument
260 ret = iwl_mld_add_key(mld, vif, NULL, key); in iwl_mld_send_ap_early_keys()
268 struct ieee80211_vif *vif, in iwl_mld_start_ap_ibss() argument
272 struct iwl_mld_vif *mld_vif = iwl_mld_vif_from_mac80211(vif); in iwl_mld_start_ap_ibss()
276 if (vif->type == NL80211_IFTYPE_AP) in iwl_mld_start_ap_ibss()
277 iwl_mld_send_ap_tx_power_constraint_cmd(mld, vif, link); in iwl_mld_start_ap_ibss()
279 ret = iwl_mld_update_beacon_template(mld, vif, link); in iwl_mld_start_ap_ibss()
293 ret = iwl_mld_add_mcast_sta(mld, vif, link); in iwl_mld_start_ap_ibss()
299 if (vif->p2p && mld->p2p_device_vif) { in iwl_mld_start_ap_ibss()
308 ret = iwl_mld_add_bcast_sta(mld, vif, link); in iwl_mld_start_ap_ibss()
316 ret = iwl_mld_send_ap_early_keys(mld, vif, link); in iwl_mld_start_ap_ibss()
320 if (ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_AP) in iwl_mld_start_ap_ibss()
321 iwl_mld_vif_update_low_latency(mld, vif, true, in iwl_mld_start_ap_ibss()
333 iwl_mld_remove_bcast_sta(mld, vif, link); in iwl_mld_start_ap_ibss()
336 if (vif->p2p && mld->p2p_device_vif) in iwl_mld_start_ap_ibss()
340 iwl_mld_remove_mcast_sta(mld, vif, link); in iwl_mld_start_ap_ibss()
344 void iwl_mld_stop_ap_ibss(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in iwl_mld_stop_ap_ibss() argument
348 struct iwl_mld_vif *mld_vif = iwl_mld_vif_from_mac80211(vif); in iwl_mld_stop_ap_ibss()
352 if (vif->p2p && mld->p2p_device_vif) in iwl_mld_stop_ap_ibss()
356 if (ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_AP) in iwl_mld_stop_ap_ibss()
357 iwl_mld_vif_update_low_latency(mld, vif, false, in iwl_mld_stop_ap_ibss()
360 iwl_mld_remove_bcast_sta(mld, vif, link); in iwl_mld_stop_ap_ibss()
362 iwl_mld_remove_mcast_sta(mld, vif, link); in iwl_mld_stop_ap_ibss()