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
F132235423: D42425.id129701.diff
Wed, Oct 15, 1:38 AM
F132235418: D42425.id129571.diff
Wed, Oct 15, 1:38 AM
F132235414: D42425.id.diff
Wed, Oct 15, 1:38 AM
Unknown Object (File)
Tue, Oct 14, 4:48 PM
Unknown Object (File)
Sun, Oct 5, 2:27 AM
Unknown Object (File)
Wed, Oct 1, 7:09 PM
Unknown Object (File)
Tue, Sep 30, 2:40 AM
Unknown Object (File)
Mon, Sep 29, 6:52 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