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, May 14, 10:52 AM
Unknown Object (File)
Sun, May 10, 12:32 AM
Unknown Object (File)
Fri, May 8, 6:06 PM
Unknown Object (File)
Fri, May 1, 11:17 PM
Unknown Object (File)
Wed, Apr 29, 1:26 PM
Unknown Object (File)
Wed, Apr 29, 1:20 PM
Unknown Object (File)
Thu, Apr 23, 12:22 PM
Unknown Object (File)
Apr 18 2026, 4:17 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 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.