wlan: Logging Enhancement.
As a part of logging enhancement added
info level print for various flags related
to the multicast broadcast filtering,ARP and
NS offload.
Change-Id: I36e0920329de15188a0a250ce86190ce974d4123
CRs-Fixed: 658424
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 9c5590a..c1bd18b 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -507,6 +507,8 @@
{
pHddCtx->sus_res_mcastbcast_filter =
pHddCtx->configuredMcastBcastFilter;
+ hddLog(LOG1, FL("saving configuredMcastBcastFilter = %d"),
+ pHddCtx->sus_res_mcastbcast_filter);
pHddCtx->sus_res_mcastbcast_filter_valid = VOS_TRUE;
}
@@ -914,11 +916,11 @@
(WDA_IS_MCAST_FLT_ENABLE_IN_FW &&
!(pHddCtx->cfg_ini->fEnableMCAddrList))))
{
- hddLog (VOS_TRACE_LEVEL_INFO,
- FL("Set offLoadRequest with "
- "SIR_OFFLOAD_NS_AND_MCAST_FILTER_ENABLE"));
offLoadRequest.enableOrDisable =
SIR_OFFLOAD_NS_AND_MCAST_FILTER_ENABLE;
+ hddLog (VOS_TRACE_LEVEL_INFO,
+ FL("Set offLoadRequest with %d"),
+ offLoadRequest.enableOrDisable);
}
vos_mem_copy(&offLoadRequest.params.hostIpv6Addr,
@@ -1008,6 +1010,8 @@
{
pHddCtx->sus_res_mcastbcast_filter =
pHddCtx->configuredMcastBcastFilter;
+ hddLog(LOG1, FL("saving configuredMcastBcastFilter = %d"),
+ pHddCtx->sus_res_mcastbcast_filter);
pHddCtx->sus_res_mcastbcast_filter_valid = VOS_TRUE;
}
@@ -1306,7 +1310,9 @@
//Configure supported OffLoads
hdd_conf_hostoffload(pAdapter, TRUE);
wlanSuspendParam->configuredMcstBcstFilterSetting = pHddCtx->configuredMcastBcastFilter;
-
+ hddLog(VOS_TRACE_LEVEL_INFO,
+ FL("saving configuredMcastBcastFilterSetting = %d"),
+ wlanSuspendParam->configuredMcstBcstFilterSetting);
#ifdef WLAN_FEATURE_PACKET_FILTERING
/* During suspend, configure MC Addr list filter to the firmware
* function takes care of checking necessary conditions before