wlan: SAP: Send the probe resp template when WPS is enabled.

Currently driver sends the probe resp template only when
WPS is disabled.
When WPS is enabled, host does not send the probe resp template
and processes all the probe request coming from STA.
FW wakes up the APPS even when the WPS IE is not present in
the probe request and this leads to more power consumption.

So changes are made to send the probe resp template to FW
for WPS enabled case also.
1) FW will process the probe request
and will send the probe response if there is no WPS IE in
probe request and FW will not wake up APPS.
2) When WPS is disabled on SAP and probe request contains
WPS IE, then FW will check the probe response template
for WPS IE.If not found, then FW will send the probe
response.If found, then FW will send the probe request
to Host and host will send the probe response.

Change-Id: I7bd6c7040ad386fcab607312833a6a754b26b5c2
CRs-Fixed: 762544
diff --git a/CORE/MAC/src/pe/sch/schBeaconGen.c b/CORE/MAC/src/pe/sch/schBeaconGen.c
index 1dee68f..13a7046 100644
--- a/CORE/MAC/src/pe/sch/schBeaconGen.c
+++ b/CORE/MAC/src/pe/sch/schBeaconGen.c
@@ -274,7 +274,9 @@
     ptr    = pMac->sch.schObject.gSchBeaconFrameBegin + offset;
 
     if((psessionEntry->limSystemRole == eLIM_AP_ROLE) 
-        && (psessionEntry->proxyProbeRspEn))
+        && ((psessionEntry->proxyProbeRspEn)
+        || (IS_FEATURE_SUPPORTED_BY_FW(WPS_PRBRSP_TMPL)))
+      )
     {
         /* Initialize the default IE bitmap to zero */
         vos_mem_set(( tANI_U8* )&(psessionEntry->DefProbeRspIeBitmap), (sizeof( tANI_U32 ) * 8), 0);
@@ -408,7 +410,9 @@
     }
 
     if((psessionEntry->limSystemRole == eLIM_AP_ROLE) 
-        && (psessionEntry->proxyProbeRspEn))
+        && ((psessionEntry->proxyProbeRspEn)
+        || (IS_FEATURE_SUPPORTED_BY_FW(WPS_PRBRSP_TMPL)))
+      )
     {
         /* Can be efficiently updated whenever new IE added  in Probe response in future */
         limUpdateProbeRspTemplateIeBitmapBeacon2(pMac,pBcn2,&psessionEntry->DefProbeRspIeBitmap[0],