blob: 951afc27f13362ad0399f59164a1952027809b11 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 572be3e7a2e9f41c64dd6c8c89cc763b97ecab6c Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:33 +0800
4Subject: [PATCH] [networking][999-2725-iwconfig-wireless-rate-fix.patch]
5
6---
7 include/uapi/linux/wireless.h | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/include/uapi/linux/wireless.h b/include/uapi/linux/wireless.h
11index 24f3371ad..590c90b14 100644
12--- a/include/uapi/linux/wireless.h
13+++ b/include/uapi/linux/wireless.h
14@@ -678,7 +678,7 @@
15 * Generic format for most parameters that fit in an int
16 */
17 struct iw_param {
18- __s32 value; /* The value of the parameter itself */
19+ __u64 value; /* The value of the parameter itself */
20 __u8 fixed; /* Hardware should not use auto select */
21 __u8 disabled; /* Disable the feature */
22 __u16 flags; /* Various specifc flags (if any) */
23@@ -1002,7 +1002,7 @@ struct iw_range {
24
25 /* Rates */
26 __u8 num_bitrates; /* Number of entries in the list */
27- __s32 bitrate[IW_MAX_BITRATES]; /* list, in bps */
28+ __u64 bitrate[IW_MAX_BITRATES]; /* list, in bps */
29
30 /* RTS threshold */
31 __s32 min_rts; /* Minimal RTS threshold */
32--
332.34.1
34