OpenCloudOS-Kernel/drivers/net/wireless/wl12xx
Grazvydas Ignotas 832c10fd73 wl1251: fix ELP_CTRL register reads
Reading the ELP_CTRL register with sdio_readb causes problems because
hardware seems to be performing a write using stuff bits in the request
(those bits contain write data in write request). This indicates that it
actually expects RAW (read after write) type of request, so perform that
when reading ELP_CTRL instead. Also cache last written value so we know
what to write when doing RAW request.

Because of the above it was not possible to wake the chip from ELP power
saving mode, PM had to be disabled to have the driver usable in SDIO
mode. After this patch PM is functional.

For backporting to 2.6.34 or earlier, this patch depends on
6c1f716e81, which adds the
required SDIO funcion.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-08 09:31:21 -04:00
..
Kconfig wl1271: the core wl1271 module shouldn't depend on SPI_MASTER 2010-06-02 16:13:35 -04:00
Makefile
wl12xx_80211.h
wl1251.h wl1251: fix ELP_CTRL register accesses when using SDIO 2010-03-15 15:32:03 -04:00
wl1251_acx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wl1251_acx.h
wl1251_boot.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
wl1251_boot.h
wl1251_cmd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wl1251_cmd.h
wl1251_debugfs.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wl1251_debugfs.h
wl1251_event.c
wl1251_event.h
wl1251_init.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wl1251_init.h
wl1251_io.c
wl1251_io.h wl1251: fix ELP_CTRL register accesses when using SDIO 2010-03-15 15:32:03 -04:00
wl1251_main.c drivers/net/wireless/wl12xx: Use kmemdup 2010-06-02 16:13:09 -04:00
wl1251_ps.c wl1251: fix ELP_CTRL register accesses when using SDIO 2010-03-15 15:32:03 -04:00
wl1251_ps.h
wl1251_reg.h wl1251: read default MAC address from EEPROM when available 2010-04-16 15:32:00 -04:00
wl1251_rx.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
wl1251_rx.h
wl1251_sdio.c wl1251: fix ELP_CTRL register reads 2010-06-08 09:31:21 -04:00
wl1251_spi.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-04-15 16:21:34 -04:00
wl1251_spi.h
wl1251_tx.c
wl1251_tx.h
wl1271.h wl1271: Fix scan parameter handling for 5GHz 2010-06-02 16:13:37 -04:00
wl1271_acx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-05 16:14:16 -04:00
wl1271_acx.h wl1271: Add support for connection quality monitoring 2010-04-09 13:43:11 -04:00
wl1271_boot.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-11 14:24:55 -04:00
wl1271_boot.h wl1271: Add sysfs file to retrieve HW PG-version and ROM-version 2010-05-07 14:57:18 -04:00
wl1271_cmd.c wl1271: Fix scan parameter handling for 5GHz 2010-06-02 16:13:37 -04:00
wl1271_cmd.h wl1271: Fix scan parameter handling for 5GHz 2010-06-02 16:13:37 -04:00
wl1271_conf.h wl1271: fix a bunch of sparse warnings 2010-04-28 16:50:27 -04:00
wl1271_debugfs.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
wl1271_debugfs.h
wl1271_event.c wl1271: Fix scan parameter handling for 5GHz 2010-06-02 16:13:37 -04:00
wl1271_event.h wl1271: Add support for connection quality monitoring 2010-04-09 13:43:11 -04:00
wl1271_ini.h wl1271: Add support for NVS files with 5GHz band parameters 2010-06-02 16:13:05 -04:00
wl1271_init.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-04-15 16:21:34 -04:00
wl1271_init.h
wl1271_io.c
wl1271_io.h wl1271: Fix 32 bit register read related endiannes bug 2010-05-07 14:57:18 -04:00
wl1271_main.c wl1271: Fix scan parameter handling for 5GHz 2010-06-02 16:13:37 -04:00
wl1271_ps.c wl1271: Go to ELP in idle 2010-04-09 13:43:10 -04:00
wl1271_ps.h
wl1271_reg.h
wl1271_rx.c wl1271: Fix RX data path frame lengths 2010-05-21 14:40:00 -04:00
wl1271_rx.h wl1271: Clean up RX rate reporting 2010-03-31 14:39:11 -04:00
wl1271_sdio.c wl1271: remove sdio ARM dependency 2010-06-02 16:02:54 -04:00
wl1271_spi.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-04-15 16:21:34 -04:00
wl1271_testmode.c wl1271: Add support for NVS files with 5GHz band parameters 2010-06-02 16:13:05 -04:00
wl1271_testmode.h
wl1271_tx.c wl1271: Flush TX buffers to air before going to idle 2010-06-02 16:13:35 -04:00
wl1271_tx.h wl1271: Flush TX buffers to air before going to idle 2010-06-02 16:13:35 -04:00