[PATCH] ath10k: add sanity check to ie_len before parsing fw/board ie

2017-12-27 Thread ryanhsu
From: Ryan Hsu Validate ie_len after the alignment padding before access the buffer to avoid potential overflow. Signed-off-by: Ryan Hsu --- drivers/net/wireless/ath/ath10k/core.c | 13 +++-- 1 file changed, 7 insertions(+), 6

Re: [PATCH 03/11] ath10k_sdio: DMA bounce buffers for read write

2017-12-27 Thread Adrian Chadd
[top post for emphasis] Arend is right. You won't be the only driver which has issues with a controller that doesn't handle non-aligned data payloads. Please push it into the stack or the controller side, but not in the driver side. That'll be a forever game of whack-a-mole. -adrian (I'm

Re: [PATCH 03/11] ath10k_sdio: DMA bounce buffers for read write

2017-12-27 Thread Arend van Spriel
On 12/25/2017 1:26 PM, Alagu Sankar wrote: On 2017-12-22 21:38, Kalle Valo wrote: silexcom...@gmail.com writes: From: Alagu Sankar Some SD host controllers still need bounce buffers for SDIO data transfers. While the transfers worked fine on x86 platforms, this

Re: ath10k: update copyright year

2017-12-27 Thread Kalle Valo
Kalle Valo wrote: > Update year for Qualcomm Atheros, Inc. copyrights. > > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 8b1083d61882 ath10k: update copyright year --

Re: [v2,1/6] ath10k: remove deprecated fw_crash_dump debugfs file

2017-12-27 Thread Kalle Valo
Kalle Valo wrote: > The fw_crash_dump file was deprecated by commmit 727000e6af34 ("ath10k: > support > dev_coredump for crash dump") in v4.11 in favor of dev_coredump interface, > remove it now for good. Everyone should use dev_coredump now. > > Signed-off-by: Kalle

Re: ath10k: advertising tdls wider bandwidth support for 5GHz

2017-12-27 Thread Kalle Valo
bpoth...@qti.qualcomm.com wrote: > Enable TDLS wider bandwidth support for 5GHz based on firmware wmi > capabilities. > > This patch is required for chipset QCA9888. Tested with firmware version > 10.4-3.5.1-00018. > > Signed-off-by: Balaji Pothunoori >

Re: You will definetely be interested...

2017-12-27 Thread Sra. Angel Rania
Hi Dear, Reading your profile has given me courage in search of a reasponsable and trust worthy Fellow. The past has treated me so awfully but now I am ready to move on despite of my health condition. I will like to have a sincere and important discussion with you that will be in your favor

Re: [v2,1/3] ath10k: Add SNOC bus type for WCN3990 target

2017-12-27 Thread Kalle Valo
Rakesh Pillai wrote: > WCN3990 is integrated chipset which uses system NOC. > Add SNOC bus type and related definitions. > > Signed-off-by: Govind Singh > Signed-off-by: Rakesh Pillai > Signed-off-by: Kalle Valo

Re: [01/10] ath10k: Add hw param for 64-bit address support

2017-12-27 Thread Kalle Valo
Govind Singh wrote: > WCN3990 target supports 37-bit addressing mode. In order > to accommodate extended address support, add hw param to > indicate if the target supports addressing above 32-bits. > > Signed-off-by: Rakesh Pillai >

Re: wil6210: fix build warnings without CONFIG_PM

2017-12-27 Thread Kalle Valo
Arnd Bergmann wrote: > The #ifdef checks are hard to get right, in this case some functions > should have been left inside a CONFIG_PM_SLEEP check as seen by this > message: > > drivers/net/wireless/ath/wil6210/pcie_bus.c:489:12: error: > 'wil6210_pm_resume' defined but not used

Re: [next] ath10k: wmi: remove redundant integer fc

2017-12-27 Thread Kalle Valo
Colin Ian King wrote: > Variable fc is being assigned but never used, so remove it. Cleans > up the clang warning: > > warning: Value stored to 'fc' is never read > > Signed-off-by: Colin Ian King > Signed-off-by: Kalle Valo