linux/drivers/net/wireless/ti/wlcore
Guodong Xu 32677b2584 wlcore: align reg_ch_conf_last[] to 64bit
Align fields reg_ch_conf_last and reg_ch_conf_pending of
struct wl1271{} to 64bit.

Without this, on 64bit ARM, wlcore_set_pending_regdomain_ch() fails at
the point it calls set_bit(ch_bit_idx, (long*)wl->reg_ch_conf_pending);
Here is the error message while doing iw wlan0 scan or connect:

[   10.666857] wlcore: IRQ work
[   10.670046] wlcore: intr: 0x40 (fw_rx_counter = 1, drv_rx_counter = 0, tx_results_counter = 0)
[   10.678697] wlcore: WL1271_ACX_INTR_DATA
[   10.682810] Unhandled fault: alignment fault (0x96000021) at 0xffffffc037a817f4
[   10.690139] Internal error: : 96000021 [#1] PREEMPT SMP
[   10.695366] Modules linked in:
[   10.698437] CPU: 3 PID: 894 Comm: irq/60-wl18xx Tainted: G        W       4.2.0-rc6-linaro-hikey #2
[   10.707501] Hardware name: HiKey Development Board (DT)
[   10.712733] task: ffffffc03a9d1680 ti: ffffffc039e18000 task.ti: ffffffc039e18000
[   10.720239] PC is at set_bit+0x14/0x30
[   10.724002] LR is at wlcore_set_pending_regdomain_ch+0x40/0x4c

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-09-29 10:44:27 +03:00
..
acx.c wlcore: fix copy-paste bug: assign from src struct not dest 2015-01-23 19:07:06 +02:00
acx.h
boot.c wlcore: remove wl12xx_platform_data 2015-03-24 09:48:14 -07:00
boot.h
cmd.c wlcore: add p2p device support 2015-08-10 22:16:34 +03:00
cmd.h wlcore: add generic_cfg_feature command definitions 2015-08-10 22:16:25 +03:00
conf.h wl18xx: use long intervals in sched scan 2015-08-10 22:16:21 +03:00
debug.h drivers/net: Convert remaining uses of pr_warning to pr_warn 2014-09-09 20:37:08 -07:00
debugfs.c wlcore: set irq_trigger in board files instead of hiding behind a quirk 2015-03-19 14:20:50 -07:00
debugfs.h wl18xx: show rx_frames_per_rates as an array as it really is 2015-03-16 18:07:03 +02:00
event.c wlcore: add dfs master restart calls 2015-01-09 15:48:01 +02:00
event.h
hw_ops.h wlcore: add dfs master restart calls 2015-01-09 15:48:01 +02:00
ini.h
init.c wlcore: add p2p device support 2015-08-10 22:16:34 +03:00
init.h wlcore: add p2p device support 2015-08-10 22:16:34 +03:00
io.c
io.h
Kconfig
main.c wlcore: add p2p device support 2015-08-10 22:16:34 +03:00
Makefile wlcore: handle smart config vendor commands 2014-07-15 15:59:56 -04:00
ps.c wl18xx: add debugfs file to emulate radar event 2015-01-09 15:47:58 +02:00
ps.h
rx.c wlcore: add antenna diversity reading comments 2015-08-06 10:20:02 +03:00
rx.h wlcore: add antenna diversity reading 2015-07-21 18:07:34 +03:00
scan.c
scan.h wl18xx: use long intervals in sched scan 2015-08-10 22:16:21 +03:00
sdio.c wlcore: sdio: return correct error code 2015-07-21 16:54:15 +03:00
spi.c wlcore: remove wl12xx_platform_data 2015-03-24 09:48:14 -07:00
sysfs.c
sysfs.h
testmode.c
testmode.h
tx.c wlcore/wl18xx/wl12xx: convert bitmaps to unsigned longs 2014-07-15 16:00:02 -04:00
tx.h
vendor_cmd.c wlcore: fix WLCORE_VENDOR_ATTR_GROUP_KEY policy 2015-01-09 15:47:49 +02:00
vendor_cmd.h wlcore/wl18xx: handle smart config events 2014-07-15 15:59:57 -04:00
wl12xx_80211.h
wlcore_i.h wlcore: add p2p device support 2015-08-10 22:16:34 +03:00
wlcore.h wlcore: align reg_ch_conf_last[] to 64bit 2015-09-29 10:44:27 +03:00