require '_h2ph_pre.ph';

require 'dev/ic/if_wi_hostap.ph';
unless(defined(&__FreeBSD__)) {
}
unless(defined(&WI_FLAGS_ATTACHED)) {
    sub WI_FLAGS_ATTACHED () {	0x1;}
}
unless(defined(&WI_FLAGS_INITIALIZED)) {
    sub WI_FLAGS_INITIALIZED () {	0x2;}
}
unless(defined(&WI_FLAGS_HAS_WEP)) {
    sub WI_FLAGS_HAS_WEP () {	0x4;}
}
unless(defined(&WI_FLAGS_HAS_IBSS)) {
    sub WI_FLAGS_HAS_IBSS () {	0x8;}
}
unless(defined(&WI_FLAGS_HAS_CREATE_IBSS)) {
    sub WI_FLAGS_HAS_CREATE_IBSS () {	0x10;}
}
unless(defined(&WI_FLAGS_HAS_MOR)) {
    sub WI_FLAGS_HAS_MOR () {	0x20;}
}
unless(defined(&WI_FLAGS_HAS_ROAMING)) {
    sub WI_FLAGS_HAS_ROAMING () {	0x40;}
}
unless(defined(&WI_FLAGS_HAS_DIVERSITY)) {
    sub WI_FLAGS_HAS_DIVERSITY () {	0x80;}
}
unless(defined(&WI_FLAGS_HAS_HOSTAP)) {
    sub WI_FLAGS_HAS_HOSTAP () {	0x100;}
}
unless(defined(&WI_FLAGS_BUS_PCMCIA)) {
    sub WI_FLAGS_BUS_PCMCIA () {	0x200;}
}
unless(defined(&WI_PRT_FMT)) {
    sub WI_PRT_FMT () {	"%s";}
}
unless(defined(&WI_PRT_ARG)) {
    sub WI_PRT_ARG {
	local($sc) = @_;
	eval q(($sc)-> ($sc_dev->{dv_xname}));
    }
}
1;
