Page MenuHomeFreeBSD

net80211: (v)ht: use macros at hand
ClosedPublic

Authored by bz on Tue, Jan 7, 3:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 19, 7:21 PM
Unknown Object (File)
Thu, Jan 9, 3:07 AM
Unknown Object (File)
Wed, Jan 8, 10:47 PM
Unknown Object (File)
Wed, Jan 8, 10:29 PM
Unknown Object (File)
Wed, Jan 8, 7:17 PM
Unknown Object (File)
Wed, Jan 8, 6:07 PM
Unknown Object (File)
Tue, Jan 7, 8:36 PM

Details

Summary

Rather than duplicating the manual logic here and leaving a comment,
use the self-explanatory macros we already have.

No functional changes intended.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

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

Event Timeline

bz requested review of this revision.Tue, Jan 7, 3:05 PM

Note: I believe the logic here needs to be reversed and we need to check for 80P80 first. (otherwise we'll never hit the else if case). If anyone agrees with me I'll open another review for that once this is in.
But maybe that's my LinuxKPI way of thinking currently as 80P80 also is considered 160Mhz width there?

yeah, I think so too. Let's do that once we land this.

This revision is now accepted and ready to land.Tue, Jan 7, 3:27 PM
This revision was automatically updated to reflect the committed changes.