.. | .. |
---|
16 | 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
17 | 17 | * General Public License for more details. |
---|
18 | 18 | * |
---|
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 | | - * |
---|
24 | 19 | * The full GNU General Public License is included in this distribution |
---|
25 | 20 | * in the file called COPYING. |
---|
26 | 21 | * |
---|
.. | .. |
---|
1028 | 1023 | u8 global_key_type; |
---|
1029 | 1024 | u8 flags; |
---|
1030 | 1025 | u8 reserved; |
---|
1031 | | - struct iwl_wep_key key[0]; |
---|
| 1026 | + struct iwl_wep_key key[]; |
---|
1032 | 1027 | } __packed; |
---|
1033 | 1028 | |
---|
1034 | 1029 | #define WEP_KEY_WEP_TYPE 1 |
---|
.. | .. |
---|
1310 | 1305 | * length is 26 or 30 bytes, followed by payload data |
---|
1311 | 1306 | */ |
---|
1312 | 1307 | u8 payload[0]; |
---|
1313 | | - struct ieee80211_hdr hdr[0]; |
---|
| 1308 | + struct ieee80211_hdr hdr[]; |
---|
1314 | 1309 | } __packed; |
---|
1315 | 1310 | |
---|
1316 | 1311 | /* |
---|
.. | .. |
---|
2385 | 2380 | * for one scan to complete (i.e. receive SCAN_COMPLETE_NOTIFICATION) |
---|
2386 | 2381 | * before requesting another scan. |
---|
2387 | 2382 | */ |
---|
2388 | | - u8 data[0]; |
---|
| 2383 | + u8 data[]; |
---|
2389 | 2384 | } __packed; |
---|
2390 | 2385 | |
---|
2391 | 2386 | /* Can abort will notify by complete notification with abort status. */ |
---|
.. | .. |
---|
2480 | 2475 | __le16 tim_idx; |
---|
2481 | 2476 | u8 tim_size; |
---|
2482 | 2477 | u8 reserved1; |
---|
2483 | | - struct ieee80211_hdr frame[0]; /* beacon frame */ |
---|
| 2478 | + struct ieee80211_hdr frame[]; /* beacon frame */ |
---|
2484 | 2479 | } __packed; |
---|
2485 | 2480 | |
---|
2486 | 2481 | /****************************************************************************** |
---|
.. | .. |
---|
3193 | 3188 | |
---|
3194 | 3189 | struct iwl_calib_cmd { |
---|
3195 | 3190 | struct iwl_calib_hdr hdr; |
---|
3196 | | - u8 data[0]; |
---|
| 3191 | + u8 data[]; |
---|
3197 | 3192 | } __packed; |
---|
3198 | 3193 | |
---|
3199 | 3194 | struct iwl_calib_xtal_freq_cmd { |
---|
.. | .. |
---|
3221 | 3216 | /* IWL_PHY_CALIBRATE_CHAIN_NOISE_RESET_CMD */ |
---|
3222 | 3217 | struct iwl_calib_chain_noise_reset_cmd { |
---|
3223 | 3218 | struct iwl_calib_hdr hdr; |
---|
3224 | | - u8 data[0]; |
---|
| 3219 | + u8 data[]; |
---|
3225 | 3220 | }; |
---|
3226 | 3221 | |
---|
3227 | 3222 | /* IWL_PHY_CALIBRATE_CHAIN_NOISE_GAIN_CMD */ |
---|