[PATCH] ath10k: initialize msdu ext. descriptor before use

2015-07-23 Thread Peter Oh
Initial QCA99X0 support has a known issue with TCP Tx throughput. All other path such as UDP Tx/Rx and TCP Rx meet their expectation ( 900Mbps), but TCP Tx marked as low as 5Mbps when single pair is used on iperf. The root cause is turned out because TSO flag is not initialized properly so that

Re: ath9k_htc: virtual interfaces, AP connection drop kernel warning

2015-07-23 Thread Oleksij Rempel
Am 23.07.2015 um 10:08 schrieb wim torfs: On 07/22/2015 07:16 PM, Oleksij Rempel wrote: Am 22.07.2015 um 18:37 schrieb Rolf Anderegg: On 16/07/15 13:54, Oleksij Rempel wrote: Am 13.07.2015 um 13:52 schrieb Rolf Anderegg: I suspect that there are bandwidth/speed issues when dealing with

Re: [PATCH 1/3] staging: wilc1000: coreconfigurator.c: remove WILC_MALLOC

2015-07-23 Thread Greg KH
On Thu, Jul 23, 2015 at 08:19:17PM +0900, Chaehyun Lim wrote: Use kmalloc and kmalloc_array instead of WILC_MALLOC. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- drivers/staging/wilc1000/coreconfigurator.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff

[PATCH V3 2/3] staging: wilc1000: coreconfigurator.c: add kmalloc error check

2015-07-23 Thread Chaehyun Lim
Add error check if memory allocation is failed. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- V2: use ! operator instead of NULL comparison V3: this patch is rebased by previous modification drivers/staging/wilc1000/coreconfigurator.c | 12 1 file changed, 12 insertions(+)

[PATCH V2 1/3] staging: wilc1000: coreconfigurator.c: remove WILC_MALLOC

2015-07-23 Thread Chaehyun Lim
Use kmalloc and kmalloc_array instead of WILC_MALLOC. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- V2: Use GFP_KERNEL flag instead of GFP_ATOMIC drivers/staging/wilc1000/coreconfigurator.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git

[PATCH V3 3/3] staging: wilc1000: coreconfigurator.c: fix kmalloc error check

2015-07-23 Thread Chaehyun Lim
Return -ENOMEM if memory allocation is failed. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- V2: Use ! operator instead of NULL comparison V3: this patch is rebased by previous modification drivers/staging/wilc1000/coreconfigurator.c | 13 - 1 file changed, 4 insertions(+),

Re: [RFC 0/5] cfg80211 / mac80211: add support for Neighbor Awareness Networking

2015-07-23 Thread QH
Emmanuel Grumbach emmanuel.grumbach@... writes: ++- net/wireless/rdev-ops.h | 57 + net/wireless/trace.h | 77 +++ net/wireless/util.c | 9 +- 19 files changed, 1126 insertions(+), 11 deletions(-) where can I get

[PATCH 2/3] staging: wilc1000: coreconfigurator.c: add kmalloc error check

2015-07-23 Thread Chaehyun Lim
Add error check if memory allocation is failed. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- drivers/staging/wilc1000/coreconfigurator.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/staging/wilc1000/coreconfigurator.c

[PATCH 3/3] staging: wilc1000: coreconfigurator.c: fix kmalloc error check

2015-07-23 Thread Chaehyun Lim
Return -ENOMEM if memory allocation is failed. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- drivers/staging/wilc1000/coreconfigurator.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c

[PATCH 1/3] staging: wilc1000: coreconfigurator.c: remove WILC_MALLOC

2015-07-23 Thread Chaehyun Lim
Use kmalloc and kmalloc_array instead of WILC_MALLOC. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- drivers/staging/wilc1000/coreconfigurator.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c

[PATCH V2 3/3] staging: wilc1000: coreconfigurator.c: fix kmalloc error check

2015-07-23 Thread Chaehyun Lim
Return -ENOMEM if memory allocation is failed. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- V2: use ! operator instead of NULL comparison. drivers/staging/wilc1000/coreconfigurator.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git

Re: [PATCH 2/3] staging: wilc1000: coreconfigurator.c: add kmalloc error check

2015-07-23 Thread Dan Carpenter
On Thu, Jul 23, 2015 at 08:19:18PM +0900, Chaehyun Lim wrote: Add error check if memory allocation is failed. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- drivers/staging/wilc1000/coreconfigurator.c | 12 1 file changed, 12 insertions(+) diff --git

Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)

2015-07-23 Thread Jörg Krause
Hi all, On Di, 2015-07-07 at 09:47 +0200, Jörg Krause wrote: Hi Arend, On Di, 2015-06-23 at 14:08 +0200, Arend van Spriel wrote: On 06/23/15 13:31, Jörg Krause wrote: Hi Arend, On So, 2015-06-21 at 23:18 +0200, Arend van Spriel wrote: My bad. The patch removes p2pdev from

[PATCH V2 2/3] staging: wilc1000: coreconfigurator.c: add kmalloc error check

2015-07-23 Thread Chaehyun Lim
Add error check if memory allocation is failed. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- V2: use ! operator instead of NULL comparison drivers/staging/wilc1000/coreconfigurator.c | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH V2 1/3] staging: wilc1000: coreconfigurator.c: remove WILC_MALLOC

2015-07-23 Thread Dan Carpenter
On Fri, Jul 24, 2015 at 08:55:53AM +0900, Chaehyun Lim wrote: Use kmalloc and kmalloc_array instead of WILC_MALLOC. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- V2: Use GFP_KERNEL flag instead of GFP_ATOMIC This is probably the correct thing but how did you check that we aren't

