require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&RT2560_RX_RADIOTAP_PRESENT)) {
    sub RT2560_RX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_TSFT) | (1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_RATE) | (1<<  &IEEE80211_RADIOTAP_CHANNEL) | (1<<  &IEEE80211_RADIOTAP_ANTENNA) | (1<<  &IEEE80211_RADIOTAP_DB_ANTSIGNAL));}
}
unless(defined(&RT2560_TX_RADIOTAP_PRESENT)) {
    sub RT2560_TX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_RATE) | (1<<  &IEEE80211_RADIOTAP_CHANNEL) | (1<<  &IEEE80211_RADIOTAP_ANTENNA));}
}
unless(defined(&RT2560_ENABLED)) {
    sub RT2560_ENABLED () {	(1<< 0);}
}
unless(defined(&RT2560_UPDATE_SLOT)) {
    sub RT2560_UPDATE_SLOT () {	(1<< 1);}
}
unless(defined(&RT2560_SET_SLOTTIME)) {
    sub RT2560_SET_SLOTTIME () {	(1<< 2);}
}
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;
