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)
Sun, Sep 22, 5:03 AM
Unknown Object (File)
Mon, Sep 9, 4:11 AM
Unknown Object (File)
Sun, Sep 8, 9:43 AM
Unknown Object (File)
Sat, Sep 7, 8:27 AM
Unknown Object (File)
Wed, Sep 4, 11:12 PM
Unknown Object (File)
Mon, Sep 2, 12:43 AM
Unknown Object (File)
Sun, Sep 1, 3:05 AM
Unknown Object (File)
Fri, Aug 30, 11:21 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 Passed
Unit
No Test Coverage
Build Status
Buildable 58077
Build 54965: arc lint + arc unit

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