forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/intersil/p54/lmac.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * LMAC Interface specific definitions for mac80211 Prism54 drivers
34 *
....@@ -10,10 +11,6 @@
1011 *
1112 * - LMAC API interface header file for STLC4560 (lmac_longbow.h)
1213 * Copyright (C) 2007 Conexant Systems, Inc.
13
- *
14
- * This program is free software; you can redistribute it and/or modify
15
- * it under the terms of the GNU General Public License version 2 as
16
- * published by the Free Software Foundation.
1714 */
1815
1916 #ifndef LMAC_H
....@@ -84,7 +81,7 @@
8481 __le16 type; /* enum p54_control_frame_types */
8582 u8 rts_tries;
8683 u8 tries;
87
- u8 data[0];
84
+ u8 data[];
8885 } __packed;
8986
9087 #define GET_REQ_ID(skb) \
....@@ -179,7 +176,7 @@
179176 u8 rssi_raw;
180177 __le32 tsf32;
181178 __le32 unalloc0;
182
- u8 align[0];
179
+ u8 align[];
183180 } __packed;
184181
185182 enum p54_trap_type {
....@@ -270,7 +267,7 @@
270267 } __packed normal;
271268 } __packed;
272269 u8 unalloc2[2];
273
- u8 align[0];
270
+ u8 align[];
274271 } __packed;
275272
276273 /* unit is ms */