|
@@ -416,26 +416,13 @@ wlan_hdd_cfg80211_extscan_cached_results_ind(struct hdd_context *hdd_ctx,
|
|
|
* BSSID was cached.
|
|
|
*/
|
|
|
ap->ts += hdd_ctx->ext_scan_start_since_boot;
|
|
|
- hdd_debug("Timestamp %llu "
|
|
|
- "Ssid: %s "
|
|
|
- "Bssid (" QDF_MAC_ADDR_FMT ") "
|
|
|
- "Channel %u "
|
|
|
- "Rssi %d "
|
|
|
- "RTT %u "
|
|
|
- "RTT_SD %u "
|
|
|
- "Beacon Period %u "
|
|
|
- "Capability 0x%x "
|
|
|
- "Ie length %d",
|
|
|
- ap->ts,
|
|
|
- ap->ssid,
|
|
|
- QDF_MAC_ADDR_REF(ap->bssid.bytes),
|
|
|
- ap->channel,
|
|
|
- ap->rssi,
|
|
|
- ap->rtt,
|
|
|
- ap->rtt_sd,
|
|
|
- ap->beaconPeriod,
|
|
|
- ap->capability,
|
|
|
- ap->ieLength);
|
|
|
+ hdd_debug("Timestamp %llu Ssid: " QDF_SSID_FMT " Bssid (" QDF_MAC_ADDR_FMT ") Channel %u Rssi %d RTT %u RTT_SD %u Beacon Period %u Capability 0x%x Ie length %d",
|
|
|
+ ap->ts,
|
|
|
+ QDF_SSID_REF(WLAN_SSID_MAX_LEN, ap->ssid),
|
|
|
+ QDF_MAC_ADDR_REF(ap->bssid.bytes),
|
|
|
+ ap->channel, ap->rssi, ap->rtt, ap->rtt_sd,
|
|
|
+ ap->beaconPeriod, ap->capability,
|
|
|
+ ap->ieLength);
|
|
|
ap++;
|
|
|
}
|
|
|
result++;
|
|
@@ -579,21 +566,12 @@ wlan_hdd_cfg80211_extscan_hotlist_match_ind(struct hdd_context *hdd_ctx,
|
|
|
|
|
|
for (i = 0; i < data->numOfAps; i++) {
|
|
|
data->ap[i].ts = qdf_get_monotonic_boottime();
|
|
|
-
|
|
|
- hdd_debug("[i=%d] Timestamp %llu "
|
|
|
- "Ssid: %s "
|
|
|
- "Bssid (" QDF_MAC_ADDR_FMT ") "
|
|
|
- "Channel %u "
|
|
|
- "Rssi %d "
|
|
|
- "RTT %u "
|
|
|
- "RTT_SD %u",
|
|
|
- i,
|
|
|
- data->ap[i].ts,
|
|
|
- data->ap[i].ssid,
|
|
|
- QDF_MAC_ADDR_REF(data->ap[i].bssid.bytes),
|
|
|
- data->ap[i].channel,
|
|
|
- data->ap[i].rssi,
|
|
|
- data->ap[i].rtt, data->ap[i].rtt_sd);
|
|
|
+ hdd_debug("[i=%d] Timestamp %llu Ssid: " QDF_SSID_FMT " Bssid (" QDF_MAC_ADDR_FMT ") Channel %u Rssi %d RTT %u RTT_SD %u",
|
|
|
+ i, data->ap[i].ts,
|
|
|
+ QDF_SSID_REF(WLAN_SSID_MAX_LEN, data->ap[i].ssid),
|
|
|
+ QDF_MAC_ADDR_REF(data->ap[i].bssid.bytes),
|
|
|
+ data->ap[i].channel, data->ap[i].rssi,
|
|
|
+ data->ap[i].rtt, data->ap[i].rtt_sd);
|
|
|
}
|
|
|
|
|
|
if (nla_put_u32(skb,
|
|
@@ -844,26 +822,14 @@ wlan_hdd_cfg80211_extscan_full_scan_result_event(struct hdd_context *hdd_ctx,
|
|
|
*/
|
|
|
data->ap.ts = qdf_get_monotonic_boottime();
|
|
|
|
|
|
- hdd_debug("Req Id %u More Data %u", data->requestId,
|
|
|
- data->moreData);
|
|
|
- hdd_debug("AP Info: Timestamp %llu Ssid: %s "
|
|
|
- "Bssid (" QDF_MAC_ADDR_FMT ") "
|
|
|
- "Channel %u "
|
|
|
- "Rssi %d "
|
|
|
- "RTT %u "
|
|
|
- "RTT_SD %u "
|
|
|
- "Bcn Period %d "
|
|
|
- "Capability 0x%X "
|
|
|
- "IE Length %d",
|
|
|
- data->ap.ts,
|
|
|
- data->ap.ssid,
|
|
|
- QDF_MAC_ADDR_REF(data->ap.bssid.bytes),
|
|
|
- data->ap.channel,
|
|
|
- data->ap.rssi,
|
|
|
- data->ap.rtt,
|
|
|
- data->ap.rtt_sd,
|
|
|
- data->ap.beaconPeriod,
|
|
|
- data->ap.capability, data->ap.ieLength);
|
|
|
+ hdd_debug("Req Id %u More Data %u", data->requestId, data->moreData);
|
|
|
+ hdd_debug("AP Info: Timestamp %llu Ssid: " QDF_SSID_FMT " Bssid (" QDF_MAC_ADDR_FMT ") Channel %u Rssi %d RTT %u RTT_SD %u Bcn Period %d Capability 0x%X IE Length %d",
|
|
|
+ data->ap.ts,
|
|
|
+ QDF_SSID_REF(WLAN_SSID_MAX_LEN, data->ap.ssid),
|
|
|
+ QDF_MAC_ADDR_REF(data->ap.bssid.bytes),
|
|
|
+ data->ap.channel, data->ap.rssi, data->ap.rtt,
|
|
|
+ data->ap.rtt_sd, data->ap.beaconPeriod,
|
|
|
+ data->ap.capability, data->ap.ieLength);
|
|
|
|
|
|
if (nla_put_u32(skb,
|
|
|
QCA_WLAN_VENDOR_ATTR_EXTSCAN_RESULTS_REQUEST_ID,
|
|
@@ -1123,25 +1089,14 @@ wlan_hdd_cfg80211_extscan_epno_match_found(struct hdd_context *hdd_ctx,
|
|
|
data->request_id, data->more_data, data->num_results);
|
|
|
for (i = 0; i < data->num_results; i++) {
|
|
|
data->ap[i].channel = cds_chan_to_freq(data->ap[i].channel);
|
|
|
- hdd_debug("AP Info: Timestamp %llu) Ssid: %s "
|
|
|
- "Bssid (" QDF_MAC_ADDR_FMT ") "
|
|
|
- "Channel %u "
|
|
|
- "Rssi %d "
|
|
|
- "RTT %u "
|
|
|
- "RTT_SD %u "
|
|
|
- "Bcn Period %d "
|
|
|
- "Capability 0x%X "
|
|
|
- "IE Length %d",
|
|
|
- data->ap[i].ts,
|
|
|
- data->ap[i].ssid,
|
|
|
- QDF_MAC_ADDR_REF(data->ap[i].bssid.bytes),
|
|
|
- data->ap[i].channel,
|
|
|
- data->ap[i].rssi,
|
|
|
- data->ap[i].rtt,
|
|
|
- data->ap[i].rtt_sd,
|
|
|
- data->ap[i].beaconPeriod,
|
|
|
- data->ap[i].capability,
|
|
|
- data->ap[i].ieLength);
|
|
|
+ hdd_debug("AP Info: Timestamp %llu) Ssid: " QDF_SSID_FMT " Bssid (" QDF_MAC_ADDR_FMT ") Channel %u Rssi %d RTT %u RTT_SD %u Bcn Period %d Capability 0x%X IE Length %d",
|
|
|
+ data->ap[i].ts,
|
|
|
+ QDF_SSID_REF(WLAN_SSID_MAX_LEN, data->ap[i].ssid),
|
|
|
+ QDF_MAC_ADDR_REF(data->ap[i].bssid.bytes),
|
|
|
+ data->ap[i].channel, data->ap[i].rssi,
|
|
|
+ data->ap[i].rtt, data->ap[i].rtt_sd,
|
|
|
+ data->ap[i].beaconPeriod, data->ap[i].capability,
|
|
|
+ data->ap[i].ieLength);
|
|
|
}
|
|
|
|
|
|
if (nla_put_u32(skb, QCA_WLAN_VENDOR_ATTR_EXTSCAN_RESULTS_REQUEST_ID,
|
|
@@ -1229,25 +1184,13 @@ wlan_hdd_cfg80211_passpoint_match_found(void *ctx,
|
|
|
hdd_debug("Req Id %u Id %u ANQP length %u num_matches %u",
|
|
|
data->request_id, data->id, data->anqp_len, num_matches);
|
|
|
for (i = 0; i < num_matches; i++) {
|
|
|
- hdd_debug("AP Info: Timestamp %llu Ssid: %s "
|
|
|
- "Bssid (" QDF_MAC_ADDR_FMT ") "
|
|
|
- "Channel %u "
|
|
|
- "Rssi %d "
|
|
|
- "RTT %u "
|
|
|
- "RTT_SD %u "
|
|
|
- "Bcn Period %d "
|
|
|
- "Capability 0x%X "
|
|
|
- "IE Length %d",
|
|
|
- data->ap.ts,
|
|
|
- data->ap.ssid,
|
|
|
- QDF_MAC_ADDR_REF(data->ap.bssid.bytes),
|
|
|
- data->ap.channel,
|
|
|
- data->ap.rssi,
|
|
|
- data->ap.rtt,
|
|
|
- data->ap.rtt_sd,
|
|
|
- data->ap.beaconPeriod,
|
|
|
- data->ap.capability,
|
|
|
- data->ap.ieLength);
|
|
|
+ hdd_debug("AP Info: Timestamp %llu Ssid: " QDF_SSID_FMT " Bssid (" QDF_MAC_ADDR_FMT ") Channel %u Rssi %d RTT %u RTT_SD %u Bcn Period %d Capability 0x%X IE Length %d",
|
|
|
+ data->ap.ts,
|
|
|
+ QDF_SSID_REF(WLAN_SSID_MAX_LEN, data->ap.ssid),
|
|
|
+ QDF_MAC_ADDR_REF(data->ap.bssid.bytes),
|
|
|
+ data->ap.channel, data->ap.rssi, data->ap.rtt,
|
|
|
+ data->ap.rtt_sd, data->ap.beaconPeriod,
|
|
|
+ data->ap.capability, data->ap.ieLength);
|
|
|
}
|
|
|
|
|
|
if (nla_put_u32(skb, QCA_WLAN_VENDOR_ATTR_EXTSCAN_RESULTS_REQUEST_ID,
|
|
@@ -3420,7 +3363,8 @@ hdd_extscan_epno_fill_network(struct nlattr *network,
|
|
|
hdd_debug("network ssid length %d", ssid_len);
|
|
|
ssid = nla_data(tb[id]);
|
|
|
qdf_mem_copy(nw->ssid.ssid, ssid, ssid_len);
|
|
|
- hdd_debug("Ssid (%.*s)", nw->ssid.length, nw->ssid.ssid);
|
|
|
+ hdd_debug("Ssid (" QDF_SSID_FMT ")",
|
|
|
+ QDF_SSID_REF(nw->ssid.length, nw->ssid.ssid));
|
|
|
|
|
|
/* Parse and fetch epno flags */
|
|
|
id = QCA_WLAN_VENDOR_ATTR_PNO_SET_LIST_PARAM_EPNO_NETWORK_FLAGS;
|