require '_h2ph_pre.ph';

unless(defined(&_IF_AIRONET_IEEE_H)) {
    eval 'sub _IF_AIRONET_IEEE_H () {1;}' unless defined(&_IF_AIRONET_IEEE_H);
    unless(defined(&SIOCSAIRONET)) {
	if(defined(&__FreeBSD__)) {
	    eval 'sub SIOCSAIRONET () { &SIOCSIFGENERIC;}' unless defined(&SIOCSAIRONET);
	} else {
	    eval 'sub SIOCSAIRONET () { &SIOCSIFASYNCMAP;}' unless defined(&SIOCSAIRONET);
	}
    }
    unless(defined(&SIOCGAIRONET)) {
	if(defined(&__FreeBSD__)) {
	    eval 'sub SIOCGAIRONET () { &SIOCGIFGENERIC;}' unless defined(&SIOCGAIRONET);
	} else {
	    eval 'sub SIOCGAIRONET () { &SIOCGIFASYNCMAP;}' unless defined(&SIOCGAIRONET);
	}
    }
    eval 'sub AN_RID_TX_SPEED () {0x1234;}' unless defined(&AN_RID_TX_SPEED);
    eval 'sub AN_MAX_DATALEN () {512;}' unless defined(&AN_MAX_DATALEN);
    eval 'sub AN_RID_IFACE_STATS () {0x0100;}' unless defined(&AN_RID_IFACE_STATS);
    eval 'sub AN_RID_MGMT_XMIT () {0x0200;}' unless defined(&AN_RID_MGMT_XMIT);
    if(defined(&ANCACHE)) {
	eval 'sub AN_RID_ZERO_CACHE () {0x0300;}' unless defined(&AN_RID_ZERO_CACHE);
	eval 'sub AN_RID_READ_CACHE () {0x0400;}' unless defined(&AN_RID_READ_CACHE);
    }
    eval 'sub AN_FCTL_VERS () {0x0002;}' unless defined(&AN_FCTL_VERS);
    eval 'sub AN_FCTL_FTYPE () {0x000c;}' unless defined(&AN_FCTL_FTYPE);
    eval 'sub AN_FCTL_STYPE () {0x00f0;}' unless defined(&AN_FCTL_STYPE);
    eval 'sub AN_FCTL_TODS () {0x0100;}' unless defined(&AN_FCTL_TODS);
    eval 'sub AN_FCTL_FROMDS () {0x0200;}' unless defined(&AN_FCTL_FROMDS);
    eval 'sub AN_FCTL_MOREFRAGS () {0x0400;}' unless defined(&AN_FCTL_MOREFRAGS);
    eval 'sub AN_FCTL_RETRY () {0x0800;}' unless defined(&AN_FCTL_RETRY);
    eval 'sub AN_FCTL_PM () {0x1000;}' unless defined(&AN_FCTL_PM);
    eval 'sub AN_FCTL_MOREDATA () {0x2000;}' unless defined(&AN_FCTL_MOREDATA);
    eval 'sub AN_FCTL_WEP () {0x4000;}' unless defined(&AN_FCTL_WEP);
    eval 'sub AN_FCTL_ORDER () {0x8000;}' unless defined(&AN_FCTL_ORDER);
    eval 'sub AN_FTYPE_MGMT () {0x0000;}' unless defined(&AN_FTYPE_MGMT);
    eval 'sub AN_FTYPE_CTL () {0x0004;}' unless defined(&AN_FTYPE_CTL);
    eval 'sub AN_FTYPE_DATA () {0x0008;}' unless defined(&AN_FTYPE_DATA);
    eval 'sub AN_STYPE_MGMT_ASREQ () {0x0000;}' unless defined(&AN_STYPE_MGMT_ASREQ);
    eval 'sub AN_STYPE_MGMT_ASRESP () {0x0010;}' unless defined(&AN_STYPE_MGMT_ASRESP);
    eval 'sub AN_STYPE_MGMT_REASREQ () {0x0020;}' unless defined(&AN_STYPE_MGMT_REASREQ);
    eval 'sub AN_STYPE_MGMT_REASRESP () {0x0030;}' unless defined(&AN_STYPE_MGMT_REASRESP);
    eval 'sub AN_STYPE_MGMT_PROBEREQ () {0x0040;}' unless defined(&AN_STYPE_MGMT_PROBEREQ);
    eval 'sub AN_STYPE_MGMT_PROBERESP () {0x0050;}' unless defined(&AN_STYPE_MGMT_PROBERESP);
    eval 'sub AN_STYPE_MGMT_BEACON () {0x0080;}' unless defined(&AN_STYPE_MGMT_BEACON);
    eval 'sub AN_STYPE_MGMT_ATIM () {0x0090;}' unless defined(&AN_STYPE_MGMT_ATIM);
    eval 'sub AN_STYPE_MGMT_DISAS () {0x00a0;}' unless defined(&AN_STYPE_MGMT_DISAS);
    eval 'sub AN_STYPE_MGMT_AUTH () {0x00b0;}' unless defined(&AN_STYPE_MGMT_AUTH);
    eval 'sub AN_STYPE_MGMT_DEAUTH () {0x00c0;}' unless defined(&AN_STYPE_MGMT_DEAUTH);
    if(defined(&ANCACHE)) {
	eval 'sub MAXANCACHE () {10;}' unless defined(&MAXANCACHE);
    }
    eval 'sub AN_OPMODE_IBSS_ADHOC () {0x0000;}' unless defined(&AN_OPMODE_IBSS_ADHOC);
    eval 'sub AN_OPMODE_INFRASTRUCTURE_STATION () {0x0001;}' unless defined(&AN_OPMODE_INFRASTRUCTURE_STATION);
    eval 'sub AN_OPMODE_AP () {0x0002;}' unless defined(&AN_OPMODE_AP);
    eval 'sub AN_OPMODE_AP_REPEATER () {0x0003;}' unless defined(&AN_OPMODE_AP_REPEATER);
    eval 'sub AN_OPMODE_UNMODIFIED_PAYLOAD () {0x0100;}' unless defined(&AN_OPMODE_UNMODIFIED_PAYLOAD);
    eval 'sub AN_OPMODE_AIRONET_EXTENSIONS () {0x0200;}' unless defined(&AN_OPMODE_AIRONET_EXTENSIONS);
    eval 'sub AN_OPMODE_AP_EXTENSIONS () {0x0400;}' unless defined(&AN_OPMODE_AP_EXTENSIONS);
    eval 'sub AN_RXMODE_BC_MC_ADDR () {0x0000;}' unless defined(&AN_RXMODE_BC_MC_ADDR);
    eval 'sub AN_RXMODE_BC_ADDR () {0x0001;}' unless defined(&AN_RXMODE_BC_ADDR);
    eval 'sub AN_RXMODE_ADDR () {0x0002;}' unless defined(&AN_RXMODE_ADDR);
    eval 'sub AN_RXMODE_80211_MONITOR_CURBSS () {0x0003;}' unless defined(&AN_RXMODE_80211_MONITOR_CURBSS);
    eval 'sub AN_RXMODE_80211_MONITOR_ANYBSS () {0x0004;}' unless defined(&AN_RXMODE_80211_MONITOR_ANYBSS);
    eval 'sub AN_RXMODE_LAN_MONITOR_CURBSS () {0x0005;}' unless defined(&AN_RXMODE_LAN_MONITOR_CURBSS);
    eval 'sub AN_RXMODE_NO_8023_HEADER () {0x0100;}' unless defined(&AN_RXMODE_NO_8023_HEADER);
    eval 'sub AN_RATE_1MBPS () {0x0002;}' unless defined(&AN_RATE_1MBPS);
    eval 'sub AN_RATE_2MBPS () {0x0004;}' unless defined(&AN_RATE_2MBPS);
    eval 'sub AN_RATE_5_5MBPS () {0x000b;}' unless defined(&AN_RATE_5_5MBPS);
    eval 'sub AN_RATE_11MBPS () {0x0016;}' unless defined(&AN_RATE_11MBPS);
    eval 'sub AN_DEVTYPE_PC4500 () {0x0065;}' unless defined(&AN_DEVTYPE_PC4500);
    eval 'sub AN_DEVTYPE_PC4800 () {0x006d;}' unless defined(&AN_DEVTYPE_PC4800);
    eval 'sub AN_SCANMODE_ACTIVE () {0x0000;}' unless defined(&AN_SCANMODE_ACTIVE);
    eval 'sub AN_SCANMODE_PASSIVE () {0x0001;}' unless defined(&AN_SCANMODE_PASSIVE);
    eval 'sub AN_SCANMODE_AIRONET_ACTIVE () {0x0002;}' unless defined(&AN_SCANMODE_AIRONET_ACTIVE);
    eval 'sub AN_AUTHTYPE_NONE () {0x0000;}' unless defined(&AN_AUTHTYPE_NONE);
    eval 'sub AN_AUTHTYPE_OPEN () {0x0001;}' unless defined(&AN_AUTHTYPE_OPEN);
    eval 'sub AN_AUTHTYPE_SHAREDKEY () {0x0002;}' unless defined(&AN_AUTHTYPE_SHAREDKEY);
    eval 'sub AN_AUTHTYPE_MASK () {0x00ff;}' unless defined(&AN_AUTHTYPE_MASK);
    eval 'sub AN_AUTHTYPE_PRIVACY_IN_USE () {0x0100;}' unless defined(&AN_AUTHTYPE_PRIVACY_IN_USE);
    eval 'sub AN_AUTHTYPE_ALLOW_UNENCRYPTED () {0x0200;}' unless defined(&AN_AUTHTYPE_ALLOW_UNENCRYPTED);
    eval 'sub AN_PSAVE_NONE () {0x0000;}' unless defined(&AN_PSAVE_NONE);
    eval 'sub AN_PSAVE_CAM () {0x0001;}' unless defined(&AN_PSAVE_CAM);
    eval 'sub AN_PSAVE_PSP () {0x0002;}' unless defined(&AN_PSAVE_PSP);
    eval 'sub AN_PSAVE_PSP_CAM () {0x0003;}' unless defined(&AN_PSAVE_PSP_CAM);
    eval 'sub AN_RADIOTYPE_80211_FH () {0x0001;}' unless defined(&AN_RADIOTYPE_80211_FH);
    eval 'sub AN_RADIOTYPE_80211_DS () {0x0002;}' unless defined(&AN_RADIOTYPE_80211_DS);
    eval 'sub AN_RADIOTYPE_LM2000_DS () {0x0004;}' unless defined(&AN_RADIOTYPE_LM2000_DS);
    eval 'sub AN_DIVERSITY_FACTORY_DEFAULT () {0x0000;}' unless defined(&AN_DIVERSITY_FACTORY_DEFAULT);
    eval 'sub AN_DIVERSITY_ANTENNA_1_ONLY () {0x0001;}' unless defined(&AN_DIVERSITY_ANTENNA_1_ONLY);
    eval 'sub AN_DIVERSITY_ANTENNA_2_ONLY () {0x0002;}' unless defined(&AN_DIVERSITY_ANTENNA_2_ONLY);
    eval 'sub AN_DIVERSITY_ANTENNA_1_AND_2 () {0x0003;}' unless defined(&AN_DIVERSITY_ANTENNA_1_AND_2);
    eval 'sub AN_TXPOWER_FACTORY_DEFAULT () {0x0000;}' unless defined(&AN_TXPOWER_FACTORY_DEFAULT);
    eval 'sub AN_TXPOWER_50MW () {50;}' unless defined(&AN_TXPOWER_50MW);
    eval 'sub AN_TXPOWER_100MW () {100;}' unless defined(&AN_TXPOWER_100MW);
    eval 'sub AN_TXPOWER_250MW () {250;}' unless defined(&AN_TXPOWER_250MW);
    eval 'sub AN_ENCAP_ACTION_RX () {0x0001;}' unless defined(&AN_ENCAP_ACTION_RX);
    eval 'sub AN_ENCAP_ACTION_TX () {0x0002;}' unless defined(&AN_ENCAP_ACTION_TX);
    eval 'sub AN_RXENCAP_NONE () {0x0000;}' unless defined(&AN_RXENCAP_NONE);
    eval 'sub AN_RXENCAP_RFC1024 () {0x0001;}' unless defined(&AN_RXENCAP_RFC1024);
    eval 'sub AN_TXENCAP_RFC1024 () {0x0000;}' unless defined(&AN_TXENCAP_RFC1024);
    eval 'sub AN_TXENCAP_80211 () {0x0002;}' unless defined(&AN_TXENCAP_80211);
    eval 'sub AN_STATUS_OPMODE_CONFIGURED () {0x0001;}' unless defined(&AN_STATUS_OPMODE_CONFIGURED);
    eval 'sub AN_STATUS_OPMODE_MAC_ENABLED () {0x0002;}' unless defined(&AN_STATUS_OPMODE_MAC_ENABLED);
    eval 'sub AN_STATUS_OPMODE_RX_ENABLED () {0x0004;}' unless defined(&AN_STATUS_OPMODE_RX_ENABLED);
    eval 'sub AN_STATUS_OPMODE_IN_SYNC () {0x0010;}' unless defined(&AN_STATUS_OPMODE_IN_SYNC);
    eval 'sub AN_STATUS_OPMODE_ASSOCIATED () {0x0020;}' unless defined(&AN_STATUS_OPMODE_ASSOCIATED);
    eval 'sub AN_STATUS_OPMODE_ERROR () {0x8000;}' unless defined(&AN_STATUS_OPMODE_ERROR);
    eval 'sub AN_RID_GENCONFIG () {0xff10;}' unless defined(&AN_RID_GENCONFIG);
    eval 'sub AN_RID_SSIDLIST () {0xff11;}' unless defined(&AN_RID_SSIDLIST);
    eval 'sub AN_RID_APLIST () {0xff12;}' unless defined(&AN_RID_APLIST);
    eval 'sub AN_RID_DRVNAME () {0xff13;}' unless defined(&AN_RID_DRVNAME);
    eval 'sub AN_RID_ENCAP () {0xff14;}' unless defined(&AN_RID_ENCAP);
    eval 'sub AN_RID_WEP_VOLATILE () {0xff15;}' unless defined(&AN_RID_WEP_VOLATILE);
    eval 'sub AN_RID_WEP_PERMANENT () {0xff16;}' unless defined(&AN_RID_WEP_PERMANENT);
    eval 'sub AN_RID_ACTUALCFG () {0xff20;}' unless defined(&AN_RID_ACTUALCFG);
    eval 'sub AN_RID_CAPABILITIES () {0xff00;}' unless defined(&AN_RID_CAPABILITIES);
    eval 'sub AN_RID_APINFO () {0xff01;}' unless defined(&AN_RID_APINFO);
    eval 'sub AN_RID_RADIOINFO () {0xff02;}' unless defined(&AN_RID_RADIOINFO);
    eval 'sub AN_RID_STATUS () {0xff50;}' unless defined(&AN_RID_STATUS);
    eval 'sub AN_RID_16BITS_CUM () {0xff60;}' unless defined(&AN_RID_16BITS_CUM);
    eval 'sub AN_RID_16BITS_DELTA () {0xff61;}' unless defined(&AN_RID_16BITS_DELTA);
    eval 'sub AN_RID_16BITS_DELTACLR () {0xff62;}' unless defined(&AN_RID_16BITS_DELTACLR);
    eval 'sub AN_RID_32BITS_CUM () {0xff68;}' unless defined(&AN_RID_32BITS_CUM);
    eval 'sub AN_RID_32BITS_DELTA () {0xff69;}' unless defined(&AN_RID_32BITS_DELTA);
    eval 'sub AN_RID_32BITS_DELTACLR () {0xff6a;}' unless defined(&AN_RID_32BITS_DELTACLR);
    if(defined(&_KERNEL)) {
	eval 'sub AN_TX_RING_CNT () {4;}' unless defined(&AN_TX_RING_CNT);
	if(defined(&ANCACHE)) {
	}
    }
}
1;
