Page MenuHomeFreeBSD

amrr: refactor amrr_node_init() into HT and legacy paths
ClosedPublic

Authored by adrian on Jan 11 2025, 3:05 PM.
Referenced Files
F135919788: D48429.id149741.diff
Fri, Nov 14, 4:09 AM
F135905147: D48429.id149741.diff
Fri, Nov 14, 12:48 AM
F135891566: D48429.id150169.diff
Thu, Nov 13, 10:11 PM
Unknown Object (File)
Thu, Nov 13, 9:10 PM
Unknown Object (File)
Thu, Nov 13, 5:39 PM
Unknown Object (File)
Thu, Nov 13, 12:22 PM
Unknown Object (File)
Wed, Nov 12, 6:48 AM
Unknown Object (File)
Sun, Nov 9, 5:33 AM

Details

Summary

Refactor amrr_node_init() into HT and legacy paths, clean up the
printing to be a bit clearer about the selected rates.

This is precursor work to setting VHT rates in ni->ni_txrate .

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61903
Build 58787: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 28 2025, 10:10 AM
This revision now requires review to proceed.Jan 30 2025, 5:15 AM
bz requested changes to this revision.Feb 22 2025, 10:19 AM
bz added a subscriber: bz.
bz added inline comments.
sys/net80211/ieee80211_amrr.c
149

Ok, this won't fly. rs is NULL. The line below initializes rs. This code was never run.

183

And again here. rs is NULL. This is a NULL pointer deref.

This revision now requires changes to proceed.Feb 22 2025, 10:19 AM

from bz; address NULL pointer deref (which I've not hit, and now I'm curious why!)

hi, try that! I don't know why I wasn't hitting this; i've definitely tested 2g 11n/11g and 5g 11n!

This revision was not accepted when it landed; it landed in state Needs Review.Feb 26 2025, 7:32 PM
This revision was automatically updated to reflect the committed changes.