- Extend the ioctl api code to allow setting i_val and getting the i_val response directly.
- Refactor out the device capabilities call into three - + one for the existing ioctl path + one for the new ioctl path + one for the no ioctl path
- And compile them in based on what's found!
- Modify the device capabilities path to try the newer ioctl first, and if it fails, try the IEEE80211_IOC_DEVCAPS ioctl, and if that fails fall back to the defaults.
This /should/ be forward and backward compatible with net80211 APIs.