From 851a27849bb23da423ebe190b6009797fbbe397e Mon Sep 17 00:00:00 2001 From: Rhythm Patwa Date: Thu, 31 Jan 2019 18:39:40 -0800 Subject: [PATCH] qcacmn: Add command support for NAV configuration Add command support for NAV register update and configuration of the threshold value. Change-Id: Idbdb030f75dc98db652e6b53604a3ceaaff1106b CRs-fixed: 2389803 --- wmi/inc/wmi_unified_param.h | 1 + wmi/src/wmi_unified_tlv.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index e8cfa81cb90d..5e562b6dc1cb 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -4988,6 +4988,7 @@ typedef enum { wmi_pdev_param_ul_ppdu_duration, wmi_pdev_param_equal_ru_allocation_enable, wmi_pdev_param_per_peer_prd_cfr_enable, + wmi_pdev_param_nav_override_config, 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 2d2676b80770..c953076bb9ab 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -12393,6 +12393,8 @@ static void populate_pdev_param_tlv(uint32_t *pdev_param) WMI_PDEV_PARAM_EQUAL_RU_ALLOCATION_ENABLE; pdev_param[wmi_pdev_param_per_peer_prd_cfr_enable] = WMI_PDEV_PARAM_PER_PEER_PERIODIC_CFR_ENABLE; + pdev_param[wmi_pdev_param_nav_override_config] = + WMI_PDEV_PARAM_NAV_OVERRIDE_CONFIG; } /**