diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 67e68e01fa1c..e7c546e21d01 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -9599,6 +9599,11 @@ typedef struct { * and WMI_VDEV_START_REQUEST_CMD. Based on this parameter need to make decision like * vdev Pause/Unpause at WMI_VDEV_START_REQUEST_CMD. */ +/* get/set/check macros for VDEV_FLAGS_SCAN_MODE_VAP flag */ +#define WMI_SCAN_MODE_VDEV_FLAG_GET(flag) WMI_GET_BITS(flag, 4, 1) +#define WMI_SCAN_MODE_VDEV_FLAG_SET(flag, val) WMI_SET_BITS(flag, 4, 1, val) + +#define WMI_SCAN_MODE_VDEV_FLAG_ENABLED(flag) ((flag & VDEV_FLAGS_SCAN_MODE_VAP) ? 1 : 0) typedef struct { A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_create_cmd_fixed_param */ @@ -10397,6 +10402,7 @@ typedef struct { * VDEV_FLAGS_TRANSMIT_AP * VDEV_FLAGS_NON_TRANSMIT_AP * VDEV_FLAGS_EMA_MODE + * VDEV_FLAGS_SCAN_MODE_VAP - if the vdev is used for scan radio */ A_UINT32 mbss_capability_flags; @@ -26020,8 +26026,12 @@ typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_WMI_SCAN_RADIO_CAPABILITIES_EXT2 */ A_UINT32 phy_id; /* - * [0] 1 - SCAN_RADIO supported 0 - SCAN_RADIO not supported - * [1] 1 - DFS enabled 0 - DFS disabled + * Bit 0: + * 1 - SCAN_RADIO supported 0 - SCAN_RADIO not supported + * Refer to WMI_SCAN_RADIO_CAP_SCAN_RADIO_FLAG_SET, GET macros + * Bit 1: + * 1 - DFS enabled 0 - DFS disabled + * Refer to WMI_SCAN_RADIO_CAP_DFS_FLAG_SET, GET macros * [2:31] reserved */ A_UINT32 flags; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 58516ac33cc6..4bedb37c3728 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_ 880 +#define __WMI_REVISION_ 881 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work