Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IEEE80211_IOC_HAIKU_COMPAT_WLAN_{UP|DOWN} compat requests.
They can be supplied as request type codes to SIOCS80211 are added to allow overcoming a difference between how Haiku and FreeBSD handle network drivers. In FreeBSD a device can be set into the down state but is still fully configurable using the ioctl interface. The Haiku network stack on the other hand opens and closes the driver on the transition form up to down and vice versa. This difference can become problematic with ported software that depends on the original behaviour. Therefore IEEE80211_IOC_HAIKU_COMPAT_WLAN_{UP|DOWN} provide a way to achieve the behaviour of setting and clearing IFF_UP without opening or closing the driver itself. The wpa_supplicant will use this in its BSD driver instead of actually setting the interface down and then failing all other ioctls.
- Loading branch information
Showing
2 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters