Page MenuHomeFreeBSD

LinuxKPI: 802.11: Fix definition of IEEE80211_HT_CAP_RX_STBC
ClosedPublic

Authored by bz on Jun 5 2024, 10:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 5:19 PM
Unknown Object (File)
Tue, Nov 12, 10:24 AM
Unknown Object (File)
Tue, Nov 12, 10:21 AM
Unknown Object (File)
Tue, Nov 12, 10:20 AM
Unknown Object (File)
Wed, Oct 23, 4:44 PM
Unknown Object (File)
Wed, Oct 23, 4:44 PM
Unknown Object (File)
Wed, Oct 23, 4:44 PM
Unknown Object (File)
Wed, Oct 23, 4:35 PM

Details

Summary

IEEE80211_HT_CAP_RX_STBC was set to 0x100 instead of 0x300.
Correct to get the expected behavior.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Fixes: b0f73768220e9 LinuxKPI: 802.11 header updates

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Jun 5 2024, 10:04 PM
sys/compat/linuxkpi/common/include/linux/ieee80211.h
270

There's a question here I cannot answer anymore; I believe the proper follow-up would be to actually define the to the net80211 values directly.
The only reason I can think of this doesn't work or not to do it is if there are naming conflicts or other header include collisions or "include-wars" to resolve between net80211 and linuxkpi.

Yeah, I remember hitting namespace clashes when trying to do this with some earlier linux driver ports. :(

This revision is now accepted and ready to land.Jun 5 2024, 11:05 PM