WSL2-Linux-Kernel/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
..
Kconfig b43: Add NPHY kconfig option 2008-01-28 15:09:20 -08:00
Makefile b43: Add NPHY radio init code 2008-01-28 15:09:53 -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 [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
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
leds.c b43: Convert to use of the new SPROM structure 2008-01-28 15:04:42 -08:00
leds.h [B43]: LED triggers support 2007-10-10 16:54:11 -07:00
lo.c b43: Fix PHY register routing 2008-01-28 15:09:32 -08:00
lo.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
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
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 b43: properly request pcmcia IRQ 2007-11-10 04:25:13 -05:00
pcmcia.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
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 b43: fix use-after-free rfkill bug 2008-01-16 12:53:32 -05:00
rfkill.h b43: Rewrite and fix rfkill init 2007-11-10 04:25:12 -05:00
sysfs.c b43 wireless needs <linux/io.h> 2007-10-13 09:41:03 -07:00
sysfs.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
tables.c b43: Fix for broken transmission 2008-01-28 15:05:59 -08:00
tables.h b43: rewrite A PHY initialization 2008-01-28 15:04:31 -08:00
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
wa.c b43: Fix for broken transmission 2008-01-28 15:05:59 -08:00
wa.h b43: rewrite A PHY initialization 2008-01-28 15:04:31 -08:00
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