Skip to content

Commit

Permalink
Added remaining wireless struct and constants
Browse files Browse the repository at this point in the history
fix

fix

fix
  • Loading branch information
Brijeshkrishna committed Nov 16, 2023
1 parent d17cd59 commit 2b91420
Show file tree
Hide file tree
Showing 3 changed files with 341 additions and 1 deletion.
4 changes: 4 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4166,6 +4166,10 @@ fn test_linux(target: &str) {
(struct_ == "ifreq" && field == "ifr_ifru") ||
// the `ifc_ifcu` field is an anonymous union
(struct_ == "ifconf" && field == "ifc_ifcu") ||
// the `ifr_ifrn` field is an anonymous union
(struct_ == "iwreq" && field == "ifr_ifrn") ||
// the `key` field is a zero-sized array
(struct_ == "iw_encode_ext" && field == "key") ||
// glibc uses a single array `uregs` instead of individual fields.
(struct_ == "user_regs" && arm)
});
Expand Down
42 changes: 41 additions & 1 deletion libc-test/semver/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2529,6 +2529,9 @@ SIOCIWFIRSTPRIV
SIOCIWLASTPRIV
SIOCIWFIRST
SIOCIWLAST
IW_IOCTL_IDX
IW_IS_SET
IW_IS_GET
IWEVTXDROP
IWEVQUAL
IWEVCUSTOM
Expand All @@ -2540,6 +2543,7 @@ IWEVASSOCREQIE
IWEVASSOCRESPIE
IWEVPMKIDCAND
IWEVFIRST
IW_EVENT_IDX
IW_PRIV_TYPE_MASK
IW_PRIV_TYPE_NONE
IW_PRIV_TYPE_BYTE
Expand Down Expand Up @@ -2696,13 +2700,30 @@ IW_ENC_CAPA_WPA2
IW_ENC_CAPA_CIPHER_TKIP
IW_ENC_CAPA_CIPHER_CCMP
IW_ENC_CAPA_4WAY_HANDSHAKE
IW_EVENT_CAPA_BASE
IW_EVENT_CAPA_INDEX
IW_EVENT_CAPA_MASK
IW_EVENT_CAPA_K_0
IW_EVENT_CAPA_K_1
IW_PMKSA_ADD
IW_PMKSA_REMOVE
IW_PMKSA_FLUSH
IW_PMKID_LEN
IW_PMKID_CAND_PREAUTH
IW_EV_CHAR_PK_LEN
IW_EV_LCP_LEN
IW_EV_CHAR_LEN
IW_EV_UINT_LEN
IW_EV_FREQ_LEN
IW_EV_PARAM_LEN
IW_EV_ADDR_LEN
IW_EV_QUAL_LEN
IW_EV_LCP_PK_LEN
IW_EV_CHAR_PK_LEN
IW_EV_UINT_PK_LEN
IW_EV_FREQ_PK_LEN
IW_EV_PARAM_PK_LEN
IW_EV_ADDR_PK_LEN
IW_EV_QUAL_PK_LEN
IW_EV_POINT_PK_LEN
SI_LOAD_SHIFT
SND_CNT
Expand Down Expand Up @@ -3532,6 +3553,25 @@ ip_mreqn
ip_mreq_source
ipc_perm
itimerspec
iw_discarded
iw_encode_ext
iw_event
iw_freq
iw_michaelmicfailure
iw_missed
iw_mlme
iw_param
iw_pmkid_cand
iw_pmksa
iw_point
iw_priv_args
iw_quality
iw_range
iwreq
iwreq_data
iw_scan_req
iw_statistics
iw_thrspy
j1939_filter
jrand48
key_t
Expand Down
Loading

0 comments on commit 2b91420

Please sign in to comment.