Browse Source

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
wadesong 7 years ago
parent
commit
8abb30d292
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_wext.c

+ 1 - 1
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);