Skip to content

Commit ea80f2d

Browse files
committed
Merge branch 'netlink-specs-add-a-spec-for-nl80211-wiphy'
Donald Hunter says: ==================== 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 ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
2 parents 443b5ca + 3143870 commit ea80f2d

File tree

7 files changed

+2063
-21
lines changed

7 files changed

+2063
-21
lines changed

Documentation/netlink/genetlink-c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ properties:
161161
type: string
162162
type: &attr-type
163163
enum: [ unused, pad, flag, binary,
164-
uint, sint, u8, u16, u32, u64, s32, s64,
164+
uint, sint, u8, u16, u32, u64, s8, s16, s32, s64,
165165
string, nest, indexed-array, nest-type-value ]
166166
doc:
167167
description: Documentation of the attribute.

Documentation/netlink/genetlink-legacy.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ properties:
152152
the right formatting mechanism when displaying values of this
153153
type.
154154
enum: [ hex, mac, fddi, ipv4, ipv6, uuid ]
155+
struct:
156+
description: Name of the nested struct type.
157+
type: string
155158
# End genetlink-legacy
156159

157160
attribute-sets:
@@ -204,7 +207,7 @@ properties:
204207
type: &attr-type
205208
description: The netlink attribute type
206209
enum: [ unused, pad, flag, binary, bitfield32,
207-
uint, sint, u8, u16, u32, u64, s32, s64,
210+
uint, sint, u8, u16, u32, u64, s8, s16, s32, s64,
208211
string, nest, indexed-array, nest-type-value ]
209212
doc:
210213
description: Documentation of the attribute.

Documentation/netlink/genetlink.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ properties:
124124
type: string
125125
type: &attr-type
126126
enum: [ unused, pad, flag, binary,
127-
uint, sint, u8, u16, u32, u64, s32, s64,
127+
uint, sint, u8, u16, u32, u64, s8, s16, s32, s64,
128128
string, nest, indexed-array, nest-type-value ]
129129
doc:
130130
description: Documentation of the attribute.

0 commit comments

Comments
 (0)