Added jhicks patches for working with the ARM platform.

This commit is contained in:
mark 2001-03-10 23:08:06 +00:00
parent 67055c05c9
commit 1fd4643be3
13 changed files with 206 additions and 167 deletions

View File

@ -42,6 +42,8 @@
*
* --------------------------------------------------------------------
0.1.8
- Added script changes and new mib items to support 128-bit WEP per hong's
suggestion.
- Added a compat macro for kfree_s to wlan_compat.h per the suggestion
from rbraun.
- Added pkundrat's 'chinfo' patch

View File

@ -68,6 +68,7 @@ clean:
rm -f src/include/wlan/version.h
install:
find . -name .depend -exec rm {} \;
set -e; for d in $(DIRS); do $(MAKE) -C $$d install ; done
auto_config:

View File

@ -119,7 +119,7 @@ case "$ACTION" in
mibattribute=dot11ExcludeUnencrypted=$dot11ExcludeUnencrypted
$WLANCTL $DEVICE dot11req_mibset \
mibattribute=dot11PrivacyInvoked=$dot11PrivacyInvoked
if [ "a$PRIV_GENSTRa" != "aa" ] ; then
if [ "a${PRIV_GENSTR}a" != "aa" ] ; then
keys=`$PRIV_GENERATOR $PRIV_GENSTR`
knum=0
for i in $keys ; do

View File

@ -84,23 +84,23 @@ typedef struct wlan_ethhdr
{
UINT8 daddr[WLAN_ETHADDR_LEN] __WLAN_ATTRIB_PACK__;
UINT8 saddr[WLAN_ETHADDR_LEN] __WLAN_ATTRIB_PACK__;
UINT16 type __WLAN_ATTRIB_PACK__;
} wlan_ethhdr_t;
UINT16 type __WLAN_ATTRIB_PACK__;
} __WLAN_ATTRIB_PACK__ wlan_ethhdr_t;
/* local llc header type */
typedef struct wlan_llc
{
UINT8 dsap __WLAN_ATTRIB_PACK__;
UINT8 ssap __WLAN_ATTRIB_PACK__;
UINT8 ctl __WLAN_ATTRIB_PACK__;
} wlan_llc_t;
UINT8 dsap __WLAN_ATTRIB_PACK__;
UINT8 ssap __WLAN_ATTRIB_PACK__;
UINT8 ctl __WLAN_ATTRIB_PACK__;
} __WLAN_ATTRIB_PACK__ wlan_llc_t;
/* local snap header type */
typedef struct wlan_snap
{
UINT8 oui[WLAN_IEEE_OUI_LEN] __WLAN_ATTRIB_PACK__;
UINT16 type __WLAN_ATTRIB_PACK__;
} wlan_snap_t;
UINT16 type __WLAN_ATTRIB_PACK__;
} __WLAN_ATTRIB_PACK__ wlan_snap_t;
/*-------------------------------------------------------------
* NOTE:

View File

@ -225,7 +225,7 @@ typedef struct p80211_hdr_a3
UINT8 a2[WLAN_ADDR_LEN] __WLAN_ATTRIB_PACK__;
UINT8 a3[WLAN_ADDR_LEN] __WLAN_ATTRIB_PACK__;
UINT16 seq __WLAN_ATTRIB_PACK__;
} p80211_hdr_a3_t;
} __WLAN_ATTRIB_PACK__ p80211_hdr_a3_t;
__WLAN_PRAGMA_PACKDFLT__
__WLAN_PRAGMA_PACK1__
@ -238,7 +238,7 @@ typedef struct p80211_hdr_a4
UINT8 a3[WLAN_ADDR_LEN] __WLAN_ATTRIB_PACK__;
UINT16 seq __WLAN_ATTRIB_PACK__;
UINT8 a4[WLAN_ADDR_LEN] __WLAN_ATTRIB_PACK__;
} p80211_hdr_a4_t;
} __WLAN_ATTRIB_PACK__ p80211_hdr_a4_t;
__WLAN_PRAGMA_PACKDFLT__
typedef union p80211_hdr

View File

@ -109,7 +109,7 @@ typedef struct p80211ioctl_req
UINT32 magic __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
UINT32 result __WLAN_ATTRIB_PACK__;
} p80211ioctl_req_t;
} __WLAN_ATTRIB_PACK__ p80211ioctl_req_t;
/*================================================================*/

View File

@ -247,7 +247,7 @@ typedef struct wlan_ie
{
UINT8 eid __WLAN_ATTRIB_PACK__;
UINT8 len __WLAN_ATTRIB_PACK__;
} wlan_ie_t;
} __WLAN_ATTRIB_PACK__ wlan_ie_t;
__WLAN_PRAGMA_PACKDFLT__
/*-- Service Set Identity (SSID) -----------------*/
@ -257,7 +257,7 @@ typedef struct wlan_ie_ssid
UINT8 eid __WLAN_ATTRIB_PACK__;
UINT8 len __WLAN_ATTRIB_PACK__;
UINT8 ssid[1] __WLAN_ATTRIB_PACK__; /* may be zero, ptrs may overlap */
} wlan_ie_ssid_t;
} __WLAN_ATTRIB_PACK__ wlan_ie_ssid_t;
__WLAN_PRAGMA_PACKDFLT__
/*-- Supported Rates -----------------------------*/
@ -267,7 +267,7 @@ typedef struct wlan_ie_supp_rates
UINT8 eid __WLAN_ATTRIB_PACK__;
UINT8 len __WLAN_ATTRIB_PACK__;
UINT8 rates[1] __WLAN_ATTRIB_PACK__; /* had better be at LEAST one! */
} wlan_ie_supp_rates_t;
} __WLAN_ATTRIB_PACK__ wlan_ie_supp_rates_t;
__WLAN_PRAGMA_PACKDFLT__
/*-- FH Parameter Set ----------------------------*/
@ -280,7 +280,7 @@ typedef struct wlan_ie_fh_parms
UINT8 hopset __WLAN_ATTRIB_PACK__;
UINT8 hoppattern __WLAN_ATTRIB_PACK__;
UINT8 hopindex __WLAN_ATTRIB_PACK__;
} wlan_ie_fh_parms_t;
} __WLAN_ATTRIB_PACK__ wlan_ie_fh_parms_t;
__WLAN_PRAGMA_PACKDFLT__
/*-- DS Parameter Set ----------------------------*/
@ -290,7 +290,7 @@ typedef struct wlan_ie_ds_parms
UINT8 eid __WLAN_ATTRIB_PACK__;
UINT8 len __WLAN_ATTRIB_PACK__;
UINT8 curr_ch __WLAN_ATTRIB_PACK__;
} wlan_ie_ds_parms_t;
} __WLAN_ATTRIB_PACK__ wlan_ie_ds_parms_t;
__WLAN_PRAGMA_PACKDFLT__
/*-- CF Parameter Set ----------------------------*/
@ -303,7 +303,7 @@ typedef struct wlan_ie_cf_parms
UINT8 cfp_period __WLAN_ATTRIB_PACK__;
UINT16 cfp_maxdur __WLAN_ATTRIB_PACK__;
UINT16 cfp_durremaining __WLAN_ATTRIB_PACK__;
} wlan_ie_cf_parms_t;
} __WLAN_ATTRIB_PACK__ wlan_ie_cf_parms_t;
__WLAN_PRAGMA_PACKDFLT__
/*-- TIM ------------------------------------------*/
@ -316,7 +316,7 @@ typedef struct wlan_ie_tim
UINT8 dtim_period __WLAN_ATTRIB_PACK__;
UINT8 bitmap_ctl __WLAN_ATTRIB_PACK__;
UINT8 virt_bm[1] __WLAN_ATTRIB_PACK__;
} wlan_ie_tim_t;
} __WLAN_ATTRIB_PACK__ wlan_ie_tim_t;
__WLAN_PRAGMA_PACKDFLT__
/*-- IBSS Parameter Set ---------------------------*/
@ -326,7 +326,7 @@ typedef struct wlan_ie_ibss_parms
UINT8 eid __WLAN_ATTRIB_PACK__;
UINT8 len __WLAN_ATTRIB_PACK__;
UINT16 atim_win __WLAN_ATTRIB_PACK__;
} wlan_ie_ibss_parms_t;
} __WLAN_ATTRIB_PACK__ wlan_ie_ibss_parms_t;
__WLAN_PRAGMA_PACKDFLT__
/*-- Challenge Text ------------------------------*/
@ -336,7 +336,7 @@ typedef struct wlan_ie_challenge
UINT8 eid __WLAN_ATTRIB_PACK__;
UINT8 len __WLAN_ATTRIB_PACK__;
UINT8 challenge[1] __WLAN_ATTRIB_PACK__;
} wlan_ie_challenge_t;
} __WLAN_ATTRIB_PACK__ wlan_ie_challenge_t;
__WLAN_PRAGMA_PACKDFLT__

