require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&RAL_RX_LIST_COUNT)) {
    sub RAL_RX_LIST_COUNT () {	1;}
}
unless(defined(&RAL_TX_LIST_COUNT)) {
    sub RAL_TX_LIST_COUNT () {	8;}
}
unless(defined(&RAL_RX_RADIOTAP_PRESENT)) {
    sub RAL_RX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_RATE) | (1<<  &IEEE80211_RADIOTAP_CHANNEL) | (1<<  &IEEE80211_RADIOTAP_ANTENNA) | (1<<  &IEEE80211_RADIOTAP_DB_ANTSIGNAL));}
}
unless(defined(&RAL_TX_RADIOTAP_PRESENT)) {
    sub RAL_TX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_RATE) | (1<<  &IEEE80211_RADIOTAP_CHANNEL) | (1<<  &IEEE80211_RADIOTAP_ANTENNA));}
}
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;
