From 6aab7e8b0a84ea4420118c18f5aa2cdb347e169f Mon Sep 17 00:00:00 2001 From: spuligil Date: Sun, 21 Jun 2020 18:00:58 -0700 Subject: [PATCH] fw-api: CL 10683133 - update fw common interface files Change-Id: I9eba3f2af728ba981be84a8bb2576eecc27be449 WMI: add preamble puncturing support spec and pdev param CRs-Fixed: 2262693 --- fw/wmi_unified.h | 20 ++++++++++++++++++++ fw/wmi_version.h | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index cd56e2f2761b..9c2c77b153d4 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -2833,6 +2833,16 @@ typedef struct { * 0 - not enabled */ A_UINT32 chwidth_num_peer_caps; + + /* + * Whether preamble puncturing is supported by FW, and if so, for which + * bandwidths. The possible values for this field are listed below. + * 0: preamble puncturing is not supported + * 80: puncturing supported within channels of at least 80 MHz bandwidth + * 160: puncturing supported within channels of at least 160 MHz bandwidth + * 320: puncturing supported within 320 MHz channels + */ + A_UINT32 preamble_puncture_bw; } wmi_service_ready_ext2_event_fixed_param; typedef struct { @@ -6818,6 +6828,16 @@ typedef enum { */ WMI_PDEV_PARAM_ENABLE_MBSSID_CTRL_FRAME, + /* + * Parameter to set preamble punctured band as a bitmask, i.e. + * which 20MHz in the 80MHz bandwidth or 40MHz in 160MHz bandwidth. + * E.g. if first 20MHz is the primary and preamble puncturing is + * desired for 3rd 20Mhz, then the host will send 0x0100. + * FW doesn't expect the primary 20MHz to be punctured. + * This param is required only for 11ax release. + */ + WMI_PDEV_PARAM_SET_PREAM_PUNCT_BW, + } 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 5adc74488d80..5a1cecb6233e 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -36,7 +36,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_ 848 +#define __WMI_REVISION_ 849 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work