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
Unknown Object (File)
Thu, Jul 10, 2:12 PM
Unknown Object (File)
Wed, Jul 9, 7:59 AM
Unknown Object (File)
Mon, Jul 7, 9:29 AM
Unknown Object (File)
Mon, Jul 7, 2:57 AM
Unknown Object (File)
Sun, Jul 6, 12:03 AM
Unknown Object (File)
Sat, Jul 5, 11:52 PM
Unknown Object (File)
Sat, Jul 5, 10:15 PM
Unknown Object (File)
Sat, Jul 5, 8:54 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.