qcacld-3.0: Refactor the prints for rx management frames
Refactor the prints for rx management frames. Do not print rx
frames in wma_form_rx_packet, as txrx module take care of it.
Change-Id: I52403c9dd32919507af13782dc838ff8076070cd
CRs-Fixed: 2375675
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index 6c36a33..bae6c6b 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -14940,10 +14940,11 @@
for (i = 0; i < WLAN_MGMT_TXRX_HOST_MAX_ANTENNA; i++)
bss_data.per_chain_rssi[i] = WLAN_INVALID_PER_CHAIN_RSSI;
- hdd_debug("BSSID: " MAC_ADDRESS_STR " Channel:%d RSSI:%d TSF %u",
- MAC_ADDR_ARRAY(bss_data.mgmt->bssid), bss_data.chan->center_freq,
- (int)(bss_data.rssi / 100),
- bss_desc->timeStamp[0]);
+ hdd_debug("BSSID: " MAC_ADDRESS_STR " Channel:%d RSSI:%d TSF %u seq %d",
+ MAC_ADDR_ARRAY(bss_data.mgmt->bssid),
+ bss_data.chan->center_freq, (int)(bss_data.rssi / 100),
+ bss_desc->timeStamp[0], ((bss_desc->seq_ctrl.seqNumHi <<
+ HIGH_SEQ_NUM_OFFSET) | bss_desc->seq_ctrl.seqNumLo));
bss_status = wlan_cfg80211_inform_bss_frame_data(wiphy, &bss_data);
hdd_ctx->beacon_probe_rsp_cnt_per_scan++;
diff --git a/core/wma/src/wma_mgmt.c b/core/wma/src/wma_mgmt.c
index bad9d30..3ae0802 100644
--- a/core/wma/src/wma_mgmt.c
+++ b/core/wma/src/wma_mgmt.c
@@ -4081,12 +4081,6 @@
mgt_type = (wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
mgt_subtype = (wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
- WMA_LOGD(FL("BSSID: "MAC_ADDRESS_STR" snr = %d, Type = %x, Subtype = %x, seq_num = %u, rssi = %d, rssi_raw = %d tsf_delta: %u"),
- MAC_ADDR_ARRAY(wh->i_addr3),
- mgmt_rx_params->snr, mgt_type, mgt_subtype,
- *(uint16_t *)wh->i_seq, rx_pkt->pkt_meta.rssi,
- rx_pkt->pkt_meta.rssi_raw, mgmt_rx_params->tsf_delta);
-
if (mgt_type == IEEE80211_FC0_TYPE_MGT &&
(mgt_subtype == IEEE80211_FC0_SUBTYPE_DISASSOC ||
mgt_subtype == IEEE80211_FC0_SUBTYPE_DEAUTH ||