• Home
  • Raw
  • Download

Lines Matching refs:sta_cmd

335 	struct iwl_addsta_cmd sta_cmd;  in iwl_add_station_common()  local
368 memcpy(&sta_cmd, &priv->stations[sta_id].sta, in iwl_add_station_common()
373 ret = iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_add_station_common()
649 struct iwl_addsta_cmd sta_cmd; in iwl_restore_stations() local
680 memcpy(&sta_cmd, &priv->stations[i].sta, in iwl_restore_stations()
694 ret = iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_restore_stations()
1088 struct iwl_addsta_cmd sta_cmd; in iwlagn_send_sta_key() local
1093 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd)); in iwlagn_send_sta_key()
1102 memcpy(sta_cmd.key.key, keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1106 sta_cmd.key.tkip_rx_tsc_byte2 = tkip_iv32; in iwlagn_send_sta_key()
1108 sta_cmd.key.tkip_rx_ttak[i] = cpu_to_le16(tkip_p1k[i]); in iwlagn_send_sta_key()
1110 to_copy = min_t(size_t, sizeof(sta_cmd.key.key), keyconf->keylen); in iwlagn_send_sta_key()
1111 memcpy(sta_cmd.key.key, keyconf->key, to_copy); in iwlagn_send_sta_key()
1118 memcpy(&sta_cmd.key.key[3], keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1129 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwlagn_send_sta_key()
1131 sta_cmd.key.key_flags = key_flags; in iwlagn_send_sta_key()
1132 sta_cmd.mode = STA_CONTROL_MODIFY_MSK; in iwlagn_send_sta_key()
1133 sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK; in iwlagn_send_sta_key()
1135 return iwl_send_add_sta(priv, &sta_cmd, cmd_flags); in iwlagn_send_sta_key()
1163 struct iwl_addsta_cmd sta_cmd; in iwl_remove_dynamic_key() local
1172 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd)); in iwl_remove_dynamic_key()
1198 sta_cmd.key.key_flags = key_flags; in iwl_remove_dynamic_key()
1199 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwl_remove_dynamic_key()
1200 sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK; in iwl_remove_dynamic_key()
1201 sta_cmd.mode = STA_CONTROL_MODIFY_MSK; in iwl_remove_dynamic_key()
1203 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_remove_dynamic_key()
1352 struct iwl_addsta_cmd sta_cmd; in iwl_sta_tx_modify_enable_tid() local
1361 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_tx_modify_enable_tid()
1364 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_tx_modify_enable_tid()
1371 struct iwl_addsta_cmd sta_cmd; in iwl_sta_rx_agg_start() local
1385 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_rx_agg_start()
1388 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_rx_agg_start()
1395 struct iwl_addsta_cmd sta_cmd; in iwl_sta_rx_agg_stop() local
1410 memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd)); in iwl_sta_rx_agg_stop()
1413 return iwl_send_add_sta(priv, &sta_cmd, 0); in iwl_sta_rx_agg_stop()