hfa384x.h

来自「Linux的无线局域网方案是一个Linux设备驱动程序和子系统 一揽子方案的用」· C头文件 代码 · 共 1,540 行 · 第 1/5 页

H
1,540
字号
/*-- Configuration Record: cnfOwnMACAddress --*/typedef struct hfa384x_cnfOwnMACAddress{	UINT8	cnfOwnMACAddress[6]	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnMACAddress_t;/*-- Configuration Record: cnfDesiredSSID --*/typedef struct hfa384x_cnfDesiredSSID{	UINT8	cnfDesiredSSID[34]	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfDesiredSSID_t;/*-- Configuration Record: cnfOwnChannel --*/typedef struct hfa384x_cnfOwnChannel{	UINT16	cnfOwnChannel		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnChannel_t;/*-- Configuration Record: cnfOwnSSID --*/typedef struct hfa384x_cnfOwnSSID{	UINT8	cnfOwnSSID[34]		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnSSID_t;/*-- Configuration Record: cnfOwnATIMWindow --*/typedef struct hfa384x_cnfOwnATIMWindow{	UINT16	cnfOwnATIMWindow	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnATIMWindow_t;/*-- Configuration Record: cnfSystemScale --*/typedef struct hfa384x_cnfSystemScale{	UINT16	cnfSystemScale		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfSystemScale_t;/*-- Configuration Record: cnfMaxDataLength --*/typedef struct hfa384x_cnfMaxDataLength{	UINT16	cnfMaxDataLength	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfMaxDataLength_t;/*-- Configuration Record: cnfWDSAddress --*/typedef struct hfa384x_cnfWDSAddress{	UINT8	cnfWDSAddress[6]	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfWDSAddress_t;/*-- Configuration Record: cnfPMEnabled --*/typedef struct hfa384x_cnfPMEnabled{	UINT16	cnfPMEnabled		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfPMEnabled_t;/*-- Configuration Record: cnfPMEPS --*/typedef struct hfa384x_cnfPMEPS{	UINT16	cnfPMEPS		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfPMEPS_t;/*-- Configuration Record: cnfMulticastReceive --*/typedef struct hfa384x_cnfMulticastReceive{	UINT16	cnfMulticastReceive	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfMulticastReceive_t;/*-- Configuration Record: cnfAuthentication --*/#define HFA384x_CNFAUTHENTICATION_OPENSYSTEM	0x0001#define HFA384x_CNFAUTHENTICATION_SHAREDKEY	0x0002/*-- Configuration Record: cnfMaxSleepDuration --*/typedef struct hfa384x_cnfMaxSleepDuration{	UINT16	cnfMaxSleepDuration	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfMaxSleepDuration_t;/*-- Configuration Record: cnfPMHoldoverDuration --*/typedef struct hfa384x_cnfPMHoldoverDuration{	UINT16	cnfPMHoldoverDuration	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfPMHoldoverDuration_t;/*-- Configuration Record: cnfOwnName --*/typedef struct hfa384x_cnfOwnName{	UINT8	cnfOwnName[34]		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnName_t;/*-- Configuration Record: cnfOwnDTIMPeriod --*/typedef struct hfa384x_cnfOwnDTIMPeriod{	UINT16	cnfOwnDTIMPeriod	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfOwnDTIMPeriod_t;/*-- Configuration Record: cnfWDSAddress --*/typedef struct hfa384x_cnfWDSAddressN{	UINT8	cnfWDSAddress[6]	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfWDSAddressN_t;/*-- Configuration Record: cnfMulticastPMBuffering --*/typedef struct hfa384x_cnfMulticastPMBuffering{	UINT16	cnfMulticastPMBuffering	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_cnfMulticastPMBuffering_t;/*--------------------------------------------------------------------Configuration Record Structures:	Network Parameters, Dynamic Configuration Entities--------------------------------------------------------------------*//*-- Configuration Record: GroupAddresses --*/typedef struct hfa384x_GroupAddresses{	UINT8	MACAddress[16][6]	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_GroupAddresses_t;/*-- Configuration Record: CreateIBSS --*/typedef struct hfa384x_CreateIBSS{	UINT16	CreateIBSS		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_CreateIBSS_t;/*-- Configuration Record: FragmentationThreshold --*/typedef struct hfa384x_FragmentationThreshold{	UINT16	FragmentationThreshold	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_FragmentationThreshold_t;/*-- Configuration Record: RTSThreshold --*/typedef struct hfa384x_RTSThreshold{	UINT16	RTSThreshold		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_RTSThreshold_t;/*-- Configuration Record: TxRateControl --*/typedef struct hfa384x_TxRateControl{	UINT16	TxRateControl		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_TxRateControl_t;/*-- Configuration Record: PromiscuousMode --*/typedef struct hfa384x_PromiscuousMode{	UINT16	PromiscuousMode		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_PromiscuousMode_t;/*-- Configuration Record: ScanRequest (data portion only) --*/typedef struct hfa384x_ScanRequest_data{	UINT16	channelList		__WLAN_ATTRIB_PACK__;	UINT16	txRate			__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_ScanRequest_data_t;/*-- Configuration Record: JoinRequest (data portion only) --*/typedef struct hfa384x_JoinRequest_data{	UINT8	bssid[WLAN_BSSID_LEN]	__WLAN_ATTRIB_PACK__;	UINT16	channel			__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_JoinRequest_data_t;/*-- Configuration Record: authenticateStation (data portion only) --*/typedef struct hfa384x_authenticateStation_data{	UINT8	address[WLAN_ADDR_LEN]	__WLAN_ATTRIB_PACK__;	UINT16	status			__WLAN_ATTRIB_PACK__;	UINT16	algorithm		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_authenticateStation_data_t;/*-- Configuration Record: ChannelInfoRequest (data portion only) --*/typedef struct hfa384x_ChannelInfoRequest_data{	UINT16	channelList		__WLAN_ATTRIB_PACK__;	UINT16	channelDwellTime	__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_ChannelInfoRequest_data_t;/*--------------------------------------------------------------------Configuration Record Structures: Behavior Parameters--------------------------------------------------------------------*//*-- Configuration Record: TickTime --*/typedef struct hfa384x_TickTime{	UINT16	TickTime		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_TickTime_t;/*--------------------------------------------------------------------Information Record Structures: NIC Information--------------------------------------------------------------------*//*-- Information Record: MaxLoadTime --*/typedef struct hfa384x_MaxLoadTime{	UINT16	MaxLoadTime		__WLAN_ATTRIB_PACK__;} __WLAN_ATTRIB_PACK__ hfa384x_MaxLoadTime_t;/*-- 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 --*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?