📄 hfa384x.h
字号:
/*-- Information Record: DownLoadBuffer --*//* NOTE: The page and offset are in AUX format */typedef struct hfa384x_downloadbuffer{ UINT16 page __WLAN_ATTRIB_PACK__; UINT16 offset __WLAN_ATTRIB_PACK__; UINT16 len __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_downloadbuffer_t;/*-- Information Record: PRIIdentity --*/typedef struct hfa384x_PRIIdentity{ UINT16 PRICompID __WLAN_ATTRIB_PACK__; UINT16 PRIVariant __WLAN_ATTRIB_PACK__; UINT16 PRIMajorVersion __WLAN_ATTRIB_PACK__; UINT16 PRIMinorVersion __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_PRIIdentity_t;/*-- Information Record: PRISupRange --*/typedef struct hfa384x_PRISupRange{ UINT16 PRIRole __WLAN_ATTRIB_PACK__; UINT16 PRIID __WLAN_ATTRIB_PACK__; UINT16 PRIVariant __WLAN_ATTRIB_PACK__; UINT16 PRIBottom __WLAN_ATTRIB_PACK__; UINT16 PRITop __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_PRISupRange_t;/*-- Information Record: CFIActRanges --*/typedef struct hfa384x_CFIActRanges{ UINT16 CFIRole __WLAN_ATTRIB_PACK__; UINT16 CFIID __WLAN_ATTRIB_PACK__; UINT16 CFIVariant __WLAN_ATTRIB_PACK__; UINT16 CFIBottom __WLAN_ATTRIB_PACK__; UINT16 CFITop __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_CFIActRanges_t;/*-- Information Record: NICSerialNumber --*/typedef struct hfa384x_NICSerialNumber{ UINT8 NICSerialNumber[12] __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_NICSerialNumber_t;/*-- Information Record: NICIdentity --*/typedef struct hfa384x_NICIdentity{ UINT16 NICCompID __WLAN_ATTRIB_PACK__; UINT16 NICVariant __WLAN_ATTRIB_PACK__; UINT16 NICMajorVersion __WLAN_ATTRIB_PACK__; UINT16 NICMinorVersion __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_NICIdentity_t;/*-- Information Record: MFISupRange --*/typedef struct hfa384x_MFISupRange{ UINT16 MFIRole __WLAN_ATTRIB_PACK__; UINT16 MFIID __WLAN_ATTRIB_PACK__; UINT16 MFIVariant __WLAN_ATTRIB_PACK__; UINT16 MFIBottom __WLAN_ATTRIB_PACK__; UINT16 MFITop __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_MFISupRange_t;/*-- Information Record: CFISupRange --*/typedef struct hfa384x_CFISupRange{ UINT16 CFIRole __WLAN_ATTRIB_PACK__; UINT16 CFIID __WLAN_ATTRIB_PACK__; UINT16 CFIVariant __WLAN_ATTRIB_PACK__; UINT16 CFIBottom __WLAN_ATTRIB_PACK__; UINT16 CFITop __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_CFISupRange_t;/*-- Information Record: BUILDSEQ:BuildSeq --*/typedef struct hfa384x_BuildSeq { UINT16 primary __WLAN_ATTRIB_PACK__; UINT16 secondary __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_BuildSeq_t;/*-- Information Record: FWID --*/#define HFA384x_FWID_LEN 14typedef struct hfa384x_FWID { UINT8 primary[HFA384x_FWID_LEN] __WLAN_ATTRIB_PACK__; UINT8 secondary[HFA384x_FWID_LEN] __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_FWID_t;/*-- Information Record: ChannelList --*/typedef struct hfa384x_ChannelList{ UINT16 ChannelList __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_ChannelList_t;/*-- Information Record: RegulatoryDomains --*/typedef struct hfa384x_RegulatoryDomains{ UINT8 RegulatoryDomains[12] __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_RegulatoryDomains_t;/*-- Information Record: TempType --*/typedef struct hfa384x_TempType{ UINT16 TempType __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_TempType_t;/*-- Information Record: CIS --*/typedef struct hfa384x_CIS{ UINT8 CIS[480] __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_CIS_t;/*-- Information Record: STAIdentity --*/typedef struct hfa384x_STAIdentity{ UINT16 STACompID __WLAN_ATTRIB_PACK__; UINT16 STAVariant __WLAN_ATTRIB_PACK__; UINT16 STAMajorVersion __WLAN_ATTRIB_PACK__; UINT16 STAMinorVersion __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_STAIdentity_t;/*-- Information Record: STASupRange --*/typedef struct hfa384x_STASupRange{ UINT16 STARole __WLAN_ATTRIB_PACK__; UINT16 STAID __WLAN_ATTRIB_PACK__; UINT16 STAVariant __WLAN_ATTRIB_PACK__; UINT16 STABottom __WLAN_ATTRIB_PACK__; UINT16 STATop __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_STASupRange_t;/*-- Information Record: MFIActRanges --*/typedef struct hfa384x_MFIActRanges{ UINT16 MFIRole __WLAN_ATTRIB_PACK__; UINT16 MFIID __WLAN_ATTRIB_PACK__; UINT16 MFIVariant __WLAN_ATTRIB_PACK__; UINT16 MFIBottom __WLAN_ATTRIB_PACK__; UINT16 MFITop __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_MFIActRanges_t;/*--------------------------------------------------------------------Information Record Structures: NIC Information--------------------------------------------------------------------*//*-- Information Record: PortStatus --*/typedef struct hfa384x_PortStatus{ UINT16 PortStatus __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_PortStatus_t;#define HFA384x_PSTATUS_DISABLED ((UINT16)1)#define HFA384x_PSTATUS_SEARCHING ((UINT16)2)#define HFA384x_PSTATUS_CONN_IBSS ((UINT16)3)#define HFA384x_PSTATUS_CONN_ESS ((UINT16)4)#define HFA384x_PSTATUS_OUTOFRANGE ((UINT16)5)#define HFA384x_PSTATUS_CONN_WDS ((UINT16)6)/*-- Information Record: CurrentSSID --*/typedef struct hfa384x_CurrentSSID{ UINT8 CurrentSSID[34] __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_CurrentSSID_t;/*-- Information Record: CurrentBSSID --*/typedef struct hfa384x_CurrentBSSID{ UINT8 CurrentBSSID[6] __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_CurrentBSSID_t;/*-- Information Record: commsquality --*/typedef struct hfa384x_commsquality{ UINT16 CQ_currBSS __WLAN_ATTRIB_PACK__; UINT16 ASL_currBSS __WLAN_ATTRIB_PACK__; UINT16 ANL_currFC __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_commsquality_t;/*-- Information Record: dmbcommsquality --*/typedef struct hfa384x_dbmcommsquality{ UINT16 CQdbm_currBSS __WLAN_ATTRIB_PACK__; UINT16 ASLdbm_currBSS __WLAN_ATTRIB_PACK__; UINT16 ANLdbm_currFC __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_dbmcommsquality_t;/*-- Information Record: CurrentTxRate --*/typedef struct hfa384x_CurrentTxRate{ UINT16 CurrentTxRate __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_CurrentTxRate_t;/*-- Information Record: CurrentBeaconInterval --*/typedef struct hfa384x_CurrentBeaconInterval{ UINT16 CurrentBeaconInterval __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_CurrentBeaconInterval_t;/*-- Information Record: CurrentScaleThresholds --*/typedef struct hfa384x_CurrentScaleThresholds{ UINT16 EnergyDetectThreshold __WLAN_ATTRIB_PACK__; UINT16 CarrierDetectThreshold __WLAN_ATTRIB_PACK__; UINT16 DeferDetectThreshold __WLAN_ATTRIB_PACK__; UINT16 CellSearchThreshold __WLAN_ATTRIB_PACK__; /* Stations only */ UINT16 DeadSpotThreshold __WLAN_ATTRIB_PACK__; /* Stations only */} __WLAN_ATTRIB_PACK__ hfa384x_CurrentScaleThresholds_t;/*-- Information Record: ProtocolRspTime --*/typedef struct hfa384x_ProtocolRspTime{ UINT16 ProtocolRspTime __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_ProtocolRspTime_t;/*-- Information Record: ShortRetryLimit --*/typedef struct hfa384x_ShortRetryLimit{ UINT16 ShortRetryLimit __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_ShortRetryLimit_t;/*-- Information Record: LongRetryLimit --*/typedef struct hfa384x_LongRetryLimit{ UINT16 LongRetryLimit __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_LongRetryLimit_t;/*-- Information Record: MaxTransmitLifetime --*/typedef struct hfa384x_MaxTransmitLifetime{ UINT16 MaxTransmitLifetime __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_MaxTransmitLifetime_t;/*-- Information Record: MaxReceiveLifetime --*/typedef struct hfa384x_MaxReceiveLifetime{ UINT16 MaxReceiveLifetime __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_MaxReceiveLifetime_t;/*-- Information Record: CFPollable --*/typedef struct hfa384x_CFPollable{ UINT16 CFPollable __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_CFPollable_t;/*-- Information Record: AuthenticationAlgorithms --*/typedef struct hfa384x_AuthenticationAlgorithms{ UINT16 AuthenticationType __WLAN_ATTRIB_PACK__; UINT16 TypeEnabled __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_AuthenticationAlgorithms_t;/*-- Information Record: AuthenticationAlgorithms(data only --*/typedef struct hfa384x_AuthenticationAlgorithms_data{ UINT16 AuthenticationType __WLAN_ATTRIB_PACK__; UINT16 TypeEnabled __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_AuthenticationAlgorithms_data_t;/*-- Information Record: PrivacyOptionImplemented --*/typedef struct hfa384x_PrivacyOptionImplemented{ UINT16 PrivacyOptionImplemented __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_PrivacyOptionImplemented_t;/*-- Information Record: OwnMACAddress --*/typedef struct hfa384x_OwnMACAddress{ UINT8 OwnMACAddress[6] __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_OwnMACAddress_t;/*-- Information Record: PCFInfo --*/typedef struct hfa384x_PCFInfo{ UINT16 MediumOccupancyLimit __WLAN_ATTRIB_PACK__; UINT16 CFPPeriod __WLAN_ATTRIB_PACK__; UINT16 CFPMaxDuration __WLAN_ATTRIB_PACK__; UINT16 CFPFlags __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_PCFInfo_t;/*-- Information Record: PCFInfo (data portion only) --*/typedef struct hfa384x_PCFInfo_data{ UINT16 MediumOccupancyLimit __WLAN_ATTRIB_PACK__; UINT16 CFPPeriod __WLAN_ATTRIB_PACK__; UINT16 CFPMaxDuration __WLAN_ATTRIB_PACK__; UINT16 CFPFlags __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_PCFInfo_data_t;/*--------------------------------------------------------------------Information Record Structures: Modem Information Records --------------------------------------------------------------------*//*-- Information Record: PHYType --*/typedef struct hfa384x_PHYType{ UINT16 PHYType __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_PHYType_t;/*-- Information Record: CurrentChannel --*/typedef struct hfa384x_CurrentChannel{ UINT16 CurrentChannel __WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -