Page MenuHomeFreeBSD

wpa: add IEEE80211_IOC_DEVCAPS2 ioctl support
Needs ReviewPublic

Authored by adrian on Apr 26 2024, 5:11 AM.
Referenced Files
Unknown Object (File)
Thu, Oct 1, 9:50 AM
Unknown Object (File)
Wed, Sep 30, 8:32 PM
Unknown Object (File)
Wed, Sep 30, 6:25 PM
Unknown Object (File)
Mon, Sep 28, 3:10 PM
Unknown Object (File)
Thu, Sep 24, 9:36 PM
Unknown Object (File)
Tue, Sep 22, 5:25 AM
Unknown Object (File)
Tue, Sep 22, 1:15 AM
Unknown Object (File)
Mon, Sep 21, 4:48 PM
Subscribers

Details

Reviewers
None
Group Reviewers
wireless
Summary
  • 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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57383
Build 54271: arc lint + arc unit