Skip to content

Commit 2b91420

Browse files
Added remaining wireless struct and constants
fix fix fix
1 parent d17cd59 commit 2b91420

File tree

3 files changed

+341
-1
lines changed

3 files changed

+341
-1
lines changed

Diff for: libc-test/build.rs

+4
Original file line numberDiff line numberDiff line change
@@ -4166,6 +4166,10 @@ fn test_linux(target: &str) {
41664166
(struct_ == "ifreq" && field == "ifr_ifru") ||
41674167
// the `ifc_ifcu` field is an anonymous union
41684168
(struct_ == "ifconf" && field == "ifc_ifcu") ||
4169+
// the `ifr_ifrn` field is an anonymous union
4170+
(struct_ == "iwreq" && field == "ifr_ifrn") ||
4171+
// the `key` field is a zero-sized array
4172+
(struct_ == "iw_encode_ext" && field == "key") ||
41694173
// glibc uses a single array `uregs` instead of individual fields.
41704174
(struct_ == "user_regs" && arm)
41714175
});

Diff for: libc-test/semver/linux.txt

+41-1
Original file line numberDiff line numberDiff line change
@@ -2529,6 +2529,9 @@ SIOCIWFIRSTPRIV
25292529
SIOCIWLASTPRIV
25302530
SIOCIWFIRST
25312531
SIOCIWLAST
2532+
IW_IOCTL_IDX
2533+
IW_IS_SET
2534+
IW_IS_GET
25322535
IWEVTXDROP
25332536
IWEVQUAL
25342537
IWEVCUSTOM
@@ -2540,6 +2543,7 @@ IWEVASSOCREQIE
25402543
IWEVASSOCRESPIE
25412544
IWEVPMKIDCAND
25422545
IWEVFIRST
2546+
IW_EVENT_IDX
25432547
IW_PRIV_TYPE_MASK
25442548
IW_PRIV_TYPE_NONE
25452549
IW_PRIV_TYPE_BYTE
@@ -2696,13 +2700,30 @@ IW_ENC_CAPA_WPA2
26962700
IW_ENC_CAPA_CIPHER_TKIP
26972701
IW_ENC_CAPA_CIPHER_CCMP
26982702
IW_ENC_CAPA_4WAY_HANDSHAKE
2703+
IW_EVENT_CAPA_BASE
2704+
IW_EVENT_CAPA_INDEX
2705+
IW_EVENT_CAPA_MASK
2706+
IW_EVENT_CAPA_K_0
2707+
IW_EVENT_CAPA_K_1
26992708
IW_PMKSA_ADD
27002709
IW_PMKSA_REMOVE
27012710
IW_PMKSA_FLUSH
27022711
IW_PMKID_LEN
27032712
IW_PMKID_CAND_PREAUTH
2704-
IW_EV_CHAR_PK_LEN
2713+
IW_EV_LCP_LEN
2714+
IW_EV_CHAR_LEN
2715+
IW_EV_UINT_LEN
2716+
IW_EV_FREQ_LEN
2717+
IW_EV_PARAM_LEN
2718+
IW_EV_ADDR_LEN
2719+
IW_EV_QUAL_LEN
27052720
IW_EV_LCP_PK_LEN
2721+
IW_EV_CHAR_PK_LEN
2722+
IW_EV_UINT_PK_LEN
2723+
IW_EV_FREQ_PK_LEN
2724+
IW_EV_PARAM_PK_LEN
2725+
IW_EV_ADDR_PK_LEN
2726+
IW_EV_QUAL_PK_LEN
27062727
IW_EV_POINT_PK_LEN
27072728
SI_LOAD_SHIFT
27082729
SND_CNT
@@ -3532,6 +3553,25 @@ ip_mreqn
35323553
ip_mreq_source
35333554
ipc_perm
35343555
itimerspec
3556+
iw_discarded
3557+
iw_encode_ext
3558+
iw_event
3559+
iw_freq
3560+
iw_michaelmicfailure
3561+
iw_missed
3562+
iw_mlme
3563+
iw_param
3564+
iw_pmkid_cand
3565+
iw_pmksa
3566+
iw_point
3567+
iw_priv_args
3568+
iw_quality
3569+
iw_range
3570+
iwreq
3571+
iwreq_data
3572+
iw_scan_req
3573+
iw_statistics
3574+
iw_thrspy
35353575
j1939_filter
35363576
jrand48
35373577
key_t

0 commit comments

Comments
 (0)