blob: b29e4cc176b84c1a1ea638517d247f17ec023dfd [file] [log] [blame]
developer0ee5c6b2021-10-21 10:58:48 +08001--- a/include/uapi/linux/wireless.h
2+++ b/include/uapi/linux/wireless.h
3@@ -678,7 +678,7 @@
4 * Generic format for most parameters that fit in an int
5 */
6 struct iw_param {
7- __s32 value; /* The value of the parameter itself */
8+ __u64 value; /* The value of the parameter itself */
9 __u8 fixed; /* Hardware should not use auto select */
10 __u8 disabled; /* Disable the feature */
11 __u16 flags; /* Various specifc flags (if any) */
12@@ -1002,7 +1002,7 @@ struct iw_range {
13
14 /* Rates */
15 __u8 num_bitrates; /* Number of entries in the list */
16- __s32 bitrate[IW_MAX_BITRATES]; /* list, in bps */
17+ __u64 bitrate[IW_MAX_BITRATES]; /* list, in bps */
18
19 /* RTS threshold */
20 __s32 min_rts; /* Minimal RTS threshold */