hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
....@@ -5,9 +5,9 @@
55 *
66 * GPL LICENSE SUMMARY
77 *
8
- * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
98 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
109 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
10
+ * Copyright(c) 2012 - 2014, 2020 Intel Corporation
1111 *
1212 * This program is free software; you can redistribute it and/or modify
1313 * it under the terms of version 2 of the GNU General Public License as
....@@ -27,9 +27,9 @@
2727 *
2828 * BSD LICENSE
2929 *
30
- * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
3130 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
3231 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
32
+ * Copyright(c) 2012 - 2014, 2020 Intel Corporation
3333 * All rights reserved.
3434 *
3535 * Redistribution and use in source and binary forms, with or without
....@@ -77,7 +77,8 @@
7777 * @DATA_PATH_GROUP: data path group, uses command IDs from
7878 * &enum iwl_data_path_subcmd_ids
7979 * @NAN_GROUP: NAN group, uses command IDs from &enum iwl_nan_subcmd_ids
80
- * @TOF_GROUP: TOF group, uses command IDs from &enum iwl_tof_subcmd_ids
80
+ * @LOCATION_GROUP: location group, uses command IDs from
81
+ * &enum iwl_location_subcmd_ids
8182 * @PROT_OFFLOAD_GROUP: protocol offload group, uses command IDs from
8283 * &enum iwl_prot_offload_subcmd_ids
8384 * @REGULATORY_AND_NVM_GROUP: regulatory/NVM group, uses command IDs from
....@@ -92,7 +93,7 @@
9293 PHY_OPS_GROUP = 0x4,
9394 DATA_PATH_GROUP = 0x5,
9495 NAN_GROUP = 0x7,
95
- TOF_GROUP = 0x8,
96
+ LOCATION_GROUP = 0x8,
9697 PROT_OFFLOAD_GROUP = 0xb,
9798 REGULATORY_AND_NVM_GROUP = 0xc,
9899 DEBUG_GROUP = 0xf,
....@@ -103,11 +104,12 @@
103104 */
104105 enum iwl_legacy_cmds {
105106 /**
106
- * @MVM_ALIVE:
107
+ * @UCODE_ALIVE_NTFY:
107108 * Alive data from the firmware, as described in
108
- * &struct mvm_alive_resp_v3 or &struct mvm_alive_resp.
109
+ * &struct iwl_alive_ntf_v3 or &struct iwl_alive_ntf_v4 or
110
+ * &struct iwl_alive_ntf_v5.
109111 */
110
- MVM_ALIVE = 0x1,
112
+ UCODE_ALIVE_NTFY = 0x1,
111113
112114 /**
113115 * @REPLY_ERROR: Cause an error in the firmware, for testing purposes.
....@@ -321,7 +323,7 @@
321323
322324 /**
323325 * @SCAN_OFFLOAD_UPDATE_PROFILES_CMD:
324
- * update scan offload (scheduled scan) profiles/blacklist/etc.
326
+ * update scan offload (scheduled scan) profiles/blocklist/etc.
325327 */
326328 SCAN_OFFLOAD_UPDATE_PROFILES_CMD = 0x6E,
327329
....@@ -351,16 +353,6 @@
351353 * @PHY_DB_CMD: &struct iwl_phy_db_cmd
352354 */
353355 PHY_DB_CMD = 0x6c,
354
-
355
- /**
356
- * @TOF_CMD: &struct iwl_tof_config_cmd
357
- */
358
- TOF_CMD = 0x10,
359
-
360
- /**
361
- * @TOF_NOTIFICATION: &struct iwl_tof_gen_resp_cmd
362
- */
363
- TOF_NOTIFICATION = 0x11,
364356
365357 /**
366358 * @POWER_TABLE_CMD: &struct iwl_device_power_cmd
....@@ -415,7 +407,12 @@
415407 TX_ANT_CONFIGURATION_CMD = 0x98,
416408
417409 /**
418
- * @STATISTICS_CMD: &struct iwl_statistics_cmd
410
+ * @STATISTICS_CMD:
411
+ * one of &struct iwl_statistics_cmd,
412
+ * &struct iwl_notif_statistics_v11,
413
+ * &struct iwl_notif_statistics_v10,
414
+ * &struct iwl_notif_statistics,
415
+ * &struct iwl_statistics_operational_ntfy
419416 */
420417 STATISTICS_CMD = 0x9c,
421418
....@@ -423,7 +420,8 @@
423420 * @STATISTICS_NOTIFICATION:
424421 * one of &struct iwl_notif_statistics_v10,
425422 * &struct iwl_notif_statistics_v11,
426
- * &struct iwl_notif_statistics_cdb
423
+ * &struct iwl_notif_statistic,
424
+ * &struct iwl_statistics_operational_ntfy
427425 */
428426 STATISTICS_NOTIFICATION = 0x9d,
429427
....@@ -436,7 +434,7 @@
436434
437435 /**
438436 * @REDUCE_TX_POWER_CMD:
439
- * &struct iwl_dev_tx_power_cmd_v3 or &struct iwl_dev_tx_power_cmd
437
+ * &struct iwl_dev_tx_power_cmd
440438 */
441439 REDUCE_TX_POWER_CMD = 0x9f,
442440
....@@ -477,6 +475,13 @@
477475 * &struct iwl_rx_mpdu_res_start or &struct iwl_rx_mpdu_desc
478476 */
479477 REPLY_RX_MPDU_CMD = 0xc1,
478
+
479
+ /**
480
+ * @BAR_FRAME_RELEASE: Frame release from BAR notification, used for
481
+ * multi-TID BAR (previously, the BAR frame itself was reported
482
+ * instead). Uses &struct iwl_bar_frame_release.
483
+ */
484
+ BAR_FRAME_RELEASE = 0xc2,
480485
481486 /**
482487 * @FRAME_RELEASE:
....@@ -644,9 +649,19 @@
644649 SHARED_MEM_CFG_CMD = 0x0,
645650
646651 /**
652
+ * @SOC_CONFIGURATION_CMD: &struct iwl_soc_configuration_cmd
653
+ */
654
+ SOC_CONFIGURATION_CMD = 0x01,
655
+
656
+ /**
647657 * @INIT_EXTENDED_CFG_CMD: &struct iwl_init_extended_cfg_cmd
648658 */
649659 INIT_EXTENDED_CFG_CMD = 0x03,
660
+
661
+ /**
662
+ * @FW_ERROR_RECOVERY_CMD: &struct iwl_fw_error_recovery_cmd
663
+ */
664
+ FW_ERROR_RECOVERY_CMD = 0x7,
650665 };
651666
652667 #endif /* __iwl_fw_api_commands_h__ */