From 80c475929ec79a96a20b6f800c3229a0bb5b1317 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Mon, 16 Dec 2019 14:35:47 -0800 Subject: [PATCH] qcacmn: Increase SCAN_PNO_MAX_NETW_CHANNELS_EX macro to 100 PNO scan is failing to start because it is coming with 97 channels but the current max number of channels in PNO scan is 60. To allow for a larger number of channels, increase SCAN_PNO_MAX_NETW_CHANNELS_EX to 100. Change-Id: I3ac08f83f9f500899656caf48c112c33580cef70 CRs-Fixed: 2585685 --- umac/scan/dispatcher/inc/wlan_scan_public_structs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/scan/dispatcher/inc/wlan_scan_public_structs.h b/umac/scan/dispatcher/inc/wlan_scan_public_structs.h index fde2a5a55ad0..dba119998832 100644 --- a/umac/scan/dispatcher/inc/wlan_scan_public_structs.h +++ b/umac/scan/dispatcher/inc/wlan_scan_public_structs.h @@ -1246,7 +1246,7 @@ enum scan_cb_type { /* Set PNO */ #define SCAN_PNO_MAX_PLAN_REQUEST 2 -#define SCAN_PNO_MAX_NETW_CHANNELS_EX 60 +#define SCAN_PNO_MAX_NETW_CHANNELS_EX (QDF_MAX_NUM_CHAN) #define SCAN_PNO_MAX_SUPP_NETWORKS 16 #define SCAN_PNO_DEF_SLOW_SCAN_MULTIPLIER 6 #define SCAN_PNO_DEF_SCAN_TIMER_REPEAT 20