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, Nov 9, 6:26 AM
Unknown Object (File)
Sat, Nov 8, 3:56 AM
Unknown Object (File)
Wed, Nov 5, 11:10 PM
Unknown Object (File)
Oct 24 2025, 5:38 PM
Unknown Object (File)
Oct 20 2025, 11:08 PM
Unknown Object (File)
Oct 17 2025, 10:05 PM
Unknown Object (File)
Oct 15 2025, 1:38 AM
Unknown Object (File)
Oct 15 2025, 1:38 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 Not Applicable
Unit
Tests Not Applicable