linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac
Arend Van Spriel 1dbf647f31 brcmfmac: fix alignment configuration on host using 64-bit DMA
For SDIO the alignment requirement for transfers from device to host
is configured in firmware. This configuration is limited to minimum
of 4-byte alignment. However, this is not correct for platforms using
64-bit DMA when the minimum alignment should be 8 bytes. This issue
appeared when the ALIGNMENT definition was set according the DMA
configuration. The configuration in firmware was not using that macro
defintion, but a hardcoded value of 4. Hence the driver reported
alignment failures for data coming from the device and causing
transfers to fail.

Fixes: 6e84ab604b ("brcmfmac: properly align buffers on certain platforms
Reported-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-06-01 12:02:02 +03:00
..
bcdc.c brcmfmac: remove reference to fwsignal data from struct brcmf_pub 2017-04-13 17:07:22 +03:00
bcdc.h brcmfmac: remove reference to fwsignal data from struct brcmf_pub 2017-04-13 17:07:22 +03:00
bcmsdh.c drivers: add explicit interrupt.h includes 2017-03-30 11:05:34 -07:00
btcoex.c
btcoex.h
bus.h brcmfmac: move brcmf_txcomplete to bcdc layer 2017-03-20 19:14:51 +02:00
cfg80211.c cfg80211: add request id to cfg80211_sched_scan_*() api 2017-04-28 14:51:43 +02:00
cfg80211.h brcmfmac: drop unneeded function declarations from headers 2017-01-20 12:03:55 +02:00
chip.c
chip.h
common.c brcmfmac: Do not print the firmware version as an error 2017-03-20 19:14:16 +02:00
common.h brcmfmac: move brcmf_c_set_joinpref_default declaration to common.h 2017-01-20 12:03:56 +02:00
commonring.c
commonring.h
core.c brcmfmac: Make skb header writable before use 2017-04-26 12:05:18 +03:00
core.h brcmfmac: remove reference to fwsignal data from struct brcmf_pub 2017-04-13 17:07:22 +03:00
debug.c brcmfmac: always print error when PSM's watchdog fires 2017-03-20 19:13:37 +02:00
debug.h brcmfmac: Do not print the firmware version as an error 2017-03-20 19:14:16 +02:00
feature.c
feature.h
firmware.c
firmware.h
flowring.c brcmfmac: use correct skb freeing helper when deleting flowring 2016-09-27 18:47:55 +03:00
flowring.h
fweh.c brcmfmac: wrap brcmf_fws_reset_interface into bcdc layer 2017-03-20 19:14:53 +02:00
fweh.h brcmfmac: print name of connect status event 2016-11-17 08:44:35 +02:00
fwil_types.h brcmfmac: fix scheduled scan result handling for newer chips 2016-11-29 17:29:31 +02:00
fwil.c
fwil.h
fwsignal.c brcmfmac: remove reference to fwsignal data from struct brcmf_pub 2017-04-13 17:07:22 +03:00
fwsignal.h brcmfmac: remove reference to fwsignal data from struct brcmf_pub 2017-04-13 17:07:22 +03:00
Makefile brcmfmac: only build fwsignal module for CONFIG_BRCMFMAC_PROTO_BCDC 2017-04-19 14:39:44 +03:00
msgbuf.c brcmfmac: add pcie host dongle interface rev6 support 2016-11-29 17:29:24 +02:00
msgbuf.h brcmfmac: add pcie host dongle interface rev6 support 2016-11-29 17:29:24 +02:00
of.c brcmfmac: make brcmf_of_probe more generic 2017-01-19 14:45:13 +02:00
of.h brcmfmac: make brcmf_of_probe more generic 2017-01-19 14:45:13 +02:00
p2p.c My last pull request has been a while, we now have: 2017-04-20 13:54:40 -04:00
p2p.h cfg80211: move add/change interface monitor flags into params 2017-04-13 13:41:38 +02:00
pcie.c brcmfmac: restore bus state when enter_D3 fails 2017-04-05 15:42:35 +03:00
pcie.h
pno.c brcmfmac: no need for d11inf instance in brcmf_pno_start_sched_scan() 2017-04-05 15:42:43 +03:00
pno.h brcmfmac: use requested scan interval in scheduled scan 2016-11-29 17:29:30 +02:00
proto.c brcmfmac: proto: add callback for queuing TX data 2016-11-09 03:30:32 +02:00
proto.h brcmfmac: wrap brcmf_fws_init into bcdc layer 2017-04-05 15:40:59 +03:00
sdio.c brcmfmac: fix alignment configuration on host using 64-bit DMA 2017-06-01 12:02:02 +03:00
sdio.h
tracepoint.c
tracepoint.h
usb.c brcmfmac: move brcmf_txcomplete to bcdc layer 2017-03-20 19:14:51 +02:00
usb.h
vendor.c
vendor.h