linux/drivers/net/wireless/ti/wlcore
Arnd Bergmann 4a4274bf2d wlcore: fix 64K page support
In the stable linux-3.16 branch, I ran into a warning in the
wlcore driver:

drivers/net/wireless/ti/wlcore/spi.c: In function 'wl12xx_spi_raw_write':
drivers/net/wireless/ti/wlcore/spi.c:315:1: error: the frame size of 12848 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]

Newer kernels no longer show the warning, but the bug is still there,
as the allocation is based on the CPU page size rather than the
actual capabilities of the hardware.

This replaces the PAGE_SIZE macro with the SZ_4K macro, i.e. 4096 bytes
per buffer.

Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-05-24 16:42:27 +03:00
..
acx.c wlcore: Pass win_size taken from ieee80211_sta to FW 2016-11-17 08:38:04 +02:00
acx.h wlcore: Pass win_size taken from ieee80211_sta to FW 2016-11-17 08:38:04 +02:00
boot.c wlcore: Fix config firmware loading issues 2016-09-26 18:13:45 +03:00
boot.h
cmd.c wlcore/wl18xx: mesh: added initial mesh support for wl8 2016-07-18 22:33:26 +03:00
cmd.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
conf.h
debug.h
debugfs.c wlcore: use memdup_user 2017-05-18 16:41:23 +03:00
debugfs.h
event.c mac80211: Pass new RSSI level in CQM RSSI notification 2017-02-08 10:43:04 +01:00
event.h
hw_ops.h
ini.h
init.c scripts/spelling.txt: add "intialization" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
init.h
io.c wlcore/wl12xx: Fix fw logger over sdio 2016-05-11 21:26:15 +03:00
io.h wlcore/wl12xx: Fix fw logger over sdio 2016-05-11 21:26:15 +03:00
Kconfig wlcore/wl12xx: spi: add device tree support 2016-01-29 11:10:10 +02:00
main.c nl80211: allow multiple active scheduled scan requests 2017-04-26 23:17:38 +02:00
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
ps.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
ps.h
rx.c mac80211: separate encoding/bandwidth from flags 2017-04-28 10:41:45 +02:00
rx.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
scan.c mac80211: Add support for beacon report radio measurement 2016-07-06 14:53:19 +02:00
scan.h
sdio.c wlcore: print the sdio buffer after reading it 2017-01-28 09:11:08 +02:00
spi.c wlcore: fix 64K page support 2017-05-24 16:42:27 +03:00
sysfs.c
sysfs.h
testmode.c netlink: pass extended ACK struct to parsing functions 2017-04-13 13:58:22 -04:00
testmode.h
tx.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
tx.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
vendor_cmd.c netlink: pass extended ACK struct to parsing functions 2017-04-13 13:58:22 -04:00
vendor_cmd.h
wl12xx_80211.h
wlcore_i.h wlcore: Fix config firmware loading issues 2016-09-26 18:13:45 +03:00
wlcore.h wl18xx: add time sync configuration api 2016-09-03 20:02:34 +03:00