mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 02:21:36 +00:00
5809802180
When using the bcm5354 (Soc with integrated LP-PHY Wifi) with a recent firmware >= 478.104 it runs out of memory after a very short time in OpenWrt after doing an active scan or any thing else where packages are send. This was cased by a gpio misconfiguration, the firmware triggered the GPIO pins used for buttons on some devices and that caused an other driver (OpenWrt diag) listening for these buttons irqs to send many messages to the user space. This patch fixes the bug for my devices (Asus WL-520GU) and makes it work with firmware 666.2. Now the firmware just uses LED GPIO pin number 1 and not the button pins any more. This is the GPIO Pin layout used on my device, see [0]. GPIO pin layout: pin# name type 0 power led 1 wlan led 2 reset button 3 ses buttom This is the nvram configuration output of "nvram show |grep gpio" related nvram configuration: wl0gpio2=11 wl0gpio3=11 wl0gpio0=11 wl0gpio1=0x02 reset_gpio=2 [0]: https://dev.openwrt.org/browser/trunk/package/broadcom-diag/src/diag.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
b43.h | ||
bus.c | ||
bus.h | ||
debugfs.c | ||
debugfs.h | ||
dma.c | ||
dma.h | ||
Kconfig | ||
leds.c | ||
leds.h | ||
lo.c | ||
lo.h | ||
main.c | ||
main.h | ||
Makefile | ||
pcmcia.c | ||
pcmcia.h | ||
phy_a.c | ||
phy_a.h | ||
phy_common.c | ||
phy_common.h | ||
phy_g.c | ||
phy_g.h | ||
phy_ht.c | ||
phy_ht.h | ||
phy_lcn.c | ||
phy_lcn.h | ||
phy_lp.c | ||
phy_lp.h | ||
phy_n.c | ||
phy_n.h | ||
pio.c | ||
pio.h | ||
radio_2055.c | ||
radio_2055.h | ||
radio_2056.c | ||
radio_2056.h | ||
radio_2059.c | ||
radio_2059.h | ||
rfkill.c | ||
rfkill.h | ||
sdio.c | ||
sdio.h | ||
sysfs.c | ||
sysfs.h | ||
tables_lpphy.c | ||
tables_lpphy.h | ||
tables_nphy.c | ||
tables_nphy.h | ||
tables_phy_ht.c | ||
tables_phy_ht.h | ||
tables_phy_lcn.c | ||
tables_phy_lcn.h | ||
tables.c | ||
tables.h | ||
wa.c | ||
wa.h | ||
xmit.c | ||
xmit.h |