require '_h2ph_pre.ph';

no warnings qw(redefine misc);

require 'sys/ioccom.ph';
eval 'sub RAY_MAXSSIDLEN () {32;}' unless defined(&RAY_MAXSSIDLEN);
eval 'sub RAY_COR () {0;}' unless defined(&RAY_COR);
eval 'sub RAY_CCSR () {1;}' unless defined(&RAY_CCSR);
eval 'sub RAY_PIN () {2;}' unless defined(&RAY_PIN);
eval 'sub RAY_SOCKETCOPY () {3;}' unless defined(&RAY_SOCKETCOPY);
eval 'sub RAY_HCSIR () {5;}' unless defined(&RAY_HCSIR);
eval 'sub RAY_ECFIR () {6;}' unless defined(&RAY_ECFIR);
eval 'sub RAY_AR0 () {8;}' unless defined(&RAY_AR0);
eval 'sub RAY_AR1 () {9;}' unless defined(&RAY_AR1);
eval 'sub RAY_PMR () {10;}' unless defined(&RAY_PMR);
eval 'sub RAY_TMR () {11;}' unless defined(&RAY_TMR);
eval 'sub RAY_FCWR () {16;}' unless defined(&RAY_FCWR);
if(0) {
    eval 'sub RAY_TMC1 () {0x14;}' unless defined(&RAY_TMC1);
    eval 'sub RAY_TMC2 () {0x15;}' unless defined(&RAY_TMC2);
    eval 'sub RAY_TMC3 () {0x16;}' unless defined(&RAY_TMC3);
    eval 'sub RAY_TMC4 () {0x17;}' unless defined(&RAY_TMC4);
}
eval 'sub RAY_COR_CFG_NUM () {0x1;}' unless defined(&RAY_COR_CFG_NUM);
eval 'sub RAY_COR_CFG_MASK () {0x3f;}' unless defined(&RAY_COR_CFG_MASK);
eval 'sub RAY_COR_LEVEL_IRQ () {0x40;}' unless defined(&RAY_COR_LEVEL_IRQ);
eval 'sub RAY_COR_RESET () {0x80;}' unless defined(&RAY_COR_RESET);
eval 'sub RAY_CCS_IRQ () {0x2;}' unless defined(&RAY_CCS_IRQ);
eval 'sub RAY_CCS_POWER_DOWN () {0x4;}' unless defined(&RAY_CCS_POWER_DOWN);
eval 'sub RAY_HCSIR_IRQ () {0x1;}' unless defined(&RAY_HCSIR_IRQ);
eval 'sub RAY_ECSIR_IRQ () {0x1;}' unless defined(&RAY_ECSIR_IRQ);
eval 'sub RAY_AR0_ON () {0x57;}' unless defined(&RAY_AR0_ON);
eval 'sub RAY_AR1_ON () {0x82;}' unless defined(&RAY_AR1_ON);
eval 'sub RAY_PMR_PC2PM () {0x2;}' unless defined(&RAY_PMR_PC2PM);
eval 'sub RAY_PMR_PC2CAL () {0x10;}' unless defined(&RAY_PMR_PC2CAL);
eval 'sub RAY_PMR_MLSE () {0x20;}' unless defined(&RAY_PMR_MLSE);
eval 'sub RAY_TMR_TEST () {0x8;}' unless defined(&RAY_TMR_TEST);
eval 'sub RAY_SRAM_MEM_BASE () {0;}' unless defined(&RAY_SRAM_MEM_BASE);
eval 'sub RAY_SRAM_MEM_SIZE () {0xc000;}' unless defined(&RAY_SRAM_MEM_SIZE);
eval 'sub RAY_SCB_BASE () {0x;}' unless defined(&RAY_SCB_BASE);
eval 'sub RAY_STATUS_BASE () {0x100;}' unless defined(&RAY_STATUS_BASE);
eval 'sub RAY_HOST_TO_ECF_BASE () {0x200;}' unless defined(&RAY_HOST_TO_ECF_BASE);
eval 'sub RAY_ECF_TO_HOST_BASE () {0x300;}' unless defined(&RAY_ECF_TO_HOST_BASE);
eval 'sub RAY_CCS_BASE () {0x400;}' unless defined(&RAY_CCS_BASE);
eval 'sub RAY_RCS_BASE () {0x800;}' unless defined(&RAY_RCS_BASE);
eval 'sub RAY_APOINT_TIM_BASE () {0xc00;}' unless defined(&RAY_APOINT_TIM_BASE);
eval 'sub RAY_SSID_LIST_BASE () {0xd00;}' unless defined(&RAY_SSID_LIST_BASE);
eval 'sub RAY_TX_BASE () {0x1000;}' unless defined(&RAY_TX_BASE);
eval 'sub RAY_TX_SIZE () {0x7000;}' unless defined(&RAY_TX_SIZE);
eval 'sub RAY_TX_END () {0x8000;}' unless defined(&RAY_TX_END);
eval 'sub RAY_RX_BASE () {0x8000;}' unless defined(&RAY_RX_BASE);
eval 'sub RAY_RX_END () {0xc000;}' unless defined(&RAY_RX_END);
eval 'sub RAY_RX_MASK () {0x3fff;}' unless defined(&RAY_RX_MASK);
eval 'sub RAY_ECFS_RESERVED0 () {0x1;}' unless defined(&RAY_ECFS_RESERVED0);
eval 'sub RAY_ECFS_PROC_SELF_TEST () {0x2;}' unless defined(&RAY_ECFS_PROC_SELF_TEST);
eval 'sub RAY_ECFS_PROG_MEM_CHECKSUM () {0x4;}' unless defined(&RAY_ECFS_PROG_MEM_CHECKSUM);
eval 'sub RAY_ECFS_DATA_MEM_TEST () {0x8;}' unless defined(&RAY_ECFS_DATA_MEM_TEST);
eval 'sub RAY_ECFS_RX_CALIBRATION () {0x10;}' unless defined(&RAY_ECFS_RX_CALIBRATION);
eval 'sub RAY_ECFS_FW_VERSION_COMPAT () {0x20;}' unless defined(&RAY_ECFS_FW_VERSION_COMPAT);
eval 'sub RAY_ECFS_RERSERVED1 () {0x40;}' unless defined(&RAY_ECFS_RERSERVED1);
eval 'sub RAY_ECFS_TEST_COMPLETE () {0x80;}' unless defined(&RAY_ECFS_TEST_COMPLETE);
eval 'sub RAY_ECFS_CARD_OK () { &RAY_ECFS_TEST_COMPLETE;}' unless defined(&RAY_ECFS_CARD_OK);
eval 'sub RAY_PID_NET_TYPE () {0;}' unless defined(&RAY_PID_NET_TYPE);
eval 'sub RAY_PID_AP_STATUS () {1;}' unless defined(&RAY_PID_AP_STATUS);
eval 'sub RAY_PID_SSID () {2;}' unless defined(&RAY_PID_SSID);
eval 'sub RAY_PID_SCAN_MODE () {3;}' unless defined(&RAY_PID_SCAN_MODE);
eval 'sub RAY_PID_APM_MODE () {4;}' unless defined(&RAY_PID_APM_MODE);
eval 'sub RAY_PID_MAC_ADDR () {5;}' unless defined(&RAY_PID_MAC_ADDR);
eval 'sub RAY_PID_FRAG_THRESH () {6;}' unless defined(&RAY_PID_FRAG_THRESH);
eval 'sub RAY_PID_DWELL_TIME () {7;}' unless defined(&RAY_PID_DWELL_TIME);
eval 'sub RAY_PID_BEACON_PERIOD () {8;}' unless defined(&RAY_PID_BEACON_PERIOD);
eval 'sub RAY_PID_DTIM_INT () {9;}' unless defined(&RAY_PID_DTIM_INT);
eval 'sub RAY_PID_MAX_RETRY () {10;}' unless defined(&RAY_PID_MAX_RETRY);
eval 'sub RAY_PID_ACK_TIMO () {11;}' unless defined(&RAY_PID_ACK_TIMO);
eval 'sub RAY_PID_SIFS () {12;}' unless defined(&RAY_PID_SIFS);
eval 'sub RAY_PID_DIFS () {13;}' unless defined(&RAY_PID_DIFS);
eval 'sub RAY_PID_PIFS () {14;}' unless defined(&RAY_PID_PIFS);
eval 'sub RAY_PID_RTS_THRESH () {15;}' unless defined(&RAY_PID_RTS_THRESH);
eval 'sub RAY_PID_SCAN_DWELL_PERIOD () {16;}' unless defined(&RAY_PID_SCAN_DWELL_PERIOD);
eval 'sub RAY_PID_MAX_SCAN_DWELL_PERIOD () {17;}' unless defined(&RAY_PID_MAX_SCAN_DWELL_PERIOD);
eval 'sub RAY_PID_ASSOC_TIMO () {18;}' unless defined(&RAY_PID_ASSOC_TIMO);
eval 'sub RAY_PID_ADHOC_SCAN_CYCLE () {19;}' unless defined(&RAY_PID_ADHOC_SCAN_CYCLE);
eval 'sub RAY_PID_INFRA_SCAN_CYCLE () {20;}' unless defined(&RAY_PID_INFRA_SCAN_CYCLE);
eval 'sub RAY_PID_INFRA_SUPER_SCAN_CYCLE () {21;}' unless defined(&RAY_PID_INFRA_SUPER_SCAN_CYCLE);
eval 'sub RAY_PID_PROMISC () {22;}' unless defined(&RAY_PID_PROMISC);
eval 'sub RAY_PID_UNIQ_WORD () {23;}' unless defined(&RAY_PID_UNIQ_WORD);
eval 'sub RAY_PID_SLOT_TIME () {24;}' unless defined(&RAY_PID_SLOT_TIME);
eval 'sub RAY_PID_ROAM_LOW_SNR_THRESH () {25;}' unless defined(&RAY_PID_ROAM_LOW_SNR_THRESH);
eval 'sub RAY_PID_LOW_SNR_COUNT () {26;}' unless defined(&RAY_PID_LOW_SNR_COUNT);
eval 'sub RAY_PID_INFRA_MISSED_BEACON_COUNT () {27;}' unless defined(&RAY_PID_INFRA_MISSED_BEACON_COUNT);
eval 'sub RAY_PID_ADHOC_MISSED_BEACON_COUNT () {28;}' unless defined(&RAY_PID_ADHOC_MISSED_BEACON_COUNT);
eval 'sub RAY_PID_COUNTRY_CODE () {29;}' unless defined(&RAY_PID_COUNTRY_CODE);
eval 'sub RAY_PID_HOP_SEQ () {30;}' unless defined(&RAY_PID_HOP_SEQ);
eval 'sub RAY_PID_HOP_SEQ_LEN () {31;}' unless defined(&RAY_PID_HOP_SEQ_LEN);
eval 'sub RAY_PID_CW_MAX () {32;}' unless defined(&RAY_PID_CW_MAX);
eval 'sub RAY_PID_CW_MIN () {33;}' unless defined(&RAY_PID_CW_MIN);
eval 'sub RAY_PID_NOISE_FILTER_GAIN () {34;}' unless defined(&RAY_PID_NOISE_FILTER_GAIN);
eval 'sub RAY_PID_NOISE_LIMIT_OFFSET () {35;}' unless defined(&RAY_PID_NOISE_LIMIT_OFFSET);
eval 'sub RAY_PID_RSSI_THRESH_OFFSET () {36;}' unless defined(&RAY_PID_RSSI_THRESH_OFFSET);
eval 'sub RAY_PID_BUSY_THRESH_OFFSET () {37;}' unless defined(&RAY_PID_BUSY_THRESH_OFFSET);
eval 'sub RAY_PID_SYNC_THRESH () {38;}' unless defined(&RAY_PID_SYNC_THRESH);
eval 'sub RAY_PID_TEST_MODE () {39;}' unless defined(&RAY_PID_TEST_MODE);
eval 'sub RAY_PID_TEST_MIN_CHAN () {40;}' unless defined(&RAY_PID_TEST_MIN_CHAN);
eval 'sub RAY_PID_TEST_MAX_CHAN () {41;}' unless defined(&RAY_PID_TEST_MAX_CHAN);
eval 'sub RAY_PID_ALLOW_PROBE_RESP () {42;}' unless defined(&RAY_PID_ALLOW_PROBE_RESP);
eval 'sub RAY_PID_PRIVACY_MUST_START () {43;}' unless defined(&RAY_PID_PRIVACY_MUST_START);
eval 'sub RAY_PID_PRIVACY_CAN_JOIN () {44;}' unless defined(&RAY_PID_PRIVACY_CAN_JOIN);
eval 'sub RAY_PID_BASIC_RATE_SET () {45;}' unless defined(&RAY_PID_BASIC_RATE_SET);
eval 'sub RAY_PID_MAX () {46;}' unless defined(&RAY_PID_MAX);
eval 'sub RAY_PID_NET_TYPE_ADHOC () {0x;}' unless defined(&RAY_PID_NET_TYPE_ADHOC);
eval 'sub RAY_PID_NET_TYPE_INFRA () {0x1;}' unless defined(&RAY_PID_NET_TYPE_INFRA);
eval 'sub RAY_PID_AP_STATUS_TERMINAL () {0x;}' unless defined(&RAY_PID_AP_STATUS_TERMINAL);
eval 'sub RAY_PID_AP_STATUS_AP () {0x1;}' unless defined(&RAY_PID_AP_STATUS_AP);
eval 'sub RAY_PID_SCAN_MODE_PASSIVE () {0x;}' unless defined(&RAY_PID_SCAN_MODE_PASSIVE);
eval 'sub RAY_PID_SCAN_MODE_ACTIVE () {0x1;}' unless defined(&RAY_PID_SCAN_MODE_ACTIVE);
eval 'sub RAY_PID_APM_MODE_NONE () {0x;}' unless defined(&RAY_PID_APM_MODE_NONE);
eval 'sub RAY_PID_APM_MODE_PS () {0x1;}' unless defined(&RAY_PID_APM_MODE_PS);
eval 'sub RAY_PID_COUNTRY_CODE_USA () {0x1;}' unless defined(&RAY_PID_COUNTRY_CODE_USA);
eval 'sub RAY_PID_COUNTRY_CODE_EUROPE () {0x2;}' unless defined(&RAY_PID_COUNTRY_CODE_EUROPE);
eval 'sub RAY_PID_COUNTRY_CODE_JAPAN () {0x3;}' unless defined(&RAY_PID_COUNTRY_CODE_JAPAN);
eval 'sub RAY_PID_COUNTRY_CODE_KOREA () {0x4;}' unless defined(&RAY_PID_COUNTRY_CODE_KOREA);
eval 'sub RAY_PID_COUNTRY_CODE_SPAIN () {0x5;}' unless defined(&RAY_PID_COUNTRY_CODE_SPAIN);
eval 'sub RAY_PID_COUNTRY_CODE_FRANCE () {0x6;}' unless defined(&RAY_PID_COUNTRY_CODE_FRANCE);
eval 'sub RAY_PID_COUNTRY_CODE_ISRAEL () {0x7;}' unless defined(&RAY_PID_COUNTRY_CODE_ISRAEL);
eval 'sub RAY_PID_COUNTRY_CODE_AUSTRALIA () {0x8;}' unless defined(&RAY_PID_COUNTRY_CODE_AUSTRALIA);
eval 'sub RAY_PID_COUNTRY_CODE_JAPAN_TEST () {0x9;}' unless defined(&RAY_PID_COUNTRY_CODE_JAPAN_TEST);
eval 'sub RAY_PID_COUNTRY_CODE_MAX () {0xa;}' unless defined(&RAY_PID_COUNTRY_CODE_MAX);
eval 'sub RAY_PID_TEST_MODE_NORMAL () {0x;}' unless defined(&RAY_PID_TEST_MODE_NORMAL);
eval 'sub RAY_PID_TEST_MODE_ANT_1 () {0x1;}' unless defined(&RAY_PID_TEST_MODE_ANT_1);
eval 'sub RAY_PID_TEST_MODE_ATN_2 () {0x2;}' unless defined(&RAY_PID_TEST_MODE_ATN_2);
eval 'sub RAY_PID_TEST_MODE_ATN_BOTH () {0x3;}' unless defined(&RAY_PID_TEST_MODE_ATN_BOTH);
eval 'sub RAY_PID_ALLOW_PROBE_RESP_DISALLOW () {0x;}' unless defined(&RAY_PID_ALLOW_PROBE_RESP_DISALLOW);
eval 'sub RAY_PID_ALLOW_PROBE_RESP_ALLOW () {0x1;}' unless defined(&RAY_PID_ALLOW_PROBE_RESP_ALLOW);
eval 'sub RAY_PID_PRIVACY_MUST_START_NOWEP () {0x;}' unless defined(&RAY_PID_PRIVACY_MUST_START_NOWEP);
eval 'sub RAY_PID_PRIVACY_MUST_START_WEP () {0x1;}' unless defined(&RAY_PID_PRIVACY_MUST_START_WEP);
eval 'sub RAY_PID_PRIVACY_CAN_JOIN_NOWEP () {0x;}' unless defined(&RAY_PID_PRIVACY_CAN_JOIN_NOWEP);
eval 'sub RAY_PID_PRIVACY_CAN_JOIN_WEP () {0x1;}' unless defined(&RAY_PID_PRIVACY_CAN_JOIN_WEP);
eval 'sub RAY_PID_PRIVACY_CAN_JOIN_DONT_CARE () {0x2;}' unless defined(&RAY_PID_PRIVACY_CAN_JOIN_DONT_CARE);
eval 'sub RAY_PID_BASIC_RATE_500K () {1;}' unless defined(&RAY_PID_BASIC_RATE_500K);
eval 'sub RAY_PID_BASIC_RATE_1000K () {2;}' unless defined(&RAY_PID_BASIC_RATE_1000K);
eval 'sub RAY_PID_BASIC_RATE_1500K () {3;}' unless defined(&RAY_PID_BASIC_RATE_1500K);
eval 'sub RAY_PID_BASIC_RATE_2000K () {4;}' unless defined(&RAY_PID_BASIC_RATE_2000K);
eval 'sub RAY_SCB_CCSI () {0x;}' unless defined(&RAY_SCB_CCSI);
eval 'sub RAY_SCB_RCCSI () {0x1;}' unless defined(&RAY_SCB_RCCSI);
eval 'sub RAY_CMD_START_PARAMS () {0x1;}' unless defined(&RAY_CMD_START_PARAMS);
eval 'sub RAY_CMD_UPDATE_PARAMS () {0x2;}' unless defined(&RAY_CMD_UPDATE_PARAMS);
eval 'sub RAY_CMD_REPORT_PARAMS () {0x3;}' unless defined(&RAY_CMD_REPORT_PARAMS);
eval 'sub RAY_CMD_UPDATE_MCAST () {0x4;}' unless defined(&RAY_CMD_UPDATE_MCAST);
eval 'sub RAY_CMD_UPDATE_APM () {0x5;}' unless defined(&RAY_CMD_UPDATE_APM);
eval 'sub RAY_CMD_START_NET () {0x6;}' unless defined(&RAY_CMD_START_NET);
eval 'sub RAY_CMD_JOIN_NET () {0x7;}' unless defined(&RAY_CMD_JOIN_NET);
eval 'sub RAY_CMD_START_ASSOC () {0x8;}' unless defined(&RAY_CMD_START_ASSOC);
eval 'sub RAY_CMD_TX_REQ () {0x9;}' unless defined(&RAY_CMD_TX_REQ);
eval 'sub RAY_CMD_TEST_MEM () {0xa;}' unless defined(&RAY_CMD_TEST_MEM);
eval 'sub RAY_CMD_SHUTDOWN () {0xb;}' unless defined(&RAY_CMD_SHUTDOWN);
eval 'sub RAY_CMD_DUMP_MEM () {0xc;}' unless defined(&RAY_CMD_DUMP_MEM);
eval 'sub RAY_CMD_START_TIMER () {0xd;}' unless defined(&RAY_CMD_START_TIMER);
eval 'sub RAY_CMD_MAX () {0xe;}' unless defined(&RAY_CMD_MAX);
eval 'sub RAY_ECMD_RX_DONE () {0x80;}' unless defined(&RAY_ECMD_RX_DONE);
eval 'sub RAY_ECMD_REJOIN_DONE () {0x81;}' unless defined(&RAY_ECMD_REJOIN_DONE);
eval 'sub RAY_ECMD_ROAM_START () {0x82;}' unless defined(&RAY_ECMD_ROAM_START);
eval 'sub RAY_ECMD_JAPAN_CALL_SIGNAL () {0x83;}' unless defined(&RAY_ECMD_JAPAN_CALL_SIGNAL);
eval 'sub RAY_CCS_LINK_NULL () {0xff;}' unless defined(&RAY_CCS_LINK_NULL);
eval 'sub RAY_CCS_SIZE () {16;}' unless defined(&RAY_CCS_SIZE);
eval 'sub RAY_CCS_TX_FIRST () {0;}' unless defined(&RAY_CCS_TX_FIRST);
eval 'sub RAY_CCS_TX_LAST () {13;}' unless defined(&RAY_CCS_TX_LAST);
eval 'sub RAY_CCS_NTX () {( &RAY_CCS_TX_LAST -  &RAY_CCS_TX_FIRST + 1);}' unless defined(&RAY_CCS_NTX);
eval 'sub RAY_TX_BUF_SIZE () {2048;}' unless defined(&RAY_TX_BUF_SIZE);
eval 'sub RAY_CCS_CMD_FIRST () {14;}' unless defined(&RAY_CCS_CMD_FIRST);
eval 'sub RAY_CCS_CMD_LAST () {63;}' unless defined(&RAY_CCS_CMD_LAST);
eval 'sub RAY_CCS_NCMD () {( &RAY_CCS_CMD_LAST -  &RAY_CCS_CMD_FIRST + 1);}' unless defined(&RAY_CCS_NCMD);
eval 'sub RAY_CCS_LAST () {63;}' unless defined(&RAY_CCS_LAST);
eval 'sub RAY_RCCS_FIRST () {64;}' unless defined(&RAY_RCCS_FIRST);
eval 'sub RAY_RCCS_LAST () {127;}' unless defined(&RAY_RCCS_LAST);
eval 'sub RAY_CCS_STATUS_FREE () {0x;}' unless defined(&RAY_CCS_STATUS_FREE);
eval 'sub RAY_CCS_STATUS_BUSY () {0x1;}' unless defined(&RAY_CCS_STATUS_BUSY);
eval 'sub RAY_CCS_STATUS_COMPLETE () {0x2;}' unless defined(&RAY_CCS_STATUS_COMPLETE);
eval 'sub RAY_CCS_STATUS_FAIL () {0x3;}' unless defined(&RAY_CCS_STATUS_FAIL);
eval 'sub RAY_TX_PHY_SIZE () {0x4;}' unless defined(&RAY_TX_PHY_SIZE);
eval 'sub RAY_FAILCAUSE_EIDRANGE () {1;}' unless defined(&RAY_FAILCAUSE_EIDRANGE);
eval 'sub RAY_FAILCAUSE_ELENGTH () {2;}' unless defined(&RAY_FAILCAUSE_ELENGTH);
eval 'sub RAY_FAILCAUSE_EDEVSTOP () {256;}' unless defined(&RAY_FAILCAUSE_EDEVSTOP);
if(defined(&_KERNEL)) {
    eval 'sub RAY_FAILCAUSE_WAITING () {257;}' unless defined(&RAY_FAILCAUSE_WAITING);
}
eval 'sub SIOCSRAYPARAM () { &SIOCSIFGENERIC;}' unless defined(&SIOCSRAYPARAM);
eval 'sub SIOCGRAYPARAM () { &SIOCGIFGENERIC;}' unless defined(&SIOCGRAYPARAM);
eval 'sub RAY_PID_STRINGS () {{ "RAY_PID_NET_TYPE", "RAY_PID_AP_STATUS", "RAY_PID_SSID", "RAY_PID_SCAN_MODE", "RAY_PID_APM_MODE", "RAY_PID_MAC_ADDR", "RAY_PID_FRAG_THRESH", "RAY_PID_DWELL_TIME", "RAY_PID_BEACON_PERIOD", "RAY_PID_DTIM_INT", "RAY_PID_MAX_RETRY", "RAY_PID_ACK_TIMO", "RAY_PID_SIFS", "RAY_PID_DIFS", "RAY_PID_PIFS", "RAY_PID_RTS_THRESH", "RAY_PID_SCAN_DWELL_PERIOD", "RAY_PID_MAX_SCAN_DWELL_PERIOD", "RAY_PID_ASSOC_TIMO", "RAY_PID_ADHOC_SCAN_CYCLE", "RAY_PID_INFRA_SCAN_CYCLE", "RAY_PID_INFRA_SUPER_SCAN_CYCLE", "RAY_PID_PROMISC", "RAY_PID_UNIQ_WORD", "RAY_PID_SLOT_TIME", "RAY_PID_ROAM_LOW_SNR_THRESH", "RAY_PID_LOW_SNR_COUNT", "RAY_PID_INFRA_MISSED_BEACON_COUNT", "RAY_PID_ADHOC_MISSED_BEACON_COUNT", "RAY_PID_COUNTRY_CODE", "RAY_PID_HOP_SEQ", "RAY_PID_HOP_SEQ_LEN", "RAY_PID_CW_MAX", "RAY_PID_CW_MIN", "RAY_PID_NOISE_FILTER_GAIN", "RAY_PID_NOISE_LIMIT_OFFSET", "RAY_PID_RSSI_THRESH_OFFSET", "RAY_PID_BUSY_THRESH_OFFSET", "RAY_PID_SYNC_THRESH", "RAY_PID_TEST_MODE", "RAY_PID_TEST_MIN_CHAN", "RAY_PID_TEST_MAX_CHAN", "RAY_PID_ALLOW_PROBE_RESP", "RAY_PID_PRIVACY_MUST_START", "RAY_PID_PRIVACY_CAN_JOIN", "RAY_PID_BASIC_RATE_SET" };}' unless defined(&RAY_PID_STRINGS);
if(defined(&RAY_DO_SIGLEV)) {
    eval 'sub SIOCGRAYSIGLEV () { &_IOWR(ord(\'i\'), 201, \'struct ifreq\');}' unless defined(&SIOCGRAYSIGLEV);
    eval 'sub RAY_NSIGLEVRECS () {8;}' unless defined(&RAY_NSIGLEVRECS);
    eval 'sub RAY_NSIGLEV () {8;}' unless defined(&RAY_NSIGLEV);
}
1;
