HomeFreeBSD

rtwn: bring the RTL8192EU RF read/write routines in line with rtl8xxxu

Description

rtwn: bring the RTL8192EU RF read/write routines in line with rtl8xxxu

The Linux rtl8xxxu driver has more delays in the RF read and write
path.

It looks like for writes it's ensuring the hardware is out of
power save and that the transition has properly occured.

And it looks for reads that it wants a delay after some bit setting,
likely some shifting into the RF register space is occuring with
a bit set/clear to trigger a load.

See rtl8xxxu_write_rfreg() and rtl8xxxu_read_rfreg() for more
information.

Differential Revision: https://reviews.freebsd.org/D48512
Obtained from: Linux rtl8xxxu

Details

Provenance
adrianAuthored on Sun, Jan 19, 1:08 AM
Differential Revision
D48512: rtwn: bring the RTL8192EU RF read/write routines in line with rtl8xxxu
Parents
rG40fc36ff2c1d: rtwn: fix RTL8192EU power-down / power-up hanging
Branches
Unknown
Tags
Unknown