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)
Sat, Jan 31, 5:22 AM
Unknown Object (File)
Sun, Jan 25, 1:33 AM
Unknown Object (File)
Sat, Jan 24, 2:39 PM
Unknown Object (File)
Tue, Jan 20, 4:26 AM
Unknown Object (File)
Mon, Jan 19, 7:24 PM
Unknown Object (File)
Sun, Jan 18, 2:20 PM
Unknown Object (File)
Jan 3 2026, 6:29 AM
Unknown Object (File)
Dec 30 2025, 11:18 AM
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 57381
Build 54269: arc lint + arc unit