diff --git a/fw/htt_stats.h b/fw/htt_stats.h index 876abea2aeec..927d41dd81c6 100644 --- a/fw/htt_stats.h +++ b/fw/htt_stats.h @@ -2927,7 +2927,7 @@ typedef struct { A_UINT32 ul_ofdma_rx_bw[HTT_TX_PDEV_STATS_NUM_BW_COUNTERS]; A_UINT32 ul_ofdma_rx_stbc; A_UINT32 ul_ofdma_rx_ldpc; - + /* record the stats for each user index */ A_UINT32 rx_ulofdma_non_data_ppdu[HTT_RX_PDEV_MAX_OFDMA_NUM_USER]; /* ppdu level */ A_UINT32 rx_ulofdma_data_ppdu[HTT_RX_PDEV_MAX_OFDMA_NUM_USER]; /* ppdu level */ diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index 1433c64e4c5f..e54b37d6fcbc 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -943,6 +943,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_ndp_event_param, WMITLV_TAG_STRUC_wmi_pdev_pktlog_filter_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_pdev_pktlog_filter_info, + WMITLV_TAG_STRUC_wmi_quiet_offload_info, } WMITLV_TAG_ID; /* @@ -4258,7 +4259,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_BUF_RELEASE_EVENTID); #define WMITLV_TABLE_WMI_HOST_SWBA_EVENTID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_host_swba_event_fixed_param, wmi_host_swba_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tim_info, tim_info, WMITLV_SIZE_VAR) \ - WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_VAR) + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_VAR) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_quiet_offload_info, quiet_offload_info, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWBA_EVENTID); diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 98d173c7768b..2205aba30e96 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -4452,12 +4452,18 @@ typedef struct { /* * START_STOP flag value: 1 - Start, 0 - Stop */ -#define WMI_OFFLOAD_QUIET_FLAG_START_STOP 0x00000001 +#define WMI_OFFLOAD_QUIET_FLAG_START_STOP 0x00000001 /* * ONE_SHOT flag value: 1 - One shot, 0 - Repeat * This flag is only relevant if the START_STOP flag == 1 (start). */ -#define WMI_OFFLOAD_QUIET_FLAG_ONE_SHOT 0x00000002 +#define WMI_OFFLOAD_QUIET_FLAG_ONE_SHOT 0x00000002 +/* + * Enable/Disable sending Quiet IE info in SWBA event from the target + * 0 - Don't include Quiet IE in WMI SWBA Event + * 1 - Include Quiet IE in WMI SWBA Event + */ +#define WMI_OFFLOAD_QUIET_FLAG_INFO_IN_SWBA_START_STOP 0x00000004 typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_bcn_offload_quiet_config_cmd_fixed_param */ @@ -9970,6 +9976,15 @@ typedef struct { A_UINT32 vdev_id; } wmi_p2p_noa_info; +typedef struct { + A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_quiet_offload_info */ + A_UINT32 vdev_id; /* unique id identifying the VDEV */ + A_UINT8 tbttcount; /* quiet start */ + A_UINT8 period; /* beacon intervals between quiets */ + A_UINT16 duration; /* TUs of each quiet */ + A_UINT16 offset; /* TUs of from TBTT of quiet start */ +} wmi_quiet_offload_info; + #define WMI_UNIFIED_NOA_ATTR_MODIFIED 0x1 #define WMI_UNIFIED_NOA_ATTR_MODIFIED_S 0 @@ -10040,6 +10055,7 @@ typedef struct { /* This TLV is followed by tim_info and p2p_noa_info for each vdev: * wmi_tim_info tim_info[]; * wmi_p2p_noa_info p2p_noa_info[]; + * wmi_quiet_offload_info quiet_offload_info[0/1]; * */ } wmi_host_swba_event_fixed_param; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index f4b16bf55f29..75c702cf4713 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_ 596 +#define __WMI_REVISION_ 597 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work