118 #define XX1( name, type1, par1 ) \
125 #define XX2( name, type1, par1, type2, par2 ) \
133 #define XX3( name, type1, par1, type2, par2, type3, par3 ) \
134 typedef struct name##_STRCT { \
142 #define XX4( name, type1, par1, type2, par2, type3, par3, type4, par4 ) \
152 #define X1( name, par1 ) \
153 typedef struct name##_STRCT { \
159 #define X2( name, par1, par2 ) \
167 #define X3( name, par1, par2, par3 ) \
176 #define X4( name, par1, par2, par3, par4 ) \
186 #define X5( name, par1, par2, par3, par4, par5 ) \
197 #define X6( name, par1, par2, par3, par4, par5, par6 ) \
209 #define X8( name, par1, par2, par3, par4, par5, par6, par7, par8 ) \
223 #define X11( name, par1, par2, par3, par4, par5, par6, par7, par8, par9, par10, par11 ) \
278 XX1( RID_LOG,
unsigned short FAR*, bufp )
280 XX1( CFG_RID_LOG, RID_LOGP, recordp )
284 XX2( CFG_REG_MB,
hcf_16* , mb_addr, hcf_16, mb_size )
297 XX3( CFG_MB_INFO_RANGE2, hcf_16, base_typ, hcf_16, frag_cnt, CFG_MB_INFO_FRAG, frag_buf[ 2] )
298 XX3( CFG_MB_INFO_RANGE3, hcf_16, base_typ, hcf_16, frag_cnt, CFG_MB_INFO_FRAG, frag_buf[ 3] )
299 XX3( CFG_MB_INFO_RANGE20, hcf_16, base_typ, hcf_16, frag_cnt, CFG_MB_INFO_FRAG, frag_buf[20] )
302 #if (HCF_ASSERT) & ( HCF_ASSERT_LNK_MSF_RTN | HCF_ASSERT_RT_MSF_RTN )
304 typedef MSF_ASSERT_RTN * MSF_ASSERT_RTNP;
308 XX2( CFG_REG_ASSERT_RTNP, hcf_16, lvl, MSF_ASSERT_RTNP, rtnp )
309 #endif // HCF_ASSERT_LNK_MSF_RTN / HCF_ASSERT_RT_MSF_RTN
311 X1( CFG_HCF_OPT,
val[20] )
356 XX3( CFG_RANGE2, hcf_16, role, hcf_16,
id, CFG_RANGE_SPEC_STRCT, var_rec[ 2] )
357 XX3( CFG_RANGE3, hcf_16, role, hcf_16,
id, CFG_RANGE_SPEC_STRCT, var_rec[ 3] )
358 XX3( CFG_RANGE4, hcf_16, role, hcf_16,
id, CFG_RANGE_SPEC_STRCT, var_rec[ 4] )
359 XX3( CFG_RANGE5, hcf_16, role, hcf_16,
id, CFG_RANGE_SPEC_STRCT, var_rec[ 5] )
360 XX3( CFG_RANGE6, hcf_16, role, hcf_16,
id, CFG_RANGE_SPEC_STRCT, var_rec[ 6] )
361 XX3( CFG_RANGE7, hcf_16, role, hcf_16,
id, CFG_RANGE_SPEC_STRCT, var_rec[ 7] )
362 XX3( CFG_RANGE20, hcf_16, role, hcf_16,
id, CFG_RANGE_SPEC_STRCT, var_rec[20] )
366 X2( CFG_ASSOC_STAT3, assoc_stat, station_addr[3] )
367 X3( CFG_ASSOC_STAT1, assoc_stat, station_addr[3], frame_body[43] )
368 X4( CFG_ASSOC_STAT2, assoc_stat, station_addr[3], old_ap_addr[3], frame_body[43] )
377 X1( CFG_CNF_OWN_SSID,
ssid[17] )
378 X1( CFG_CNF_OWN_ATIM_WINDOW, atim_window )
379 X1( CFG_CNF_SYSTEM_SCALE, system_scale )
380 X1( CFG_CNF_MAX_DATA_LEN, max_data_len )
382 X1( CFG_CNF_PM_ENABLED, pm_enabled )
383 X1( CFG_CNF_PM_EPS, pm_eps )
384 X1( CFG_CNF_MCAST_RX, mcast_rx )
387 X1( CFG_CNF_OWN_NAME,
ssid[17] )
388 X1( CFG_CNF_OWN_DTIM_PERIOD,
period )
395 X1( CFG_CNF_MCAST_PM_BUF, mcast_pm_buf )
396 X1( CFG_CNF_REJECT_ANY, reject_any )
399 X1( CFG_CNF_AUTHENTICATION, authentication )
400 X1( CFG_CNF_EXCL_UNENCRYPTED, exclude_unencrypted )
401 X1( CFG_CNF_MCAST_RATE, mcast_rate )
402 X1( CFG_CNF_INTRA_BSS_RELAY, intra_bss_relay )
403 X1( CFG_CNF_MICRO_WAVE, micro_wave )
404 X1( CFG_CNF_LOAD_BALANCING, load_balancing )
405 X1( CFG_CNF_MEDIUM_DISTRIBUTION, medium_distribution )
406 X1( CFG_CNF_GROUP_ADDR_FILTER, group_addr_filter )
407 X1( CFG_CNF_TX_POW_LVL, tx_pow_lvl )
408 XX4( CFG_CNF_COUNTRY_INFO, \
411 XX4( CFG_CNF_COUNTRY_INFO_MAX, \
416 X1( CFG_DESIRED_SSID,
ssid[17] )
417 #define GROUP_ADDR_SIZE (32 * 6) //32 6-byte MAC-addresses
419 X1( CFG_CREATE_IBSS, create_ibss )
420 X1( CFG_RTS_THRH, rts_thrh )
421 X1( CFG_TX_RATE_CNTL, tx_rate_cntl )
422 X1( CFG_PROMISCUOUS_MODE, promiscuous_mode )
423 X1( CFG_WOL, wake_on_lan )
424 X1( CFG_RTS_THRH0, rts_thrh )
425 X1( CFG_RTS_THRH1, rts_thrh )
426 X1( CFG_RTS_THRH2, rts_thrh )
427 X1( CFG_RTS_THRH3, rts_thrh )
428 X1( CFG_RTS_THRH4, rts_thrh )
429 X1( CFG_RTS_THRH5, rts_thrh )
430 X1( CFG_RTS_THRH6, rts_thrh )
431 X1( CFG_TX_RATE_CNTL0, rate_cntl )
432 X1( CFG_TX_RATE_CNTL1, rate_cntl )
433 X1( CFG_TX_RATE_CNTL2, rate_cntl )
434 X1( CFG_TX_RATE_CNTL3, rate_cntl )
435 X1( CFG_TX_RATE_CNTL4, rate_cntl )
436 X1( CFG_TX_RATE_CNTL5, rate_cntl )
437 X1( CFG_TX_RATE_CNTL6, rate_cntl )
439 X1( CFG_TX_KEY_ID, tx_key_id )
440 X1( CFG_SCAN_SSID,
ssid[17] )
441 X5( CFG_ADD_TKIP_DEFAULT_KEY, \
446 X1( CFG_SET_WPA_AUTHENTICATION_SUITE, \
447 ssn_authentication_suite )
448 X1( CFG_REMOVE_TKIP_DEFAULT_KEY,tkip_key_id )
449 X1( CFG_TICK_TIME, tick_time )
450 X1( CFG_DDS_TICK_TIME, tick_time )
455 #define WOL_PATTERNS 5 // maximum of 5 patterns in firmware
456 #define WOL_PATTERN_LEN 124 // maximum 124 bytes pattern length per pattern in firmware
457 #define WOL_MASK_LEN 30 // maximum 30 bytes mask length per pattern in firmware
458 #define WOL_BUF_SIZE (WOL_PATTERNS * (WOL_PATTERN_LEN + WOL_MASK_LEN + 6) / 2)
464 #define CFG_DRV_IDENTITY_STRCT CFG_IDENTITY_STRCT
465 #define CFG_PRI_IDENTITY_STRCT CFG_IDENTITY_STRCT
466 #define CFG_NIC_IDENTITY_STRCT CFG_IDENTITY_STRCT
467 #define CFG_FW_IDENTITY_STRCT CFG_IDENTITY_STRCT
468 X1( CFG_RID_INF_MIN,
y )
469 X1( CFG_MAX_LOAD_TIME, max_load_time )
470 X3( CFG_DL_BUF, buf_page, buf_offset, buf_len )
475 X5( CFG_NIC_MFI_SUP_RANGE, role,
id, variant, bottom,
top )
476 X5( CFG_NIC_CFI_SUP_RANGE, role,
id, variant, bottom,
top )
479 X1( CFG_NIC_TEMP_TYPE, temp_type )
481 X5( CFG_NIC_PROFILE, \
482 profile_code, capability_options, allowed_data_rates, val4, val5 )
484 X5( CFG_MFI_ACT_RANGES, role,
id, variant, bottom,
top )
485 X5( CFG_CFI_ACT_RANGES_STA,role,
id, variant, bottom,
top )
486 X5( CFG_MFI_ACT_RANGES_STA,role,
id, variant, bottom,
top )
487 X1( CFG_NIC_BUS_TYPE, nic_bus_type )
490 X1( CFG_PORT_STAT, port_stat )
491 X1( CFG_CUR_SSID,
ssid[17] )
493 X3( CFG_COMMS_QUALITY, coms_qual, signal_lvl, noise_lvl )
494 X1( CFG_CUR_TX_RATE,
rate )
496 #if (HCF_TYPE) & HCF_TYPE_WARP
497 X11( CFG_CUR_SCALE_THRH, \
498 carrier_detect_thrh_cck, carrier_detect_thrh_ofdm,
defer_thrh, \
500 rssi_off_thrh_deviation, cck_drop_thrh, ofdm_drop_thrh, \
503 X6( CFG_CUR_SCALE_THRH, \
506 #endif // HCF_TYPE_WARP
507 X1( CFG_PROTOCOL_RSP_TIME,
time )
508 X1( CFG_CUR_SHORT_RETRY_LIMIT,
limit )
509 X1( CFG_CUR_LONG_RETRY_LIMIT,
limit )
510 X1( CFG_MAX_TX_LIFETIME,
time )
511 X1( CFG_MAX_RX_LIFETIME,
time )
512 X1( CFG_CF_POLLABLE, cf_pollable )
513 X2( CFG_AUTHENTICATION_ALGORITHMS,authentication_type, type_enabled )
514 X1( CFG_PRIVACY_OPT_IMPLEMENTED,privacy_opt_implemented )
515 X1( CFG_CUR_REMOTE_RATES, rates )
516 X1( CFG_CUR_USED_RATES, rates )
517 X1( CFG_CUR_SYSTEM_SCALE, current_system_scale )
518 X1( CFG_CUR_TX_RATE1,
rate )
519 X1( CFG_CUR_TX_RATE2,
rate )
520 X1( CFG_CUR_TX_RATE3,
rate )
521 X1( CFG_CUR_TX_RATE4,
rate )
522 X1( CFG_CUR_TX_RATE5,
rate )
523 X1( CFG_CUR_TX_RATE6,
rate )
525 X3( CFG_PCF_INFO, medium_occupancy_limit, \
526 cfp_period, cfp_max_duration )
527 X1( CFG_CUR_WPA_INFO_ELEMENT, ssn_info_element[1] )
528 X4( CFG_CUR_TKIP_IV_INFO, \
529 tkip_seq_cnt0[4], tkip_seq_cnt1[4], \
530 tkip_seq_cnt2[4], tkip_seq_cnt3[4] )
532 X2( CFG_CUR_ASSOC_RESP_INFO, frame_type, frame_body[1] )
536 X1( CFG_PHY_TYPE, phy_type )
537 X1( CFG_CUR_CHANNEL, current_channel )
538 X1( CFG_CUR_POWER_STATE, current_power_state )
539 X1( CFG_CCAMODE, cca_mode )
540 X1( CFG_SUPPORTED_DATA_RATES, rates[5] )
553 #define MDD_ACT_SCAN 0x06 // Hermes Inquire Scan (F101) command
554 #define MDD_ACT_PRS_SCAN 0x07 // Hermes Probe Response Scan (F102) command
557 #define UIL_FUN_CONNECT 0x00 // Perform connect command
558 #define UIL_FUN_DISCONNECT 0x01 // Perform disconnect command
559 #define UIL_FUN_ACTION 0x02 // Perform UIL Action command.
560 #define UIL_FUN_SEND_DIAG_MSG 0x03 // Send a diagnostic message.
561 #define UIL_FUN_GET_INFO 0x04 // Retrieve information from NIC.
562 #define UIL_FUN_PUT_INFO 0x05 // Put information on NIC.
569 #define UIL_ACT_SCAN MDD_ACT_SCAN
570 #define UIL_ACT_PRS_SCAN MDD_ACT_PRS_SCAN
571 #define UIL_ACT_BLOCK 0x0B
572 #define UIL_ACT_UNBLOCK 0x0C
573 #define UIL_ACT_RESET 0x80
574 #define UIL_ACT_REBIND 0x81
575 #define UIL_ACT_APPLY 0x82
576 #define UIL_ACT_DISCONNECT 0x83 //;?040108 possibly obsolete //Special for WINCE
584 #define HCF_DISCONNECT 0x01 //disconnect request for hcf_connect (invalid as IO Address)
585 #define HCF_ACT_TALLIES 0x05 // ! UIL_ACT_TALLIES does not exist ! Hermes Inquire Tallies (F100) cmd
586 #if ( (HCF_TYPE) & HCF_TYPE_WARP ) == 0
587 #define HCF_ACT_SCAN MDD_ACT_SCAN
588 #endif // HCF_TYPE_WARP
589 #define HCF_ACT_PRS_SCAN MDD_ACT_PRS_SCAN
591 #define HCF_ACT_INT_OFF 0x0D // Disable Interrupt generation
592 #define HCF_ACT_INT_ON 0x0E // Enable Interrupt generation
593 #define HCF_ACT_INT_FORCE_ON 0x0F // Enforce Enable Interrupt generation
595 #define HCF_ACT_RX_ACK 0x15 // Receiever ACK (optimization)
596 #if (HCF_TYPE) & HCF_TYPE_CCX
597 #define HCF_ACT_CCX_ON 0x1A // enable CKIP
598 #define HCF_ACT_CCX_OFF 0x1B // disable CKIP
599 #endif // HCF_TYPE_CCX
600 #if (HCF_SLEEP) & HCF_DDS
601 #define HCF_ACT_SLEEP 0x1C // DDS Sleep request
616 #define CFG_RID_FW_MIN 0xFA00 //lowest value representing a Hermes-II based RID
627 #define CFG_RID_CFG_MIN 0xFC00 //lowest value representing a Hermes configuration RID
632 #define CFG_CNF_PORT_TYPE 0xFC00 //[STA] Connection control characteristics
633 #define CFG_CNF_OWN_MAC_ADDR 0xFC01 //[STA] MAC Address of this node
635 #define CFG_CNF_OWN_CHANNEL 0xFC03 //Communication channel for BSS creation
636 #define CFG_CNF_OWN_SSID 0xFC04 //IBSS creation (STA) or ESS (AP) Service Set Ident
637 #define CFG_CNF_OWN_ATIM_WINDOW 0xFC05 //[STA] ATIM Window time for IBSS creation
638 #define CFG_CNF_SYSTEM_SCALE 0xFC06 //System Scale that specifies the AP density
639 #define CFG_CNF_MAX_DATA_LEN 0xFC07 //Maximum length of MAC Frame Body data
640 #define CFG_CNF_PM_ENABLED 0xFC09 //[STA] Switch for ESS Power Management (PM)
641 #define CFG_CNF_MCAST_RX 0xFC0B //[STA] Switch for ESS PM Multicast reception On/Off
642 #define CFG_CNF_MAX_SLEEP_DURATION 0xFC0C //[STA] Maximum sleep time for ESS PM
643 #define CFG_CNF_HOLDOVER_DURATION 0xFC0D //[STA] Holdover time for ESS PM
644 #define CFG_CNF_OWN_NAME 0xFC0E //Identification text for diagnostic purposes
646 #define CFG_CNF_OWN_DTIM_PERIOD 0xFC10 //[AP] Beacon intervals between successive DTIMs
647 #define CFG_CNF_WDS_ADDR1 0xFC11 //[AP] Port 1 MAC Adrs of corresponding WDS Link node
648 #define CFG_CNF_WDS_ADDR2 0xFC12 //[AP] Port 2 MAC Adrs of corresponding WDS Link node
649 #define CFG_CNF_WDS_ADDR3 0xFC13 //[AP] Port 3 MAC Adrs of corresponding WDS Link node
650 #define CFG_CNF_WDS_ADDR4 0xFC14 //[AP] Port 4 MAC Adrs of corresponding WDS Link node
651 #define CFG_CNF_WDS_ADDR5 0xFC15 //[AP] Port 5 MAC Adrs of corresponding WDS Link node
652 #define CFG_CNF_WDS_ADDR6 0xFC16 //[AP] Port 6 MAC Adrs of corresponding WDS Link node
653 #define CFG_CNF_PM_MCAST_BUF 0xFC17 //[AP] Switch for PM buffereing of Multicast Messages
654 #define CFG_CNF_MCAST_PM_BUF CFG_CNF_PM_MCAST_BUF //name does not match H-II spec
655 #define CFG_CNF_REJECT_ANY 0xFC18 //[AP] Switch for PM buffering of Multicast Messages
657 #define CFG_CNF_ENCRYPTION 0xFC20 //select en/de-cryption of Tx/Rx messages
658 #define CFG_CNF_AUTHENTICATION 0xFC21 //[STA] selects Authentication algorithm
659 #define CFG_CNF_EXCL_UNENCRYPTED 0xFC22 //[AP] Switch for 'clear-text' rx message acceptance
660 #define CFG_CNF_MCAST_RATE 0xFC23 //Transmit Data rate for Multicast frames
661 #define CFG_CNF_INTRA_BSS_RELAY 0xFC24 //[AP] Switch for IntraBBS relay
662 #define CFG_CNF_MICRO_WAVE 0xFC25 //MicroWave (Robustness)
663 #define CFG_CNF_LOAD_BALANCING 0xFC26 //Load Balancing (Boolean, 0=OFF, 1=ON, default=1)
664 #define CFG_CNF_MEDIUM_DISTRIBUTION 0xFC27 //Medium Distribution (Boolean, 0=OFF, 1=ON, default=1)
665 #define CFG_CNF_RX_ALL_GROUP_ADDR 0xFC28 //[STA] Group Address Filter
666 #define CFG_CNF_COUNTRY_INFO 0xFC29 //Country Info
667 #if (HCF_TYPE) & HCF_TYPE_WARP
668 #define CFG_CNF_TX_POW_LVL 0xFC2A //TxPower Level
669 #define CFG_CNF_CONNECTION_CNTL 0xFC30 //[STA] Connection Control
670 #define CFG_CNF_OWN_BEACON_INTERVAL 0xFC31 //[AP]
671 #define CFG_CNF_SHORT_RETRY_LIMIT 0xFC32 //
672 #define CFG_CNF_LONG_RETRY_LIMIT 0xFC33 //
673 #define CFG_CNF_TX_EVENT_MODE 0xFC34 //
674 #define CFG_CNF_WIFI_COMPATIBLE 0xFC35 //[STA] Wifi compatible
675 #endif // HCF_TYPE_WARP
676 #if (HCF_TYPE) & HCF_TYPE_BEAGLE_HII5
677 #define CFG_VOICE_RETRY_LIMIT 0xFC36
678 #define CFG_VOICE_CONTENTION_WINDOW 0xFC37
679 #endif // BEAGLE_HII5
682 #define CFG_DESIRED_SSID 0xFC02 //[STA] Service Set identification for connection and scan
684 #define CFG_GROUP_ADDR 0xFC80 //[STA] Multicast MAC Addresses for Rx-message
685 #define CFG_CREATE_IBSS 0xFC81 //[STA] Switch for IBSS creation On/Off
686 #define CFG_RTS_THRH 0xFC83 //Frame length used for RTS/CTS handshake
687 #define CFG_TX_RATE_CNTL 0xFC84 //[STA] Data rate control for message transmission
688 #define CFG_PROMISCUOUS_MODE 0xFC85 //[STA] Switch for Promiscuous mode reception On/Off
689 #define CFG_WOL 0xFC86 //[STA] Switch for Wake-On-LAN mode
690 #define CFG_WOL_PATTERNS 0xFC87 //[STA] Patterns for Wake-On-LAN
691 #define CFG_SUPPORTED_RATE_SET_CNTL 0xFC88 //
692 #define CFG_BASIC_RATE_SET_CNTL 0xFC89 //
694 #define CFG_SOFTWARE_ACK_MODE 0xFC90 //
695 #define CFG_RTS_THRH0 0xFC97 //[AP] Port 0 frame length for RTS/CTS handshake
696 #define CFG_RTS_THRH1 0xFC98 //[AP] Port 1 frame length for RTS/CTS handshake
697 #define CFG_RTS_THRH2 0xFC99 //[AP] Port 2 frame length for RTS/CTS handshake
698 #define CFG_RTS_THRH3 0xFC9A //[AP] Port 3 frame length for RTS/CTS handshake
699 #define CFG_RTS_THRH4 0xFC9B //[AP] Port 4 frame length for RTS/CTS handshake
700 #define CFG_RTS_THRH5 0xFC9C //[AP] Port 5 frame length for RTS/CTS handshake
701 #define CFG_RTS_THRH6 0xFC9D //[AP] Port 6 frame length for RTS/CTS handshake
703 #define CFG_TX_RATE_CNTL0 0xFC9E //[AP] Port 0 data rate control for transmission
704 #define CFG_TX_RATE_CNTL1 0xFC9F //[AP] Port 1 data rate control for transmission
705 #define CFG_TX_RATE_CNTL2 0xFCA0 //[AP] Port 2 data rate control for transmission
706 #define CFG_TX_RATE_CNTL3 0xFCA1 //[AP] Port 3 data rate control for transmission
707 #define CFG_TX_RATE_CNTL4 0xFCA2 //[AP] Port 4 data rate control for transmission
708 #define CFG_TX_RATE_CNTL5 0xFCA3 //[AP] Port 5 data rate control for transmission
709 #define CFG_TX_RATE_CNTL6 0xFCA4 //[AP] Port 6 data rate control for transmission
711 #define CFG_DEFAULT_KEYS 0xFCB0 //defines set of encryption keys
712 #define CFG_TX_KEY_ID 0xFCB1 //select key for encryption of Tx messages
713 #define CFG_SCAN_SSID 0xFCB2 //Scan SSID
714 #define CFG_ADD_TKIP_DEFAULT_KEY 0xFCB4 //set KeyID and TxKey indication
715 #define KEY_ID 0x0003 //KeyID mask for tkip_key_id_info field
716 #define TX_KEY 0x8000 //Default Tx Key flag of tkip_key_id_info field
717 #define CFG_SET_WPA_AUTH_KEY_MGMT_SUITE 0xFCB5 //Authenticated Key Management Suite
718 #define CFG_REMOVE_TKIP_DEFAULT_KEY 0xFCB6 //invalidate KeyID and TxKey indication
719 #define CFG_ADD_TKIP_MAPPED_KEY 0xFCB7 //set MAC address pairwise station
720 #define CFG_REMOVE_TKIP_MAPPED_KEY 0xFCB8 //invalidate MAC address pairwise station
721 #define CFG_SET_WPA_CAPABILITIES_INFO 0xFCB9 //WPA Capabilities
722 #define CFG_CACHED_PMK_ADDR 0xFCBA //set MAC address of pre-authenticated AP
723 #define CFG_REMOVE_CACHED_PMK_ADDR 0xFCBB //invalidate MAC address of pre-authenticated AP
724 #define CFG_FCBC 0xFCBC //FW codes ahead of available documentation, so ???????
725 #define CFG_FCBD 0xFCBD //FW codes ahead of available documentation, so ???????
726 #define CFG_FCBE 0xFCBE //FW codes ahead of available documentation, so ???????
727 #define CFG_FCBF 0xFCBF //FW codes ahead of available documentation, so ???????
729 #define CFG_HANDOVER_ADDR 0xFCC0 //[AP] Station MAC Address re-associated with other AP
730 #define CFG_SCAN_CHANNEL 0xFCC2 //Channel set for host requested scan
732 #define CFG_DISASSOCIATE_ADDR 0xFCC4 //[AP] Station MAC Address to be disassociated
733 #define CFG_PROBE_DATA_RATE 0xFCC5 //WARP connection control
734 #define CFG_FRAME_BURST_LIMIT 0xFCC6 //
735 #define CFG_COEXISTENSE_BEHAVIOUR 0xFCC7 //[AP]
736 #define CFG_DEAUTHENTICATE_ADDR 0xFCC8 //MAC address of Station to be deauthenticated
739 #define CFG_TICK_TIME 0xFCE0 //Auxiliary Timer tick interval
740 #define CFG_DDS_TICK_TIME 0xFCE1 //Disconnected DeepSleep Timer tick interval
742 #define CFG_RID_CFG_MAX 0xFCFF //highest value representing an Configuration RID
748 #define CFG_RID_INF_MIN 0xFD00 //lowest value representing an Information RID
749 #define CFG_MAX_LOAD_TIME 0xFD00 //[INT] Maximum response time of the Download command.
750 #define CFG_DL_BUF 0xFD01 //[INT] Download buffer location and size.
751 #define CFG_PRI_IDENTITY 0xFD02 //[PRI] Primary Functions firmware identification.
752 #define CFG_PRI_SUP_RANGE 0xFD03 //[PRI] Primary Functions I/F Supplier compatibility range.
753 #define CFG_NIC_HSI_SUP_RANGE 0xFD09 //H/W - S/W I/F supplier range
754 #define CFG_NIC_SERIAL_NUMBER 0xFD0A //[PRI] Network Interface Card serial number.
755 #define CFG_NIC_IDENTITY 0xFD0B //[PRI] Network Interface Card identification.
756 #define CFG_NIC_MFI_SUP_RANGE 0xFD0C //[PRI] Modem I/F Supplier compatibility range.
757 #define CFG_NIC_CFI_SUP_RANGE 0xFD0D //[PRI] Controller I/F Supplier compatibility range.
758 #define CFG_CHANNEL_LIST 0xFD10 //Allowed communication channels.
759 #define CFG_NIC_TEMP_TYPE 0xFD12 //Hardware temperature range code.
760 #define CFG_CIS 0xFD13 //PC Card Standard Card Information Structure
761 #define CFG_NIC_PROFILE 0xFD14 //Card Profile
762 #define CFG_FW_IDENTITY 0xFD20 //firmware identification.
763 #define CFG_FW_SUP_RANGE 0xFD21 //firmware Supplier compatibility range.
764 #define CFG_MFI_ACT_RANGES_STA 0xFD22 //[STA] Modem I/F Actor compatibility ranges.
765 #define CFG_CFI_ACT_RANGES_STA 0xFD23 //[STA] Controller I/F Actor compatibility ranges.
766 #define CFG_NIC_BUS_TYPE 0xFD24 //Card Bustype
767 #define CFG_NIC_BUS_TYPE_PCCARD_CF 0x0000 //16 bit PC Card or Compact Flash
768 #define CFG_NIC_BUS_TYPE_USB 0x0001 //USB
769 #define CFG_NIC_BUS_TYPE_CARDBUS 0x0002 //CardBus
770 #define CFG_NIC_BUS_TYPE_PCI 0x0003 //(mini)PCI
771 #define CFG_DOMAIN_CODE 0xFD25
774 #define CFG_PORT_STAT 0xFD40 //Actual MAC Port connection control status
775 #define CFG_CUR_SSID 0xFD41 //[STA] Identification of the actually connected SS
776 #define CFG_CUR_BSSID 0xFD42 //[STA] Identification of the actually connected BSS
777 #define CFG_COMMS_QUALITY 0xFD43 //[STA] Quality of the Basic Service Set connection
778 #define CFG_CUR_TX_RATE 0xFD44 //[STA] Actual transmit data rate
779 #define CFG_CUR_BEACON_INTERVAL 0xFD45 //Beacon transmit interval time for BSS creation
780 #define CFG_CUR_SCALE_THRH 0xFD46 //Actual System Scale thresholds settings
781 #define CFG_PROTOCOL_RSP_TIME 0xFD47 //Max time to await a response to a request message
782 #define CFG_CUR_SHORT_RETRY_LIMIT 0xFD48 //Max number of transmit attempts for short frames
783 #define CFG_CUR_LONG_RETRY_LIMIT 0xFD49 //Max number of transmit attempts for long frames
784 #define CFG_MAX_TX_LIFETIME 0xFD4A //Max transmit frame handling duration
785 #define CFG_MAX_RX_LIFETIME 0xFD4B //Max received frame handling duration
786 #define CFG_CF_POLLABLE 0xFD4C //[STA] Contention Free pollable capability indication
787 #define CFG_AUTHENTICATION_ALGORITHMS 0xFD4D //Available Authentication Algorithms indication
788 #define CFG_PRIVACY_OPT_IMPLEMENTED 0xFD4F //WEP Option availability indication
790 #define CFG_CUR_REMOTE_RATES 0xFD50 //[STA] CurrentRemoteRates
791 #define CFG_CUR_USED_RATES 0xFD51 //[STA] CurrentUsedRates
792 #define CFG_CUR_SYSTEM_SCALE 0xFD52 //[STA] CurrentSystemScale
794 #define CFG_CUR_TX_RATE1 0xFD80 //[AP] Actual Port 1 transmit data rate
795 #define CFG_CUR_TX_RATE2 0xFD81 //[AP] Actual Port 2 transmit data rate
796 #define CFG_CUR_TX_RATE3 0xFD82 //[AP] Actual Port 3 transmit data rate
797 #define CFG_CUR_TX_RATE4 0xFD83 //[AP] Actual Port 4 transmit data rate
798 #define CFG_CUR_TX_RATE5 0xFD84 //[AP] Actual Port 5 transmit data rate
799 #define CFG_CUR_TX_RATE6 0xFD85 //[AP] Actual Port 6 transmit data rate
800 #define CFG_NIC_MAC_ADDR 0xFD86 //Unique local node MAC Address
801 #define CFG_PCF_INFO 0xFD87 //[AP] Point Coordination Function capability info
803 #define CFG_CUR_COUNTRY_INFO 0xFD89 //
804 #define CFG_CUR_WPA_INFO_ELEMENT 0xFD8A //
805 #define CFG_CUR_TKIP_IV_INFO 0xFD8B //
806 #define CFG_CUR_ASSOC_REQ_INFO 0xFD8C //
807 #define CFG_CUR_ASSOC_RESP_INFO 0xFD8D //
808 #define CFG_CUR_LOAD 0xFD8E //[AP] current load on AP's channel
810 #define CFG_SECURITY_CAPABILITIES 0xFD90 //Combined capabilities information
813 #define CFG_PHY_TYPE 0xFDC0 //Physical layer type indication
814 #define CFG_CUR_CHANNEL 0xFDC1 //Actual frequency channel used for transmission
815 #define CFG_CUR_POWER_STATE 0xFDC2 //Actual power consumption status
816 #define CFG_CCA_MODE 0xFDC3 //Clear channel assessment mode indication
817 #define CFG_SUPPORTED_DATA_RATES 0xFDC6 //Data rates capability information
819 #define CFG_RID_INF_MAX 0xFDFF //highest value representing an Information RID
822 #define CFG_RID_ENG_MIN 0xFFE0 //lowest value representing a Hermes engineering RID
830 #define CARD_STAT_INCOMP_PRI 0x2000U // no compatible HSI / primary F/W
831 #define CARD_STAT_INCOMP_FW 0x1000U // no compatible station / tertiary F/W
832 #define CARD_STAT_DEFUNCT 0x0100U // HCF is in Defunct mode
834 #define RX_STAT_PRIO 0x00E0U //Priority subfield
835 #define RX_STAT_ERR 0x000FU //Error mask
836 #define RX_STAT_UNDECR 0x0002U //Non-decryptable encrypted message
837 #define RX_STAT_FCS_ERR 0x0001U //FCS error
840 #define ENC_NONE 0xFF
841 #define ENC_1042 0x00
842 #define ENC_TUNNEL 0xF8
846 #define HCF_SUCCESS 0x00 // OK
847 #define HCF_ERR_TIME_OUT 0x04 // Expected Hermes event did not occur in expected time
848 #define HCF_ERR_NO_NIC 0x05
850 #define HCF_ERR_LEN 0x08
856 #define HCF_ERR_INCOMP_PRI 0x09 // primary functions are not compatible
857 #define HCF_ERR_INCOMP_FW 0x0A // station functions are compatible
858 #define HCF_ERR_MIC 0x0D // MIC check fails
859 #define HCF_ERR_SLEEP 0x0E // NIC in sleep mode
860 #define HCF_ERR_MAX 0x3F
862 #define HCF_ERR_DEFUNCT 0x80 // BIT, reflecting that the HCF is in defunct mode (bits 0x7F reflect cause)
863 #define HCF_ERR_DEFUNCT_AUX 0x82 // Timeout on acknowledgement on en/disabling AUX registers
864 #define HCF_ERR_DEFUNCT_TIMER 0x83 // Timeout on timer calibration during initialization process
865 #define HCF_ERR_DEFUNCT_TIME_OUT 0x84 // Timeout on Busy bit drop during BAP setup
866 #define HCF_ERR_DEFUNCT_CMD_SEQ 0x86 // Hermes and HCF are out of sync in issuing/processing commands
868 #define HCF_INT_PENDING 0x01 // return status of hcf_act( HCF_ACT_INT_OFF )
870 #define HCF_PORT_0 0x0000 // Station supports only single MAC Port
871 #define HCF_PORT_1 0x0100 // HCF_PORT_1 through HCF_PORT_6 are only supported by AP F/W
872 #define HCF_PORT_2 0x0200
873 #define HCF_PORT_3 0x0300
874 #define HCF_PORT_4 0x0400
875 #define HCF_PORT_5 0x0500
876 #define HCF_PORT_6 0x0600
878 #define HCF_CNTL_ENABLE 0x01
879 #define HCF_CNTL_DISABLE 0x02
880 #define HCF_CNTL_CONNECT 0x03
881 #define HCF_CNTL_DISCONNECT 0x05
882 #define HCF_CNTL_CONTINUE 0x07
884 #define USE_DMA 0x0001
885 #define USE_16BIT 0x0002
886 #define DMA_ENABLED 0x8000 //weak name, it really means: F/W enabled and DMA selected
890 #define HCF_DMA_RX_BUF1_SIZE (HFS_ADDR_DEST + 8) //extra bytes for LEN/SNAP if decapsulation
891 #define HCF_DMA_TX_BUF1_SIZE (HFS_ADDR_DEST + 2*6 + 8) //extra bytes for DA/SA/LEN/SNAP if encapsulation
918 #if (HCF_TYPE) & HCF_TYPE_WARP
919 #define HCF_TX_CNTL_MASK 0x27E7 //no TX_DELAY?, CCX, MACPort, Priority, (StrucType), TxEx, TxOK, Spectralink
923 #define HCF_TX_CNTL_MASK 0x67E7 //TX_DELAY?, CCX, MACPort, Priority, (StrucType), TxEx, TxOK, Spectralink
924 #endif // HCF_TYPE_WARP
926 #define HFS_TX_CNTL_TX_EX 0x0004U
928 #if (HCF_TYPE) & HCF_TYPE_WPA
929 #define HFS_TX_CNTL_MIC 0x0010U //802.3 format with TKIP ;?changes to 0x0008 for H-II
930 #define HFS_TX_CNTL_MIC_KEY_ID 0x1800U //MIC Key ID subfield
931 #endif // HCF_TYPE_WPA
933 #define HFS_TX_CNTL_PORT 0x0700U //Port subfield of TxControl field of Transmit Frame Structure
935 #if (HCF_TYPE) & HCF_TYPE_CCX
936 #define HFS_TX_CNTL_CKIP 0x2000U //CKIP encrypted flag
937 #endif // HCF_TYPE_CCX
939 #if (HCF_TYPE) & HCF_TYPE_TX_DELAY
940 #define HFS_TX_CNTL_TX_DELAY 0x4000U //decouple "put data" and send
941 #endif // HCF_TYPE_TX_DELAY
942 #define HFS_TX_CNTL_TX_CONT 0x4000u //engineering: continuous transmit
945 #define CFG_PROD_DATA 0x0800 //Plug Data (Engineering Test purposes only)
946 #define CFG_DL_EEPROM 0x0806 //Up/Download I2PROM for USB
947 #define CFG_PDA 0x0002 //Download PDA
948 #define CFG_MEM_I2PROM 0x0004 //Up/Download EEPROM
950 #define CFG_MEM_READ 0x0000
951 #define CFG_MEM_WRITE 0x0001
953 #define CFG_NULL 0x0820 //Empty Mail Box Info Block
954 #define CFG_MB_INFO 0x0820 //Mail Box Info Block
955 #define CFG_WMP 0x0822 //WaveLAN Management Protocol
957 #if defined MSF_COMPONENT_ID
958 #define CFG_DRV_INFO 0x0825 //Driver Information structure (see CFG_DRV_INFO_STRCT for details)
959 #define CFG_DRV_IDENTITY 0x0826 //driver identity (see CFG_DRV_IDENTITY_STRCT for details)
960 #define CFG_DRV_SUP_RANGE 0x0827 //Supplier range of driver - utility I/F
961 #define CFG_DRV_ACT_RANGES_PRI 0x0828 //(Acceptable) Actor range for Primary Firmware - driver I/F
962 #define CFG_DRV_ACT_RANGES_STA 0x0829 //(Acceptable) Actor range for Station Firmware - driver I/F
963 #define CFG_DRV_ACT_RANGES_HSI 0x082A //(Acceptable) Actor range for H/W - driver I/F
964 #define CFG_DRV_ACT_RANGES_APF 0x082B //(Acceptable) Actor range for AP Firmware - driver I/F
965 #define CFG_HCF_OPT 0x082C //HCF (Compile time) options
966 #endif // MSF_COMPONENT_ID
968 #define CFG_REG_MB 0x0830 //Register Mail Box
969 #define CFG_MB_ASSERT 0x0831 //Assert information
970 #define CFG_REG_ASSERT_RTNP 0x0832 //(de-)register MSF Assert Callback routine
971 #if (HCF_EXT) & HCF_EXT_INFO_LOG
972 #define CFG_REG_INFO_LOG 0x0839 //(de-)register Info frames to Log
973 #endif // HCF_INFO_LOG
974 #define CFG_CNTL_OPT 0x083A //Control options
976 #define CFG_PROG 0x0857 //Program NIC memory
977 #define CFG_PROG_STOP 0x0000
978 #define CFG_PROG_VOLATILE 0x0100
981 #define CFG_PROG_SEEPROM_READBACK 0x0400
983 #define CFG_FW_PRINTF 0x0858 //Related to firmware debug printf functionality
984 #define CFG_FW_PRINTF_BUFFER_LOCATION 0x0859 //Also related to firmware debug printf functionality
986 #define CFG_CMD_NIC 0x0860 //Hermes Engineering command
987 #define CFG_CMD_HCF 0x0863 //HCF Engineering command
988 #define CFG_CMD_HCF_REG_ACCESS 0x0000 //Direct register access
989 #define CFG_CMD_HCF_RX_MON 0x0001 //Rx-monitor
993 #define CFG_ENCRYPT_STRING 0x0900 //transfer encryption info from CPL to MSF
994 #define CFG_AP_MODE 0x0901 //control mode of STAP driver from CPL
995 #define CFG_DRIVER_ENABLE 0x0902 //extend&export En-/Disable facility to Utility
996 #define CFG_PCI_COMMAND 0x0903 //PCI adapter (Ooievaar) structure
997 #define CFG_WOLAS_ENABLE 0x0904 //extend&export En-/Disable WOLAS facility to Utility
998 #define CFG_COUNTRY_STRING 0x0905 //transfer CountryInfo info from CPL to MSF
999 #define CFG_FW_DUMP 0x0906 //transfer nic memory to utility
1000 #define CFG_POWER_MODE 0x0907 //controls the PM mode of the card
1001 #define CFG_CONNECTION_MODE 0x0908 //controls the mode of the FW (ESS/AP/IBSS/ADHOC)
1002 #define CFG_IFB 0x0909 //byte wise copy of IFB
1003 #define CFG_MSF_TALLIES 0x090A //MSF tallies (int's, rx and tx)
1004 #define CFG_CURRENT_LINK_STATUS 0x090B //Latest link status got through 0xF200 LinkEvent
1007 #define CFG_INFO_FRAME_MIN 0xF000 //lowest value representing an Information Frame
1009 #define CFG_TALLIES 0xF100 //Communications Tallies
1010 #define CFG_SCAN 0xF101 //Scan results
1011 #define CFG_PRS_SCAN 0xF102 //Probe Response Scan results
1013 #define CFG_LINK_STAT 0xF200 //Link Status
1020 #define CFG_LINK_STAT_CONNECTED 0x0001
1021 #define CFG_LINK_STAT_DISCONNECTED 0x0002
1022 #define CFG_LINK_STAT_AP_CHANGE 0x0003
1023 #define CFG_LINK_STAT_AP_OOR 0x0004
1024 #define CFG_LINK_STAT_AP_IR 0x0005
1025 #define CFG_LINK_STAT_FW 0x000F //mask to isolate F/W defined bits
1029 #define CFG_LINK_STAT_CHANGE 0x8000
1030 #define CFG_ASSOC_STAT 0xF201 //Association Status
1031 #define CFG_SECURITY_STAT 0xF202 //Security Status
1032 #define CFG_UPDATED_INFO_RECORD 0xF204 //Updated Info Record
1040 typedef LTV_STRCT
FAR * LTVP;
1042 #if defined WVLAN_42 || defined WVLAN_43 //;?keepup with legacy a little while longer (4aug2003)
1043 typedef struct DUI_STRCT {
1059 #endif //defined WVLAN_42 || defined WVLAN_43 //;?keepup with legacy a liitle while longer (4aug2003)
1101 #define COMP_ID_FW_PRI 21 //Primary Functions Firmware
1102 #define COMP_ID_FW_INTERMEDIATE 22 //Intermediate Functions Firmware
1103 #define COMP_ID_FW_STA 31 //Station Functions Firmware
1104 #define COMP_ID_FW_AP 32 //AP Functions Firmware
1105 #define COMP_ID_FW_AP_FAKE 331 //AP Functions Firmware
1107 #define COMP_ID_MINIPORT_NDIS_31 41 //Windows 9x/NT Miniport NDIS 3.1
1108 #define COMP_ID_PACKET 42 //Packet
1109 #define COMP_ID_ODI_16 43 //DOS ODI
1110 #define COMP_ID_ODI_32 44 //32-bits ODI
1111 #define COMP_ID_MAC_OS 45 //Macintosh OS
1112 #define COMP_ID_WIN_CE 46 //Windows CE Miniport
1114 #define COMP_ID_MINIPORT_NDIS_50 48 //Windows 9x/NT Miniport NDIS 5.0
1115 #define COMP_ID_LINUX 49
1117 #define COMP_ID_QNX 50 //QNX
1118 #define COMP_ID_MINIPORT_NDIS_50_USB 51 //Windows 9x/NT Miniport NDIS 4.0
1119 #define COMP_ID_MINIPORT_NDIS_40 52 //Windows 9x/NT Miniport NDIS 4.0
1120 #define COMP_ID_VX_WORKS_ENDSTA 53 // VxWorks END Station driver
1121 #define COMP_ID_VX_WORKS_ENDAP 54 // VxWorks END Access Point driver
1123 #define COMP_ID_VX_WORKS_END 56 // VxWorks END Station/Access Point driver
1125 #define COMP_ID_WSU 63
1129 #define COMP_ID_AP1 81 //WaveLAN/IEEE AP
1130 #define COMP_ID_EC 83 //WaveLAN/IEEE Ethernet Converter
1131 #define COMP_ID_UBL 87 //USB Boot Loader
1133 #define COMP_ROLE_SUPL 0x00 //supplier
1134 #define COMP_ROLE_ACT 0x01 //actor
1137 #define COMP_ID_MFI 0x01 //Modem - Firmware I/F
1138 #define COMP_ID_CFI 0x02 //Controller - Firmware I/F
1139 #define COMP_ID_PRI 0x03 //Primary Firmware - Driver I/F
1140 #define COMP_ID_STA 0x04 //Station Firmware - Driver I/F
1141 #define COMP_ID_DUI 0x05 //Driver - Utility I/F
1142 #define COMP_ID_HSI 0x06 //H/W - Driver I/F
1143 #define COMP_ID_DAI 0x07 //API - Driver I/F
1144 #define COMP_ID_APF 0x08 //H/W - Driver I/F
1145 #define COMP_ID_INT 0x09 //Intermediate FW - Driver I/F
1148 #define HCF_ACT_ACS_SCAN HCF_ACT_PRS_SCAN
1149 #define UIL_ACT_ACS_SCAN UIL_ACT_PRS_SCAN
1150 #define MDD_ACT_ACS_SCAN MDD_ACT_PRS_SCAN
1151 #define CFG_ACS_SCAN CFG_PRS_SCAN
1152 #endif // HCF_LEGACY