From f31b24105bd65287845361ce60173b46b95d3633 Mon Sep 17 00:00:00 2001 From: Anirban Sirkhell Date: Fri, 14 Apr 2017 10:02:39 +0800 Subject: [PATCH] qcacmn: set txpow for frame and subframe command:- 1. "iwpriv athx s_txpow param1 param2" 2. "iwpriv athx g_txpow param1" param1 = frame_type<<8+frame_subtype param2 is power_value if subtype == 0xff means set all subtype of that frame type Change-Id: I8c68e1ca6a5829a3f0cf01b2c32c3332e1010243 CRs-Fixed: 2175241 --- dp/inc/cdp_txrx_stats_struct.h | 6 ++---- wmi/inc/wmi_unified_param.h | 1 + wmi/src/wmi_unified_non_tlv.c | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dp/inc/cdp_txrx_stats_struct.h b/dp/inc/cdp_txrx_stats_struct.h index a00ad5202587..5c7bda2f25a4 100644 --- a/dp/inc/cdp_txrx_stats_struct.h +++ b/dp/inc/cdp_txrx_stats_struct.h @@ -473,19 +473,17 @@ enum _ol_ath_param_t { #if DBDC_REPEATER_SUPPORT OL_ATH_PARAM_DELAY_STAVAP_UP = 324, #endif - /* Can be used to configure transmit power for management frames */ - OL_ATH_PARAM_TXPOW_MGMT = 326, /* It is used to set the channel switch options */ OL_ATH_PARAM_CHANSWITCH_OPTIONS = 327, OL_ATH_BTCOEX_ENABLE = 328, OL_ATH_BTCOEX_WL_PRIORITY = 329, OL_ATH_PARAM_TID_OVERRIDE_QUEUE_MAPPING = 330, OL_ATH_PARAM_CAL_VER_CHECK = 331, - OL_ATH_PARAM_NO_VLAN = 332, + OL_ATH_PARAM_NO_VLAN = 332, OL_ATH_PARAM_CCA_THRESHOLD = 333, OL_ATH_PARAM_ATF_LOGGING = 334, OL_ATH_PARAM_STRICT_DOTH = 335, - OL_ATH_PARAM_DISCONNECTION_TIMEOUT = 336, + OL_ATH_PARAM_DISCONNECTION_TIMEOUT = 336, OL_ATH_PARAM_RECONFIGURATION_TIMEOUT = 337, OL_ATH_PARAM_CHANNEL_SWITCH_COUNT = 338, OL_ATH_PARAM_ALWAYS_PRIMARY = 339, diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index aeafeb6f004f..ccb102b8ec48 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -5822,6 +5822,7 @@ typedef enum { wmi_vdev_param_disable_cabq, wmi_vdev_param_rate_dropdown_bmap, + wmi_vdev_param_tx_power, wmi_vdev_param_max, } wmi_conv_vdev_param_id; diff --git a/wmi/src/wmi_unified_non_tlv.c b/wmi/src/wmi_unified_non_tlv.c index 73f57b335aa7..51e288d8f74e 100644 --- a/wmi/src/wmi_unified_non_tlv.c +++ b/wmi/src/wmi_unified_non_tlv.c @@ -9288,6 +9288,7 @@ static void populate_vdev_param_non_tlv(uint32_t *vdev_param) vdev_param[wmi_vdev_param_capabilities] = WMI_VDEV_PARAM_CAPABILITIES; vdev_param[wmi_vdev_param_mgmt_tx_power] = WMI_VDEV_PARAM_MGMT_TX_POWER; + vdev_param[wmi_vdev_param_tx_power] = WMI_VDEV_PARAM_TX_POWER; vdev_param[wmi_vdev_param_atf_ssid_sched_policy] = WMI_VDEV_PARAM_ATF_SSID_SCHED_POLICY; vdev_param[wmi_vdev_param_disable_dyn_bw_rts] =