require '_h2ph_pre.ph';

unless(defined(&_NET_IF_IEEE80211_H_)) {
    eval 'sub _NET_IF_IEEE80211_H_ () {1;}' unless defined(&_NET_IF_IEEE80211_H_);
    eval 'sub IEEE80211_FC0_VERSION_MASK () {0x03;}' unless defined(&IEEE80211_FC0_VERSION_MASK);
    eval 'sub IEEE80211_FC0_VERSION_0 () {0x00;}' unless defined(&IEEE80211_FC0_VERSION_0);
    eval 'sub IEEE80211_FC0_TYPE_MASK () {0x0c;}' unless defined(&IEEE80211_FC0_TYPE_MASK);
    eval 'sub IEEE80211_FC0_TYPE_MGT () {0x00;}' unless defined(&IEEE80211_FC0_TYPE_MGT);
    eval 'sub IEEE80211_FC0_TYPE_CTL () {0x04;}' unless defined(&IEEE80211_FC0_TYPE_CTL);
    eval 'sub IEEE80211_FC0_TYPE_DATA () {0x08;}' unless defined(&IEEE80211_FC0_TYPE_DATA);
    eval 'sub IEEE80211_FC0_SUBTYPE_MASK () {0xf0;}' unless defined(&IEEE80211_FC0_SUBTYPE_MASK);
    eval 'sub IEEE80211_FC0_SUBTYPE_ASSOC_REQ () {0x00;}' unless defined(&IEEE80211_FC0_SUBTYPE_ASSOC_REQ);
    eval 'sub IEEE80211_FC0_SUBTYPE_ASSOC_RESP () {0x10;}' unless defined(&IEEE80211_FC0_SUBTYPE_ASSOC_RESP);
    eval 'sub IEEE80211_FC0_SUBTYPE_REASSOC_REQ () {0x20;}' unless defined(&IEEE80211_FC0_SUBTYPE_REASSOC_REQ);
    eval 'sub IEEE80211_FC0_SUBTYPE_REASSOC_RESP () {0x30;}' unless defined(&IEEE80211_FC0_SUBTYPE_REASSOC_RESP);
    eval 'sub IEEE80211_FC0_SUBTYPE_PROBE_REQ () {0x40;}' unless defined(&IEEE80211_FC0_SUBTYPE_PROBE_REQ);
    eval 'sub IEEE80211_FC0_SUBTYPE_PROBE_RESP () {0x50;}' unless defined(&IEEE80211_FC0_SUBTYPE_PROBE_RESP);
    eval 'sub IEEE80211_FC0_SUBTYPE_BEACON () {0x80;}' unless defined(&IEEE80211_FC0_SUBTYPE_BEACON);
    eval 'sub IEEE80211_FC0_SUBTYPE_ATIM () {0x90;}' unless defined(&IEEE80211_FC0_SUBTYPE_ATIM);
    eval 'sub IEEE80211_FC0_SUBTYPE_DISASSOC () {0xa0;}' unless defined(&IEEE80211_FC0_SUBTYPE_DISASSOC);
    eval 'sub IEEE80211_FC0_SUBTYPE_AUTH () {0xb0;}' unless defined(&IEEE80211_FC0_SUBTYPE_AUTH);
    eval 'sub IEEE80211_FC0_SUBTYPE_DEAUTH () {0xc0;}' unless defined(&IEEE80211_FC0_SUBTYPE_DEAUTH);
    eval 'sub IEEE80211_FC0_SUBTYPE_PS_POLL () {0xa0;}' unless defined(&IEEE80211_FC0_SUBTYPE_PS_POLL);
    eval 'sub IEEE80211_FC0_SUBTYPE_RTS () {0xb0;}' unless defined(&IEEE80211_FC0_SUBTYPE_RTS);
    eval 'sub IEEE80211_FC0_SUBTYPE_CTS () {0xc0;}' unless defined(&IEEE80211_FC0_SUBTYPE_CTS);
    eval 'sub IEEE80211_FC0_SUBTYPE_ACK () {0xd0;}' unless defined(&IEEE80211_FC0_SUBTYPE_ACK);
    eval 'sub IEEE80211_FC0_SUBTYPE_CF_END () {0xe0;}' unless defined(&IEEE80211_FC0_SUBTYPE_CF_END);
    eval 'sub IEEE80211_FC0_SUBTYPE_CF_END_ACK () {0xf0;}' unless defined(&IEEE80211_FC0_SUBTYPE_CF_END_ACK);
    eval 'sub IEEE80211_FC0_SUBTYPE_CF_ACK () {0x10;}' unless defined(&IEEE80211_FC0_SUBTYPE_CF_ACK);
    eval 'sub IEEE80211_FC0_SUBTYPE_CF_POLL () {0x20;}' unless defined(&IEEE80211_FC0_SUBTYPE_CF_POLL);
    eval 'sub IEEE80211_FC0_SUBTYPE_NODATA () {0x40;}' unless defined(&IEEE80211_FC0_SUBTYPE_NODATA);
    eval 'sub IEEE80211_FC1_DIR_MASK () {0x03;}' unless defined(&IEEE80211_FC1_DIR_MASK);
    eval 'sub IEEE80211_FC1_DIR_NODS () {0x00;}' unless defined(&IEEE80211_FC1_DIR_NODS);
    eval 'sub IEEE80211_FC1_DIR_TODS () {0x01;}' unless defined(&IEEE80211_FC1_DIR_TODS);
    eval 'sub IEEE80211_FC1_DIR_FROMDS () {0x02;}' unless defined(&IEEE80211_FC1_DIR_FROMDS);
    eval 'sub IEEE80211_FC1_DIR_DSTODS () {0x03;}' unless defined(&IEEE80211_FC1_DIR_DSTODS);
    eval 'sub IEEE80211_FC1_MORE_FRAG () {0x04;}' unless defined(&IEEE80211_FC1_MORE_FRAG);
    eval 'sub IEEE80211_FC1_RETRY () {0x08;}' unless defined(&IEEE80211_FC1_RETRY);
    eval 'sub IEEE80211_FC1_PWR_MGT () {0x10;}' unless defined(&IEEE80211_FC1_PWR_MGT);
    eval 'sub IEEE80211_FC1_MORE_DATA () {0x20;}' unless defined(&IEEE80211_FC1_MORE_DATA);
    eval 'sub IEEE80211_FC1_WEP () {0x40;}' unless defined(&IEEE80211_FC1_WEP);
    eval 'sub IEEE80211_FC1_ORDER () {0x80;}' unless defined(&IEEE80211_FC1_ORDER);
    eval 'sub IEEE80211_ELEMID_SSID () {0;}' unless defined(&IEEE80211_ELEMID_SSID);
    eval 'sub IEEE80211_ELEMID_RATES () {1;}' unless defined(&IEEE80211_ELEMID_RATES);
    eval 'sub IEEE80211_ELEMID_FHPARMS () {2;}' unless defined(&IEEE80211_ELEMID_FHPARMS);
    eval 'sub IEEE80211_ELEMID_DSPARMS () {3;}' unless defined(&IEEE80211_ELEMID_DSPARMS);
    eval 'sub IEEE80211_ELEMID_CFPARMS () {4;}' unless defined(&IEEE80211_ELEMID_CFPARMS);
    eval 'sub IEEE80211_ELEMID_TIM () {5;}' unless defined(&IEEE80211_ELEMID_TIM);
    eval 'sub IEEE80211_ELEMID_IBSSPARMS () {6;}' unless defined(&IEEE80211_ELEMID_IBSSPARMS);
    eval 'sub IEEE80211_ELEMID_CHALLENGE () {16;}' unless defined(&IEEE80211_ELEMID_CHALLENGE);
    eval 'sub IEEE80211_AUTH_ALG_OPEN () {0x0000;}' unless defined(&IEEE80211_AUTH_ALG_OPEN);
    eval 'sub IEEE80211_AUTH_ALG_SHARED () {0x0001;}' unless defined(&IEEE80211_AUTH_ALG_SHARED);
    eval 'sub IEEE80211_CAPINFO_ESS () {0x01;}' unless defined(&IEEE80211_CAPINFO_ESS);
    eval 'sub IEEE80211_CAPINFO_IBSS () {0x02;}' unless defined(&IEEE80211_CAPINFO_IBSS);
    eval 'sub IEEE80211_CAPINFO_CF_POLLABLE () {0x04;}' unless defined(&IEEE80211_CAPINFO_CF_POLLABLE);
    eval 'sub IEEE80211_CAPINFO_CF_POLLREQ () {0x08;}' unless defined(&IEEE80211_CAPINFO_CF_POLLREQ);
    eval 'sub IEEE80211_CAPINFO_PRIVACY () {0x10;}' unless defined(&IEEE80211_CAPINFO_PRIVACY);
    eval 'sub IEEE80211_REASON_UNSPECIFIED () {1;}' unless defined(&IEEE80211_REASON_UNSPECIFIED);
    eval 'sub IEEE80211_REASON_AUTH_EXPIRE () {2;}' unless defined(&IEEE80211_REASON_AUTH_EXPIRE);
    eval 'sub IEEE80211_REASON_AUTH_LEAVE () {3;}' unless defined(&IEEE80211_REASON_AUTH_LEAVE);
    eval 'sub IEEE80211_REASON_ASSOC_EXPIRE () {4;}' unless defined(&IEEE80211_REASON_ASSOC_EXPIRE);
    eval 'sub IEEE80211_REASON_ASSOC_TOOMANY () {5;}' unless defined(&IEEE80211_REASON_ASSOC_TOOMANY);
    eval 'sub IEEE80211_REASON_NOT_AUTHED () {6;}' unless defined(&IEEE80211_REASON_NOT_AUTHED);
    eval 'sub IEEE80211_REASON_NOT_ASSOCED () {7;}' unless defined(&IEEE80211_REASON_NOT_ASSOCED);
    eval 'sub IEEE80211_REASON_ASSOC_LEAVE () {8;}' unless defined(&IEEE80211_REASON_ASSOC_LEAVE);
    eval 'sub IEEE80211_REASON_ASSOC_NOT_AUTHED () {9;}' unless defined(&IEEE80211_REASON_ASSOC_NOT_AUTHED);
    eval 'sub IEEE80211_STATUS_UNSPECIFIED () {1;}' unless defined(&IEEE80211_STATUS_UNSPECIFIED);
    eval 'sub IEEE80211_STATUS_CAPINFO () {10;}' unless defined(&IEEE80211_STATUS_CAPINFO);
    eval 'sub IEEE80211_STATUS_NOT_ASSOCED () {11;}' unless defined(&IEEE80211_STATUS_NOT_ASSOCED);
    eval 'sub IEEE80211_STATUS_OTHER () {12;}' unless defined(&IEEE80211_STATUS_OTHER);
    eval 'sub IEEE80211_STATUS_ALG () {13;}' unless defined(&IEEE80211_STATUS_ALG);
    eval 'sub IEEE80211_STATUS_SEQUENCE () {14;}' unless defined(&IEEE80211_STATUS_SEQUENCE);
    eval 'sub IEEE80211_STATUS_CHALLENGE () {15;}' unless defined(&IEEE80211_STATUS_CHALLENGE);
    eval 'sub IEEE80211_STATUS_TIMEOUT () {16;}' unless defined(&IEEE80211_STATUS_TIMEOUT);
    eval 'sub IEEE80211_NWID_LEN () {32;}' unless defined(&IEEE80211_NWID_LEN);
    eval 'sub SIOCS80211NWID () { &_IOWR(ord(\'i\'), 230, \'struct ifreq\');}' unless defined(&SIOCS80211NWID);
    eval 'sub SIOCG80211NWID () { &_IOWR(ord(\'i\'), 231, \'struct ifreq\');}' unless defined(&SIOCG80211NWID);
}
1;
