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
F166258124: D42425.id129571.diff
Wed, Aug 12, 2:28 PM
F166127659: D42425.id.diff
Tue, Aug 11, 10:49 PM
F166127009: D42425.id129571.diff
Tue, Aug 11, 10:44 PM
Unknown Object (File)
Mon, Aug 10, 6:01 PM
Unknown Object (File)
Mon, Aug 10, 10:40 AM
Unknown Object (File)
Mon, Aug 10, 10:33 AM
Unknown Object (File)
Mon, Aug 10, 8:02 AM
Unknown Object (File)
Mon, Aug 10, 8:00 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