Lines Matching refs:sta_cmd
330 struct iwl_addsta_cmd sta_cmd; in iwl_add_station_common() local
363 memcpy(&sta_cmd, &priv->stations[sta_id].sta, in iwl_add_station_common()
368 ret = iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_add_station_common()
644 struct iwl_addsta_cmd sta_cmd; in iwl_restore_stations() local
675 memcpy(&sta_cmd, &priv->stations[i].sta, in iwl_restore_stations()
689 ret = iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_restore_stations()
1083 struct iwl_addsta_cmd sta_cmd; in iwlagn_send_sta_key() local
1088 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd)); in iwlagn_send_sta_key()
1097 memcpy(sta_cmd.key.key, keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1101 sta_cmd.key.tkip_rx_tsc_byte2 = tkip_iv32; in iwlagn_send_sta_key()
1103 sta_cmd.key.tkip_rx_ttak[i] = cpu_to_le16(tkip_p1k[i]); in iwlagn_send_sta_key()
1105 to_copy = min_t(size_t, sizeof(sta_cmd.key.key), keyconf->keylen); in iwlagn_send_sta_key()
1106 memcpy(sta_cmd.key.key, keyconf->key, to_copy); in iwlagn_send_sta_key()
1113 memcpy(&sta_cmd.key.key[3], keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1124 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwlagn_send_sta_key()
1126 sta_cmd.key.key_flags = key_flags; in iwlagn_send_sta_key()
1127 sta_cmd.mode = STA_CONTROL_MODIFY_MSK; in iwlagn_send_sta_key()
1128 sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK; in iwlagn_send_sta_key()
1130 return iwl_send_add_sta(priv, &sta_cmd, cmd_flags); in iwlagn_send_sta_key()
1158 struct iwl_addsta_cmd sta_cmd; in iwl_remove_dynamic_key() local
1167 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd)); in iwl_remove_dynamic_key()
1193 sta_cmd.key.key_flags = key_flags; in iwl_remove_dynamic_key()
1194 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwl_remove_dynamic_key()
1195 sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK; in iwl_remove_dynamic_key()
1196 sta_cmd.mode = STA_CONTROL_MODIFY_MSK; in iwl_remove_dynamic_key()
1198 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_remove_dynamic_key()
1347 struct iwl_addsta_cmd sta_cmd; in iwl_sta_tx_modify_enable_tid() local
1356 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_tx_modify_enable_tid()
1359 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_tx_modify_enable_tid()
1366 struct iwl_addsta_cmd sta_cmd; in iwl_sta_rx_agg_start() local
1380 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_rx_agg_start()
1383 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_rx_agg_start()
1390 struct iwl_addsta_cmd sta_cmd; in iwl_sta_rx_agg_stop() local
1405 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_rx_agg_stop()
1408 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_rx_agg_stop()