Browse Source

qcacmn: Add command support for UL PPDU duration

Add the WMI PDEV param 'wmi_pdev_param_ul_ppdu_duration' to
add command support to modify the UL PPDU duration.

Change-Id: If2f8ef02d4f992d91fa745599d5c08b1dfccceca
CRs-fixed: 2393139
Rhythm Patwa 6 years ago
parent
commit
14b2e1c89b
3 changed files with 5 additions and 0 deletions
  1. 1 0
      dp/inc/cdp_txrx_stats_struct.h
  2. 2 0
      wmi/inc/wmi_unified_param.h
  3. 2 0
      wmi/src/wmi_unified_tlv.c

+ 1 - 0
dp/inc/cdp_txrx_stats_struct.h

@@ -1567,6 +1567,7 @@ enum _ol_ath_param_t {
 	OL_ATH_PARAM_BW_REDUCE = 400,
 	/* Enable/disable Spatial Reuse */
 	OL_ATH_PARAM_HE_SR = 401,
+	OL_ATH_PARAM_HE_UL_PPDU_DURATION = 402,
 };
 
 /* Enumeration of PDEV Configuration parameter */

+ 2 - 0
wmi/inc/wmi_unified_param.h

@@ -4882,6 +4882,8 @@ typedef enum {
 	wmi_pdev_param_enable_peer_retry_stats,
 	wmi_pdev_param_ul_trig_int,
 	wmi_pdev_param_sub_channel_marking,
+	wmi_pdev_param_ul_ppdu_duration,
+
 	wmi_pdev_param_max,
 } wmi_conv_pdev_params_id;
 

+ 2 - 0
wmi/src/wmi_unified_tlv.c

@@ -11947,6 +11947,8 @@ static void populate_pdev_param_tlv(uint32_t *pdev_param)
 				WMI_PDEV_PARAM_SET_UL_BSR_TRIG_INTERVAL;
 	pdev_param[wmi_pdev_param_sub_channel_marking] =
 				WMI_PDEV_PARAM_SUB_CHANNEL_MARKING;
+	pdev_param[wmi_pdev_param_ul_ppdu_duration] =
+				WMI_PDEV_PARAM_SET_UL_PPDU_DURATION;
 }
 
 /**