Add support for wi(4) compatible configuration interface. It enables wicontrol(8) to configure some 802.11 specific parameters. Some minor fixes from NetBSD. Obtained from: NetBSD current