require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&IWI_RX_RADIOTAP_PRESENT)) {
    sub IWI_RX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_RATE) | (1<<  &IEEE80211_RADIOTAP_CHANNEL) | (1<<  &IEEE80211_RADIOTAP_DB_ANTSIGNAL) | (1<<  &IEEE80211_RADIOTAP_ANTENNA));}
}
unless(defined(&IWI_TX_RADIOTAP_PRESENT)) {
    sub IWI_TX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_CHANNEL));}
}
unless(defined(&IWI_FLAG_FW_INITED)) {
    sub IWI_FLAG_FW_INITED () {	(1<< 0);}
}
unless(defined(&IWI_MAX_NODE)) {
    sub IWI_MAX_NODE () {	32;}
}
if((defined(&NBPFILTER) ? &NBPFILTER : undef) > 0) {
    eval 'sub sc_rxtap () { ($sc_rxtapu->{th});}' unless defined(&sc_rxtap);
    eval 'sub sc_txtap () { ($sc_txtapu->{th});}' unless defined(&sc_txtap);
}
1;
