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)
Fri, Mar 20, 3:57 AM
Unknown Object (File)
Fri, Mar 20, 2:25 AM
Unknown Object (File)
Thu, Mar 19, 5:31 AM
Unknown Object (File)
Tue, Mar 10, 12:57 PM
Unknown Object (File)
Tue, Mar 10, 1:33 AM
Unknown Object (File)
Feb 8 2026, 2:45 PM
Unknown Object (File)
Feb 8 2026, 8:40 AM
Unknown Object (File)
Jan 30 2026, 9:13 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 Not Applicable
Unit
Tests Not Applicable