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
This commit is contained in:
Abhishek Singh 2018-12-20 13:51:29 +05:30 • committed by nshrivas
commit ef6f38c913
2 changed files with 6 additions and 11 deletions

View file

@ -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 @@ wlan_hdd_inform_bss_frame(struct hdd_adapter *adapter,
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++;

View file

@ -4081,12 +4081,6 @@ int wma_form_rx_packet(qdf_nbuf_t buf,
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 ||