Page MenuHomeFreeBSD

[net80211] Quieten the logging from ieee80211_vht_get_vhtflags()
ClosedPublic

Authored by adrian on Mon, Aug 25, 12:52 AM.
Referenced Files
Unknown Object (File)
Mon, Sep 8, 5:46 PM
Unknown Object (File)
Sat, Sep 6, 5:01 PM
Unknown Object (File)
Tue, Aug 26, 1:48 AM
Unknown Object (File)
Tue, Aug 26, 1:47 AM
Unknown Object (File)
Tue, Aug 26, 12:33 AM
Unknown Object (File)
Mon, Aug 25, 7:05 AM
Unknown Object (File)
Mon, Aug 25, 6:39 AM
Unknown Object (File)
Mon, Aug 25, 5:33 AM

Details

Summary

The commit in Fixes: introduced logging the output bits from
ieee80211_vht_get_vhtflags(). This ends up causing quite a lot
of logging when net80211 is doing things like processing
received beacons.

So just remove the logging; if it's needed again then a developer
can add it back to that location, or just use dtrace to capture
the return value.

Fixes: 4bf049bfeefd9

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66707
Build 63590: arc lint + arc unit

Event Timeline

bz requested changes to this revision.Mon, Aug 25, 5:47 AM
bz added a subscriber: bz.
bz added inline comments.
sys/net80211/ieee80211_ht.c
1936

On which (properly done) driver do you see (say) 10 beacons a second?

My net80211 wlanstats says I saw 35 beacons in 9 hours of uptime.
For iwx see email; beacon filtering is disabled (or not finished).

How much doe you see on rtwn or iwn?

I'd suggest to solve it this way:

if (0} IEEE80211_NOTE...

Disabling the logging if it really bothers you and you think this is an issue here.

This revision now requires changes to proceed.Mon, Aug 25, 5:47 AM
sys/net80211/ieee80211_ht.c
1936

I'll disable it like this.

For rtwn, that processes all the beacons all the time (they're not ONLY handled in firmware):

adrian@francine:~ % wlanstats -i wlan0 | grep -i beacon
36113             rx beacon frames
1                 beacon miss events handled
bz requested changes to this revision.Mon, Sep 1, 1:06 AM
bz added inline comments.
sys/net80211/ieee80211_ht.c
1937

Can you please reduce this to one line changed?

This revision now requires changes to proceed.Mon, Sep 1, 1:06 AM

ok, reduced to one line diff, please re-review! thanks!

This revision is now accepted and ready to land.Sun, Sep 7, 7:46 PM