wlan: Reduce size of PNO command in SME command list.
SME PNO command arguments has statically allocated memory,
because of this SME command list size has increased which
is leading to memory exhaustion.
Hence make PNO command arguments as pointers.
Change-Id: I9bac3871944fd08a4e56bfd4c354aec757f46973
CRs-Fixed: 798854.
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index 3ef2b03..aee8e1f 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -3772,14 +3772,14 @@
void *callbackContext;
eSirPNOMode modePNO;
tANI_U8 ucNetworksCount;
- tSirNetworkType aNetworks[SIR_PNO_MAX_SUPP_NETWORKS];
+ tSirNetworkType *aNetworks;
tSirScanTimersType scanTimers;
/*added by SME*/
tANI_U16 us24GProbeTemplateLen;
- tANI_U8 p24GProbeTemplate[SIR_PNO_MAX_PB_REQ_SIZE];
+ tANI_U8 *p24GProbeTemplate;
tANI_U16 us5GProbeTemplateLen;
- tANI_U8 p5GProbeTemplate[SIR_PNO_MAX_PB_REQ_SIZE];
+ tANI_U8 *p5GProbeTemplate;
} tSirPNOScanReq, *tpSirPNOScanReq;
typedef struct sSirSetRSSIFilterReq