Page MenuHomeFreeBSD

LinuxKPI: 802.11: deal with scan_ie_len
ClosedPublic

Authored by bz on Nov 1 2023, 12:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 20, 11:08 PM
Unknown Object (File)
Fri, Oct 17, 10:05 PM
Unknown Object (File)
Wed, Oct 15, 1:38 AM
Unknown Object (File)
Wed, Oct 15, 1:38 AM
Unknown Object (File)
Wed, Oct 15, 1:38 AM
Unknown Object (File)
Tue, Oct 14, 4:48 PM
Unknown Object (File)
Sun, Oct 5, 2:27 AM
Unknown Object (File)
Wed, Oct 1, 7:09 PM

Details

Summary

We only need to reserve the extra space for DSSS if
NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES is set, so add the conditional.
Also add checks in case scan_ie_len will grow beyond the maximum.
Given this is currently unlikely, leave the cleanup for later as
some other restructuring should be done first.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 54233
Build 51123: arc lint + arc unit