[PATCH 04/21] driver: Add Control Integrity Protocol APIs
Benjamin Berg
benjamin at sipsolutions.net
Tue Oct 27 06:16:50 PDT 2026
From: Benjamin Berg <benjamin.berg at intel.com>
Add Control Integrity Protocol (CIP) APIs to flag driver support, CIP
enablement for stations and the association as well as retrieving the
CIP Capabilities.
Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
src/drivers/driver.h | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index e957a56ae0..98e907a026 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -1436,6 +1436,11 @@ struct wpa_driver_associate_params {
*/
bool spp_amsdu;
+ /**
+ * cip - Control Integrity Protocol used on this connection
+ */
+ bool cip;
+
/**
* bssid_filter - Allowed BSSIDs for the current association
* This can be %NULL to indicate no constraint. */
@@ -2914,6 +2919,8 @@ struct hostapd_sta_add_params {
const struct ieee80211_uhr_capabilities *uhr_capab;
size_t uhr_capab_len;
+ u8 cip_capab;
+
#ifdef CONFIG_NAN
/*
* For a station added to a NAN Data Interface (NDI) indicate the
@@ -2970,6 +2977,7 @@ struct wpa_bss_params {
#define WPA_STA_AUTHENTICATED BIT(5)
#define WPA_STA_ASSOCIATED BIT(6)
#define WPA_STA_SPP_AMSDU BIT(7)
+#define WPA_STA_CIP BIT(8)
enum tdls_oper {
TDLS_DISCOVERY_REQ,
@@ -5585,6 +5593,16 @@ struct wpa_driver_ops {
int (*get_mld_capab)(void *priv, enum wpa_driver_if_type type,
u16 *eml_capa, u16 *mld_capa_and_ops);
+ /**
+ * get_cip_capab - Get CIP capabilities for the specified interface
+ * @priv: Private driver interface data
+ * @type: Interface type for which to get CIP capabilities
+ * @cip_capa: CIP capabilities
+ * Returns: 0 on success or -1 on failure or when not supported
+ */
+ int (*get_cip_capab)(void *priv, enum wpa_driver_if_type type,
+ u8 *cip_capa);
+
/**
* p2p_lo_start - Start offloading P2P listen to device
* @priv: Private driver interface data
--
2.56.0
More information about the Hostap
mailing list