13fb28ae7STim Collier /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */ 20ae952e3SSergio Paracuellos /* 3*8ffd91d9SAldas Taraškevičius * 400b3ed16SGreg Kroah-Hartman * 500b3ed16SGreg Kroah-Hartman * Macros, constants, types, and funcs for p80211 data types 600b3ed16SGreg Kroah-Hartman * 700b3ed16SGreg Kroah-Hartman * Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved. 800b3ed16SGreg Kroah-Hartman * -------------------------------------------------------------------- 900b3ed16SGreg Kroah-Hartman * 1000b3ed16SGreg Kroah-Hartman * linux-wlan 1100b3ed16SGreg Kroah-Hartman * 1200b3ed16SGreg Kroah-Hartman * The contents of this file are subject to the Mozilla Public 1300b3ed16SGreg Kroah-Hartman * License Version 1.1 (the "License"); you may not use this file 1400b3ed16SGreg Kroah-Hartman * except in compliance with the License. You may obtain a copy of 1500b3ed16SGreg Kroah-Hartman * the License at http://www.mozilla.org/MPL/ 1600b3ed16SGreg Kroah-Hartman * 1700b3ed16SGreg Kroah-Hartman * Software distributed under the License is distributed on an "AS 1800b3ed16SGreg Kroah-Hartman * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 1900b3ed16SGreg Kroah-Hartman * implied. See the License for the specific language governing 2000b3ed16SGreg Kroah-Hartman * rights and limitations under the License. 2100b3ed16SGreg Kroah-Hartman * 2200b3ed16SGreg Kroah-Hartman * Alternatively, the contents of this file may be used under the 2300b3ed16SGreg Kroah-Hartman * terms of the GNU Public License version 2 (the "GPL"), in which 2400b3ed16SGreg Kroah-Hartman * case the provisions of the GPL are applicable instead of the 2500b3ed16SGreg Kroah-Hartman * above. If you wish to allow the use of your version of this file 2600b3ed16SGreg Kroah-Hartman * only under the terms of the GPL and not to allow others to use 2700b3ed16SGreg Kroah-Hartman * your version of this file under the MPL, indicate your decision 2800b3ed16SGreg Kroah-Hartman * by deleting the provisions above and replace them with the notice 2900b3ed16SGreg Kroah-Hartman * and other provisions required by the GPL. If you do not delete 3000b3ed16SGreg Kroah-Hartman * the provisions above, a recipient may use your version of this 3100b3ed16SGreg Kroah-Hartman * file under either the MPL or the GPL. 3200b3ed16SGreg Kroah-Hartman * 3300b3ed16SGreg Kroah-Hartman * -------------------------------------------------------------------- 3400b3ed16SGreg Kroah-Hartman * 3500b3ed16SGreg Kroah-Hartman * Inquiries regarding the linux-wlan Open Source project can be 3600b3ed16SGreg Kroah-Hartman * made directly to: 3700b3ed16SGreg Kroah-Hartman * 3800b3ed16SGreg Kroah-Hartman * AbsoluteValue Systems Inc. 3900b3ed16SGreg Kroah-Hartman * info@linux-wlan.com 4000b3ed16SGreg Kroah-Hartman * http://www.linux-wlan.com 4100b3ed16SGreg Kroah-Hartman * 4200b3ed16SGreg Kroah-Hartman * -------------------------------------------------------------------- 4300b3ed16SGreg Kroah-Hartman * 4400b3ed16SGreg Kroah-Hartman * Portions of the development of this software were funded by 4500b3ed16SGreg Kroah-Hartman * Intersil Corporation as part of PRISM(R) chipset product development. 4600b3ed16SGreg Kroah-Hartman * 4700b3ed16SGreg Kroah-Hartman * -------------------------------------------------------------------- 4800b3ed16SGreg Kroah-Hartman * 4900b3ed16SGreg Kroah-Hartman * This file declares some of the constants and types used in various 5000b3ed16SGreg Kroah-Hartman * parts of the linux-wlan system. 5100b3ed16SGreg Kroah-Hartman * 5200b3ed16SGreg Kroah-Hartman * Notes: 5300b3ed16SGreg Kroah-Hartman * - Constant values are always in HOST byte order. 5400b3ed16SGreg Kroah-Hartman * 5500b3ed16SGreg Kroah-Hartman * All functions and statics declared here are implemented in p80211types.c 5600b3ed16SGreg Kroah-Hartman * -------------------------------------------------------------------- 5700b3ed16SGreg Kroah-Hartman */ 5800b3ed16SGreg Kroah-Hartman 5900b3ed16SGreg Kroah-Hartman #ifndef _P80211TYPES_H 6000b3ed16SGreg Kroah-Hartman #define _P80211TYPES_H 6100b3ed16SGreg Kroah-Hartman 6200b3ed16SGreg Kroah-Hartman /*----------------------------------------------------------------*/ 6300b3ed16SGreg Kroah-Hartman /* The following constants are indexes into the Mib Category List */ 6400b3ed16SGreg Kroah-Hartman /* and the Message Category List */ 6500b3ed16SGreg Kroah-Hartman 6600b3ed16SGreg Kroah-Hartman /* Mib Category List */ 6700b3ed16SGreg Kroah-Hartman #define P80211_MIB_CAT_DOT11SMT 1 6800b3ed16SGreg Kroah-Hartman #define P80211_MIB_CAT_DOT11MAC 2 6900b3ed16SGreg Kroah-Hartman #define P80211_MIB_CAT_DOT11PHY 3 7000b3ed16SGreg Kroah-Hartman 7100b3ed16SGreg Kroah-Hartman #define P80211SEC_DOT11SMT P80211_MIB_CAT_DOT11SMT 7200b3ed16SGreg Kroah-Hartman #define P80211SEC_DOT11MAC P80211_MIB_CAT_DOT11MAC 7300b3ed16SGreg Kroah-Hartman #define P80211SEC_DOT11PHY P80211_MIB_CAT_DOT11PHY 7400b3ed16SGreg Kroah-Hartman 7500b3ed16SGreg Kroah-Hartman /* Message Category List */ 7600b3ed16SGreg Kroah-Hartman #define P80211_MSG_CAT_DOT11REQ 1 7700b3ed16SGreg Kroah-Hartman #define P80211_MSG_CAT_DOT11IND 2 7800b3ed16SGreg Kroah-Hartman 7900b3ed16SGreg Kroah-Hartman /*----------------------------------------------------------------*/ 8000b3ed16SGreg Kroah-Hartman /* p80211 enumeration constants. The value to text mappings for */ 8100b3ed16SGreg Kroah-Hartman /* these is in p80211types.c. These defines were generated */ 8200b3ed16SGreg Kroah-Hartman /* from the mappings. */ 8300b3ed16SGreg Kroah-Hartman 8400b3ed16SGreg Kroah-Hartman /* error codes for lookups */ 8500b3ed16SGreg Kroah-Hartman 8600b3ed16SGreg Kroah-Hartman #define P80211ENUM_truth_false 0 8700b3ed16SGreg Kroah-Hartman #define P80211ENUM_truth_true 1 8800b3ed16SGreg Kroah-Hartman #define P80211ENUM_ifstate_disable 0 8900b3ed16SGreg Kroah-Hartman #define P80211ENUM_ifstate_fwload 1 9000b3ed16SGreg Kroah-Hartman #define P80211ENUM_ifstate_enable 2 9100b3ed16SGreg Kroah-Hartman #define P80211ENUM_bsstype_infrastructure 1 9200b3ed16SGreg Kroah-Hartman #define P80211ENUM_bsstype_independent 2 9300b3ed16SGreg Kroah-Hartman #define P80211ENUM_bsstype_any 3 9400b3ed16SGreg Kroah-Hartman #define P80211ENUM_authalg_opensystem 1 9500b3ed16SGreg Kroah-Hartman #define P80211ENUM_authalg_sharedkey 2 9600b3ed16SGreg Kroah-Hartman #define P80211ENUM_scantype_active 1 9700b3ed16SGreg Kroah-Hartman #define P80211ENUM_resultcode_success 1 9800b3ed16SGreg Kroah-Hartman #define P80211ENUM_resultcode_invalid_parameters 2 9900b3ed16SGreg Kroah-Hartman #define P80211ENUM_resultcode_not_supported 3 10000b3ed16SGreg Kroah-Hartman #define P80211ENUM_resultcode_refused 6 10100b3ed16SGreg Kroah-Hartman #define P80211ENUM_resultcode_cant_set_readonly_mib 10 10200b3ed16SGreg Kroah-Hartman #define P80211ENUM_resultcode_implementation_failure 11 10300b3ed16SGreg Kroah-Hartman #define P80211ENUM_resultcode_cant_get_writeonly_mib 12 10400b3ed16SGreg Kroah-Hartman #define P80211ENUM_status_successful 0 10500b3ed16SGreg Kroah-Hartman #define P80211ENUM_status_unspec_failure 1 10600b3ed16SGreg Kroah-Hartman #define P80211ENUM_status_ap_full 17 10700b3ed16SGreg Kroah-Hartman #define P80211ENUM_msgitem_status_data_ok 0 10800b3ed16SGreg Kroah-Hartman #define P80211ENUM_msgitem_status_no_value 1 10900b3ed16SGreg Kroah-Hartman 11000b3ed16SGreg Kroah-Hartman /*----------------------------------------------------------------*/ 11100b3ed16SGreg Kroah-Hartman /* p80211 max length constants for the different pascal strings. */ 11200b3ed16SGreg Kroah-Hartman 11300b3ed16SGreg Kroah-Hartman #define MAXLEN_PSTR6 (6) /* pascal array of 6 bytes */ 11400b3ed16SGreg Kroah-Hartman #define MAXLEN_PSTR14 (14) /* pascal array of 14 bytes */ 11500b3ed16SGreg Kroah-Hartman #define MAXLEN_PSTR32 (32) /* pascal array of 32 bytes */ 11600b3ed16SGreg Kroah-Hartman #define MAXLEN_PSTR255 (255) /* pascal array of 255 bytes */ 11700b3ed16SGreg Kroah-Hartman #define MAXLEN_MIBATTRIBUTE (392) /* maximum mibattribute */ 11800b3ed16SGreg Kroah-Hartman /* where the size of the DATA itself */ 11900b3ed16SGreg Kroah-Hartman /* is a DID-LEN-DATA triple */ 12000b3ed16SGreg Kroah-Hartman /* with a max size of 4+4+384 */ 12100b3ed16SGreg Kroah-Hartman 12200b3ed16SGreg Kroah-Hartman /*---------------------------------------------------------------- 12300b3ed16SGreg Kroah-Hartman * The following constants and macros are used to construct and 12400b3ed16SGreg Kroah-Hartman * deconstruct the Data ID codes. The coding is as follows: 12500b3ed16SGreg Kroah-Hartman * 12600b3ed16SGreg Kroah-Hartman * ...rwtnnnnnnnniiiiiiggggggssssss s - Section 12700b3ed16SGreg Kroah-Hartman * g - Group 12800b3ed16SGreg Kroah-Hartman * i - Item 12900b3ed16SGreg Kroah-Hartman * n - Index 13000b3ed16SGreg Kroah-Hartman * t - Table flag 13100b3ed16SGreg Kroah-Hartman * w - Write flag 13200b3ed16SGreg Kroah-Hartman * r - Read flag 13300b3ed16SGreg Kroah-Hartman * . - Unused 13400b3ed16SGreg Kroah-Hartman */ 13500b3ed16SGreg Kroah-Hartman 13600b3ed16SGreg Kroah-Hartman #define P80211DID_LSB_SECTION (0) 13700b3ed16SGreg Kroah-Hartman #define P80211DID_LSB_GROUP (6) 13800b3ed16SGreg Kroah-Hartman #define P80211DID_LSB_ITEM (12) 13900b3ed16SGreg Kroah-Hartman #define P80211DID_LSB_INDEX (18) 14000b3ed16SGreg Kroah-Hartman #define P80211DID_LSB_ISTABLE (26) 14100b3ed16SGreg Kroah-Hartman #define P80211DID_LSB_ACCESS (27) 14200b3ed16SGreg Kroah-Hartman 14300b3ed16SGreg Kroah-Hartman #define P80211DID_MASK_SECTION (0x0000003fUL) 14400b3ed16SGreg Kroah-Hartman #define P80211DID_MASK_GROUP (0x0000003fUL) 14500b3ed16SGreg Kroah-Hartman #define P80211DID_MASK_ITEM (0x0000003fUL) 14600b3ed16SGreg Kroah-Hartman #define P80211DID_MASK_INDEX (0x000000ffUL) 14700b3ed16SGreg Kroah-Hartman #define P80211DID_MASK_ISTABLE (0x00000001UL) 14800b3ed16SGreg Kroah-Hartman #define P80211DID_MASK_ACCESS (0x00000003UL) 14900b3ed16SGreg Kroah-Hartman 150aaad4303SSolomon Peachy #define P80211DID_MK(a, m, l) ((((u32)(a)) & (m)) << (l)) 15100b3ed16SGreg Kroah-Hartman 15200b3ed16SGreg Kroah-Hartman #define P80211DID_MKSECTION(a) P80211DID_MK(a, \ 15300b3ed16SGreg Kroah-Hartman P80211DID_MASK_SECTION, \ 15400b3ed16SGreg Kroah-Hartman P80211DID_LSB_SECTION) 15500b3ed16SGreg Kroah-Hartman #define P80211DID_MKGROUP(a) P80211DID_MK(a, \ 15600b3ed16SGreg Kroah-Hartman P80211DID_MASK_GROUP, \ 15700b3ed16SGreg Kroah-Hartman P80211DID_LSB_GROUP) 15800b3ed16SGreg Kroah-Hartman #define P80211DID_MKITEM(a) P80211DID_MK(a, \ 15900b3ed16SGreg Kroah-Hartman P80211DID_MASK_ITEM, \ 16000b3ed16SGreg Kroah-Hartman P80211DID_LSB_ITEM) 16100b3ed16SGreg Kroah-Hartman #define P80211DID_MKINDEX(a) P80211DID_MK(a, \ 16200b3ed16SGreg Kroah-Hartman P80211DID_MASK_INDEX, \ 16300b3ed16SGreg Kroah-Hartman P80211DID_LSB_INDEX) 16400b3ed16SGreg Kroah-Hartman #define P80211DID_MKISTABLE(a) P80211DID_MK(a, \ 16500b3ed16SGreg Kroah-Hartman P80211DID_MASK_ISTABLE, \ 16600b3ed16SGreg Kroah-Hartman P80211DID_LSB_ISTABLE) 16700b3ed16SGreg Kroah-Hartman 16800b3ed16SGreg Kroah-Hartman #define P80211DID_MKID(s, g, i, n, t, a) (P80211DID_MKSECTION(s) | \ 16900b3ed16SGreg Kroah-Hartman P80211DID_MKGROUP(g) | \ 17000b3ed16SGreg Kroah-Hartman P80211DID_MKITEM(i) | \ 17100b3ed16SGreg Kroah-Hartman P80211DID_MKINDEX(n) | \ 17200b3ed16SGreg Kroah-Hartman P80211DID_MKISTABLE(t) | \ 17300b3ed16SGreg Kroah-Hartman (a)) 17400b3ed16SGreg Kroah-Hartman 175aaad4303SSolomon Peachy #define P80211DID_GET(a, m, l) ((((u32)(a)) >> (l)) & (m)) 17600b3ed16SGreg Kroah-Hartman 17700b3ed16SGreg Kroah-Hartman #define P80211DID_SECTION(a) P80211DID_GET(a, \ 17800b3ed16SGreg Kroah-Hartman P80211DID_MASK_SECTION, \ 17900b3ed16SGreg Kroah-Hartman P80211DID_LSB_SECTION) 18000b3ed16SGreg Kroah-Hartman #define P80211DID_GROUP(a) P80211DID_GET(a, \ 18100b3ed16SGreg Kroah-Hartman P80211DID_MASK_GROUP, \ 18200b3ed16SGreg Kroah-Hartman P80211DID_LSB_GROUP) 18300b3ed16SGreg Kroah-Hartman #define P80211DID_ITEM(a) P80211DID_GET(a, \ 18400b3ed16SGreg Kroah-Hartman P80211DID_MASK_ITEM, \ 18500b3ed16SGreg Kroah-Hartman P80211DID_LSB_ITEM) 18600b3ed16SGreg Kroah-Hartman #define P80211DID_INDEX(a) P80211DID_GET(a, \ 18700b3ed16SGreg Kroah-Hartman P80211DID_MASK_INDEX, \ 18800b3ed16SGreg Kroah-Hartman P80211DID_LSB_INDEX) 18900b3ed16SGreg Kroah-Hartman #define P80211DID_ISTABLE(a) P80211DID_GET(a, \ 19000b3ed16SGreg Kroah-Hartman P80211DID_MASK_ISTABLE, \ 19100b3ed16SGreg Kroah-Hartman P80211DID_LSB_ISTABLE) 19200b3ed16SGreg Kroah-Hartman #define P80211DID_ACCESS(a) P80211DID_GET(a, \ 19300b3ed16SGreg Kroah-Hartman P80211DID_MASK_ACCESS, \ 19400b3ed16SGreg Kroah-Hartman P80211DID_LSB_ACCESS) 19500b3ed16SGreg Kroah-Hartman 19600b3ed16SGreg Kroah-Hartman /*----------------------------------------------------------------*/ 19700b3ed16SGreg Kroah-Hartman /* The following structure types are used to store data items in */ 19800b3ed16SGreg Kroah-Hartman /* messages. */ 19900b3ed16SGreg Kroah-Hartman 20000b3ed16SGreg Kroah-Hartman /* Template pascal string */ 201c529e31fSSergio Paracuellos struct p80211pstr { 202aaad4303SSolomon Peachy u8 len; 203c529e31fSSergio Paracuellos } __packed; 20400b3ed16SGreg Kroah-Hartman 2053fd1e3fcSSergio Paracuellos struct p80211pstrd { 206aaad4303SSolomon Peachy u8 len; 2075979afa2SGustavo A. R. Silva u8 data[]; 2083fd1e3fcSSergio Paracuellos } __packed; 20900b3ed16SGreg Kroah-Hartman 21000b3ed16SGreg Kroah-Hartman /* Maximum pascal string */ 21194a29147SSergio Paracuellos struct p80211pstr255 { 212aaad4303SSolomon Peachy u8 len; 213aaad4303SSolomon Peachy u8 data[MAXLEN_PSTR255]; 21494a29147SSergio Paracuellos } __packed; 21500b3ed16SGreg Kroah-Hartman 21600b3ed16SGreg Kroah-Hartman /* pascal string for macaddress and bssid */ 2172816c008SSergio Paracuellos struct p80211pstr6 { 218aaad4303SSolomon Peachy u8 len; 219aaad4303SSolomon Peachy u8 data[MAXLEN_PSTR6]; 2202816c008SSergio Paracuellos } __packed; 22100b3ed16SGreg Kroah-Hartman 22200b3ed16SGreg Kroah-Hartman /* pascal string for channel list */ 2235d005584SSergio Paracuellos struct p80211pstr14 { 224aaad4303SSolomon Peachy u8 len; 225aaad4303SSolomon Peachy u8 data[MAXLEN_PSTR14]; 2265d005584SSergio Paracuellos } __packed; 22700b3ed16SGreg Kroah-Hartman 22800b3ed16SGreg Kroah-Hartman /* pascal string for ssid */ 229758f140dSSergio Paracuellos struct p80211pstr32 { 230aaad4303SSolomon Peachy u8 len; 231aaad4303SSolomon Peachy u8 data[MAXLEN_PSTR32]; 232758f140dSSergio Paracuellos } __packed; 23300b3ed16SGreg Kroah-Hartman 23400b3ed16SGreg Kroah-Hartman /* MAC address array */ 23546c226d7SSergio Paracuellos struct p80211macarray { 236aaad4303SSolomon Peachy u32 cnt; 237aaad4303SSolomon Peachy u8 data[1][MAXLEN_PSTR6]; 23846c226d7SSergio Paracuellos } __packed; 23900b3ed16SGreg Kroah-Hartman 24000b3ed16SGreg Kroah-Hartman /* prototype template */ 241cf796937SSergio Paracuellos struct p80211item { 242aaad4303SSolomon Peachy u32 did; 243aaad4303SSolomon Peachy u16 status; 244aaad4303SSolomon Peachy u16 len; 245cf796937SSergio Paracuellos } __packed; 24600b3ed16SGreg Kroah-Hartman 24700b3ed16SGreg Kroah-Hartman /* prototype template w/ data item */ 248ac033ec9SSergio Paracuellos struct p80211itemd { 249aaad4303SSolomon Peachy u32 did; 250aaad4303SSolomon Peachy u16 status; 251aaad4303SSolomon Peachy u16 len; 2525979afa2SGustavo A. R. Silva u8 data[]; 253ac033ec9SSergio Paracuellos } __packed; 25400b3ed16SGreg Kroah-Hartman 255aaad4303SSolomon Peachy /* message data item for int, BOUNDEDINT, ENUMINT */ 256b26b2325SSergio Paracuellos struct p80211item_uint32 { 257aaad4303SSolomon Peachy u32 did; 258aaad4303SSolomon Peachy u16 status; 259aaad4303SSolomon Peachy u16 len; 260aaad4303SSolomon Peachy u32 data; 261b26b2325SSergio Paracuellos } __packed; 26200b3ed16SGreg Kroah-Hartman 26300b3ed16SGreg Kroah-Hartman /* message data item for OCTETSTR, DISPLAYSTR */ 26434aae059SSergio Paracuellos struct p80211item_pstr6 { 265aaad4303SSolomon Peachy u32 did; 266aaad4303SSolomon Peachy u16 status; 267aaad4303SSolomon Peachy u16 len; 2682816c008SSergio Paracuellos struct p80211pstr6 data; 26934aae059SSergio Paracuellos } __packed; 27000b3ed16SGreg Kroah-Hartman 27100b3ed16SGreg Kroah-Hartman /* message data item for OCTETSTR, DISPLAYSTR */ 272f055b211SSergio Paracuellos struct p80211item_pstr14 { 273aaad4303SSolomon Peachy u32 did; 274aaad4303SSolomon Peachy u16 status; 275aaad4303SSolomon Peachy u16 len; 2765d005584SSergio Paracuellos struct p80211pstr14 data; 277f055b211SSergio Paracuellos } __packed; 27800b3ed16SGreg Kroah-Hartman 27900b3ed16SGreg Kroah-Hartman /* message data item for OCTETSTR, DISPLAYSTR */ 2806a50b5afSSergio Paracuellos struct p80211item_pstr32 { 281aaad4303SSolomon Peachy u32 did; 282aaad4303SSolomon Peachy u16 status; 283aaad4303SSolomon Peachy u16 len; 284758f140dSSergio Paracuellos struct p80211pstr32 data; 2856a50b5afSSergio Paracuellos } __packed; 28600b3ed16SGreg Kroah-Hartman 28700b3ed16SGreg Kroah-Hartman /* message data item for OCTETSTR, DISPLAYSTR */ 2883636ab01SSergio Paracuellos struct p80211item_pstr255 { 289aaad4303SSolomon Peachy u32 did; 290aaad4303SSolomon Peachy u16 status; 291aaad4303SSolomon Peachy u16 len; 29294a29147SSergio Paracuellos struct p80211pstr255 data; 2933636ab01SSergio Paracuellos } __packed; 29400b3ed16SGreg Kroah-Hartman 29500b3ed16SGreg Kroah-Hartman /* message data item for UNK 392, namely mib items */ 29637e48668SSergio Paracuellos struct p80211item_unk392 { 297aaad4303SSolomon Peachy u32 did; 298aaad4303SSolomon Peachy u16 status; 299aaad4303SSolomon Peachy u16 len; 300aaad4303SSolomon Peachy u8 data[MAXLEN_MIBATTRIBUTE]; 30137e48668SSergio Paracuellos } __packed; 30200b3ed16SGreg Kroah-Hartman 30300b3ed16SGreg Kroah-Hartman /* message data item for UNK 1025, namely p2 pdas */ 3041ad26f70SSergio Paracuellos struct p80211item_unk1024 { 305aaad4303SSolomon Peachy u32 did; 306aaad4303SSolomon Peachy u16 status; 307aaad4303SSolomon Peachy u16 len; 308aaad4303SSolomon Peachy u8 data[1024]; 3091ad26f70SSergio Paracuellos } __packed; 31000b3ed16SGreg Kroah-Hartman 31100b3ed16SGreg Kroah-Hartman /* message data item for UNK 4096, namely p2 download chunks */ 312f8b8f64fSSergio Paracuellos struct p80211item_unk4096 { 313aaad4303SSolomon Peachy u32 did; 314aaad4303SSolomon Peachy u16 status; 315aaad4303SSolomon Peachy u16 len; 316aaad4303SSolomon Peachy u8 data[4096]; 317f8b8f64fSSergio Paracuellos } __packed; 31800b3ed16SGreg Kroah-Hartman 31900b3ed16SGreg Kroah-Hartman #endif /* _P80211TYPES_H */ 320