That's not quite the device, but a driver value though. I wonder if it wouldn't be best to either always set -Dnl80211 on wireless (and -Dwired for 802.1x on ethernet...), or to make it possible to use an alternative value if matching by driver.
For example:
wifis: wlan1: match: driver: wext name: wlan1 access-points: [...] dhcp4: yes
That's not quite the device, but a driver value though. I wonder if it wouldn't be best to either always set -Dnl80211 on wireless (and -Dwired for 802.1x on ethernet...), or to make it possible to use an alternative value if matching by driver.
For example:
wifis:
wlan1:
match:
driver: wext
name: wlan1
access-points:
[...]
dhcp4: yes