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
This commit is contained in:
wadesong 2018-04-11 10:55:14 +08:00 • committed by nshrivas
commit 8abb30d292

View file

@ -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);