From 8abb30d292d792ecda247ec5e5e605cdd8b7da62 Mon Sep 17 00:00:00 2001 From: wadesong Date: Wed, 11 Apr 2018 10:55:14 +0800 Subject: [PATCH] qcacld-3.0: Add support for SIFS burst enabling through iwpriv When CLD3.2 driver is setting pdev burst mode to FW, 3 possible values are supported: 0: disabled 1: enabled for legacy burst 3: enabled for SIFS burst but the iwpriv command handling code only supports setting 0 or 1 to FW. Add value checking for WE_SET_BURST_ENABLE to support setting 3 to FW. Change-Id: I35506b83d584f6e8d066adfc43df8dd03ce54661 CRs-Fixed: 2214992 --- core/hdd/src/wlan_hdd_wext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 2ae3b67a7852..ecdaa82f511e 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -4758,7 +4758,7 @@ static int __iw_setint_getnone(struct net_device *dev, case WE_SET_BURST_ENABLE: { hdd_debug("SET Burst enable val %d", set_value); - if ((set_value == 0) || (set_value == 1)) { + if ((set_value == 0) || (set_value == 1) || (set_value == 3)) { ret = wma_cli_set_command(adapter->session_id, WMI_PDEV_PARAM_BURST_ENABLE, set_value, PDEV_CMD);