View File

@ -82,7 +82,7 @@ typedef struct p80211msg
UINT32 msgcode __WLAN_ATTRIB_PACK__;
UINT32 msglen __WLAN_ATTRIB_PACK__;
UINT8 devname[WLAN_DEVNAMELEN_MAX] __WLAN_ATTRIB_PACK__;
} p80211msg_t;
} __WLAN_ATTRIB_PACK__ p80211msg_t;
__WLAN_PRAGMA_PACKDFLT__
@ -93,7 +93,7 @@ typedef struct p80211msgd
UINT32 msglen __WLAN_ATTRIB_PACK__;
UINT8 devname[WLAN_DEVNAMELEN_MAX] __WLAN_ATTRIB_PACK__;
UINT8 args[0] __WLAN_ATTRIB_PACK__;
} p80211msgd_t;
} __WLAN_ATTRIB_PACK__ p80211msgd_t;
__WLAN_PRAGMA_PACKDFLT__
/*================================================================*/

View File

@ -375,7 +375,7 @@ __WLAN_PRAGMA_PACK1__
typedef struct p80211pstr
{
UINT8 len __WLAN_ATTRIB_PACK__;
} p80211pstr_t;
} __WLAN_ATTRIB_PACK__ p80211pstr_t;
__WLAN_PRAGMA_PACKDFLT__
__WLAN_PRAGMA_PACK1__
@ -383,7 +383,7 @@ typedef struct p80211pstrd
{
UINT8 len __WLAN_ATTRIB_PACK__;
UINT8 data[0] __WLAN_ATTRIB_PACK__;
} p80211pstrd_t;
} __WLAN_ATTRIB_PACK__ p80211pstrd_t;
__WLAN_PRAGMA_PACKDFLT__
/* Maximum pascal string */
@ -392,7 +392,7 @@ typedef struct p80211pstr255
{
UINT8 len __WLAN_ATTRIB_PACK__;
UINT8 data[MAXLEN_PSTR255] __WLAN_ATTRIB_PACK__;
} p80211pstr255_t;
} __WLAN_ATTRIB_PACK__ p80211pstr255_t;
__WLAN_PRAGMA_PACKDFLT__
/* pascal string for macaddress and bssid */
@ -401,7 +401,7 @@ typedef struct p80211pstr6
{
UINT8 len __WLAN_ATTRIB_PACK__;
UINT8 data[MAXLEN_PSTR6] __WLAN_ATTRIB_PACK__;
} p80211pstr6_t;
} __WLAN_ATTRIB_PACK__ p80211pstr6_t;
__WLAN_PRAGMA_PACKDFLT__
/* pascal string for channel list */
@ -410,7 +410,7 @@ typedef struct p80211pstr14
{
UINT8 len __WLAN_ATTRIB_PACK__;
UINT8 data[MAXLEN_PSTR14] __WLAN_ATTRIB_PACK__;
} p80211pstr14_t;
} __WLAN_ATTRIB_PACK__ p80211pstr14_t;
__WLAN_PRAGMA_PACKDFLT__
/* pascal string for ssid */
@ -419,7 +419,7 @@ typedef struct p80211pstr32
{
UINT8 len __WLAN_ATTRIB_PACK__;
UINT8 data[MAXLEN_PSTR32] __WLAN_ATTRIB_PACK__;
} p80211pstr32_t;
} __WLAN_ATTRIB_PACK__ p80211pstr32_t;
__WLAN_PRAGMA_PACKDFLT__
/* prototype template */
@ -429,7 +429,7 @@ typedef struct p80211item
UINT32 did __WLAN_ATTRIB_PACK__;
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
} p80211item_t;
} __WLAN_ATTRIB_PACK__ p80211item_t;
__WLAN_PRAGMA_PACKDFLT__
/* prototype template w/ data item */
@ -440,7 +440,7 @@ typedef struct p80211itemd
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
UINT8 data[0] __WLAN_ATTRIB_PACK__;
} p80211itemd_t;
} __WLAN_ATTRIB_PACK__ p80211itemd_t;
__WLAN_PRAGMA_PACKDFLT__
/* message data item for INT, BOUNDEDINT, ENUMINT */
@ -451,7 +451,7 @@ typedef struct p80211item_uint32
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
UINT32 data __WLAN_ATTRIB_PACK__;
} p80211item_uint32_t;
} __WLAN_ATTRIB_PACK__ p80211item_uint32_t;
__WLAN_PRAGMA_PACKDFLT__
/* message data item for OCTETSTR, DISPLAYSTR */
@ -462,7 +462,7 @@ typedef struct p80211item_pstr6
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
p80211pstr6_t data __WLAN_ATTRIB_PACK__;
}p80211item_pstr6_t;
} __WLAN_ATTRIB_PACK__ p80211item_pstr6_t;
__WLAN_PRAGMA_PACKDFLT__
/* message data item for OCTETSTR, DISPLAYSTR */
@ -473,7 +473,7 @@ typedef struct p80211item_pstr14
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
p80211pstr14_t data __WLAN_ATTRIB_PACK__;
}p80211item_pstr14_t;
} __WLAN_ATTRIB_PACK__ p80211item_pstr14_t;
__WLAN_PRAGMA_PACKDFLT__
/* message data item for OCTETSTR, DISPLAYSTR */
@ -484,7 +484,7 @@ typedef struct p80211item_pstr32
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
p80211pstr32_t data __WLAN_ATTRIB_PACK__;
}p80211item_pstr32_t;
} __WLAN_ATTRIB_PACK__ p80211item_pstr32_t;
__WLAN_PRAGMA_PACKDFLT__
/* message data item for OCTETSTR, DISPLAYSTR */
@ -495,7 +495,7 @@ typedef struct p80211item_pstr255
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
p80211pstr255_t data __WLAN_ATTRIB_PACK__;
}p80211item_pstr255_t;
} __WLAN_ATTRIB_PACK__ p80211item_pstr255_t;
__WLAN_PRAGMA_PACKDFLT__
/* message data item for UNK 264, namely mib items */
@ -505,7 +505,7 @@ typedef struct p80211item_unk264
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
UINT8 data[MAXLEN_MIBATTRIBUTE] __WLAN_ATTRIB_PACK__;
} p80211item_unk264_t;
} __WLAN_ATTRIB_PACK__ p80211item_unk264_t;
__WLAN_PRAGMA_PACK1__
/* message data item for UNK 1025, namely p2 pdas */
@ -515,7 +515,7 @@ typedef struct p80211item_unk1024
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
UINT8 data[1024] __WLAN_ATTRIB_PACK__;
} p80211item_unk1024_t;
} __WLAN_ATTRIB_PACK__ p80211item_unk1024_t;
__WLAN_PRAGMA_PACK1__
/* message data item for UNK 4096, namely p2 download chunks */
@ -525,7 +525,7 @@ typedef struct p80211item_unk4096
UINT16 status __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
UINT8 data[4096] __WLAN_ATTRIB_PACK__;
} p80211item_unk4096_t;
} __WLAN_ATTRIB_PACK__ p80211item_unk4096_t;
__WLAN_PRAGMA_PACK1__
struct catlistitem;

