diff options
| author | spuligil <spuligil@codeaurora.org> | 2019-11-26 06:01:56 -0800 |
|---|---|---|
| committer | spuligil <spuligil@codeaurora.org> | 2019-11-26 06:01:56 -0800 |
| commit | a75ec80dc4223f9f64b24092f52f6fbfc145f8c4 (patch) | |
| tree | 4c01ad0a3f2214449fd6fb4d26d7ef0027d3e0a6 | |
| parent | caf062780e02727aec673a8c98e4c421b2e8c0e7 (diff) | |
fw-api: CL 8890559 - update fw common interface files
Change-Id: I80f6e850bbafac0091217afeb25c11dd101b2643
WMI: add ranging initiator/responder flags in NAN_HOST_CONFIG msg
CRs-Fixed: 2262693
| -rwxr-xr-x | fw/wmi_unified.h | 11 | ||||
| -rwxr-xr-x | fw/wmi_version.h | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 686e7968bec4..33788a610e74 100755 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -18108,11 +18108,22 @@ typedef struct { */ } wmi_nan_cmd_param; +#define WMI_NAN_GET_RANGING_INITIATOR_ROLE(flag) WMI_GET_BITS(flag, 0, 1) +#define WMI_NAN_SET_RANGING_INITIATOR_ROLE(flag, val) WMI_SET_BITS(flag, 0, 1, val) +#define WMI_NAN_GET_RANGING_RESPONDER_ROLE(flag) WMI_GET_BITS(flag, 1, 1) +#define WMI_NAN_SET_RANGING_RESPONDER_ROLE(flag, val) WMI_SET_BITS(flag, 1, 1, val) + typedef struct { A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_nan_host_config_param */ A_UINT32 nan_2g_disc_disable:1; /** This bit when set to 1 indicate NAN 2G discovery should be disabled */ A_UINT32 nan_5g_disc_disable:1; /** This bit when set to 1 indicate NAN 5G discovery should be disabled */ A_UINT32 reserved:30; + /** Flags: refer to WMI_NAN_GET/SET macros + * Bit 0 -> Nan ranging initiator role (0 - Disable, 1 - Enable) + * Bit 1 -> Nan ranging responder role (0 - Disable, 1 - Enable) + * Bits 2-31 -> Reserved + */ + A_UINT32 flags; } wmi_nan_host_config_param_PROTOTYPE; #define wmi_nan_host_config_param wmi_nan_host_config_param_PROTOTYPE diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 3e09f9ccf4cb..1b3c1f1b9367 100755 --- 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_ 747 +#define __WMI_REVISION_ 748 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
