[PATCH 6/8] nl80211: Add option to tell driver about SPP A-MSDUs in assoc params
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Tue Jan 7 04:51:47 PST 2025
From: Daniel Gabay <daniel.gabay at intel.com>
Use NL80211_ATTR_ASSOC_SPP_AMSDU attribute to indicate the driver
whether SPP A-MSDUs are used on this connection.
Signed-off-by: Daniel Gabay <daniel.gabay at intel.com>
---
src/drivers/driver.h | 6 +++++-
src/drivers/driver_nl80211.c | 6 ++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index fb6b69ef43..e24568572b 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -1397,11 +1397,15 @@ struct wpa_driver_associate_params {
*/
struct wpa_driver_mld_params mld_params;
-
/**
* rsn_overriding - wpa_supplicant RSN overriding support
*/
bool rsn_overriding;
+
+ /**
+ * spp_amsdu - SPP A-MSDUs used on this connection
+ */
+ int spp_amsdu;
};
enum hide_ssid {
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 0e897f25ba..246f51bc4f 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -7221,6 +7221,12 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv,
nla_put_flag(msg, NL80211_ATTR_MLO_SUPPORT))
return -1;
+ if (params->spp_amsdu) {
+ wpa_printf(MSG_DEBUG, " * SPP A-MSDU");
+ if (nla_put_flag(msg, NL80211_ATTR_ASSOC_SPP_AMSDU))
+ return -1;
+ }
+
return 0;
}
--
2.43.0
More information about the Hostap
mailing list