Lines Matching refs:cmd

66 				 struct iwl_link_config_cmd *cmd,
71 cmd->action = cpu_to_le32(action);
74 sizeof(*cmd), cmd);
108 struct iwl_link_config_cmd cmd = {};
126 cmd.link_id = cpu_to_le32(link_info->fw_link_id);
127 cmd.mac_id = cpu_to_le32(mvmvif->id);
128 cmd.spec_link_id = link_conf->link_id;
130 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID);
132 memcpy(cmd.local_link_addr, link_conf->addr, ETH_ALEN);
135 memcpy(cmd.ibss_bssid_addr, link_conf->bssid, ETH_ALEN);
138 cmd.listen_lmac = cpu_to_le32(link_info->listen_lmac);
140 return iwl_mvm_link_cmd_send(mvm, &cmd, FW_CTXT_ACTION_ADD);
210 struct iwl_link_config_cmd cmd = {};
242 cmd.link_id = cpu_to_le32(link_info->fw_link_id);
249 cmd.phy_id = cpu_to_le32(phyctxt->id);
251 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID);
252 cmd.mac_id = cpu_to_le32(mvmvif->id);
254 memcpy(cmd.local_link_addr, link_conf->addr, ETH_ALEN);
256 cmd.active = cpu_to_le32(active);
259 memcpy(cmd.ibss_bssid_addr, link_conf->bssid, ETH_ALEN);
262 &cmd.cck_rates, &cmd.ofdm_rates);
264 cmd.cck_short_preamble = cpu_to_le32(link_conf->use_short_preamble);
265 cmd.short_slot = cpu_to_le32(link_conf->use_short_slot);
270 &cmd.protection_flags,
273 iwl_mvm_set_fw_qos_params(mvm, vif, link_conf, cmd.ac,
274 &cmd.qos_flags);
277 cmd.bi = cpu_to_le32(link_conf->beacon_int);
278 cmd.dtim_interval = cpu_to_le32(link_conf->beacon_int *
287 cmd.htc_trig_based_pkt_ext = link_conf->htc_trig_based_pkt_ext;
290 cmd.rand_alloc_ecwmin =
292 cmd.rand_alloc_ecwmax =
299 &cmd.trig_based_txf[0])) {
318 cmd.puncture_mask = cpu_to_le16(def->punctured);
322 cmd.bss_color = link_conf->he_bss_color.color;
329 cmd.frame_time_rts_th = cpu_to_le16(link_conf->frame_time_rts_th);
338 ether_addr_copy(cmd.ref_bssid_addr,
340 cmd.bssid_index = link_conf->bssid_index;
344 cmd.modify_mask = cpu_to_le32(changes);
345 cmd.flags = cpu_to_le32(flags);
346 cmd.flags_mask = cpu_to_le32(flags_mask);
347 cmd.spec_link_id = link_conf->link_id;
349 cmd.listen_lmac = cpu_to_le32(link_info->listen_lmac);
351 ret = iwl_mvm_link_cmd_send(mvm, &cmd, FW_CTXT_ACTION_MODIFY);
382 struct iwl_link_config_cmd cmd = {};
389 cmd.link_id = cpu_to_le32(link_info->fw_link_id);
391 cmd.spec_link_id = link_conf->link_id;
392 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID);
394 ret = iwl_mvm_link_cmd_send(mvm, &cmd, FW_CTXT_ACTION_REMOVE);