wlan: Add INFO logs in mcast/bcast filtering code.
Add info level logs for ARP, NS offload.
Change-Id: I65943d4428f724c39142d1371c04541fcaba7d83
CRs-Fixed: 880526
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 06e81c3..37a258b 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -1200,6 +1200,7 @@
* disable Broadcast filtering, Anding with the negation
* of Broadcast BIT
*/
+ hddLog(VOS_TRACE_LEVEL_INFO, FL(" ARP offload is enabled"));
*pMcBcFilter &= ~(HDD_MCASTBCASTFILTER_FILTER_ALL_BROADCAST);
}
@@ -1211,6 +1212,7 @@
* disable Multicast filtering, Anding with the negation
* of Multicast BIT
*/
+ hddLog(VOS_TRACE_LEVEL_INFO, FL(" NS offload is enabled"));
*pMcBcFilter &= ~(HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST);
}
#endif
@@ -1228,7 +1230,7 @@
eHalStatus halStatus = eHAL_STATUS_FAILURE;
tpSirWlanSetRxpFilters wlanRxpFilterParam =
vos_mem_malloc(sizeof(tSirWlanSetRxpFilters));
- if(NULL == wlanRxpFilterParam)
+ if (NULL == wlanRxpFilterParam)
{
hddLog(VOS_TRACE_LEVEL_FATAL,
"%s: vos_mem_alloc failed ", __func__);
@@ -1252,7 +1254,9 @@
halStatus = sme_ConfigureRxpFilter(pHddCtx->hHal, wlanRxpFilterParam);
if (setfilter && (eHAL_STATUS_SUCCESS == halStatus))
+ {
pHddCtx->hdd_mcastbcast_filter_set = TRUE;
+ }
hddLog(VOS_TRACE_LEVEL_INFO, "%s to post set/reset filter to"
"lower mac with status %d"