require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&RT2661_RX_RADIOTAP_PRESENT)) {
    sub RT2661_RX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_TSFT) | (1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_RATE) | (1<<  &IEEE80211_RADIOTAP_CHANNEL) | (1<<  &IEEE80211_RADIOTAP_DB_ANTSIGNAL));}
}
unless(defined(&RT2661_TX_RADIOTAP_PRESENT)) {
    sub RT2661_TX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_RATE) | (1<<  &IEEE80211_RADIOTAP_CHANNEL));}
}
unless(defined(&RT2661_ENABLED)) {
    sub RT2661_ENABLED () {	(1<< 0);}
}
unless(defined(&RT2661_FWLOADED)) {
    sub RT2661_FWLOADED () {	(1<< 1);}
}
unless(defined(&RT2661_UPDATE_SLOT)) {
    sub RT2661_UPDATE_SLOT () {	(1<< 2);}
}
unless(defined(&RT2661_SET_SLOTTIME)) {
    sub RT2661_SET_SLOTTIME () {	(1<< 3);}
}
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;
