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
F127631598: D48429.diff
Wed, Sep 3, 12:29 AM
Unknown Object (File)
Tue, Sep 2, 5:46 PM
Unknown Object (File)
Sun, Aug 31, 7:40 AM
Unknown Object (File)
Sun, Aug 31, 12:20 AM
Unknown Object (File)
Sat, Aug 30, 2:16 PM
Unknown Object (File)
Mon, Aug 25, 5:04 PM
Unknown Object (File)
Sun, Aug 24, 4:31 AM
Unknown Object (File)
Sat, Aug 23, 9:29 PM

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 Not Applicable
Unit
Tests Not Applicable

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
215

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

249

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.