Lines Matching refs:sta_cmd

350 	struct iwl_addsta_cmd sta_cmd;  in iwl_add_station_common()  local
383 memcpy(&sta_cmd, &priv->stations[sta_id].sta, in iwl_add_station_common()
388 ret = iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_add_station_common()
664 struct iwl_addsta_cmd sta_cmd; in iwl_restore_stations() local
695 memcpy(&sta_cmd, &priv->stations[i].sta, in iwl_restore_stations()
709 ret = iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_restore_stations()
1103 struct iwl_addsta_cmd sta_cmd; in iwlagn_send_sta_key() local
1107 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd)); in iwlagn_send_sta_key()
1116 memcpy(sta_cmd.key.key, keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1120 sta_cmd.key.tkip_rx_tsc_byte2 = tkip_iv32; in iwlagn_send_sta_key()
1122 sta_cmd.key.tkip_rx_ttak[i] = cpu_to_le16(tkip_p1k[i]); in iwlagn_send_sta_key()
1123 memcpy(sta_cmd.key.key, keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1130 memcpy(&sta_cmd.key.key[3], keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1141 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwlagn_send_sta_key()
1143 sta_cmd.key.key_flags = key_flags; in iwlagn_send_sta_key()
1144 sta_cmd.mode = STA_CONTROL_MODIFY_MSK; in iwlagn_send_sta_key()
1145 sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK; in iwlagn_send_sta_key()
1147 return iwl_send_add_sta(priv, &sta_cmd, cmd_flags); in iwlagn_send_sta_key()
1175 struct iwl_addsta_cmd sta_cmd; in iwl_remove_dynamic_key() local
1184 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd)); in iwl_remove_dynamic_key()
1210 sta_cmd.key.key_flags = key_flags; in iwl_remove_dynamic_key()
1211 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwl_remove_dynamic_key()
1212 sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK; in iwl_remove_dynamic_key()
1213 sta_cmd.mode = STA_CONTROL_MODIFY_MSK; in iwl_remove_dynamic_key()
1215 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_remove_dynamic_key()
1364 struct iwl_addsta_cmd sta_cmd; in iwl_sta_tx_modify_enable_tid() local
1373 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_tx_modify_enable_tid()
1376 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_tx_modify_enable_tid()
1383 struct iwl_addsta_cmd sta_cmd; in iwl_sta_rx_agg_start() local
1397 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_rx_agg_start()
1400 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_rx_agg_start()
1407 struct iwl_addsta_cmd sta_cmd; in iwl_sta_rx_agg_stop() local
1422 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_rx_agg_stop()
1425 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_rx_agg_stop()