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)
Wed, Oct 14, 10:29 AM
Unknown Object (File)
Wed, Oct 14, 10:29 AM
Unknown Object (File)
Tue, Oct 13, 3:58 PM
Unknown Object (File)
Tue, Oct 13, 3:40 PM
Unknown Object (File)
Tue, Oct 13, 3:09 PM
Unknown Object (File)
Mon, Oct 5, 9:32 AM
Unknown Object (File)
Mon, Oct 5, 8:54 AM
Unknown Object (File)
Wed, Sep 30, 6:01 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