]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netlink: specs: wireless: add a spec for nl80211
authorDonald Hunter <donald.hunter@gmail.com>
Tue, 11 Feb 2025 12:01:27 +0000 (12:01 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 13 Feb 2025 03:32:26 +0000 (19:32 -0800)
commit31438709ecdb12539fc48ad691c27c4c11c0a56b
tree8c12a9de9f7eaa5121b66ddefbe962d2761a2837
parentfdb8050e1a873c87d99dc65a0468e257b632602e
netlink: specs: wireless: add a spec for nl80211

Add a rudimentary YNL spec for nl80211 that covers get-wiphy,
get-interface and get-protocol-features.

./tools/net/ynl/pyynl/cli.py --family nl80211 \
    --do get-protocol-features
{'protocol-features': {'split-wiphy-dump'}}

./tools/net/ynl/pyynl/cli.py --family nl80211 \
    --dump get-wiphy --json '{ "split-wiphy-dump": true }'

./tools/net/ynl/pyynl/cli.py --family nl80211 \
    --dump get-interface

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Link: https://patch.msgid.link/20250211120127.84858-11-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/nl80211.yaml [new file with mode: 0644]
tools/net/ynl/Makefile.deps