Re: [RFC 0/5] cfg80211 / mac80211: add support for Neighbor Awareness Networking

2015-07-23 Thread Emmanuel Grumbach
On Fri, Jul 24, 2015 at 2:59 AM, QH qiumin...@gmail.com wrote: Emmanuel Grumbach emmanuel.grumbach@... writes: ++- net/wireless/rdev-ops.h | 57 + net/wireless/trace.h | 77 +++ net/wireless/util.c | 9 +- 19

Re: [RFC 0/5] cfg80211 / mac80211: add support for Neighbor Awareness Networking

2015-07-23 Thread Emmanuel Grumbach
On Fri, Jul 24, 2015 at 6:53 AM, Emmanuel Grumbach egrumb...@gmail.com wrote: On Fri, Jul 24, 2015 at 2:59 AM, QH qiumin...@gmail.com wrote: Emmanuel Grumbach emmanuel.grumbach@... writes: ++- net/wireless/rdev-ops.h | 57 +

wifi freezing (module mwifiex)

2015-07-23 Thread Julien Cubizolles
I'm running vanilla kernel 4.2.0-rc3 on a Microsoft Surface Pro. The wifi (module mwifiex) freezes the whole system after a few seconds of use. The problem appeared around kernel 3.19. I've tried to get some debug info with the dynamic debugging method, using the following: --8---cut

Re: [PATCH] bcma: populate bus DT subnodes as platform_device-s

2015-07-23 Thread Kalle Valo
Rafał Miłecki zaj...@gmail.com writes: + if (bus-host_pdev) { + struct device *dev = bus-host_pdev-dev; + + of_platform_populate(dev-of_node, of_default_bus_match_table, +NULL, dev); + } + This caused a compile

[PATCH] bcma: fix linking problem with of_default_bus_match_table

2015-07-23 Thread Kalle Valo
Stephen reported a build problem caused by commit cae761b5a6bd (bcma: populate bus DT subnodes as platform_device-s): ERROR: of_default_bus_match_table [drivers/bcma/bcma.ko] undefined! Rafał Miłecki suggested as a quick fix to use IS_BUILTIN() to workaround the issue. The downside is that this

Re: [PATCH] bcma: fix linking problem with of_default_bus_match_table

2015-07-23 Thread Jonas Gorski
On 23.07.2015 17:51, Kalle Valo wrote: Jonas Gorski j...@openwrt.org writes: Hi, On Thu, Jul 23, 2015 at 8:31 AM, Kalle Valo kv...@codeaurora.org wrote: diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index 59128478a90f..6b7d54622058 100644 --- a/drivers/bcma/main.c +++

Re: [PATCH] bcma: fix linking problem with of_default_bus_match_table

2015-07-23 Thread Kalle Valo
Jonas Gorski j...@openwrt.org writes: Hi, On Thu, Jul 23, 2015 at 8:31 AM, Kalle Valo kv...@codeaurora.org wrote: diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index 59128478a90f..6b7d54622058 100644 --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c @@ -410,7 +410,7 @@ int

Re: [PATCH 0/7] brcmfmac: nvram loading and code rework

2015-07-23 Thread Kalle Valo
Arend van Spriel ar...@broadcom.com writes: On 07/19/2015 05:05 PM, Rafał Miłecki wrote: On 10 July 2015 at 20:31, Arend van Spriel ar...@broadcom.com wrote: This series comprises of following changes: - support NVRAM loading for bcm47xx platform. - revise announced interface combinations

Re: [PATCH] bcma: fix linking problem with of_default_bus_match_table

2015-07-23 Thread Kalle Valo
Jonas Gorski j...@openwrt.org writes: I think this isn't enough, AFAICT this needs IS_BUILTIN(CONFIG_BCMA) IS_ENABLED(CONFIG_OF), else it will break with OF=n and BCMA=y, as of_default_bus_match_table is only defined/built-in when OF=y. I just tested and OF=n and BCMA=y case built

Re: [PATCH 2/3] staging: wilc1000: coreconfigurator.c: add kmalloc error check

2015-07-23 Thread Joe Perches
On Thu, 2015-07-23 at 20:19 +0900, Chaehyun Lim wrote: Add error check if memory allocation is failed. trivia: diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c [] @@ -812,6 +812,9 @@ s32 ParseNetworkInfo(u8 *pu8MsgBuffer, tstrNetworkInfo

Re: ath9k_htc: virtual interfaces, AP connection drop kernel warning

2015-07-23 Thread wim torfs
On 07/22/2015 07:16 PM, Oleksij Rempel wrote: Am 22.07.2015 um 18:37 schrieb Rolf Anderegg: On 16/07/15 13:54, Oleksij Rempel wrote: Am 13.07.2015 um 13:52 schrieb Rolf Anderegg: I suspect that there are bandwidth/speed issues when dealing with USB adapters, but that does not inherently

Re: [PATCH] bcma: fix linking problem with of_default_bus_match_table

2015-07-23 Thread Jonas Gorski
Hi, On Thu, Jul 23, 2015 at 8:31 AM, Kalle Valo kv...@codeaurora.org wrote: Stephen reported a build problem caused by commit cae761b5a6bd (bcma: populate bus DT subnodes as platform_device-s): ERROR: of_default_bus_match_table [drivers/bcma/bcma.ko] undefined! Rafał Miłecki suggested as