nl80211: Debug print HT/VHT capability override information
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
117caa4a0c
commit
6d99bd8076
1 changed files with 6 additions and 0 deletions
|
@ -8663,7 +8663,10 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv,
|
||||||
|
|
||||||
if (params->htcaps && params->htcaps_mask) {
|
if (params->htcaps && params->htcaps_mask) {
|
||||||
int sz = sizeof(struct ieee80211_ht_capabilities);
|
int sz = sizeof(struct ieee80211_ht_capabilities);
|
||||||
|
wpa_hexdump(MSG_DEBUG, " * htcaps", params->htcaps, sz);
|
||||||
NLA_PUT(msg, NL80211_ATTR_HT_CAPABILITY, sz, params->htcaps);
|
NLA_PUT(msg, NL80211_ATTR_HT_CAPABILITY, sz, params->htcaps);
|
||||||
|
wpa_hexdump(MSG_DEBUG, " * htcaps_mask",
|
||||||
|
params->htcaps_mask, sz);
|
||||||
NLA_PUT(msg, NL80211_ATTR_HT_CAPABILITY_MASK, sz,
|
NLA_PUT(msg, NL80211_ATTR_HT_CAPABILITY_MASK, sz,
|
||||||
params->htcaps_mask);
|
params->htcaps_mask);
|
||||||
}
|
}
|
||||||
|
@ -8676,7 +8679,10 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv,
|
||||||
|
|
||||||
if (params->vhtcaps && params->vhtcaps_mask) {
|
if (params->vhtcaps && params->vhtcaps_mask) {
|
||||||
int sz = sizeof(struct ieee80211_vht_capabilities);
|
int sz = sizeof(struct ieee80211_vht_capabilities);
|
||||||
|
wpa_hexdump(MSG_DEBUG, " * vhtcaps", params->vhtcaps, sz);
|
||||||
NLA_PUT(msg, NL80211_ATTR_VHT_CAPABILITY, sz, params->vhtcaps);
|
NLA_PUT(msg, NL80211_ATTR_VHT_CAPABILITY, sz, params->vhtcaps);
|
||||||
|
wpa_hexdump(MSG_DEBUG, " * vhtcaps_mask",
|
||||||
|
params->vhtcaps_mask, sz);
|
||||||
NLA_PUT(msg, NL80211_ATTR_VHT_CAPABILITY_MASK, sz,
|
NLA_PUT(msg, NL80211_ATTR_VHT_CAPABILITY_MASK, sz,
|
||||||
params->vhtcaps_mask);
|
params->vhtcaps_mask);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue