mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacmn: Add channel info in beacon and probe resp debug prints
beacon and probe resp debug prints doesn't have channel info, so add them. Change-Id: I1dbfc4f62924f3eee774517b45f4f7442b18f635 CRs-Fixed: 2381796
This commit is contained in:
parent
f15ef34107
commit
b337ebbad3
1 changed files with 9 additions and 8 deletions
|
|
@ -782,14 +782,6 @@ QDF_STATUS scm_handle_bcn_probe(struct scheduler_msg *msg)
|
|||
|
||||
scan_entry = scan_node->entry;
|
||||
|
||||
scm_nofl_debug("Received %s from BSSID: %pM tsf_delta = %u Seq Num: %d ssid:%.*s, rssi: %d pdev_id = %d",
|
||||
(bcn->frm_type == MGMT_SUBTYPE_PROBE_RESP) ?
|
||||
"Probe Rsp" : "Beacon", scan_entry->bssid.bytes,
|
||||
scan_entry->tsf_delta, scan_entry->seq_num,
|
||||
scan_entry->ssid.length, scan_entry->ssid.ssid,
|
||||
scan_entry->rssi_raw,
|
||||
wlan_objmgr_pdev_get_pdev_id(pdev));
|
||||
|
||||
if (scan_obj->drop_bcn_on_chan_mismatch &&
|
||||
scan_entry->channel_mismatch) {
|
||||
scm_debug("Drop frame, as channel mismatch Received for from BSSID: %pM Seq Num: %d",
|
||||
|
|
@ -800,6 +792,15 @@ QDF_STATUS scm_handle_bcn_probe(struct scheduler_msg *msg)
|
|||
continue;
|
||||
}
|
||||
|
||||
scm_nofl_debug("Received %s from BSSID: %pM tsf_delta = %u Seq Num: %d ssid:%.*s, rssi: %d channel %d pdev_id = %d",
|
||||
(bcn->frm_type == MGMT_SUBTYPE_PROBE_RESP) ?
|
||||
"Probe Rsp" : "Beacon", scan_entry->bssid.bytes,
|
||||
scan_entry->tsf_delta, scan_entry->seq_num,
|
||||
scan_entry->ssid.length, scan_entry->ssid.ssid,
|
||||
scan_entry->rssi_raw,
|
||||
scan_entry->channel.chan_idx,
|
||||
wlan_objmgr_pdev_get_pdev_id(pdev));
|
||||
|
||||
if (scan_obj->cb.update_beacon)
|
||||
scan_obj->cb.update_beacon(pdev, scan_entry);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue