📄 wvlan_mdd.h
字号:
#define CFG_TALLIES 0xF100 //Communications Tallies#define CFG_SCAN 0xF101 //Scan results #define CFG_LINK_STAT 0xF200 //Link Status /*============================================================= CONFIGURATION RECORDS =====================*//*============================================================= mask 0xFCxx =====================*/ // NETWORK PARAMETERS, STATIC CONFIGURATION ENTITIES//FC05, FC0A, FC0B, FC0C, FC0D: SEE W2DN149 #define CFG_RID_CFG_MIN 0xFC00 //lowest value representing a Configuration RID#define CFG_CNF_PORT_TYPE 0xFC00 //[STA] Connection control characteristics#define CFG_CNF_OWN_MAC_ADDR 0xFC01 //[STA] MAC Address of this node#define CFG_CNF_DESIRED_SSID 0xFC02 //[STA] Service Set identification for connection#define CFG_CNF_OWN_CHANNEL 0xFC03 //Communication channel for BSS creation#define CFG_CNF_OWN_SSID 0xFC04 //IBSS creation (STA) or ESS (AP) Service Set Ident#define CFG_CNF_OWN_ATIM_WINDOW 0xFC05 //[STA] ATIM Window time for IBSS creation#define CFG_CNF_SYSTEM_SCALE 0xFC06 //System Scale that specifies the AP density#define CFG_CNF_MAX_DATA_LEN 0xFC07 //Maximum length of MAC Frame Body data#define CFG_CNF_WDS_ADDR 0xFC08 //[STA] MAC Address of corresponding WDS Link node#define CFG_CNF_PM_ENABLED 0xFC09 //[STA] Switch for ESS Power Management (PM) On/Off#define CFG_CNF_PM_EPS 0xFC0A //[STA] Switch for ESS PM EPS/PS Mode#define CFG_CNF_MCAST_RX 0xFC0B //[STA] Switch for ESS PM Multicast reception On/Off#define CFG_CNF_MAX_SLEEP_DURATION 0xFC0C //[STA] Maximum sleep time for ESS PM#define CFG_CNF_HOLDOVER_DURATION 0xFC0D //[STA] Holdover time for ESS PM#define CFG_CNF_OWN_NAME 0xFC0E //Identification text for diagnostic purposes#define CFG_CNF_ENCRYPTION 0xFC20 //select en/de-cryption of Tx/Rx messages#define CFG_CNF_MICRO_WAVE 0xFC25 //MicroWave (Robustness) // NETWORK PARAMETERS, DYNAMIC CONFIGURATION ENTITIES#define CFG_GROUP_ADDR 0xFC80 //[STA] Multicast MAC Addresses for Rx-message#define CFG_CREATE_IBSS 0xFC81 //[STA] Switch for IBSS creation On/Off#define CFG_FRAGMENTATION_THRH 0xFC82 //[STA] Fragment length for unicast Tx-message#define CFG_RTS_THRH 0xFC83 //[STA] Frame length used for RTS/CTS handshake#define CFG_TX_RATE_CONTROL 0xFC84 //[STA] Data rate control for message transmission#define CFG_PROMISCUOUS_MODE 0xFC85 //[STA] Switch for Promiscuous mode reception On/Off#define CFG_CNF_DEFAULT_KEYS 0xFCB0 //defines set of encryption keys#define CFG_CNF_TX_KEY_ID 0xFCB1 //select key for encryption of Tx messages // BEHAVIOR PARAMETERS #define CFG_TICK_TIME 0xFCE0 //[PRI] Auxiliary Timer tick interval#define CFG_RID_CFG_MAX 0xFCFF //highest value representing an Configuration RID/*============================================================= INFORMATION RECORDS =====================*//*============================================================= mask 0xFDxx =====================*/// NIC INFORMATION #define CFG_RID_INF_MIN 0xFD00 //lowest value representing an Information RID#define CFG_PRI_IDENTITY 0xFD02#define CFG_PRI_SUP_RANGE 0xFD03 //Primary supplier range#define CFG_CFI_ACT_RANGES_PRI 0xFD04#define CFG_HSI_SUP_RANGE 0xFD09 //H/W - S/W I/F supplier range#define CFG_NIC_SERIAL_NUMBER 0xFD0A#define CFG_NIC_IDENTITY 0xFD0B#define CFG_MFI_SUP_RANGE 0xFD0C#define CFG_CFI_SUP_RANGE 0xFD0D#define CFG_CHANNEL_LIST 0xFD10 //Allowed communication channels#define CFG_REG_DOMAINS 0xFD11 //List of intended regulatory domains#define CFG_TEMP_TYPE 0xFD12 //Hardware temperature range code#define CFG_CIS 0xFD13 //PC Card Standard Card Information Structure#define CFG_STA_IDENTITY 0xFD20#define CFG_STA_SUP_RANGE 0xFD21 //Station supplier range#define CFG_MFI_ACT_RANGES_STA 0xFD22#define CFG_CFI_ACT_RANGES_STA 0xFD23// MAC INFORMATION#define CFG_PORT_STAT 0xFD40 //[STA] Actual MAC Port connection control status#define CFG_CURRENT_SSID 0xFD41 //[STA] Identification of the actually connected SS#define CFG_CURRENT_BSSID 0xFD42 //[STA] Identification of the actually connected BSS#define CFG_COMMS_QUALITY 0xFD43 //[STA] Quality of the Basic Service Set connection#define CFG_CURRENT_TX_RATE 0xFD44 //[STA] Actual transmit data rate#define CFG_OWN_BEACON_INTERVAL 0xFD45 //Beacon transmit interval time for BSS creation#define CFG_CUR_SCALE_THRH 0xFD46 //Actual System Scale thresholds settings#define CFG_PROTOCOL_RSP_TIME 0xFD47 //Max time to await a response to a request message#define CFG_SHORT_RETRY_LIMIT 0xFD48 //Max number of transmit attempts for short frames#define CFG_LONG_RETRY_LIMIT 0xFD49 //Max number of transmit attempts for long frames#define CFG_MAX_TX_LIFETIME 0xFD4A //Max transmit frame handling duration#define CFG_MAX_RX_LIFETIME 0xFD4B //Max received frame handling duration#define CFG_CF_POLLABLE 0xFD4C //[STA] Contention Free pollable capability indication#define CFG_AUTHENTICATION_ALGORITHMS 0xFD4D //Available Authentication Algorithms indication#define CFG_AUTHENTICATION_TYPE 0xFD4E //Available Authentication Types indication#define CFG_PRIVACY_OPTION_IMPLEMENTED 0xFD4F //WEP Option availability indication // MODEM INFORMATION #define CFG_PHY_TYPE 0xFDC0 // // Physical layer type indication#define CFG_CURRENT_CHANNEL 0xFDC1 //Actual frequency channel used for transmission#define CFG_CURRENT_POWER_STATE 0xFDC2 //Actual power consumption status#define CFG_CCAMODE 0xFDC3 //Clear channel assessment mode indication#define CFG_CCATIME 0xFDC4 //Clear channel assessment time#define CFG_MAC_PROCESSING_DELAY 0xFDC5 //MAC processing delay time#define CFG_SUPPORTED_DATA_RATES 0xFDC6 //Data rates capability information#define CFG_RID_INF_MAX 0xFDFF //highest value representing an Information RID//} hcf_info_type;/*************************************************************************************************************//****************************** S T R U C T U R E D E F I N I T I O N S ************************************/typedef struct LTV_STRCT { //used for all "minimal" LTV records hcf_16 len; //default length of RID hcf_16 typ; //RID identification as defined by Hermes hcf_16 val[1]; //do not change this, some dynamic structures are defined based on this !!}LTV_STRCT;typedef LTV_STRCT FAR * LTVP;#define COMP_ID_MINIPORT 41 //Windows 9x/NT Miniport#define COMP_ID_PACKET 42 //Packet#define COMP_ID_ODI_16 43 //DOS ODI#define COMP_ID_ODI_32 44 //32-bits ODI#define COMP_ID_MAC_OS 45 //Macintosh OS#define COMP_ID_WIN_CE 46 //Windows CE Miniport#define COMP_ID_LINUX 47 //You never guessed, Linux#define COMP_ID_AP1 81 //WaveLAN/IEEE AP#define COMP_ROLE_SUPL 00 //supplier#define COMP_ROLE_ACT 01 //actor#define COMP_ID_MFI 01 //Modem - Firmware I/F#define COMP_ID_CFI 02 //Controller - Firmware I/F#define COMP_ID_PRI 03 //Primary Firmware - Driver I/F#define COMP_ID_STA 04 //Station Firmware - Driver I/F#define COMP_ID_DUI 05 //Driver - Utility I/F#define COMP_ID_HSI 06 //H/W - Driver I/Ftypedef struct KEY_STRCT { hcf_16 len; //length of key hcf_8 key[14]; //encryption key} KEY_STRCT;typedef struct CFG_CNF_DEFAULT_KEYS_STRCT { //CFG_CNF_DEFAULT_KEYS (0xFCB0) defines set of encrypti hcf_16 len; //default length of RID hcf_16 typ; //RID identification as defined by Hermes KEY_STRCT key[4]; //encryption keys} CFG_CNF_DEFAULT_KEYS_STRCT;typedef struct CFG_REG_DOMAINS_STRCT { //CFG_REG_DOMAINS (0xFD11) List of intended regulatory domains. hcf_16 len; //length of RID hcf_16 typ; //RID identification as defined by Hermes hcf_16 domains[6];}CFG_REG_DOMAINS_STRCT;typedef struct CFG_CIS_STRCT { //CFG_CIS (0xFD13) PC Card Standard Card Information Structure hcf_16 len; //length of RID hcf_16 typ; //RID identification as defined by Hermes hcf_16 cis[240]; //Compact CIS Area, a linked list of tuples}CFG_CIS_STRCT;typedef struct CFG_COMMS_QUALITY_STRCT {//CFG_COMMS_QUALITY (0xFD43) Quality of the Basic Service Set connection [STA] hcf_16 len; //length of RID hcf_16 typ; //RID identification as defined by Hermes hcf_16 coms_qual; //Communication Quality of the BSS the station is connected to hcf_16 signal_lvl; //Average Signal Level of the BSS the station is connected to hcf_16 noise_lvl; //Average Noise Level of the currently used Frequency Channel}CFG_COMMS_QUALITY_STRCT;typedef struct CFG_CUR_SCALE_THRH_STRCT {//CFG_CUR_SCALE_THRH (0xFD46) Actual System Scale thresholds hcf_16 len; //default length of RID [STA: 6 AP: 4] hcf_16 typ; //RID identification as defined by Hermes hcf_16 energy_detect_thrh; //Receiver H/W Energy Detect Threshold hcf_16 carrier_detect_thrh; //Receiver H/W Carrier Detect Threshold hcf_16 defer_thrh; //Receiver H/W Defer Threshold hcf_16 cell_search_thrh; //Firmware Roaming Cell Search Threshold [STA] hcf_16 out_of_range_thrh; //Firmware Roaming Out of Range Threshold [STA] hcf_16 delta_snr; //Firmware Roaming Delta SNR value [STA]}CFG_CUR_SCALE_THRH_STRCT;typedef struct CFG_PCF_INFO_STRCT { //CFG_PCF_INFO (0xFD87) Point Coordination Function capability info [AP] hcf_16 len; //default length of RID hcf_16 typ; //RID identification as defined by Hermes hcf_16 energy_detect_thrh; hcf_16 carrier_detect_thrh; hcf_16 defer_thrh; hcf_16 cell_search_thrh; hcf_16 range_thrh;}CFG_PCF_INFO_STRCT;typedef struct CFG_MAC_ADDR_STRCT{ //0xFC01 [STA] MAC Address of this node. //0xFC08 STA] MAC Address of corresponding WDS Link node. //0xFC11 [AP] Port 1 MAC Adrs of corresponding WDS Link node //0xFC12 [AP] Port 2 MAC Adrs of corresponding WDS Link node //0xFC13 [AP] Port 3 MAC Adrs of corresponding WDS Link node //0xFC14 [AP] Port 4 MAC Adrs of corresponding WDS Link node //0xFC15 [AP] Port 5 MAC Adrs of corresponding WDS Link node //0xFC16 [AP] Port 6 MAC Adrs of corresponding WDS Link node hcf_16 len; //default length of RID hcf_16 typ; //RID identification as defined by Hermes hcf_16 mac_addr[3];}CFG_MAC_ADDR_STRCT;typedef struct CFG_GROUP_ADDR_STRCT{ //0xFC80 //[STA] Multicast MAC Addresses for hcf_16 len; //default length of RID hcf_16 typ; //RID identification as defined by Hermes hcf_16 mac_addr[GROUP_ADDR_SIZE/6][3];}CFG_GROUP_ADDR_STRCT;typedef struct CFG_ID_STRCT { //0xFC02 [STA] Service Set identification for connection. //0xFC04 IBSS creation (STA) or ESS (AP) Service Set Ident //0xFC0E Identification text for diagnostic purposes. hcf_16 len; //default length of RID hcf_16 typ; //RID identification as defined by Hermes hcf_16 id[17];}CFG_ID_STRCT;typedef void * DUIP;#endif // MDD_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -