qcacld-3.0: Revive the WoW wakeup logs to appear in kmsg

In the earlier generation of product or qcacld-3.0 code,
the wow related logs which helps debug which is the packet
waking up the APPS used to appear in kmsg and hence part of
the bugreport.

Now in the recent code base, this log is moved to LOGD
which appears in cnss_diag, with this change the ask is
to revive the same logs to appear in kmsg instead of
cnss_diag logs.

Hence move these from Debug to Info. INFO logs appear in kmsg.

Change-Id: Iefcd362209f3f2276d0c2ac53359e0f325122f95
CRs-Fixed: 2225547
This commit is contained in:
Srinivas Girigowda 2018-05-07 16:16:27 -07:00 committed by nshrivas
parent 44cff5c444
commit e1be8779ca

View File

@ -2256,7 +2256,7 @@ static void wma_log_pkt_ipv4(uint8_t *data, uint32_t length)
ip_addr[2], ip_addr[3]);
src_port = *(uint16_t *)(data + IPV4_SRC_PORT_OFFSET);
dst_port = *(uint16_t *)(data + IPV4_DST_PORT_OFFSET);
WMA_LOGD("Pkt_len: %u, src_port: %u, dst_port: %u",
WMA_LOGI("Pkt_len: %u, src_port: %u, dst_port: %u",
qdf_cpu_to_be16(pkt_len),
qdf_cpu_to_be16(src_port),
qdf_cpu_to_be16(dst_port));
@ -2287,7 +2287,7 @@ static void wma_log_pkt_ipv6(uint8_t *data, uint32_t length)
ip_addr[15]);
src_port = *(uint16_t *)(data + IPV6_SRC_PORT_OFFSET);
dst_port = *(uint16_t *)(data + IPV6_DST_PORT_OFFSET);
WMA_LOGD("Pkt_len: %u, src_port: %u, dst_port: %u",
WMA_LOGI("Pkt_len: %u, src_port: %u, dst_port: %u",
qdf_cpu_to_be16(pkt_len),
qdf_cpu_to_be16(src_port),
qdf_cpu_to_be16(dst_port));
@ -2423,7 +2423,7 @@ static void wma_wow_parse_data_pkt(t_wma_handle *wma,
src_mac = data + QDF_NBUF_SRC_MAC_OFFSET;
dest_mac = data + QDF_NBUF_DEST_MAC_OFFSET;
WMA_LOGD("Src_mac: " MAC_ADDRESS_STR ", Dst_mac: " MAC_ADDRESS_STR,
WMA_LOGI("Src_mac: " MAC_ADDRESS_STR ", Dst_mac: " MAC_ADDRESS_STR,
MAC_ADDR_ARRAY(src_mac), MAC_ADDR_ARRAY(dest_mac));
wma_wow_inc_wake_lock_stats_by_dst_addr(wma, vdev_id, dest_mac);
@ -2431,7 +2431,7 @@ static void wma_wow_parse_data_pkt(t_wma_handle *wma,
proto_subtype = wma_wow_get_pkt_proto_subtype(data, length);
proto_subtype_name = wma_pkt_proto_subtype_to_string(proto_subtype);
if (proto_subtype_name)
WMA_LOGD("WOW Wakeup: %s rcvd", proto_subtype_name);
WMA_LOGI("WOW Wakeup: %s rcvd", proto_subtype_name);
switch (proto_subtype) {
case QDF_PROTO_EAPOL_M1: