require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&IPW_SBD_TYPE_NOASSOC)) {
    sub IPW_SBD_TYPE_NOASSOC () {	0;}
}
unless(defined(&IPW_SBD_TYPE_COMMAND)) {
    sub IPW_SBD_TYPE_COMMAND () {	1;}
}
unless(defined(&IPW_SBD_TYPE_HEADER)) {
    sub IPW_SBD_TYPE_HEADER () {	2;}
}
unless(defined(&IPW_SBD_TYPE_DATA)) {
    sub IPW_SBD_TYPE_DATA () {	3;}
}
unless(defined(&IPW_RX_RADIOTAP_PRESENT)) {
    sub IPW_RX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_CHANNEL) | (1<<  &IEEE80211_RADIOTAP_DB_ANTSIGNAL));}
}
unless(defined(&IPW_TX_RADIOTAP_PRESENT)) {
    sub IPW_TX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_CHANNEL));}
}
unless(defined(&IPW_MAX_NSEG)) {
    sub IPW_MAX_NSEG () {	1;}
}
unless(defined(&IPW_FLAG_FW_INITED)) {
    sub IPW_FLAG_FW_INITED () {	(1<< 0);}
}
if((defined(&NBPFILTER) ? &NBPFILTER : 0) > 0) {
    eval 'sub sc_rxtap () { ($sc_rxtapu->{th});}' unless defined(&sc_rxtap);
    eval 'sub sc_txtap () { ($sc_txtapu->{th});}' unless defined(&sc_txtap);
}
1;
