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)
Sat, Aug 15, 4:39 PM
Unknown Object (File)
Thu, Aug 13, 5:38 PM
Unknown Object (File)
Wed, Aug 12, 7:06 PM
Unknown Object (File)
Wed, Aug 12, 2:28 PM
Unknown Object (File)
Tue, Aug 11, 10:49 PM
Unknown Object (File)
Tue, Aug 11, 10:44 PM
Unknown Object (File)
Mon, Aug 10, 6:01 PM
Unknown Object (File)
Mon, Aug 10, 10:40 AM

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