Lines Matching refs:cmd
130 struct iwl_sec_key_cmd cmd = { in iwl_mvm_mld_update_sta_key() local
144 err = iwl_mvm_send_cmd_pdu(mvm, cmd_id, 0, sizeof(cmd), &cmd); in iwl_mvm_mld_update_sta_key()
171 struct iwl_sec_key_cmd cmd = { in __iwl_mvm_sec_key_del() local
178 return iwl_mvm_send_cmd_pdu(mvm, cmd_id, flags, sizeof(cmd), &cmd); in __iwl_mvm_sec_key_del()
185 struct iwl_sec_key_cmd cmd = { in iwl_mvm_mld_send_key() local
192 int max_key_len = sizeof(cmd.u.add.key); in iwl_mvm_mld_send_key()
207 memcpy(cmd.u.add.key + IWL_SEC_WEP_KEY_OFFSET, keyconf->key, in iwl_mvm_mld_send_key()
210 memcpy(cmd.u.add.key, keyconf->key, keyconf->keylen); in iwl_mvm_mld_send_key()
213 memcpy(cmd.u.add.tkip_mic_rx_key, in iwl_mvm_mld_send_key()
216 memcpy(cmd.u.add.tkip_mic_tx_key, in iwl_mvm_mld_send_key()
221 ret = iwl_mvm_send_cmd_pdu(mvm, cmd_id, 0, sizeof(cmd), &cmd); in iwl_mvm_mld_send_key()
231 cmd.u.add.key_flags ^= cpu_to_le32(IWL_SEC_KEY_FLAG_MCAST_KEY); in iwl_mvm_mld_send_key()
232 ret = iwl_mvm_send_cmd_pdu(mvm, cmd_id, 0, sizeof(cmd), &cmd); in iwl_mvm_mld_send_key()