From ce4c4a6f1e50e7e7e468ee76e92d4ea3dcb8911a Mon Sep 17 00:00:00 2001 From: Rhythm Patwa Date: Mon, 25 Jun 2018 22:57:27 -0700 Subject: [PATCH] qcacmn: Add wmi_pdev param for WMI_PDEV_PARAM_EQUAL_RU_ALLOCATION_ENABLE Add the WMI PDEV param 'wmi_pdev_param_equal_ru_allocation_enable' to add command support. Change-Id: If9dde1277ea70687f7a62815b1f97fd1f60acaf0 CRs-fixed: 2247588 --- dp/inc/cdp_txrx_stats_struct.h | 2 ++ wmi/inc/wmi_unified_param.h | 1 + wmi/src/wmi_unified_tlv.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/dp/inc/cdp_txrx_stats_struct.h b/dp/inc/cdp_txrx_stats_struct.h index a567f39366..404847f2f8 100644 --- a/dp/inc/cdp_txrx_stats_struct.h +++ b/dp/inc/cdp_txrx_stats_struct.h @@ -1568,6 +1568,8 @@ enum _ol_ath_param_t { /* Enable/disable Spatial Reuse */ OL_ATH_PARAM_HE_SR = 401, OL_ATH_PARAM_HE_UL_PPDU_DURATION = 402, + OL_ATH_PARAM_HE_UL_RU_ALLOCATION = 403, + }; /* Enumeration of PDEV Configuration parameter */ diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 0fdb80a642..d1e55d4eaa 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -4883,6 +4883,7 @@ typedef enum { wmi_pdev_param_ul_trig_int, wmi_pdev_param_sub_channel_marking, wmi_pdev_param_ul_ppdu_duration, + wmi_pdev_param_equal_ru_allocation_enable, wmi_pdev_param_max, } wmi_conv_pdev_params_id; diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 94dad61af0..bbb70edd31 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -11949,6 +11949,8 @@ static void populate_pdev_param_tlv(uint32_t *pdev_param) WMI_PDEV_PARAM_SUB_CHANNEL_MARKING; pdev_param[wmi_pdev_param_ul_ppdu_duration] = WMI_PDEV_PARAM_SET_UL_PPDU_DURATION; + pdev_param[wmi_pdev_param_equal_ru_allocation_enable] = + WMI_PDEV_PARAM_EQUAL_RU_ALLOCATION_ENABLE; } /**