Page MenuHomeFreeBSD

rtwn: add workaround sleep in r92e_set_chan()
Needs ReviewPublic

Authored by adrian on Sun, Jan 19, 8:19 PM.
Referenced Files
F107956589: D48517.diff
Sun, Jan 19, 10:36 PM
F107948750: D48517.diff
Sun, Jan 19, 8:38 PM
F107947949: D48517.diff
Sun, Jan 19, 8:25 PM
Subscribers

Details

Reviewers
None
Group Reviewers
wireless
Summary

It /looks/ like there's some weirdness in initial frame send after
the chip programming / channel change. Linux rtl8xxxu has no sleeps
here, instead it just retries the auth frame a few times.

My guess is there's some sequencing going on here between finishing
the programming, doing a calibration run and then sending the initial
frame.

Instead of doing sleeps on every write during the RF channel change,
this 10ms sleep at the end is enough to reliably associate in my
test environment (12-core intel laptop, USB-3 port.) It's not
required for an earlier 2-core haswell laptop w/ USB-3.

See the PR for more information.

PR: kern/247528

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 61798
Build 58682: arc lint + arc unit