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)
Sun, Mar 23, 6:42 AM
Unknown Object (File)
Thu, Mar 20, 7:23 AM
Unknown Object (File)
Thu, Mar 20, 7:23 AM
Unknown Object (File)
Thu, Feb 27, 2:56 AM
Unknown Object (File)
Thu, Feb 27, 12:08 AM
Unknown Object (File)
Tue, Feb 25, 6:21 PM
Unknown Object (File)
Feb 18 2025, 5:16 PM
Unknown Object (File)
Feb 18 2025, 4:11 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.Wed, Feb 26, 7:32 PM
This revision was automatically updated to reflect the committed changes.