hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/wireless/intel/iwlegacy/iwl-spectrum.h
....@@ -1,24 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /******************************************************************************
23 *
34 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
45 *
56 * Portions of this file are derived from the ieee80211 subsystem header files.
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of version 2 of the GNU General Public License as
9
- * published by the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope that it will be useful, but WITHOUT
12
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
- * more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along with
17
- * this program; if not, write to the Free Software Foundation, Inc.,
18
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19
- *
20
- * The full GNU General Public License is included in this distribution in the
21
- * file called LICENSE.
227 *
238 * Contact Information:
249 * Intel Linux Wireless <ilw@linux.intel.com>
....@@ -68,7 +53,7 @@
6853 struct ieee80211_info_element {
6954 u8 id;
7055 u8 len;
71
- u8 data[0];
56
+ u8 data[];
7257 } __packed;
7358
7459 struct ieee80211_measurement_request {
....@@ -76,7 +61,7 @@
7661 u8 token;
7762 u8 mode;
7863 u8 type;
79
- struct ieee80211_measurement_params params[0];
64
+ struct ieee80211_measurement_params params[];
8065 } __packed;
8166
8267 struct ieee80211_measurement_report {