.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /****************************************************************************** |
---|
2 | 3 | * |
---|
3 | 4 | * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. |
---|
4 | 5 | * |
---|
5 | 6 | * 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. |
---|
22 | 7 | * |
---|
23 | 8 | * Contact Information: |
---|
24 | 9 | * Intel Linux Wireless <ilw@linux.intel.com> |
---|
.. | .. |
---|
68 | 53 | struct ieee80211_info_element { |
---|
69 | 54 | u8 id; |
---|
70 | 55 | u8 len; |
---|
71 | | - u8 data[0]; |
---|
| 56 | + u8 data[]; |
---|
72 | 57 | } __packed; |
---|
73 | 58 | |
---|
74 | 59 | struct ieee80211_measurement_request { |
---|
.. | .. |
---|
76 | 61 | u8 token; |
---|
77 | 62 | u8 mode; |
---|
78 | 63 | u8 type; |
---|
79 | | - struct ieee80211_measurement_params params[0]; |
---|
| 64 | + struct ieee80211_measurement_params params[]; |
---|
80 | 65 | } __packed; |
---|
81 | 66 | |
---|
82 | 67 | struct ieee80211_measurement_report { |
---|