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 <pradeepc@codeaurora.org>
This commit is contained in:
parent
8d10831dcf
commit
b1c3e4d071
1 changed files with 10 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue