Page MenuHomeFreeBSD

net80211: update get_sta_info() to only populate isi_txrate for legacy rates
ClosedPublic

Authored by adrian on Jan 23 2025, 2:45 AM.
Referenced Files
F171192403: D48616.id.diff
Wed, Sep 9, 9:58 AM
F171127433: D48616.id150014.diff
Tue, Sep 8, 9:15 PM
F171122290: D48616.id150175.diff
Tue, Sep 8, 8:30 PM
F171109046: D48616.diff
Tue, Sep 8, 6:23 PM
F171099571: D48616.id149747.diff
Tue, Sep 8, 5:00 PM
Unknown Object (File)
Tue, Sep 8, 9:41 AM
Unknown Object (File)
Tue, Sep 8, 9:04 AM
Unknown Object (File)
Tue, Sep 8, 7:30 AM

Details

Summary

The isi_txrate field is 8 bits and only represents legacy/HT rates.
So to avoid logging a warning, only populate if it's a legacy/HT
rate.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61996
Build 58880: 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:16 AM
bz added inline comments.
sys/net80211/ieee80211_ioctl.c
413

XXX TODO mark these things in a way that people can notice that they are TODOs and not descriptive text. Helps :)

updated, thanks!

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.