hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/wireless/intel/iwlwifi/dvm/commands.h
....@@ -16,11 +16,6 @@
1616 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1717 * General Public License for more details.
1818 *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,
22
- * USA
23
- *
2419 * The full GNU General Public License is included in this distribution
2520 * in the file called COPYING.
2621 *
....@@ -1028,7 +1023,7 @@
10281023 u8 global_key_type;
10291024 u8 flags;
10301025 u8 reserved;
1031
- struct iwl_wep_key key[0];
1026
+ struct iwl_wep_key key[];
10321027 } __packed;
10331028
10341029 #define WEP_KEY_WEP_TYPE 1
....@@ -1310,7 +1305,7 @@
13101305 * length is 26 or 30 bytes, followed by payload data
13111306 */
13121307 u8 payload[0];
1313
- struct ieee80211_hdr hdr[0];
1308
+ struct ieee80211_hdr hdr[];
13141309 } __packed;
13151310
13161311 /*
....@@ -2385,7 +2380,7 @@
23852380 * for one scan to complete (i.e. receive SCAN_COMPLETE_NOTIFICATION)
23862381 * before requesting another scan.
23872382 */
2388
- u8 data[0];
2383
+ u8 data[];
23892384 } __packed;
23902385
23912386 /* Can abort will notify by complete notification with abort status. */
....@@ -2480,7 +2475,7 @@
24802475 __le16 tim_idx;
24812476 u8 tim_size;
24822477 u8 reserved1;
2483
- struct ieee80211_hdr frame[0]; /* beacon frame */
2478
+ struct ieee80211_hdr frame[]; /* beacon frame */
24842479 } __packed;
24852480
24862481 /******************************************************************************
....@@ -3193,7 +3188,7 @@
31933188
31943189 struct iwl_calib_cmd {
31953190 struct iwl_calib_hdr hdr;
3196
- u8 data[0];
3191
+ u8 data[];
31973192 } __packed;
31983193
31993194 struct iwl_calib_xtal_freq_cmd {
....@@ -3221,7 +3216,7 @@
32213216 /* IWL_PHY_CALIBRATE_CHAIN_NOISE_RESET_CMD */
32223217 struct iwl_calib_chain_noise_reset_cmd {
32233218 struct iwl_calib_hdr hdr;
3224
- u8 data[0];
3219
+ u8 data[];
32253220 };
32263221
32273222 /* IWL_PHY_CALIBRATE_CHAIN_NOISE_GAIN_CMD */