View File

@ -56,22 +56,27 @@
#define WLAN_Ix86 1
#define WLAN_PPC 2
#define WLAN_Ix96 3
#define WLAN_ARM 4
/* WLAN_CPU_CORE */
#define WLAN_I386CORE 1
#define WLAN_PPCCORE 2
#define WLAN_I296 3
#define WLAN_ARMCORE 4
/* WLAN_CPU_PART */
#define WLAN_I386PART 1
#define WLAN_MPC860 2
#define WLAN_MPC823 3
#define WLAN_I296SA 4
#define WLAN_PPCPART 5
#define WLAN_ARMPART 6
/* WLAN_SYSARCH */
#define WLAN_PCAT 1
#define WLAN_MBX 2
#define WLAN_RPX 3
#define WLAN_LWARCH 4
#define WLAN_PMAC 5
#define WLAN_SKIFF 6
#define WLAN_BITSY 7
/* WLAN_OS */
#define WLAN_LINUX_KERNEL 1
#define WLAN_LINUX_USER 2
@ -119,6 +124,13 @@
#define WLAN_CPU_PART WLAN_PPCPART
#define WLAN_SYSARCH WLAN_PMAC
#endif
#elif defined(__arm__)
#define WLAN_CPU_FAMILY WLAN_ARM
#define WLAN_CPU_CORE WLAN_ARMCORE
#define WLAN_CPU_PART WLAN_ARM_PART
#define WLAN_SYSARCH WLAN_SKIFF
#else
#error "No CPU identified!"
#endif
#elif defined(__LINUX_WLAN__) && !defined(__KERNEL__)
#define WLAN_OS WLAN_LINUX_USER
@ -141,6 +153,11 @@
#define WLAN_CPU_PART WLAN_PPCPART
#define WLAN_SYSARCH WLAN_PMAC
#endif
#elif defined(__arm__)
#define WLAN_CPU_FAMILY WLAN_ARM
#define WLAN_CPU_CORE WLAN_ARMCORE
#define WLAN_CPU_PART WLAN_ARM_PART
#define WLAN_SYSARCH WLAN_SKIFF
#else
#error "No CPU identified!"
#endif
@ -555,7 +572,7 @@ typedef signed int INT;
#define ntohs(n) (n)
#endif
#else
#error "WLAN_OS not defined"
#warning "WLAN_OS not defined"
#endif
@ -576,6 +593,22 @@ typedef signed int INT;
#define wlan_outl(v,a) outl((v),(a))
#define wlan_outl_cpu_to_le32(v,a) outl((v),(a))
#define wlan_outl_cpu_to_be32(v,a) outl(__cpu_to_be32((v)), (a))
#elif (WLAN_OS == WLAN_LINUX_KERNEL && WLAN_CPU_FAMILY == WLAN_ARM)
#define wlan_inb(a) inb((a))
#define wlan_inw(a) inw((a))
#define wlan_inw_le16_to_cpu(a) inw((a))
#define wlan_inw_be16_to_cpu(a) (__be16_to_cpu(inw((a))))
#define wlan_inl(a) inl((a))
#define wlan_inl_le32_to_cpu(a) inl((a))
#define wlan_inl_be32_to_cpu(a) (__be32_to_cpu(inl((a))))
#define wlan_outb(v,a) outb((v),(a))
#define wlan_outw(v,a) outw((v),(a))
#define wlan_outw_cpu_to_le16(v,a) outw((v),(a))
#define wlan_outw_cpu_to_be16(v,a) outw(__cpu_to_be16((v), (a)))
#define wlan_outl(v,a) outl((v),(a))
#define wlan_outl_cpu_to_le32(v,a) outl((v),(a))
#define wlan_outl_cpu_to_be32(v,a) outw(__cpu_to_be32((v), (a)))
#elif (WLAN_OS == WLAN_LINUX_KERNEL && WLAN_CPU_FAMILY == WLAN_PPC)
#define wlan_inb(a) inb((a))
#define wlan_inw(a) in_be16((unsigned short *)((a)+_IO_BASE))
@ -592,6 +625,10 @@ typedef signed int INT;
#define wlan_outl(v,a) out_be32((unsigned short *)((a)+_IO_BASE), (v))
#define wlan_outl_cpu_to_le32(v,a) outl((v),(a))
#define wlan_outl_cpu_to_be32(v,a) out_be32((unsigned short *)((a)+_IO_BASE), (v))
#elif (WLAN_OS == WLAN_LINUX_USER)
/* We don't need these macros in usermode */
#else
#error "No definition for wlan_inb and friends"
#endif
/*=============================================================*/

View File

@ -99,7 +99,7 @@ int main(int argc, char **argv)
break;
}
}
printf("} %s_%s_t;\n__WLAN_PRAGMA_PACKDFLT__\n\n\n",
printf("} __WLAN_ATTRIB_PACK__ %s_%s_t;\n__WLAN_PRAGMA_PACKDFLT__\n\n\n",
name,
msg_catlist[c].grplist[g].name);
}

View File

@ -106,4 +106,3 @@ clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
rm -f prism2dl
for i in *_obj; do if [ -d $$i ]; then rm -fr $$i; fi; done

View File

