aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2020-03-13 18:03:14 (GMT)
committerJouni Malinen <j@w1.fi>2020-03-13 18:03:14 (GMT)
commit839bab785ba251ee4327a3f80d27e5c48fb5551c (patch)
tree32ea3163c80a77b0874c395073949d4751b271f0
parente861fa1f6b6cdfc7cf6f4ada0decb0e2a185b7f0 (diff)
downloadhostap-839bab785ba251ee4327a3f80d27e5c48fb5551c.zip
hostap-839bab785ba251ee4327a3f80d27e5c48fb5551c.tar.gz
hostap-839bab785ba251ee4327a3f80d27e5c48fb5551c.tar.bz2
nl80211: Debug print driver capabilities
This can be helpful in understanding driver behavior. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--src/drivers/driver_nl80211_capa.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211_capa.c b/src/drivers/driver_nl80211_capa.c
index ea1ab8a..5a51b42 100644
--- a/src/drivers/driver_nl80211_capa.c
+++ b/src/drivers/driver_nl80211_capa.c
@@ -1311,6 +1311,12 @@ int wpa_driver_nl80211_capa(struct wpa_driver_nl80211_data *drv)
drv->capa.flags &= ~WPA_DRIVER_FLAGS_OFFCHANNEL_SIMULTANEOUS;
#endif /* CONFIG_DRIVER_NL80211_QCA */
+ wpa_printf(MSG_DEBUG,
+ "nl80211: key_mgmt=0x%x enc=0x%x auth=0x%x flags=0x%llx rrm_flags=0x%x probe_resp_offloads=0x%x max_stations=%u max_remain_on_chan=%u max_scan_ssids=%d",
+ drv->capa.key_mgmt, drv->capa.enc, drv->capa.auth,
+ (unsigned long long) drv->capa.flags, drv->capa.rrm_flags,
+ drv->capa.probe_resp_offloads, drv->capa.max_stations,
+ drv->capa.max_remain_on_chan, drv->capa.max_scan_ssids);
return 0;
}