Skip to content

netlink: specs: add a spec for nl80211 wiphy

Donald Hunter linux-wireless netdev 5 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest10 patches 2 repliesApplied 10/10
  2. v410 patches 3 repliesSuperseded
  3. v310 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v27 patches5 repliesSuperseded
v17 patches14 repliesSuperseded

Changes in v5 from the cover letter

- Rename nl80211-iftype-attrs -> iftype-attrs, thanks Paolo

Patches in v5 All 10 applied

#Subject and filesSizeRepliesApplied
1/10tools/net/ynl: remove extraneous plural from variable namestools/net/ynl/pyynl/lib/ynl.py+6 -60 repliesApplied
2/10tools/net/ynl: support decoding indexed arrays as enumstools/net/ynl/pyynl/lib/ynl.py+3 -10 repliesApplied
3/10tools/net/ynl: support rendering C array members to stringstools/net/ynl/pyynl/lib/ynl.py+5 -00 repliesApplied
4/10tools/net/ynl: accept IP string inputstools/net/ynl/pyynl/lib/ynl.py+21 -40 repliesApplied
5/10tools/net/ynl: add s8, s16 to valid scalars in ynl-gen-ctools/net/ynl/pyynl/ynl_gen_c.py+1 -10 repliesApplied
6/10tools/net/ynl: sanitise enums with leading digits in ynl-gen-ctools/net/ynl/pyynl/ynl_gen_c.py+2 -00 repliesApplied
7/10tools/net/ynl: add indexed-array scalar support to ynl-gen-ctools/net/ynl/pyynl/ynl_gen_c.py+18 -60 repliesApplied
8/10netlink: specs: support nested structs in genetlink legacyDocumentation/netlink/genetlink-legacy.yaml+3 -00 repliesApplied
9/10netlink: specs: add s8, s16 to genetlink schemasDocumentation/netlink/genetlink-c.yaml Documentation/netlink/genetlink-legacy.yaml Documentation/netlink/genetlink.yaml+3 -30 repliesApplied
10/10netlink: specs: wireless: add a spec for nl80211Documentation/netlink/specs/nl80211.yaml tools/net/ynl/Makefile.deps+2001 -02 repliesApplied

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchJakub KicinskiJohannes Berg
1/10A-b
2/10A-b
3/10A-b
4/10A-b
5/10A-b
6/10A-b
7/10A-b
8/10A-b
9/10R-b
10/10A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH net-next v5 00/10] netlink: specs: add a spec for nl80211 wiphy

Add a rudimentary YNL spec for nl80211 that includes get-wiphy and get-interface, along with some required enhancements to YNL and the netlink schemas.

Patch 1 is a minor cleanup to prepare for patch 2
Patches 2-4 are new features for YNL
Patches 5-7 are updates to ynl_gen_c
Patches 8-9 are schema updates for feature parity
Patch 10 is the new nl80211 spec

v4 -> v5
- Rename nl80211-iftype-attrs -> iftype-attrs, thanks Paolo

v3 -> v4
- Simplify the leading digit check in p6, thanks Jakub
- Fix a typo in the nl80211 spec, thanks Johannes

v2 -> v3
- Updates to spec and codegen to clean up compiler errors in generated nl80211-user.[ch]

v1 -> v2
- Add formatting hints support to patch 3, thanks Jakub
- Raise exception for unhandled hints in patch 4, thanks Jakub
- Update nl80211 spec w/ split-wiphy-dump in patch 7, thanks Johannes

Donald Hunter (10):
tools/net/ynl: remove extraneous plural from variable names tools/net/ynl: support decoding indexed arrays as enums tools/net/ynl: support rendering C array members to strings tools/net/ynl: accept IP string inputs tools/net/ynl: add s8, s16 to valid scalars in ynl-gen-c tools/net/ynl: sanitise enums with leading digits in ynl-gen-c tools/net/ynl: add indexed-array scalar support to ynl-gen-c
netlink: specs: support nested structs in genetlink legacy
netlink: specs: add s8, s16 to genetlink schemas
netlink: specs: wireless: add a spec for nl80211

 Documentation/netlink/genetlink-c.yaml      |    2 +-
 Documentation/netlink/genetlink-legacy.yaml |    5 +-
 Documentation/netlink/genetlink.yaml        |    2 +-
 Documentation/netlink/specs/nl80211.yaml    | 2000 +++++++++++++++++++
 tools/net/ynl/Makefile.deps                 |    1 +
 tools/net/ynl/pyynl/lib/ynl.py              |   46 +-
 tools/net/ynl/pyynl/ynl_gen_c.py            |   28 +-
 7 files changed, 2063 insertions(+), 21 deletions(-)
 create mode 100644 Documentation/netlink/specs/nl80211.yaml
Signature · 1 line
2.48.1