mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-20 10:51:27 +00:00
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 650c1ad30199e90a02a70da54e37c6ef4c780c4b Mon Sep 17 00:00:00 2001
|
|
From: Aloka Dixit <quic_alokad@quicinc.com>
|
|
Date: Tue, 6 Jul 2021 11:19:43 -0700
|
|
Subject: [PATCH 14/23] nl80211: pass station's EHT capabilities to kernel
|
|
|
|
Pass non-AP station's EHT capabilities to the kernel using new
|
|
attribute NL80211_ATTR_EHT_CAPABILITY.
|
|
|
|
Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
|
|
---
|
|
src/drivers/driver_nl80211.c | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
|
|
index 40b3e1b5c5ed..a7807d6a9a08 100644
|
|
--- a/src/drivers/driver_nl80211.c
|
|
+++ b/src/drivers/driver_nl80211.c
|
|
@@ -5150,6 +5150,14 @@ static int wpa_driver_nl80211_sta_add(void *priv,
|
|
goto fail;
|
|
}
|
|
|
|
+ if (params->eht_capab) {
|
|
+ wpa_hexdump(MSG_DEBUG, " * eht_capab",
|
|
+ (u8 *) params->eht_capab, params->eht_capab_len);
|
|
+ if (nla_put(msg, NL80211_ATTR_EHT_CAPABILITY,
|
|
+ params->eht_capab_len, params->eht_capab))
|
|
+ goto fail;
|
|
+ }
|
|
+
|
|
if (params->ext_capab) {
|
|
wpa_hexdump(MSG_DEBUG, " * ext_capab",
|
|
params->ext_capab, params->ext_capab_len);
|
|
--
|
|
2.31.1
|
|
|