Lines Matching refs:sta_cmd
378 struct iwl_addsta_cmd sta_cmd; in iwl_add_station_common() local
411 memcpy(&sta_cmd, &priv->stations[sta_id].sta, in iwl_add_station_common()
416 ret = iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_add_station_common()
697 struct iwl_addsta_cmd sta_cmd; in iwl_restore_stations() local
728 memcpy(&sta_cmd, &priv->stations[i].sta, in iwl_restore_stations()
742 ret = iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_restore_stations()
1136 struct iwl_addsta_cmd sta_cmd; in iwlagn_send_sta_key() local
1140 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd)); in iwlagn_send_sta_key()
1149 memcpy(sta_cmd.key.key, keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1153 sta_cmd.key.tkip_rx_tsc_byte2 = tkip_iv32; in iwlagn_send_sta_key()
1155 sta_cmd.key.tkip_rx_ttak[i] = cpu_to_le16(tkip_p1k[i]); in iwlagn_send_sta_key()
1156 memcpy(sta_cmd.key.key, keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1163 memcpy(&sta_cmd.key.key[3], keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1174 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwlagn_send_sta_key()
1176 sta_cmd.key.key_flags = key_flags; in iwlagn_send_sta_key()
1177 sta_cmd.mode = STA_CONTROL_MODIFY_MSK; in iwlagn_send_sta_key()
1178 sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK; in iwlagn_send_sta_key()
1180 return iwl_send_add_sta(priv, &sta_cmd, cmd_flags); in iwlagn_send_sta_key()
1208 struct iwl_addsta_cmd sta_cmd; in iwl_remove_dynamic_key() local
1217 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd)); in iwl_remove_dynamic_key()
1243 sta_cmd.key.key_flags = key_flags; in iwl_remove_dynamic_key()
1244 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwl_remove_dynamic_key()
1245 sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK; in iwl_remove_dynamic_key()
1246 sta_cmd.mode = STA_CONTROL_MODIFY_MSK; in iwl_remove_dynamic_key()
1248 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_remove_dynamic_key()
1397 struct iwl_addsta_cmd sta_cmd; in iwl_sta_tx_modify_enable_tid() local
1406 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_tx_modify_enable_tid()
1409 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_tx_modify_enable_tid()
1416 struct iwl_addsta_cmd sta_cmd; in iwl_sta_rx_agg_start() local
1430 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_rx_agg_start()
1433 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_rx_agg_start()
1440 struct iwl_addsta_cmd sta_cmd; in iwl_sta_rx_agg_stop() local
1455 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_rx_agg_stop()
1458 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_rx_agg_stop()