| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * LMAC Interface specific definitions for mac80211 Prism54 drivers |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 10 | 11 | * |
|---|
| 11 | 12 | * - LMAC API interface header file for STLC4560 (lmac_longbow.h) |
|---|
| 12 | 13 | * 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. |
|---|
| 17 | 14 | */ |
|---|
| 18 | 15 | |
|---|
| 19 | 16 | #ifndef LMAC_H |
|---|
| .. | .. |
|---|
| 84 | 81 | __le16 type; /* enum p54_control_frame_types */ |
|---|
| 85 | 82 | u8 rts_tries; |
|---|
| 86 | 83 | u8 tries; |
|---|
| 87 | | - u8 data[0]; |
|---|
| 84 | + u8 data[]; |
|---|
| 88 | 85 | } __packed; |
|---|
| 89 | 86 | |
|---|
| 90 | 87 | #define GET_REQ_ID(skb) \ |
|---|
| .. | .. |
|---|
| 179 | 176 | u8 rssi_raw; |
|---|
| 180 | 177 | __le32 tsf32; |
|---|
| 181 | 178 | __le32 unalloc0; |
|---|
| 182 | | - u8 align[0]; |
|---|
| 179 | + u8 align[]; |
|---|
| 183 | 180 | } __packed; |
|---|
| 184 | 181 | |
|---|
| 185 | 182 | enum p54_trap_type { |
|---|
| .. | .. |
|---|
| 270 | 267 | } __packed normal; |
|---|
| 271 | 268 | } __packed; |
|---|
| 272 | 269 | u8 unalloc2[2]; |
|---|
| 273 | | - u8 align[0]; |
|---|
| 270 | + u8 align[]; |
|---|
| 274 | 271 | } __packed; |
|---|
| 275 | 272 | |
|---|
| 276 | 273 | /* unit is ms */ |
|---|