802.11 stack on FreeBSD 11 requires changes to support its new device creation method
On FreeBSD 11 you have to clone the interface and the wireless device (e.g. ath0) does not show in ifconfig.
The list of current wireless devices is in the
net.wlan.devices sysctl OID so fetching them from there is easy, but we lose some of the extra info we had before pre-assignment, such as the MAC address of ath0.
You can make it show up temporarily by running:
ifconfig wlan0 create wlandev ath0
You can then assign that interface and use it, but unless you have an earlyshellcmd to bring it back it'll fail on the next boot.
It also looks like they've changed it so that the cloned device name must be wlan<number> which will require all of our existing wireless device name/assignments to change. (e.g. ath0_wlan0 => wlan0)