Lines Matching refs:mvm

5 #include "mvm.h"
7 static void iwl_mvm_mld_set_he_support(struct iwl_mvm *mvm,
17 static void iwl_mvm_mld_mac_ctxt_cmd_common(struct iwl_mvm *mvm,
40 cpu_to_le32(!iwl_mvm_is_nic_ack_enabled(mvm, vif));
54 iwl_mvm_mld_set_he_support(mvm, vif, cmd);
66 iwl_mvm_mld_set_he_support(mvm, vif, cmd);
82 static int iwl_mvm_mld_mac_ctxt_send_cmd(struct iwl_mvm *mvm,
85 int ret = iwl_mvm_send_cmd_pdu(mvm,
89 IWL_ERR(mvm, "Failed to send MAC_CONFIG_CMD (action:%d): %d\n",
94 static int iwl_mvm_mld_mac_ctxt_cmd_sta(struct iwl_mvm *mvm,
104 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action);
114 iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin(mvm, vif);
122 fw_has_capa(&mvm->fw->ucode_capa,
154 cpu_to_le16(iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy(mvm, vif));
156 return iwl_mvm_mld_mac_ctxt_send_cmd(mvm, &cmd);
159 static int iwl_mvm_mld_mac_ctxt_cmd_listener(struct iwl_mvm *mvm,
167 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action);
175 return iwl_mvm_mld_mac_ctxt_send_cmd(mvm, &cmd);
178 static int iwl_mvm_mld_mac_ctxt_cmd_ibss(struct iwl_mvm *mvm,
186 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action);
192 return iwl_mvm_mld_mac_ctxt_send_cmd(mvm, &cmd);
195 static int iwl_mvm_mld_mac_ctxt_cmd_p2p_device(struct iwl_mvm *mvm,
203 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action);
206 iwl_mac_ctxt_p2p_dev_has_extended_disc(mvm, vif);
214 return iwl_mvm_mld_mac_ctxt_send_cmd(mvm, &cmd);
217 static int iwl_mvm_mld_mac_ctxt_cmd_ap_go(struct iwl_mvm *mvm,
227 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action);
229 iwl_mvm_mac_ctxt_cmd_ap_set_filter_flags(mvm, mvmvif,
234 return iwl_mvm_mld_mac_ctxt_send_cmd(mvm, &cmd);
237 static int iwl_mvm_mld_mac_ctx_send(struct iwl_mvm *mvm,
243 return iwl_mvm_mld_mac_ctxt_cmd_sta(mvm, vif, action,
246 return iwl_mvm_mld_mac_ctxt_cmd_ap_go(mvm, vif, action);
248 return iwl_mvm_mld_mac_ctxt_cmd_listener(mvm, vif, action);
250 return iwl_mvm_mld_mac_ctxt_cmd_p2p_device(mvm, vif, action);
252 return iwl_mvm_mld_mac_ctxt_cmd_ibss(mvm, vif, action);
260 int iwl_mvm_mld_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
272 ret = iwl_mvm_mld_mac_ctx_send(mvm, vif, FW_CTXT_ACTION_ADD,
278 iwl_mvm_set_last_nonqos_seq(mvm, vif);
284 int iwl_mvm_mld_mac_ctxt_changed(struct iwl_mvm *mvm,
297 return iwl_mvm_mld_mac_ctx_send(mvm, vif, FW_CTXT_ACTION_MODIFY,
301 int iwl_mvm_mld_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
317 ret = iwl_mvm_mld_mac_ctxt_send_cmd(mvm, &cmd);