android_kernel_xiaomi_sm8350/drivers/net/wireless/b43
Michael Buesch 1f7d87b0ec b43: Fix MAC control and microcode init
This zeros out all microcode related memory before loading
the microcode.

This also fixes initialization of the MAC control register.
The _only_ place where we overwrite the contents of the MAC control
register is at the beginning of b43_chip_init().
All other places must do read() -> mask/set -> write() to not
overwrite existing bits.

This also adds a longer delay for waiting for the microcode
to initialize itself. It seems that the current timeout is sufficient
on all available devices, but there's no real reason why we shouldn't
wait for up to one second. Slow embedded devices might exist.
Better safe than sorry.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-01-28 15:10:49 -08:00
..
b43.h b43: Fix firmware caching 2008-01-28 15:10:46 -08:00
debugfs.c b43: Remove the PHY spinlock 2008-01-28 15:09:32 -08:00
debugfs.h
dma.c b43: Add support for new firmware 2008-01-28 15:09:50 -08:00
dma.h b43: Remove PIO support 2008-01-28 15:09:17 -08:00
Kconfig b43: Add NPHY kconfig option 2008-01-28 15:09:20 -08:00
leds.c b43: Convert to use of the new SPROM structure 2008-01-28 15:04:42 -08:00
leds.h
lo.c b43: Fix PHY register routing 2008-01-28 15:09:32 -08:00
lo.h
main.c b43: Fix MAC control and microcode init 2008-01-28 15:10:49 -08:00
main.h b43: Only select allowed TX and RX antennas 2008-01-28 15:09:14 -08:00
Makefile b43: Add NPHY radio init code 2008-01-28 15:09:53 -08:00
nphy.c b43: Add more N-PHY init code 2008-01-28 15:10:44 -08:00
nphy.h b43: Add more N-PHY init code 2008-01-28 15:10:44 -08:00
pcmcia.c
pcmcia.h
phy.c b43: Add NPHY channel switch code 2008-01-28 15:09:53 -08:00
phy.h b43: Add NPHY radio init code 2008-01-28 15:09:53 -08:00
rfkill.c
rfkill.h
sysfs.c
sysfs.h
tables_nphy.c b43: Add lots of N-PHY lookup tables 2008-01-28 15:10:03 -08:00
tables_nphy.h b43: Add lots of N-PHY lookup tables 2008-01-28 15:10:03 -08:00
tables.c b43: Fix for broken transmission 2008-01-28 15:05:59 -08:00
tables.h
wa.c b43: Fix for broken transmission 2008-01-28 15:05:59 -08:00
wa.h
xmit.c b43: Add support for new firmware 2008-01-28 15:09:50 -08:00
xmit.h b43: Add support for new firmware 2008-01-28 15:09:50 -08:00