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)
Sun, Feb 8, 2:45 PM
Unknown Object (File)
Sun, Feb 8, 8:40 AM
Unknown Object (File)
Fri, Jan 30, 9:13 PM
Unknown Object (File)
Mon, Jan 19, 11:35 AM
Unknown Object (File)
Nov 27 2025, 3:29 PM
Unknown Object (File)
Nov 9 2025, 6:26 AM
Unknown Object (File)
Nov 8 2025, 3:56 AM
Unknown Object (File)
Nov 5 2025, 11:10 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