@ -738,13 +738,13 @@ typedef struct hfa384x_bytestr
{
UINT16 len __WLAN_ATTRIB_PACK__;
UINT8 data[0] __WLAN_ATTRIB_PACK__;
} hfa384x_bytestr_t;
} __WLAN_ATTRIB_PACK__ hfa384x_bytestr_t;
typedef struct hfa384x_bytestr32
{
UINT16 len __WLAN_ATTRIB_PACK__;
UINT8 data[32] __WLAN_ATTRIB_PACK__;
} hfa384x_bytestr32_t;
} __WLAN_ATTRIB_PACK__ hfa384x_bytestr32_t;
/*--------------------------------------------------------------------
Configuration Record Structures:
@ -757,21 +757,21 @@ typedef struct hfa384x_record
{
UINT16 reclen __WLAN_ATTRIB_PACK__;
UINT16 rid __WLAN_ATTRIB_PACK__;
} hfa384x_rec_t;
} __WLAN_ATTRIB_PACK__ hfa384x_rec_t;
typedef struct hfa384x_record16
{
UINT16 reclen __WLAN_ATTRIB_PACK__;
UINT16 rid __WLAN_ATTRIB_PACK__;
UINT16 val __WLAN_ATTRIB_PACK__;
} hfa384x_rec16_t;
} __WLAN_ATTRIB_PACK__ hfa384x_rec16_t;
typedef struct hfa384x_record32
{
UINT16 reclen __WLAN_ATTRIB_PACK__;
UINT16 rid __WLAN_ATTRIB_PACK__;
UINT32 val __WLAN_ATTRIB_PACK__;
} hfa384x_rec32;
} __WLAN_ATTRIB_PACK__ hfa384x_rec32;
/*-- Hardware/Firmware Component Information ----------*/
typedef struct hfa384x_compident
@ -780,7 +780,7 @@ typedef struct hfa384x_compident
UINT16 variant __WLAN_ATTRIB_PACK__;
UINT16 major __WLAN_ATTRIB_PACK__;
UINT16 minor __WLAN_ATTRIB_PACK__;
} hfa384x_compident_t;
} __WLAN_ATTRIB_PACK__ hfa384x_compident_t;
typedef struct hfa384x_caplevel
{
@ -789,115 +789,115 @@ typedef struct hfa384x_caplevel
UINT16 variant __WLAN_ATTRIB_PACK__;
UINT16 bottom __WLAN_ATTRIB_PACK__;
UINT16 top __WLAN_ATTRIB_PACK__;
} hfa384x_caplevel_t;
} __WLAN_ATTRIB_PACK__ hfa384x_caplevel_t;
/*-- Configuration Record: cnfPortType --*/
typedef struct hfa384x_cnfPortType
{
UINT16 cnfPortType __WLAN_ATTRIB_PACK__;
} hfa384x_cnfPortType_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfPortType_t;
/*-- Configuration Record: cnfOwnMACAddress --*/
typedef struct hfa384x_cnfOwnMACAddress
{
UINT8 cnfOwnMACAddress[6] __WLAN_ATTRIB_PACK__;
} hfa384x_cnfOwnMACAddress_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnMACAddress_t;
/*-- Configuration Record: cnfDesiredSSID --*/
typedef struct hfa384x_cnfDesiredSSID
{
UINT8 cnfDesiredSSID[34] __WLAN_ATTRIB_PACK__;
} hfa384x_cnfDesiredSSID_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfDesiredSSID_t;
/*-- Configuration Record: cnfOwnChannel --*/
typedef struct hfa384x_cnfOwnChannel
{
UINT16 cnfOwnChannel __WLAN_ATTRIB_PACK__;
} hfa384x_cnfOwnChannel_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnChannel_t;
/*-- Configuration Record: cnfOwnSSID --*/
typedef struct hfa384x_cnfOwnSSID
{
UINT8 cnfOwnSSID[34] __WLAN_ATTRIB_PACK__;
} hfa384x_cnfOwnSSID_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnSSID_t;
/*-- Configuration Record: cnfOwnATIMWindow --*/
typedef struct hfa384x_cnfOwnATIMWindow
{
UINT16 cnfOwnATIMWindow __WLAN_ATTRIB_PACK__;
} hfa384x_cnfOwnATIMWindow_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnATIMWindow_t;
/*-- Configuration Record: cnfSystemScale --*/
typedef struct hfa384x_cnfSystemScale
{
UINT16 cnfSystemScale __WLAN_ATTRIB_PACK__;
} hfa384x_cnfSystemScale_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfSystemScale_t;
/*-- Configuration Record: cnfMaxDataLength --*/
typedef struct hfa384x_cnfMaxDataLength
{
UINT16 cnfMaxDataLength __WLAN_ATTRIB_PACK__;
} hfa384x_cnfMaxDataLength_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfMaxDataLength_t;
/*-- Configuration Record: cnfWDSAddress --*/
typedef struct hfa384x_cnfWDSAddress
{
UINT8 cnfWDSAddress[6] __WLAN_ATTRIB_PACK__;
} hfa384x_cnfWDSAddress_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfWDSAddress_t;
/*-- Configuration Record: cnfPMEnabled --*/
typedef struct hfa384x_cnfPMEnabled
{
UINT16 cnfPMEnabled __WLAN_ATTRIB_PACK__;
} hfa384x_cnfPMEnabled_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfPMEnabled_t;
/*-- Configuration Record: cnfPMEPS --*/
typedef struct hfa384x_cnfPMEPS
{
UINT16 cnfPMEPS __WLAN_ATTRIB_PACK__;
} hfa384x_cnfPMEPS_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfPMEPS_t;
/*-- Configuration Record: cnfMulticastReceive --*/
typedef struct hfa384x_cnfMulticastReceive
{
UINT16 cnfMulticastReceive __WLAN_ATTRIB_PACK__;
} hfa384x_cnfMulticastReceive_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfMulticastReceive_t;
/*-- Configuration Record: cnfMaxSleepDuration --*/
typedef struct hfa384x_cnfMaxSleepDuration
{
UINT16 cnfMaxSleepDuration __WLAN_ATTRIB_PACK__;
} hfa384x_cnfMaxSleepDuration_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfMaxSleepDuration_t;
/*-- Configuration Record: cnfPMHoldoverDuration --*/
typedef struct hfa384x_cnfPMHoldoverDuration
{
UINT16 cnfPMHoldoverDuration __WLAN_ATTRIB_PACK__;
} hfa384x_cnfPMHoldoverDuration_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfPMHoldoverDuration_t;
/*-- Configuration Record: cnfOwnName --*/
typedef struct hfa384x_cnfOwnName
{
UINT8 cnfOwnName[34] __WLAN_ATTRIB_PACK__;
} hfa384x_cnfOwnName_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnName_t;
/*-- Configuration Record: cnfOwnDTIMPeriod --*/
typedef struct hfa384x_cnfOwnDTIMPeriod
{
UINT16 cnfOwnDTIMPeriod __WLAN_ATTRIB_PACK__;
} hfa384x_cnfOwnDTIMPeriod_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnDTIMPeriod_t;
/*-- Configuration Record: cnfWDSAddress --*/
typedef struct hfa384x_cnfWDSAddressN
{
UINT8 cnfWDSAddress[6] __WLAN_ATTRIB_PACK__;
} hfa384x_cnfWDSAddressN_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfWDSAddressN_t;
/*-- Configuration Record: cnfMulticastPMBuffering --*/
typedef struct hfa384x_cnfMulticastPMBuffering
{
UINT16 cnfMulticastPMBuffering __WLAN_ATTRIB_PACK__;
} hfa384x_cnfMulticastPMBuffering_t;
} __WLAN_ATTRIB_PACK__ hfa384x_cnfMulticastPMBuffering_t;
/*--------------------------------------------------------------------
Configuration Record Structures:
@ -908,37 +908,37 @@ Configuration Record Structures:
typedef struct hfa384x_GroupAddresses
{
UINT8 MACAddress[16][6] __WLAN_ATTRIB_PACK__;
} hfa384x_GroupAddresses_t;
} __WLAN_ATTRIB_PACK__ hfa384x_GroupAddresses_t;
/*-- Configuration Record: CreateIBSS --*/
typedef struct hfa384x_CreateIBSS
{
UINT16 CreateIBSS __WLAN_ATTRIB_PACK__;
} hfa384x_CreateIBSS_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CreateIBSS_t;
/*-- Configuration Record: FragmentationThreshold --*/
typedef struct hfa384x_FragmentationThreshold
{
UINT16 FragmentationThreshold __WLAN_ATTRIB_PACK__;
} hfa384x_FragmentationThreshold_t;
} __WLAN_ATTRIB_PACK__ hfa384x_FragmentationThreshold_t;
/*-- Configuration Record: RTSThreshold --*/
typedef struct hfa384x_RTSThreshold
{
UINT16 RTSThreshold __WLAN_ATTRIB_PACK__;
} hfa384x_RTSThreshold_t;
} __WLAN_ATTRIB_PACK__ hfa384x_RTSThreshold_t;
/*-- Configuration Record: TxRateControl --*/
typedef struct hfa384x_TxRateControl
{
UINT16 TxRateControl __WLAN_ATTRIB_PACK__;
} hfa384x_TxRateControl_t;
} __WLAN_ATTRIB_PACK__ hfa384x_TxRateControl_t;
/*-- Configuration Record: PromiscuousMode --*/
typedef struct hfa384x_PromiscuousMode
{
UINT16 PromiscuousMode __WLAN_ATTRIB_PACK__;
} hfa384x_PromiscuousMode_t;
} __WLAN_ATTRIB_PACK__ hfa384x_PromiscuousMode_t;
/*--------------------------------------------------------------------
Configuration Record Structures: Behavior Parameters
@ -948,7 +948,7 @@ Configuration Record Structures: Behavior Parameters
typedef struct hfa384x_TickTime
{
UINT16 TickTime __WLAN_ATTRIB_PACK__;
} hfa384x_TickTime_t;
} __WLAN_ATTRIB_PACK__ hfa384x_TickTime_t;
/*--------------------------------------------------------------------
Information Record Structures: NIC Information
@ -958,7 +958,7 @@ Information Record Structures: NIC Information
typedef struct hfa384x_MaxLoadTime
{
UINT16 MaxLoadTime __WLAN_ATTRIB_PACK__;
} hfa384x_MaxLoadTime_t;
} __WLAN_ATTRIB_PACK__ hfa384x_MaxLoadTime_t;
/*-- Information Record: DownLoadBuffer --*/
typedef struct hfa384x_downloadbuffer
@ -966,7 +966,7 @@ typedef struct hfa384x_downloadbuffer
UINT16 page __WLAN_ATTRIB_PACK__;
UINT16 offset __WLAN_ATTRIB_PACK__;
UINT16 len __WLAN_ATTRIB_PACK__;
} hfa384x_downloadbuffer_t;
} __WLAN_ATTRIB_PACK__ hfa384x_downloadbuffer_t;
/*-- Information Record: PRIIdentity --*/
typedef struct hfa384x_PRIIdentity
@ -975,7 +975,7 @@ typedef struct hfa384x_PRIIdentity
UINT16 PRIVariant __WLAN_ATTRIB_PACK__;
UINT16 PRIMajorVersion __WLAN_ATTRIB_PACK__;
UINT16 PRIMinorVersion __WLAN_ATTRIB_PACK__;
} hfa384x_PRIIdentity_t;
} __WLAN_ATTRIB_PACK__ hfa384x_PRIIdentity_t;
/*-- Information Record: PRISupRange --*/
typedef struct hfa384x_PRISupRange
@ -985,7 +985,7 @@ typedef struct hfa384x_PRISupRange
UINT16 PRIVariant __WLAN_ATTRIB_PACK__;
UINT16 PRIBottom __WLAN_ATTRIB_PACK__;
UINT16 PRITop __WLAN_ATTRIB_PACK__;
} hfa384x_PRISupRange_t;
} __WLAN_ATTRIB_PACK__ hfa384x_PRISupRange_t;
/*-- Information Record: CFIActRanges --*/
typedef struct hfa384x_CFIActRanges
@ -995,13 +995,13 @@ typedef struct hfa384x_CFIActRanges
UINT16 CFIVariant __WLAN_ATTRIB_PACK__;
UINT16 CFIBottom __WLAN_ATTRIB_PACK__;
UINT16 CFITop __WLAN_ATTRIB_PACK__;
} hfa384x_CFIActRanges_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CFIActRanges_t;
/*-- Information Record: NICSerialNumber --*/
typedef struct hfa384x_NICSerialNumber
{
UINT8 NICSerialNumber[12] __WLAN_ATTRIB_PACK__;
} hfa384x_NICSerialNumber_t;
} __WLAN_ATTRIB_PACK__ hfa384x_NICSerialNumber_t;
/*-- Information Record: NICIdentity --*/
typedef struct hfa384x_NICIdentity
@ -1010,7 +1010,7 @@ typedef struct hfa384x_NICIdentity
UINT16 NICVariant __WLAN_ATTRIB_PACK__;
UINT16 NICMajorVersion __WLAN_ATTRIB_PACK__;
UINT16 NICMinorVersion __WLAN_ATTRIB_PACK__;
} hfa384x_NICIdentity_t;
} __WLAN_ATTRIB_PACK__ hfa384x_NICIdentity_t;
/*-- Information Record: MFISupRange --*/
typedef struct hfa384x_MFISupRange
@ -1020,7 +1020,7 @@ typedef struct hfa384x_MFISupRange
UINT16 MFIVariant __WLAN_ATTRIB_PACK__;
UINT16 MFIBottom __WLAN_ATTRIB_PACK__;
UINT16 MFITop __WLAN_ATTRIB_PACK__;
} hfa384x_MFISupRange_t;
} __WLAN_ATTRIB_PACK__ hfa384x_MFISupRange_t;
/*-- Information Record: CFISupRange --*/
typedef struct hfa384x_CFISupRange
@ -1030,44 +1030,44 @@ typedef struct hfa384x_CFISupRange
UINT16 CFIVariant __WLAN_ATTRIB_PACK__;
UINT16 CFIBottom __WLAN_ATTRIB_PACK__;
UINT16 CFITop __WLAN_ATTRIB_PACK__;
} hfa384x_CFISupRange_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CFISupRange_t;
/*-- Information Record: BUILDSEQ:BuildSeq --*/
typedef struct hfa384x_BuildSeq {
UINT16 primary __WLAN_ATTRIB_PACK__;
UINT16 secondary __WLAN_ATTRIB_PACK__;
} hfa384x_BuildSeq_t;
} __WLAN_ATTRIB_PACK__ hfa384x_BuildSeq_t;
/*-- Information Record: FWID --*/
#define HFA384x_FWID_LEN 14
typedef struct hfa384x_FWID {
UINT8 primary[HFA384x_FWID_LEN] __WLAN_ATTRIB_PACK__;
UINT8 secondary[HFA384x_FWID_LEN] __WLAN_ATTRIB_PACK__;
} hfa384x_FWID_t;
} __WLAN_ATTRIB_PACK__ hfa384x_FWID_t;
/*-- Information Record: ChannelList --*/
typedef struct hfa384x_ChannelList
{
UINT16 ChannelList __WLAN_ATTRIB_PACK__;
} hfa384x_ChannelList_t;
} __WLAN_ATTRIB_PACK__ hfa384x_ChannelList_t;
/*-- Information Record: RegulatoryDomains --*/
typedef struct hfa384x_RegulatoryDomains
{
UINT8 RegulatoryDomains[12] __WLAN_ATTRIB_PACK__;
} hfa384x_RegulatoryDomains_t;
} __WLAN_ATTRIB_PACK__ hfa384x_RegulatoryDomains_t;
/*-- Information Record: TempType --*/
typedef struct hfa384x_TempType
{
UINT16 TempType __WLAN_ATTRIB_PACK__;
} hfa384x_TempType_t;
} __WLAN_ATTRIB_PACK__ hfa384x_TempType_t;
/*-- Information Record: CIS --*/
typedef struct hfa384x_CIS
{
UINT8 CIS[480] __WLAN_ATTRIB_PACK__;
} hfa384x_CIS_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CIS_t;
/*-- Information Record: STAIdentity --*/
typedef struct hfa384x_STAIdentity
@ -1076,7 +1076,7 @@ typedef struct hfa384x_STAIdentity
UINT16 STAVariant __WLAN_ATTRIB_PACK__;
UINT16 STAMajorVersion __WLAN_ATTRIB_PACK__;
UINT16 STAMinorVersion __WLAN_ATTRIB_PACK__;
} hfa384x_STAIdentity_t;
} __WLAN_ATTRIB_PACK__ hfa384x_STAIdentity_t;
/*-- Information Record: STASupRange --*/
typedef struct hfa384x_STASupRange
@ -1086,7 +1086,7 @@ typedef struct hfa384x_STASupRange
UINT16 STAVariant __WLAN_ATTRIB_PACK__;
UINT16 STABottom __WLAN_ATTRIB_PACK__;
UINT16 STATop __WLAN_ATTRIB_PACK__;
} hfa384x_STASupRange_t;
} __WLAN_ATTRIB_PACK__ hfa384x_STASupRange_t;
/*-- Information Record: MFIActRanges --*/
typedef struct hfa384x_MFIActRanges
@ -1096,7 +1096,7 @@ typedef struct hfa384x_MFIActRanges
UINT16 MFIVariant __WLAN_ATTRIB_PACK__;
UINT16 MFIBottom __WLAN_ATTRIB_PACK__;
UINT16 MFITop __WLAN_ATTRIB_PACK__;
} hfa384x_MFIActRanges_t;
} __WLAN_ATTRIB_PACK__ hfa384x_MFIActRanges_t;
/*--------------------------------------------------------------------
Information Record Structures: NIC Information
@ -1106,7 +1106,7 @@ Information Record Structures: NIC Information
typedef struct hfa384x_PortStatus
{
UINT16 PortStatus __WLAN_ATTRIB_PACK__;
} hfa384x_PortStatus_t;
} __WLAN_ATTRIB_PACK__ hfa384x_PortStatus_t;
#define HFA384x_PSTATUS_DISABLED ((UINT16)1)
#define HFA384x_PSTATUS_SEARCHING ((UINT16)2)
@ -1119,13 +1119,13 @@ typedef struct hfa384x_PortStatus
typedef struct hfa384x_CurrentSSID
{
UINT8 CurrentSSID[34] __WLAN_ATTRIB_PACK__;
} hfa384x_CurrentSSID_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CurrentSSID_t;
/*-- Information Record: CurrentBSSID --*/
typedef struct hfa384x_CurrentBSSID
{
UINT8 CurrentBSSID[6] __WLAN_ATTRIB_PACK__;
} hfa384x_CurrentBSSID_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CurrentBSSID_t;
/*-- Information Record: commsquality --*/
typedef struct hfa384x_commsquality
@ -1133,19 +1133,19 @@ typedef struct hfa384x_commsquality
UINT16 CQ_currBSS __WLAN_ATTRIB_PACK__;
UINT16 ASL_currBSS __WLAN_ATTRIB_PACK__;
UINT16 ANL_currFC __WLAN_ATTRIB_PACK__;
} hfa384x_commsquality_t;
} __WLAN_ATTRIB_PACK__ hfa384x_commsquality_t;
/*-- Information Record: CurrentTxRate --*/
typedef struct hfa384x_CurrentTxRate
{
UINT16 CurrentTxRate __WLAN_ATTRIB_PACK__;
} hfa384x_CurrentTxRate_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CurrentTxRate_t;
/*-- Information Record: CurrentBeaconInterval --*/
typedef struct hfa384x_CurrentBeaconInterval
{
UINT16 CurrentBeaconInterval __WLAN_ATTRIB_PACK__;
} hfa384x_CurrentBeaconInterval_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CurrentBeaconInterval_t;
/*-- Information Record: CurrentScaleThresholds --*/
typedef struct hfa384x_CurrentScaleThresholds
@ -1155,50 +1155,50 @@ typedef struct hfa384x_CurrentScaleThresholds
UINT16 DeferDetectThreshold __WLAN_ATTRIB_PACK__;
UINT16 CellSearchThreshold __WLAN_ATTRIB_PACK__; /* Stations only */
UINT16 DeadSpotThreshold __WLAN_ATTRIB_PACK__; /* Stations only */
} hfa384x_CurrentScaleThresholds_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CurrentScaleThresholds_t;
/*-- Information Record: ProtocolRspTime --*/
typedef struct hfa384x_ProtocolRspTime
{
UINT16 ProtocolRspTime __WLAN_ATTRIB_PACK__;
} hfa384x_ProtocolRspTime_t;
} __WLAN_ATTRIB_PACK__ hfa384x_ProtocolRspTime_t;
/*-- Information Record: ShortRetryLimit --*/
typedef struct hfa384x_ShortRetryLimit
{
UINT16 ShortRetryLimit __WLAN_ATTRIB_PACK__;
} hfa384x_ShortRetryLimit_t;
} __WLAN_ATTRIB_PACK__ hfa384x_ShortRetryLimit_t;
/*-- Information Record: LongRetryLimit --*/
typedef struct hfa384x_LongRetryLimit
{
UINT16 LongRetryLimit __WLAN_ATTRIB_PACK__;
} hfa384x_LongRetryLimit_t;
} __WLAN_ATTRIB_PACK__ hfa384x_LongRetryLimit_t;
/*-- Information Record: MaxTransmitLifetime --*/
typedef struct hfa384x_MaxTransmitLifetime
{
UINT16 MaxTransmitLifetime __WLAN_ATTRIB_PACK__;
} hfa384x_MaxTransmitLifetime_t;
} __WLAN_ATTRIB_PACK__ hfa384x_MaxTransmitLifetime_t;
/*-- Information Record: MaxReceiveLifetime --*/
typedef struct hfa384x_MaxReceiveLifetime
{
UINT16 MaxReceiveLifetime __WLAN_ATTRIB_PACK__;
} hfa384x_MaxReceiveLifetime_t;
} __WLAN_ATTRIB_PACK__ hfa384x_MaxReceiveLifetime_t;
/*-- Information Record: CFPollable --*/
typedef struct hfa384x_CFPollable
{
UINT16 CFPollable __WLAN_ATTRIB_PACK__;
} hfa384x_CFPollable_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CFPollable_t;
/*-- Information Record: AuthenticationAlgorithms --*/
typedef struct hfa384x_AuthenticationAlgorithms
{
UINT16 AuthenticationType __WLAN_ATTRIB_PACK__;
UINT16 TypeEnabled __WLAN_ATTRIB_PACK__;
} hfa384x_AuthenticationAlgorithms_t;
} __WLAN_ATTRIB_PACK__ hfa384x_AuthenticationAlgorithms_t;
/*-- Information Record: AuthenticationAlgorithms
(data only --*/
@ -1206,19 +1206,19 @@ typedef struct hfa384x_AuthenticationAlgorithms_data
{
UINT16 AuthenticationType __WLAN_ATTRIB_PACK__;
UINT16 TypeEnabled __WLAN_ATTRIB_PACK__;
} hfa384x_AuthenticationAlgorithms_data_t;
} __WLAN_ATTRIB_PACK__ hfa384x_AuthenticationAlgorithms_data_t;
/*-- Information Record: PrivacyOptionImplemented --*/
typedef struct hfa384x_PrivacyOptionImplemented
{
UINT16 PrivacyOptionImplemented __WLAN_ATTRIB_PACK__;
} hfa384x_PrivacyOptionImplemented_t;
} __WLAN_ATTRIB_PACK__ hfa384x_PrivacyOptionImplemented_t;
/*-- Information Record: OwnMACAddress --*/
typedef struct hfa384x_OwnMACAddress
{
UINT8 OwnMACAddress[6] __WLAN_ATTRIB_PACK__;
} hfa384x_OwnMACAddress_t;
} __WLAN_ATTRIB_PACK__ hfa384x_OwnMACAddress_t;
/*-- Information Record: PCFInfo --*/
typedef struct hfa384x_PCFInfo
@ -1227,7 +1227,7 @@ typedef struct hfa384x_PCFInfo
UINT16 CFPPeriod __WLAN_ATTRIB_PACK__;
UINT16 CFPMaxDuration __WLAN_ATTRIB_PACK__;
UINT16 CFPFlags __WLAN_ATTRIB_PACK__;
} hfa384x_PCFInfo_t;
} __WLAN_ATTRIB_PACK__ hfa384x_PCFInfo_t;
/*-- Information Record: PCFInfo (data portion only) --*/
typedef struct hfa384x_PCFInfo_data
@ -1236,14 +1236,14 @@ typedef struct hfa384x_PCFInfo_data
UINT16 CFPPeriod __WLAN_ATTRIB_PACK__;
UINT16 CFPMaxDuration __WLAN_ATTRIB_PACK__;
UINT16 CFPFlags __WLAN_ATTRIB_PACK__;
} hfa384x_PCFInfo_data_t;
} __WLAN_ATTRIB_PACK__ hfa384x_PCFInfo_data_t;
/*-- Information Record: ScanRequest (data portion only) --*/
typedef struct hfa384x_ScanRequest_data
{
UINT16 channelList __WLAN_ATTRIB_PACK__;
UINT16 txRate __WLAN_ATTRIB_PACK__;
} hfa384x_ScanRequest_data_t;
} __WLAN_ATTRIB_PACK__ hfa384x_ScanRequest_data_t;
/*-- Information Record: ScanRequest (data portion only) --*/
@ -1251,21 +1251,21 @@ typedef struct hfa384x_JoinRequest_data
{
UINT8 bssid[WLAN_BSSID_LEN] __WLAN_ATTRIB_PACK__;
UINT16 channel __WLAN_ATTRIB_PACK__;
} hfa384x_JoinRequest_data_t;
} __WLAN_ATTRIB_PACK__ hfa384x_JoinRequest_data_t;
/*-- Information Record: authenticateStation (data portion only) --*/
typedef struct hfa384x_authenticateStation_data
{
UINT8 address[WLAN_ADDR_LEN] __WLAN_ATTRIB_PACK__;
UINT16 status __WLAN_ATTRIB_PACK__;
} hfa384x_authenticateStation_data_t;
} __WLAN_ATTRIB_PACK__ hfa384x_authenticateStation_data_t;
/*-- Information Record: ChannelInfoRequest (data portion only) --*/
typedef struct hfa384x_ChannelInfoRequest_data
{
UINT16 channelList __WLAN_ATTRIB_PACK__; /* bit0=ch1, etc */
UINT16 channelDwellTime __WLAN_ATTRIB_PACK__; /* in msec */
} hfa384x_ChannelInfoRequest_data_t;
} __WLAN_ATTRIB_PACK__ hfa384x_ChannelInfoRequest_data_t;
/*--------------------------------------------------------------------
Information Record Structures: Modem Information Records
@ -1275,31 +1275,31 @@ Information Record Structures: Modem Information Records
typedef struct hfa384x_PHYType
{
UINT16 PHYType __WLAN_ATTRIB_PACK__;
} hfa384x_PHYType_t;
} __WLAN_ATTRIB_PACK__ hfa384x_PHYType_t;
/*-- Information Record: CurrentChannel --*/
typedef struct hfa384x_CurrentChannel
{
UINT16 CurrentChannel __WLAN_ATTRIB_PACK__;
} hfa384x_CurrentChannel_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CurrentChannel_t;
/*-- Information Record: CurrentPowerState --*/
typedef struct hfa384x_CurrentPowerState
{
UINT16 CurrentPowerState __WLAN_ATTRIB_PACK__;
} hfa384x_CurrentPowerState_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CurrentPowerState_t;
/*-- Information Record: CCAMode --*/
typedef struct hfa384x_CCAMode
{
UINT16 CCAMode __WLAN_ATTRIB_PACK__;
} hfa384x_CCAMode_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CCAMode_t;
/*-- Information Record: SupportedDataRates --*/
typedef struct hfa384x_SupportedDataRates
{
UINT8 SupportedDataRates[10] __WLAN_ATTRIB_PACK__;
} hfa384x_SupportedDataRates_t;
} __WLAN_ATTRIB_PACK__ hfa384x_SupportedDataRates_t;
/*--------------------------------------------------------------------
FRAME DESCRIPTORS AND FRAME STRUCTURES
@ -1367,7 +1367,7 @@ typedef struct hfa384x_tx_frame
UINT8 dest_addr[6] __WLAN_ATTRIB_PACK__;
UINT8 src_addr[6] __WLAN_ATTRIB_PACK__;
UINT16 data_length __WLAN_ATTRIB_PACK__; /* big endian format */
} hfa384x_tx_frame_t;
} __WLAN_ATTRIB_PACK__ hfa384x_tx_frame_t;
/*--------------------------------------------------------------------
Communication Frames: Field Masks for Transmit Frames
--------------------------------------------------------------------*/
@ -1445,7 +1445,7 @@ typedef struct hfa384x_rx_frame
UINT8 dest_addr[6] __WLAN_ATTRIB_PACK__;
UINT8 src_addr[6] __WLAN_ATTRIB_PACK__;
UINT16 data_length __WLAN_ATTRIB_PACK__; /* IEEE? (big endian) format */
} hfa384x_rx_frame_t;
} __WLAN_ATTRIB_PACK__ hfa384x_rx_frame_t;
/*--------------------------------------------------------------------
Communication Frames: Field Masks for Receive Frames
--------------------------------------------------------------------*/
@ -1491,10 +1491,10 @@ Information Frames: Notification Frame Structures
typedef struct hfa384x_HandoverAddr
{
UINT8 handover_addr[WLAN_BSSID_LEN] __WLAN_ATTRIB_PACK__;
} hfa384x_HandoverAddr_t;
} __WLAN_ATTRIB_PACK__ hfa384x_HandoverAddr_t;
/*-- Inquiry Frame, Diagnose: Communication Tallies --*/
typedef struct hfa384x_CommTallies
typedef struct __WLAN_ATTRIB_PACK__ hfa384x_CommTallies
{
UINT16 txunicastframes __WLAN_ATTRIB_PACK__;
UINT16 txmulticastframes __WLAN_ATTRIB_PACK__;
@ -1517,7 +1517,7 @@ typedef struct hfa384x_CommTallies
UINT16 rxdiscardswepundecr __WLAN_ATTRIB_PACK__;
UINT16 rxmsginmsgfrag __WLAN_ATTRIB_PACK__;
UINT16 rxmsginbadmsgfrag __WLAN_ATTRIB_PACK__;
} hfa384x_CommTallies_t;
} __WLAN_ATTRIB_PACK__ hfa384x_CommTallies_t;
/*-- Inquiry Frame, Diagnose: Scan Results & Subfields--*/
typedef struct hfa384x_ScanResultSub
@ -1531,7 +1531,7 @@ typedef struct hfa384x_ScanResultSub
hfa384x_bytestr32_t ssid __WLAN_ATTRIB_PACK__;
UINT8 supprates[10] __WLAN_ATTRIB_PACK__; /* 802.11 info element */
UINT16 proberesp_rate __WLAN_ATTRIB_PACK__;
} hfa384x_ScanResultSub_t;
} __WLAN_ATTRIB_PACK__ hfa384x_ScanResultSub_t;
typedef struct hfa384x_ScanResult
{
@ -1539,7 +1539,7 @@ typedef struct hfa384x_ScanResult
UINT16 scanreason __WLAN_ATTRIB_PACK__;
hfa384x_ScanResultSub_t
result[HFA384x_SCANRESULT_MAX] __WLAN_ATTRIB_PACK__;
} hfa384x_ScanResult_t;
} __WLAN_ATTRIB_PACK__ hfa384x_ScanResult_t;
/*-- Inquiry Frame, Diagnose: ChInfo Results & Subfields--*/
typedef struct hfa384x_ChInfoResultSub
@ -1548,7 +1548,7 @@ typedef struct hfa384x_ChInfoResultSub
UINT16 anl __WLAN_ATTRIB_PACK__;
UINT16 pnl __WLAN_ATTRIB_PACK__;
UINT16 active __WLAN_ATTRIB_PACK__;
} hfa384x_ChInfoResultSub_t;
} __WLAN_ATTRIB_PACK__ hfa384x_ChInfoResultSub_t;
#define HFA384x_CHINFORESULT_BSSACTIVE BIT0
#define HFA384x_CHINFORESULT_PCFACTIVE BIT1
@ -1558,7 +1558,7 @@ typedef struct hfa384x_ChInfoResult
UINT16 scanchannels __WLAN_ATTRIB_PACK__;
hfa384x_ChInfoResultSub_t
result[HFA384x_CHINFORESULT_MAX] __WLAN_ATTRIB_PACK__;
} hfa384x_ChInfoResult_t;
} __WLAN_ATTRIB_PACK__ hfa384x_ChInfoResult_t;
/*-- Unsolicited Frame, MAC Mgmt: LinkStatus --*/
@ -1573,7 +1573,7 @@ typedef struct hfa384x_ChInfoResult
typedef struct hfa384x_LinkStatus
{
UINT16 linkstatus __WLAN_ATTRIB_PACK__;
} hfa384x_LinkStatus_t;
} __WLAN_ATTRIB_PACK__ hfa384x_LinkStatus_t;
/*-- Unsolicited Frame, MAC Mgmt: AssociationStatus (--*/
@ -1592,21 +1592,21 @@ typedef struct hfa384x_AssocStatus
UINT8 old_ap_addr[WLAN_ADDR_LEN] __WLAN_ATTRIB_PACK__;
UINT16 reason __WLAN_ATTRIB_PACK__;
UINT16 reserved __WLAN_ATTRIB_PACK__;
} hfa384x_AssocStatus_t;
} __WLAN_ATTRIB_PACK__ hfa384x_AssocStatus_t;
/*-- Unsolicited Frame, MAC Mgmt: AuthRequest (AP Only) --*/
typedef struct hfa384x_AuthRequest
{
UINT8 sta_addr[WLAN_ADDR_LEN] __WLAN_ATTRIB_PACK__;
} hfa384x_AuthReq_t;
} __WLAN_ATTRIB_PACK__ hfa384x_AuthReq_t;
/*-- Unsolicited Frame, MAC Mgmt: PSUserCount (AP Only) --*/
typedef struct hfa384x_PSUserCount
{
UINT16 usercnt __WLAN_ATTRIB_PACK__;
} hfa384x_PSUserCount_t;
} __WLAN_ATTRIB_PACK__ hfa384x_PSUserCount_t;
/*-- Collection of all Inf frames ---------------*/
typedef struct hfa384x_InfFrame
@ -1623,7 +1623,7 @@ typedef struct hfa384x_InfFrame
hfa384x_AuthReq_t authreq __WLAN_ATTRIB_PACK__;
hfa384x_PSUserCount_t psusercnt __WLAN_ATTRIB_PACK__;
} info __WLAN_ATTRIB_PACK__;
} hfa384x_InfFrame_t;
} __WLAN_ATTRIB_PACK__ hfa384x_InfFrame_t;
/*--------------------------------------------------------------------
@ -1633,17 +1633,17 @@ PD record structures.
typedef struct hfa384x_pdr_pcb_partnum
{
UINT8 num[8] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_pcb_partnum_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_pcb_partnum_t;
typedef struct hfa384x_pdr_pcb_tracenum
{
UINT8 num[8] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_pcb_tracenum_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_pcb_tracenum_t;
typedef struct hfa384x_pdr_nic_serial
{
UINT8 num[12] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_nic_serial_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_nic_serial_t;
typedef struct hfa384x_pdr_mkk_measurements
{
@ -1662,12 +1662,12 @@ typedef struct hfa384x_pdr_mkk_measurements
double rx_spur_f2 __WLAN_ATTRIB_PACK__;
double rx_spur_l1 __WLAN_ATTRIB_PACK__;
double rx_spur_l2 __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_mkk_measurements_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_mkk_measurements_t;
typedef struct hfa384x_pdr_nic_ramsize
{
UINT8 size[12] __WLAN_ATTRIB_PACK__; /* units of KB */
} hfa384x_pdr_nic_ramsize_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_nic_ramsize_t;
typedef struct hfa384x_pdr_mfisuprange
{
@ -1675,7 +1675,7 @@ typedef struct hfa384x_pdr_mfisuprange
UINT16 variant __WLAN_ATTRIB_PACK__;
UINT16 bottom __WLAN_ATTRIB_PACK__;
UINT16 top __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_mfisuprange_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_mfisuprange_t;
typedef struct hfa384x_pdr_cfisuprange
{
@ -1683,7 +1683,7 @@ typedef struct hfa384x_pdr_cfisuprange
UINT16 variant __WLAN_ATTRIB_PACK__;
UINT16 bottom __WLAN_ATTRIB_PACK__;
UINT16 top __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_cfisuprange_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_cfisuprange_t;
typedef struct hfa384x_pdr_nicid
{
@ -1691,130 +1691,130 @@ typedef struct hfa384x_pdr_nicid
UINT16 variant __WLAN_ATTRIB_PACK__;
UINT16 major __WLAN_ATTRIB_PACK__;
UINT16 minor __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_nicid_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_nicid_t;
typedef struct hfa384x_pdr_refdac_measurements
{
UINT16 value[0] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_refdac_measurements_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_refdac_measurements_t;
typedef struct hfa384x_pdr_vgdac_measurements
{
UINT16 value[0] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_vgdac_measurements_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_vgdac_measurements_t;
typedef struct hfa384x_pdr_level_comp_measurements
{
UINT16 value[0] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_level_compc_measurements_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_level_compc_measurements_t;
typedef struct hfa384x_pdr_mac_address
{
UINT8 addr[6] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_mac_address_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_mac_address_t;
typedef struct hfa384x_pdr_mkk_callname
{
UINT8 callname[8] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_mkk_callname_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_mkk_callname_t;
typedef struct hfa384x_pdr_regdomain
{
UINT16 numdomains __WLAN_ATTRIB_PACK__;
UINT16 domain[5] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_regdomain_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_regdomain_t;
typedef struct hfa384x_pdr_allowed_channel
{
UINT16 ch_bitmap __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_allowed_channel_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_allowed_channel_t;
typedef struct hfa384x_pdr_default_channel
{
UINT16 channel __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_default_channel_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_default_channel_t;
typedef struct hfa384x_pdr_privacy_option
{
UINT16 available __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_privacy_option_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_privacy_option_t;
typedef struct hfa384x_pdr_temptype
{
UINT16 type __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_temptype_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_temptype_t;
typedef struct hfa384x_pdr_refdac_setup
{
UINT16 ch_value[14] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_refdac_setup_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_refdac_setup_t;
typedef struct hfa384x_pdr_vgdac_setup
{
UINT16 ch_value[14] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_vgdac_setup_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_vgdac_setup_t;
typedef struct hfa384x_pdr_level_comp_setup
{
UINT16 ch_value[14] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_level_comp_setup_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_level_comp_setup_t;
typedef struct hfa384x_pdr_trimdac_setup
{
UINT16 trimidac __WLAN_ATTRIB_PACK__;
UINT16 trimqdac __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_trimdac_setup_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_trimdac_setup_t;
typedef struct hfa384x_pdr_ifr_setting
{
UINT16 value[3] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_ifr_setting_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_ifr_setting_t;
typedef struct hfa384x_pdr_rfr_setting
{
UINT16 value[3] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_rfr_setting_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_rfr_setting_t;
typedef struct hfa384x_pdr_hfa3861_baseline
{
UINT16 value[50] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_hfa3861_baseline_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_hfa3861_baseline_t;
typedef struct hfa384x_pdr_hfa3861_shadow
{
UINT32 value[32] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_hfa3861_shadow_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_hfa3861_shadow_t;
typedef struct hfa384x_pdr_hfa3861_ifrf
{
UINT32 value[20] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_hfa3861_ifrf_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_hfa3861_ifrf_t;
typedef struct hfa384x_pdr_hfa3861_chcalsp
{
UINT16 value[14] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_hfa3861_chcalsp_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_hfa3861_chcalsp_t;
typedef struct hfa384x_pdr_hfa3861_chcali
{
UINT16 value[17] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_hfa3861_chcali_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_hfa3861_chcali_t;
typedef struct hfa384x_pdr_hfa3861_manf_testsp
{
UINT16 value[30] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_hfa3861_manf_testsp_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_hfa3861_manf_testsp_t;
typedef struct hfa384x_pdr_hfa3861_manf_testi
{
UINT16 value[30] __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_hfa3861_manf_testi_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_hfa3861_manf_testi_t;
typedef struct hfa384x_end_of_pda
{
UINT16 crc __WLAN_ATTRIB_PACK__;
} hfa384x_pdr_end_of_pda_t;
} __WLAN_ATTRIB_PACK__ hfa384x_pdr_end_of_pda_t;
typedef struct hfa384x_pdrec
{
@ -1854,7 +1854,7 @@ typedef struct hfa384x_pdrec
hfa384x_pdr_hfa3861_manf_testi_t