diff options
author | spuligil <spuligil@codeaurora.org> | 2020-05-15 18:00:43 -0700 |
---|---|---|
committer | nshrivas <nshrivas@codeaurora.org> | 2020-05-22 07:06:25 -0700 |
commit | 4223ec46e5e423535d7fbef591feb323c0bf4967 (patch) | |
tree | af745d5dc3856a30852f9d2e0ccf9ab3ec247990 | |
parent | 8546af56546d1702a337b6a196f47c2af1e69f31 (diff) | |
download | wlan-fw-api-4223ec46e5e423535d7fbef591feb323c0bf4967.tar.gz |
fw-api: CL 10474092 - update fw common interface files
Change-Id: I89e776dbf47873a2d5cc37b66821ac163be97702
WMI: add macros to get/set/clear pdev+vdev Spatial Reuse param bitfields
CRs-Fixed: 2262693
-rw-r--r-- | fw/wmi_unified.h | 17 | ||||
-rw-r--r-- | fw/wmi_version.h | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 7e6069d..d83f78c 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -6818,6 +6818,23 @@ typedef enum { #define WMI_PDEV_LSIG_LEN_DURATION_GET(lsig_len) WMI_GET_BITS(lsig_len, 0, 30) #define WMI_PDEV_LSIG_LEN_DURATION_SET(lsig_len, value) WMI_SET_BITS(lsig_len, 0, 30, value) +#define WMI_PDEV_IS_NON_SRG_ENABLED(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 31, 1) +#define WMI_PDEV_NON_SRG_ENABLE(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 31, 1, 1) +#define WMI_PDEV_NON_SRG_DISABLE(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 31, 1, 0) +#define WMI_PDEV_NON_SRG_PD_THRESHOLD_SET(pd_threshold_cfg, value) WMI_SET_BITS(pd_threshold_cfg, 0, 8, value) +#define WMI_PDEV_NON_SRG_PD_THRESHOLD_GET(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 0, 8) + +#define WMI_PDEV_IS_SRG_ENABLED(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 30, 1) +#define WMI_PDEV_SRG_ENABLE(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 30, 1, 1) +#define WMI_PDEV_SRG_DISABLE(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 30, 1, 0) +#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_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, value) 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_GET(per_ac_cfg, value) WMI_GET_BITS(per_ac_cfg, 16, 4) + typedef struct { A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_set_param_cmd_fixed_param */ /** pdev_id for identifying the MAC diff --git a/fw/wmi_version.h b/fw/wmi_version.h index e291e37..2de031b 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_ 838 +#define __WMI_REVISION_ 839 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |