From 3ccb080148ecc9e39d724e458bebef01056ba63c Mon Sep 17 00:00:00 2001 From: spuligil Date: Tue, 2 Apr 2024 06:01:52 -0700 Subject: [PATCH 01/13] fw-api: CL 26384461 - update fw common interface files Change-Id: Ia9560e8f3754171cd7073f7ff5094251ff036599 CRs-Fixed: 2262693 --- fw/htt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fw/htt.h b/fw/htt.h index 23df62b46393..ed1862aea67b 100644 --- a/fw/htt.h +++ b/fw/htt.h @@ -22949,6 +22949,7 @@ typedef enum { HTT_SDWF_MSDUQ_CFG_IND_ERROR_DEACTIVATED_MSDUQ = 0x05, HTT_SDWF_MSDUQ_CFG_IND_ERROR_REACTIVATED_MSDUQ = 0x06, HTT_SDWF_MSDUQ_CFG_IND_ERROR_INVALID_SVC_CLASS = 0x07, + HTT_SDWF_MSDUQ_CFG_IND_ERROR_TIDQ_LOCATE_ERROR = 0x08, } HTT_SDWF_MSDUQ_CFG_IND_ERROR_CODE_E; PREPACK struct htt_t2h_sdwf_msduq_cfg_ind { From 3507c8f8c625f19c5e498e9d824a38a223113684 Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 3 Apr 2024 06:01:58 -0700 Subject: [PATCH 02/13] fw-api: CL 26392958 - update fw common interface files Change-Id: Ic7c8ec6b61853fa501aedbae97dd3a024dd6c201 CRs-Fixed: 2262693 --- fw/wmi_unified.h | 3 +++ fw/wmi_version.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 848ae76ec2e4..60cfbee8da66 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -25667,6 +25667,9 @@ typedef enum */ WMI_VENDOR_OUI_ACTION_SEND_SMPS_FRAME_WITH_OMN = 12, + /* Restrict SLO if specific vendor OUI received in beacon. */ + WMI_VENDOR_OUI_ACTION_RESTRICT_SLO = 13, + /* Add any action before this line */ WMI_VENDOR_OUI_ACTION_MAX_ACTION_ID diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 526ea5e2124c..9b9942583944 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1473 +#define __WMI_REVISION_ 1474 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From c6cd7fd9a63cb4d62eb7f80b5436a5dab1cfdd61 Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 5 Apr 2024 06:02:22 -0700 Subject: [PATCH 03/13] fw-api: CL 26403375 - update fw common interface files Change-Id: Iffbdb9b10ea111ec9fbdceefb893b6f0bb3e8f2f CRs-Fixed: 2262693 --- fw/wmi_unified.h | 4 +++- fw/wmi_version.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 60cfbee8da66..f87a3dc69035 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -27014,7 +27014,9 @@ typedef enum { /** Lower threshold for beacon-RSSI. Used to increase RX chainmask. */ WMI_STA_SMPS_PARAM_LOWER_BRSSI_THRESH = 4, /** Enable/Disable DTIM 1chRx feature */ - WMI_STA_SMPS_PARAM_DTIM_1CHRX_ENABLE = 5 + WMI_STA_SMPS_PARAM_DTIM_1CHRX_ENABLE = 5, + /** Enable/Disable dynamic bw feature */ + WMI_STA_SMPS_PARAM_DYNAMIC_BW_SWITCH = 6, } wmi_sta_smps_param; typedef struct { diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 9b9942583944..d741a667f96e 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1474 +#define __WMI_REVISION_ 1475 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From 9893e5b78729e78d3fe3e85fa702be947f76183c Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 18 Apr 2024 06:02:04 -0700 Subject: [PATCH 04/13] fw-api: CL 26496317 - update fw common interface files Change-Id: Ie8cbf264cd9d5a4f6e6bf0f9fe1ff7b7452bfaec CRs-Fixed: 2262693 --- fw/wmi_services.h | 1 + fw/wmi_unified.h | 2 +- fw/wmi_version.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index 66699c62a357..74bb0183131b 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -662,6 +662,7 @@ typedef enum { WMI_SERVICE_TRAFFIC_CONTEXT_SUPPORT = 408, /* FW supports traffic context aware manager */ WMI_SERVICE_STA_SAP_NDP_CONCURRENCY_SUPPORT = 409, /* FW supports STA + SAP + NDP concurrency */ WMI_SERVICE_THERM_THROT_POUT_REDUCTION = 410, /* FW supports thermal throttling Pout reduction */ + WMI_SERVICE_E2E_SDWF_SUPPORT = 411, /* FW supports end-to-end SDWF features like SDWF scheduler */ WMI_MAX_EXT2_SERVICE diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index f87a3dc69035..e5ebdc37616d 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -27016,7 +27016,7 @@ typedef enum { /** Enable/Disable DTIM 1chRx feature */ WMI_STA_SMPS_PARAM_DTIM_1CHRX_ENABLE = 5, /** Enable/Disable dynamic bw feature */ - WMI_STA_SMPS_PARAM_DYNAMIC_BW_SWITCH = 6, + WMI_STA_SMPS_PARAM_DYNAMIC_BW_SWITCH = 6, } wmi_sta_smps_param; typedef struct { diff --git a/fw/wmi_version.h b/fw/wmi_version.h index d741a667f96e..9fd0ff979bdb 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1475 +#define __WMI_REVISION_ 1476 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From c2cd135c6b9787081b7545f3db5a6ddfd32f19b1 Mon Sep 17 00:00:00 2001 From: spuligil Date: Sat, 20 Apr 2024 06:02:15 -0700 Subject: [PATCH 05/13] fw-api: CL 26511260 - update fw common interface files Change-Id: I225300d0e9540034f044667efe1ba215675547a2 CRs-Fixed: 2262693 --- fw/wmi_services.h | 1 + fw/wmi_unified.h | 10 +++++++++- fw/wmi_version.h | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index 74bb0183131b..048b6356d0b5 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -663,6 +663,7 @@ typedef enum { WMI_SERVICE_STA_SAP_NDP_CONCURRENCY_SUPPORT = 409, /* FW supports STA + SAP + NDP concurrency */ WMI_SERVICE_THERM_THROT_POUT_REDUCTION = 410, /* FW supports thermal throttling Pout reduction */ WMI_SERVICE_E2E_SDWF_SUPPORT = 411, /* FW supports end-to-end SDWF features like SDWF scheduler */ + WMI_SERVICE_EPM = 412, /* FW supports enhanced power management */ WMI_MAX_EXT2_SERVICE diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index e5ebdc37616d..61de66e2f7b6 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -4618,8 +4618,12 @@ typedef struct { * and 255 indicates an invalid service class * Refer to WMI_RSRC_CFG_FLAGS2_SAWF_255_SVC_CLASS_SUPPORT_GET/SET * macros. + * Bit 20 - enable feature EPM (Enhanced Power Management) + * 0 -> disable the feature + * 1 -> enable the feature + * Refer to the below WMI_RSRC_CFG_FLAGS2_EPM_GET/SET macros. * - * Bits 31:20 - Reserved + * Bits 31:21 - Reserved */ A_UINT32 flags2; /** @brief host_service_flags - can be used by Host to indicate @@ -5114,6 +5118,10 @@ typedef struct { #define WMI_RSRC_CFG_FLAGS2_SAWF_255_SVC_CLASS_SUPPORT_SET(flags2, value) \ WMI_SET_BITS(flags2, 19, 1, value) +#define WMI_RSRC_CFG_FLAGS2_EPM_GET(flags2) \ + WMI_GET_BITS(flags2, 20, 1) +#define WMI_RSRC_CFG_FLAGS2_EPM_SET(flags2, value) \ + WMI_SET_BITS(flags2, 20, 1, value) #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_GET(host_service_flags) \ WMI_GET_BITS(host_service_flags, 0, 1) diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 9fd0ff979bdb..b373ebea93ad 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1476 +#define __WMI_REVISION_ 1477 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From 70ced62a3586f28557e11588cb0e40a96a84ad94 Mon Sep 17 00:00:00 2001 From: spuligil Date: Sun, 21 Apr 2024 06:02:03 -0700 Subject: [PATCH 06/13] fw-api: CL 26515067 - update fw common interface files Change-Id: I1e022af363e1c10869bf982b17d06875b03b30d7 CRs-Fixed: 2262693 --- fw/wmi_unified.h | 6 ++++++ fw/wmi_version.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 61de66e2f7b6..509b97e5dc03 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -25678,6 +25678,12 @@ typedef enum /* Restrict SLO if specific vendor OUI received in beacon. */ WMI_VENDOR_OUI_ACTION_RESTRICT_SLO = 13, + /* + * Force MLSR mode if specific vendor OUI received in beacon + * when connect with MLO. + */ + WMI_VENDOR_OUI_ACTION_FORCE_MLSR = 14, + /* Add any action before this line */ WMI_VENDOR_OUI_ACTION_MAX_ACTION_ID diff --git a/fw/wmi_version.h b/fw/wmi_version.h index b373ebea93ad..bed59b7d7a08 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1477 +#define __WMI_REVISION_ 1478 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From 3171c45682cc131cca4988c16889d16f71ef817e Mon Sep 17 00:00:00 2001 From: spuligil Date: Sun, 21 Apr 2024 06:06:43 -0700 Subject: [PATCH 07/13] fw-api: CL 26515400 - update fw common interface files Change-Id: I2b88bdd8e3f3f003fb99e21102d0eddeb5fd2ced CRs-Fixed: 2262693 --- fw/htt_stats.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fw/htt_stats.h b/fw/htt_stats.h index c6c6fee101eb..50006666d4dc 100644 --- a/fw/htt_stats.h +++ b/fw/htt_stats.h @@ -7600,6 +7600,14 @@ typedef struct { * bin2 contains the number of sampling windows that had > 4 interrupts */ A_UINT32 interrupts_hist[HTT_INTERRUPTS_LATENCY_PROFILE_MAX_HIST]; + /* min time in us for pcycles spent on q6 core on all HW threads */ + A_UINT32 min_pcycles_time; + /* max time in us for pcycles spent on q6 core on all HW threads */ + A_UINT32 max_pcycles_time; + /* total time in us for pcycles spent on q6 core on all HW threads */ + A_UINT32 tot_pcycles_time; + /* avg time in us for pcycles spent on q6 core on all HW threads */ + A_UINT32 avg_pcycles_time; } htt_stats_latency_prof_stats_tlv; /* preserve old name alias for new name consistent with the tag name */ typedef htt_stats_latency_prof_stats_tlv htt_latency_prof_stats_tlv; From f510082f0efca1269349d8b58e49b9f3e48a37da Mon Sep 17 00:00:00 2001 From: spuligil Date: Mon, 22 Apr 2024 00:08:37 -0700 Subject: [PATCH 08/13] fw-api: CL 26517090 - update fw common interface files Change-Id: Ia942b544736d20038027745e6b55d0eed41555ce CRs-Fixed: 2262693 --- fw/wmi_services.h | 1 + fw/wmi_unified.h | 2 ++ fw/wmi_version.h | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index 048b6356d0b5..9f0ac38fc63d 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -664,6 +664,7 @@ typedef enum { WMI_SERVICE_THERM_THROT_POUT_REDUCTION = 410, /* FW supports thermal throttling Pout reduction */ WMI_SERVICE_E2E_SDWF_SUPPORT = 411, /* FW supports end-to-end SDWF features like SDWF scheduler */ WMI_SERVICE_EPM = 412, /* FW supports enhanced power management */ + WMI_SERVICE_CHIPSET_LOGGING_SUPPORT = 413, /* FW supports chipset logging feature */ WMI_MAX_EXT2_SERVICE diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 509b97e5dc03..62f03b49ab27 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -9617,6 +9617,8 @@ typedef enum { * E.g. a value of 4 will result in a 1.0 dB tx power reduction. */ WMI_PDEV_PARAM_PWR_REDUCTION_IN_QUARTER_DB, + + WMI_PDEV_PARAM_ENABLE_CHIPSET_LOGGING, } WMI_PDEV_PARAM; #define WMI_PDEV_ONLY_BSR_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 0, 1) diff --git a/fw/wmi_version.h b/fw/wmi_version.h index bed59b7d7a08..c92dcf3a6360 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1478 +#define __WMI_REVISION_ 1479 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From 7ab5e2146ffb06f375bc2b848da06b8f96b929e7 Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 24 Apr 2024 06:01:48 -0700 Subject: [PATCH 09/13] fw-api: CL 26534623 - update fw common interface files Change-Id: I00aef4a9ef40dd4791bb77a6079550d5c59a6155 CRs-Fixed: 2262693 --- fw/wmi_unified.h | 10 ++++++++++ fw/wmi_version.h | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 62f03b49ab27..799c2e1c131f 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -9619,6 +9619,16 @@ typedef enum { WMI_PDEV_PARAM_PWR_REDUCTION_IN_QUARTER_DB, WMI_PDEV_PARAM_ENABLE_CHIPSET_LOGGING, + + /** SCAN MODE: + * bit | scan_mode + * ----------------- + * 0 | SISO SCAN - 1x1 scan + * | If this bit is 0, then use default scan (NxN). + * 1-31 | Reserved. + */ + WMI_PDEV_PARAM_SCAN_MODE, + } WMI_PDEV_PARAM; #define WMI_PDEV_ONLY_BSR_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 0, 1) diff --git a/fw/wmi_version.h b/fw/wmi_version.h index c92dcf3a6360..bc3c2b585b7c 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1479 +#define __WMI_REVISION_ 1480 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From 718b127edf748b07f8d1e6f74a7f3a08900179e0 Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 2 May 2024 03:20:39 -0700 Subject: [PATCH 10/13] fw-api: CL 26587627 - update fw common interface files Change-Id: I9702a8ea7c84468105509fc3b23dbbe8776bb885 CRs-Fixed: 2262693 --- fw/wmi_services.h | 1 + fw/wmi_tlv_defs.h | 7 +++++++ fw/wmi_unified.h | 15 +++++++++++++++ fw/wmi_version.h | 2 +- 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index 9f0ac38fc63d..e4badf6d1967 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -665,6 +665,7 @@ typedef enum { WMI_SERVICE_E2E_SDWF_SUPPORT = 411, /* FW supports end-to-end SDWF features like SDWF scheduler */ WMI_SERVICE_EPM = 412, /* FW supports enhanced power management */ WMI_SERVICE_CHIPSET_LOGGING_SUPPORT = 413, /* FW supports chipset logging feature */ + WMI_SERVICE_SUPPORT_AP_SUSPEND_RESUME = 414, /* FW supports SAP suspend feature */ WMI_MAX_EXT2_SERVICE diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index c807d87a4208..803e716caf51 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -1437,6 +1437,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_ctrl_path_vdev_bcn_tx_stats_struct, WMITLV_TAG_STRUC_wmi_ctrl_path_pdev_bcn_tx_stats_struct, WMITLV_TAG_STRUC_wmi_soc_tx_packet_custom_classify_cmd_fixed_param, + WMITLV_TAG_STRUC_wmi_set_ap_suspend_resume_cmd_fixed_param, } WMITLV_TAG_ID; /* * IMPORTANT: Please add _ALL_ WMI Commands Here. @@ -1986,6 +1987,7 @@ typedef enum { OP(WMI_PEER_ACTIVE_TRAFFIC_MAP_CMDID) \ OP(WMI_REQUEST_OPM_STATS_CMDID) \ OP(WMI_SOC_TX_PACKET_CUSTOM_CLASSIFY_CMDID) \ + OP(WMI_SET_AP_SUSPEND_RESUME_CMDID) \ /* add new CMD_LIST elements above this line */ @@ -5613,6 +5615,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ACTIVE_TRAFFIC_MAP_CMDID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_opm_stats_cmd_fixed_param, wmi_request_opm_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_OPM_STATS_CMDID); +/* SAP suspend/resume command */ +#define WMITLV_TABLE_WMI_SET_AP_SUSPEND_RESUME_CMDID(id,op,buf,len) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_set_ap_suspend_resume_cmd_fixed_param, wmi_set_ap_suspend_resume_fixed_param, fixed_param, WMITLV_SIZE_FIX) +WMITLV_CREATE_PARAM_STRUC(WMI_SET_AP_SUSPEND_RESUME_CMDID); + /************************** TLV definitions of WMI events *******************************/ diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 799c2e1c131f..01caa7ccc56d 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -1308,6 +1308,9 @@ typedef enum { /** WMI command to Request Opportunistic Power Mgmt (OPM) stats */ WMI_REQUEST_OPM_STATS_CMDID, + /** WMI command to Request SAP suspend/resume */ + WMI_SET_AP_SUSPEND_RESUME_CMDID, + /* Offload 11k related requests */ WMI_11K_OFFLOAD_REPORT_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_11K_OFFLOAD), @@ -37805,6 +37808,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command) WMI_RETURN_STRING(WMI_PEER_ACTIVE_TRAFFIC_MAP_CMDID); WMI_RETURN_STRING(WMI_REQUEST_OPM_STATS_CMDID); WMI_RETURN_STRING(WMI_SOC_TX_PACKET_CUSTOM_CLASSIFY_CMDID); + WMI_RETURN_STRING(WMI_SET_AP_SUSPEND_RESUME_CMDID); } return (A_UINT8 *) "Invalid WMI cmd"; @@ -48511,6 +48515,17 @@ typedef struct { A_UINT32 pdev_id; /** pdev_id for identifying the MAC */ } wmi_request_opm_stats_cmd_fixed_param; +/* wmi command to suspend SAP vdev */ +typedef struct { + /** TLV tag and len; tag equals + * WMITLV_TAG_STRUC_wmi_set_ap_suspend_resume_cmd_fixed_param */ + A_UINT32 tlv_header; + /* VDEV identifier */ + A_UINT32 vdev_id; /* If 0xFF, find vdevs corresponding to MLD MAC address */ + wmi_mac_addr mld_mac_address; /* MLD MAC address */ + A_UINT32 is_ap_suspend; /* 1 = suspend, 0 = resume */ +} wmi_set_ap_suspend_resume_fixed_param; + /* ADD NEW DEFS HERE */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index bc3c2b585b7c..adf28bee1c98 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1480 +#define __WMI_REVISION_ 1481 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From d66d9e683dc6f0b7afa8d65c28089540ff2d155b Mon Sep 17 00:00:00 2001 From: spuligil Date: Tue, 7 May 2024 02:14:19 -0700 Subject: [PATCH 11/13] fw-api: CL 26614150 - update fw common interface files Change-Id: I60d89bd7f8bf7f4c135e97dfdfb687908e3fd61b CRs-Fixed: 2262693 --- fw/wmi_unified.h | 5 +++++ fw/wmi_version.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 01caa7ccc56d..8b31d9105e9b 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -9632,6 +9632,11 @@ typedef enum { */ WMI_PDEV_PARAM_SCAN_MODE, + /** configure datastall consecutive no ack interval (units = ms) */ + WMI_PDEV_PARAM_DSTALL_CONSECUTIVE_TX_NO_ACK_INTERVAL, + /** configure datastall consecutive no ack threshold */ + WMI_PDEV_PARAM_DSTALL_CONSECUTIVE_TX_NO_ACK_THRESHOLD, + } WMI_PDEV_PARAM; #define WMI_PDEV_ONLY_BSR_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 0, 1) diff --git a/fw/wmi_version.h b/fw/wmi_version.h index adf28bee1c98..de089895ae7a 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1481 +#define __WMI_REVISION_ 1482 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From 7a35833f7d2c0767deb1a7c4e48e8deabab030c2 Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 16 May 2024 02:50:44 -0700 Subject: [PATCH 12/13] fw-api: CL 26642966 - update fw common interface files Change-Id: Ib50fbf4d2435984c24b3eb835a4a77948c59d9dc CRs-Fixed: 2262693 --- fw/wmi_unified.h | 8 ++++++++ fw/wmi_version.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 8b31d9105e9b..844ba6b6ae7b 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -19648,12 +19648,20 @@ typedef struct { A_UINT32 cu_vdev_map_cat2_hi; /* bits 63:32 */ } wmi_prb_resp_tmpl_ml_info; +/** indicates P2P GO only case not replay probe req */ +#define WMI_PRB_TMPL_IGNORE_NONP2P_PRB_REQ 0x1 + typedef struct { A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_prb_tmpl_cmd_fixed_param */ /** unique id identifying the VDEV, generated by the caller */ A_UINT32 vdev_id; /** beacon buffer length. data is in TLV data[] */ A_UINT32 buf_len; + /** flags to control probe tmpl: + * Bit 0: If set, FW should ignore non-P2P probe req + * Bits 31-1: Reserved + */ + A_UINT32 flags; /* * The TLVs follows: * wmi_bcn_prb_info bcn_prb_info; <-- beacon probe capabilities and IEs diff --git a/fw/wmi_version.h b/fw/wmi_version.h index de089895ae7a..4972ce39ff40 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1482 +#define __WMI_REVISION_ 1483 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work From 63fb6de36ea96a6379c5b9ae466445173d961665 Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 16 May 2024 02:56:04 -0700 Subject: [PATCH 13/13] fw-api: CL 26661427 - update fw common interface files Change-Id: I642f33bf012856aba80c9270397c40dd8fff8c01 CRs-Fixed: 2262693 --- fw/wmi_services.h | 2 ++ fw/wmi_unified.h | 11 +++++++++++ fw/wmi_version.h | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index e4badf6d1967..5533050473cf 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -666,6 +666,8 @@ typedef enum { WMI_SERVICE_EPM = 412, /* FW supports enhanced power management */ WMI_SERVICE_CHIPSET_LOGGING_SUPPORT = 413, /* FW supports chipset logging feature */ WMI_SERVICE_SUPPORT_AP_SUSPEND_RESUME = 414, /* FW supports SAP suspend feature */ + WMI_SERVICE_STA_P2P_NDP_CONCURRENCY_SUPPORT = 415, /* FW supports STA + P2P + NAN concurrency */ + WMI_SERVICE_USE_STA_VDEV_FOR_P2P_DEVICE = 416, /* FW supports use of sta vdev to be repurposed for p2p device */ WMI_MAX_EXT2_SERVICE diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 844ba6b6ae7b..f7a2091db0c9 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -6141,6 +6141,7 @@ typedef enum { #define WMI_SCAN_FLAG_EXT_FAST_SCAN 0x00020000 #define WMI_SCAN_FLAG_EXT_LOW_POWER_SCAN 0x00040000 #define WMI_SCAN_FLAG_EXT_STOP_IF_BSSID_FOUND 0x00080000 +#define WMI_SCAN_FLAG_EXT_P2P_SCAN 0x00100000 /** @@ -6346,6 +6347,11 @@ enum wmi_scan_completion_reason { WMI_SCAN_REASON_MAX, }; +#define WMI_SCAN_EVT_IS_SCAN_TYPE_P2P_FLAG_SET(flag, value) \ + WMI_SET_BITS(flag, 0, 1, value) +#define WMI_SCAN_EVT_IS_SCAN_TYPE_P2P_FLAG_GET(flag) \ + WMI_GET_BITS(flag, 0, 1) + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_scan_event_fixed_param */ /** scan event (wmi_scan_event_type) */ @@ -6366,6 +6372,11 @@ typedef struct { * In case of STA not connected it will be the free running HW timer */ A_UINT32 tsf_timestamp; + /** flags: + * Bit[0] - indicate if scan type is for p2p + * Bit[1:31] - reserved + */ + A_UINT32 flags; } wmi_scan_event_fixed_param; /* WMI Diag event */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 4972ce39ff40..0404cc1d09f4 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1483 +#define __WMI_REVISION_ 1484 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work