فهرست منبع

qcacld-3.0: Change max value of burst_dur ioctl

Currently the burst_dur private ioctl enforces a maximum limit of
8192.  Per firmware team define the max as 102400 (for 100 ms or a
normal beacon interval).

Change-Id: I3f01b06ad047f7b972e649c798e4a507fcc55755
CRs-Fixed: 1050791
Jeff Johnson 8 سال پیش
والد
کامیت
da5ee77d30
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      core/hdd/src/wlan_hdd_wext.c

+ 1 - 1
core/hdd/src/wlan_hdd_wext.c

@@ -5642,7 +5642,7 @@ static int __iw_setint_getnone(struct net_device *dev,
 	case WE_SET_BURST_DUR:
 	{
 		hdd_notice("SET Burst duration val %d", set_value);
-		if ((set_value > 0) && (set_value <= 8192))
+		if ((set_value > 0) && (set_value <= 102400))
 			ret = wma_cli_set_command(pAdapter->sessionId,
 						  WMI_PDEV_PARAM_BURST_DUR,
 						  set_value,  PDEV_CMD);