forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/intersil/prism54/isl_oid.h
....@@ -1,20 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2003 Herbert Valerio Riedel <hvr@gnu.org>
34 * Copyright (C) 2004 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>
45 * Copyright (C) 2004 Aurelien Alleaume <slts@free.fr>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
17
- *
186 */
197
208 #if !defined(_ISL_OID_H)
....@@ -49,7 +37,7 @@
4937 u16 state;
5038 u16 code;
5139 u16 size;
52
- u8 data[0];
40
+ u8 data[];
5341 } __packed;
5442
5543 struct obj_buffer {
....@@ -80,12 +68,12 @@
8068
8169 struct obj_bsslist {
8270 u32 nr;
83
- struct obj_bss bsslist[0];
71
+ struct obj_bss bsslist[];
8472 } __packed;
8573
8674 struct obj_frequencies {
8775 u16 nr;
88
- u16 mhz[0];
76
+ u16 mhz[];
8977 } __packed;
9078
9179 struct obj_attachment {
....@@ -93,7 +81,7 @@
9381 char reserved;
9482 short id;
9583 short size;
96
- char data[0];
84
+ char data[];
9785 } __packed;
9886
9987 /*
....@@ -155,7 +143,7 @@
155143 * together with a CSMA contention. Without this all frames are
156144 * sent with a CSMA contention.
157145 * Bibliography:
158
- * http://www.hpl.hp.com/personal/Jean_Tourrilhes/Papers/Packet.Frame.Grouping.html
146
+ * https://www.hpl.hp.com/personal/Jean_Tourrilhes/Papers/Packet.Frame.Grouping.html
159147 */
160148 enum dot11_maxframeburst_t {
161149 /* Values for DOT11_OID_MAXFRAMEBURST */