Lines Matching refs:cmd

280 	struct iwl_mvm_add_sta_cmd cmd = {};
286 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color);
287 cmd.sta_id = mvmsta->sta_id;
288 cmd.add_modify = STA_MODE_MODIFY;
289 cmd.station_flags = drain ? cpu_to_le32(STA_FLG_DRAIN_FLOW) : 0;
290 cmd.station_flags_msk = cpu_to_le32(STA_FLG_DRAIN_FLOW);
293 ret = iwl_mvm_send_cmd_pdu_status(mvm, ADD_STA, sizeof(cmd),
294 &cmd, &status);
351 * The mutex is needed because of the SYNC cmd, but not only: if the
498 struct iwl_mvm_add_sta_cmd cmd;
504 memset(&cmd, 0, sizeof(cmd));
505 cmd.sta_id = sta->sta_id;
506 cmd.mac_id_n_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mac_id,
509 cmd.tfd_queue_msk = cpu_to_le32(sta->tfd_queue_msk);
512 memcpy(cmd.addr, addr, ETH_ALEN);
514 ret = iwl_mvm_send_cmd_pdu_status(mvm, ADD_STA, sizeof(cmd),
515 &cmd, &status);
683 struct iwl_mvm_add_sta_cmd cmd = {};
694 cmd.mac_id_n_color = cpu_to_le32(mvm_sta->mac_id_n_color);
695 cmd.sta_id = mvm_sta->sta_id;
696 cmd.add_modify = STA_MODE_MODIFY;
698 cmd.add_immediate_ba_tid = (u8) tid;
699 cmd.add_immediate_ba_ssn = cpu_to_le16(ssn);
701 cmd.remove_immediate_ba_tid = (u8) tid;
703 cmd.modify_mask = start ? STA_MODIFY_ADD_BA_TID :
707 ret = iwl_mvm_send_cmd_pdu_status(mvm, ADD_STA, sizeof(cmd),
708 &cmd, &status);
743 struct iwl_mvm_add_sta_cmd cmd = {};
757 cmd.mac_id_n_color = cpu_to_le32(mvm_sta->mac_id_n_color);
758 cmd.sta_id = mvm_sta->sta_id;
759 cmd.add_modify = STA_MODE_MODIFY;
760 cmd.modify_mask = STA_MODIFY_QUEUES | STA_MODIFY_TID_DISABLE_TX;
761 cmd.tfd_queue_msk = cpu_to_le32(mvm_sta->tfd_queue_msk);
762 cmd.tid_disable_tx = cpu_to_le16(mvm_sta->tid_disable_agg);
765 ret = iwl_mvm_send_cmd_pdu_status(mvm, ADD_STA, sizeof(cmd),
766 &cmd, &status);
1078 struct iwl_mvm_add_sta_key_cmd cmd = {};
1092 cmd.tkip_rx_tsc_byte2 = tkip_iv32;
1094 cmd.tkip_rx_ttak[i] = cpu_to_le16(tkip_p1k[i]);
1095 memcpy(cmd.key, keyconf->key, keyconf->keylen);
1099 memcpy(cmd.key, keyconf->key, keyconf->keylen);
1103 memcpy(cmd.key, keyconf->key, keyconf->keylen);
1109 cmd.key_offset = keyconf->hw_key_idx;
1110 cmd.key_flags = key_flags;
1111 cmd.sta_id = sta_id;
1116 sizeof(cmd), &cmd);
1118 ret = iwl_mvm_send_cmd_pdu_status(mvm, ADD_STA_KEY, sizeof(cmd),
1119 &cmd, &status);
1286 struct iwl_mvm_add_sta_key_cmd cmd = {};
1341 cmd.key_flags = key_flags;
1342 cmd.key_offset = keyconf->hw_key_idx;
1343 cmd.sta_id = sta_id;
1346 ret = iwl_mvm_send_cmd_pdu_status(mvm, ADD_STA_KEY, sizeof(cmd),
1347 &cmd, &status);
1394 struct iwl_mvm_add_sta_cmd cmd = {
1402 ret = iwl_mvm_send_cmd_pdu(mvm, ADD_STA, CMD_ASYNC, sizeof(cmd), &cmd);
1414 struct iwl_mvm_add_sta_cmd cmd = {
1429 cmd.awake_acs |= BIT(tid_to_ucode_ac[tid]);
1466 cmd.sleep_tx_count = cpu_to_le16(cnt - remaining);
1475 cmd.sleep_state_flags |= cpu_to_le16(STA_SLEEP_STATE_MOREDATA);
1479 cmd.sleep_state_flags |= cpu_to_le16(STA_SLEEP_STATE_PS_POLL);
1481 cmd.sleep_state_flags |= cpu_to_le16(STA_SLEEP_STATE_UAPSD);
1484 ret = iwl_mvm_send_cmd_pdu(mvm, ADD_STA, CMD_ASYNC, sizeof(cmd), &cmd);
1491 struct iwl_device_cmd *cmd)
1513 struct iwl_mvm_add_sta_cmd cmd = {
1525 ret = iwl_mvm_send_cmd_pdu(mvm, ADD_STA, CMD_ASYNC, sizeof(cmd), &cmd);