fw-api: CL 11373368 - update fw common interface files

Change-Id: I4d4898b8972aad63160e68a8d150e0dcf528e668
WMI: flag to show if spatial reuse power threshold has dB or dBm units
CRs-Fixed: 2262693
此提交包含在:
spuligil
2020-08-25 03:39:32 -07:00
父節點 ca1e3f3796
當前提交 1e4920e9db
共有 2 個檔案被更改,包括 22 行新增3 行删除

查看文件

@@ -6825,11 +6825,19 @@ typedef enum {
* allow spatial reuse only if the RSSI detected from neighboring * allow spatial reuse only if the RSSI detected from neighboring
* BSS cells is no more than 10 dB. * BSS cells is no more than 10 dB.
* *
* If Bit 29 is set, then input value will be in dBm. This is used
* for chipsets that uses dBm for comparision across MAC/Phy blocks.
* Older chipsets support input in dB units. For newer chipsets, dBm
* units will be used.
* The host will use the WMI_SERVICE_SRG_SRP_SPATIAL_REUSE_SUPPORT
* service ready bit to differentiate between providing input as dB or dBm.
*
* bit | purpose * bit | purpose
* ----------------- * -----------------
* 0 - 7 | Param Value for non-SRG based Spatial Reuse * 0 - 7 | Param Value for non-SRG based Spatial Reuse
* 8 - 15| Param value for SRG based Spatial Reuse * 8 - 15| Param value for SRG based Spatial Reuse
* 16 - 29| Reserved * 16 - 28| Reserved
* 29 | Param value is in dBm units rather than dB units
* 30 | Enable/Disable SRG based spatial reuse. * 30 | Enable/Disable SRG based spatial reuse.
* | If set to 0, ignore bits 8-15. * | If set to 0, ignore bits 8-15.
* 31 | Enable/Disable Non-SRG based spatial reuse. * 31 | Enable/Disable Non-SRG based spatial reuse.
@@ -6992,6 +7000,9 @@ typedef enum {
#define WMI_PDEV_SRG_PD_THRESHOLD_SET(pd_threshold_cfg, value) WMI_SET_BITS(pd_threshold_cfg, 8, 8, value) #define WMI_PDEV_SRG_PD_THRESHOLD_SET(pd_threshold_cfg, value) WMI_SET_BITS(pd_threshold_cfg, 8, 8, value)
#define WMI_PDEV_SRG_PD_THRESHOLD_GET(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 8, 8) #define WMI_PDEV_SRG_PD_THRESHOLD_GET(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 8, 8)
#define WMI_PDEV_IS_PD_THRESHOLD_IN_DBM(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 29, 1)
#define WMI_PDEV_SET_PD_THRESHOLD_IN_DBM(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 29, 1, 1)
#define WMI_PDEV_OBSS_PD_ENABLE_PER_AC_SET(per_ac_cfg, value) WMI_SET_BITS(per_ac_cfg, 0, 4, value) #define WMI_PDEV_OBSS_PD_ENABLE_PER_AC_SET(per_ac_cfg, value) WMI_SET_BITS(per_ac_cfg, 0, 4, value)
#define WMI_PDEV_OBSS_PD_ENABLE_PER_AC_GET(per_ac_cfg) WMI_GET_BITS(per_ac_cfg, 0, 4) #define WMI_PDEV_OBSS_PD_ENABLE_PER_AC_GET(per_ac_cfg) WMI_GET_BITS(per_ac_cfg, 0, 4)
#define WMI_PDEV_SRP_ENABLE_PER_AC_SET(per_ac_cfg, value) WMI_SET_BITS(per_ac_cfg, 16, 4, value) #define WMI_PDEV_SRP_ENABLE_PER_AC_SET(per_ac_cfg, value) WMI_SET_BITS(per_ac_cfg, 16, 4, value)
@@ -11392,11 +11403,19 @@ typedef enum {
* allow spatial reuse only if the RSSI detected from neighboring * allow spatial reuse only if the RSSI detected from neighboring
* BSS cells is no more than 10 dB. * BSS cells is no more than 10 dB.
* *
* If Bit 29 is set, then input value will be in dBm. This is used
* for chipsets that uses dBm for comparision across MAC/Phy blocks.
* Older chipsets support input in dB units. For newer chipsets, dBm
* units will be used.
* The host will use the WMI_SERVICE_SRG_SRP_SPATIAL_REUSE_SUPPORT
* service ready bit to differentiate between providing input as dB or dBm.
*
* bit | purpose * bit | purpose
* ----------------- * -----------------
* 0 - 7 | Param Value for non-SRG based Spatial Reuse * 0 - 7 | Param Value for non-SRG based Spatial Reuse
* 8 - 15| Param value for SRG based Spatial Reuse * 8 - 15| Param value for SRG based Spatial Reuse
* 16 - 29| Reserved * 16 - 28| Reserved
* 29 | Param value is in dBm units rather than dB units
* 30 | Enable/Disable SRG based spatial reuse. * 30 | Enable/Disable SRG based spatial reuse.
* | If set to 0, ignore bits 8-15. * | If set to 0, ignore bits 8-15.
* 31 | Enable/Disable Non-SRG based spatial reuse. * 31 | Enable/Disable Non-SRG based spatial reuse.

查看文件

@@ -36,7 +36,7 @@
#define __WMI_VER_MINOR_ 0 #define __WMI_VER_MINOR_ 0
/** WMI revision number has to be incremented when there is a /** WMI revision number has to be incremented when there is a
* change that may or may not break compatibility. */ * change that may or may not break compatibility. */
#define __WMI_REVISION_ 883 #define __WMI_REVISION_ 884
/** The Version Namespace should not be normally changed. Only /** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work * host and firmware of the same WMI namespace will work