]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netlink: specs: nl80211: drop structs which are not uAPI
authorJakub Kicinski <kuba@kernel.org>
Tue, 6 May 2025 19:40:57 +0000 (12:40 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 May 2025 01:21:49 +0000 (18:21 -0700)
commitf22e764d7775b9f6e0ffd7d944d9c740156d5f34
treef073544ca17869637b30af638e1ffbbb6d31497d
parent015b5b8ed194efe2d2faaf4c3ee4fcfb346c14d8
netlink: specs: nl80211: drop structs which are not uAPI

C codegen will soon use structs for binary types. A handful of structs
in WiFi carry information elements from the wire, defined by the standard.
The structs are not part of uAPI, so we can't use them in C directly.
We could add them to the uAPI or add some annotation to tell the codegen
to output a local version to the user header. The former seems arbitrary
since we don't expose structs for most of the standard. The latter seems
like a lot of work for a rare occurrence. Drop the struct info for now.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/004030652d592b379e730be2f0344bebc4a03475.camel@sipsolutions.net
Link: https://patch.msgid.link/20250506194101.696272-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/nl80211.yaml