From: Pradeep Kumar Chitrapu Date: Wed, 16 Sep 2020 01:01:45 +0000 (-0700) Subject: nl80211: Send HE 6 GHz capability parameters to the driver X-Git-Tag: hostap_2_10~590 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1c3e4d0712e71d5ea02ffb4887d00a02a6640e4;p=thirdparty%2Fhostap.git nl80211: Send HE 6 GHz capability parameters to the driver The HE 6 GHz capability was not being sent to the kernel causing 6 GHz support being unidentifiable in the kernel driver for added stations. Signed-off-by: Pradeep Kumar Chitrapu --- diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index c258557db..2a456a1f6 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -4969,6 +4969,16 @@ static int wpa_driver_nl80211_sta_add(void *priv, goto fail; } + if (params->he_6ghz_capab) { + wpa_hexdump(MSG_DEBUG, " * he_6ghz_capab", + params->he_6ghz_capab, + sizeof(*params->he_6ghz_capab)); + if (nla_put(msg, NL80211_ATTR_HE_6GHZ_CAPABILITY, + sizeof(*params->he_6ghz_capab), + params->he_6ghz_capab)) + goto fail; + } + if (params->ext_capab) { wpa_hexdump(MSG_DEBUG, " * ext_capab", params->ext_capab, params->ext_capab_len);