Re: ath10k mesh + ap + encryption?

2016-09-23 Thread Pedersen, Thomas
On Mon, 2016-09-19 at 08:43 +0200, Simon Wunderlich wrote: > On Tuesday, September 13, 2016 5:54:38 PM CEST Pedersen, Thomas wrote: > > On Tue, 2016-09-13 at 14:30 +0200, Simon Wunderlich wrote: > > > > > [...] > > > > > > Thanks for the clarification. We will then stick to the 70's branch > > > t

[PATCH 0/3] Add memory limits to fq.h and mac80211 TXQ

2016-09-23 Thread Toke Høiland-Jørgensen
This is a series of small patches to avoid OOM conditions on small wireless devices with the mac80211 intermediate TXQ structure. The current default limit in fq.h translates to up to 16 Mbytes of memory usage, which can be fatal to a device with 32 MBytes of total RAM. Rather than just change the

[PATCH 3/3] mac80211: Set lower memory limit for non-VHT devices

2016-09-23 Thread Toke Høiland-Jørgensen
Small devices can run out of memory from queueing too many packets. If VHT is not supported by the PHY, having more than 4 MBytes of total queue in the TXQ intermediate queues is not needed, and so we can safely limit the memory usage in these cases and avoid OOM. Signed-off-by: Toke Høiland-Jørge

[PATCH 2/3] mac80211: Export fq memory limit information in debugfs

2016-09-23 Thread Toke Høiland-Jørgensen
Add memory limit, usage and overlimit counter to per-PHY 'aqm' debugfs file. Signed-off-by: Toke Høiland-Jørgensen --- net/mac80211/debugfs.c | 8 1 file changed, 8 insertions(+) diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index 8ca62b6..f56e2f4 100644 --- a/net/mac802

[PATCH 1/3] fq.h: Port memory limit mechanism from fq_codel

2016-09-23 Thread Toke Høiland-Jørgensen
The reusable fairness queueing implementation (fq.h) lacks the memory usage limit that the fq_codel qdisc has. This means that small devices (e.g. WiFi routers) can run out of memory when flooded with a large number of packets. This ports the memory limit feature from fq_codel to fq.h. Signed-off-

Re: Broadcom Firmware Rollback

2016-09-23 Thread Larry Finger
On 09/23/2016 01:45 PM, David Petrizze wrote: I see. I guess I was hoping for some sort of mishap i.e. replacing 6.20 with 6.30 without thinking. If it wasn't released, I'll keep working on compiling the Ubuntu driver I did find. If you can point me to a redistributable version of 6.20, I will

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-23 Thread Larry Finger
On 09/23/2016 01:27 PM, Joe Perches wrote: Help along debugging by showing what switch/case variable is not being processed in these messages. Signed-off-by: Joe Perches Acked-by: Larry Finger Thanks, Larry

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-23 Thread Joe Perches
On Fri, 2016-09-23 at 13:59 -0500, Larry Finger wrote: > I'm not familiar with the %#x format. What does it do? Outputs SPECIAL prefix, it's the same as "0x%x" lib/vsprintf.c: #define SPECIAL 64 /* prefix hex with "0x", octal with "0" */

Re: [PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-23 Thread Larry Finger
On 09/23/2016 01:27 PM, Joe Perches wrote: Help along debugging by showing what switch/case variable is not being processed in these messages. Signed-off-by: Joe Perches Joe, You beat me to the patch. No problem as this one looks OK; however, I'm not familiar with the %#x format. What does

Re: Broadcom Firmware Rollback

2016-09-23 Thread David Petrizze
I see. I guess I was hoping for some sort of mishap i.e. replacing 6.20 with 6.30 without thinking. If it wasn't released, I'll keep working on compiling the Ubuntu driver I did find. Thanks again On Thu, Sep 22, 2016 at 10:48 PM, Rafał Miłecki wrote: > On 23 September 2016 at 04:43, David Petri

[PATCH] realtek: Add switch variable to 'switch case not processed' messages

2016-09-23 Thread Joe Perches
Help along debugging by showing what switch/case variable is not being processed in these messages. Signed-off-by: Joe Perches --- drivers/net/wireless/realtek/rtlwifi/core.c | 3 ++- drivers/net/wireless/realtek/rtlwifi/pci.c | 3 ++- drivers/net/wireless/realtek/rtlwifi/ps

Re: rtl8192ce:rtl92ce_get_hw_reg():<0-0> switch case not processed

2016-09-23 Thread Joe Perches
On Thu, 2016-09-22 at 10:09 -0500, Larry Finger wrote: > On 09/22/2016 04:51 AM, Jean Delvare wrote: > Hello, > > > I bought an Asus PCE-N10 PCIe Wi-Fi N card to install in my wife's > computer. This morning it stopped working suddenly. Investigating the > kernel logs, the following error message

Re: rtl8192ce:rtl92ce_get_hw_reg():<0-0> switch case not processed

2016-09-23 Thread Larry Finger
On 09/23/2016 07:16 AM, Jean Delvare wrote: Hi Larry, On Thu, 22 Sep 2016 10:09:58 -0500, Larry Finger wrote: Do you build your own kernel, or are you using openSUSE's supplied version? If the latter, I will need to think how we might debug the issue. If the former, please add the attached patc

Re: staging: wilc1000: kernel Oops while opening the device

2016-09-23 Thread Greg KH
On Fri, Sep 23, 2016 at 01:17:08PM +, aditya.shan...@microchip.com wrote: > On Thursday 22 September 2016 06:04 PM, Ganesh Krishna - I00112 wrote: > >> -Original Message- > >> From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > >> Sent: Monday, September 19, 2016 7:12 PM > >

[PATCH] brcmfmac: drop unused fields from struct brcmf_pub

2016-09-23 Thread Rafał Miłecki
From: Rafał Miłecki They seem to be there from the first day. We calculate these values but never use them. Signed-off-by: Rafał Miłecki --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c | 3 --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h | 4 drivers/net/wi

Re: staging: wilc1000: kernel Oops while opening the device

2016-09-23 Thread Aditya.Shankar
On Thursday 22 September 2016 06:04 PM, Ganesh Krishna - I00112 wrote: >> -Original Message- >> From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] >> Sent: Monday, September 19, 2016 7:12 PM >> To: Nicolas Ferre >> Cc: linux-wireless@vger.kernel.org; Aditya Shankar - I16078; Gane

Re: ath10k mesh mode issue

2016-09-23 Thread Michal Kazior
On 21 September 2016 at 18:27, Matteo Grandi wrote: > Hi Michal, > thanks for the reply: > I've already loaded the ath10k_core with the rowmode parameters, this > is the modinfo result: > root@Tam:~# modinfo ath10k_core > filename: > /lib/modules/3.14.48-g408ccb9/kernel/drivers/net/wireless/ath/at

Re: rtl8192ce:rtl92ce_get_hw_reg():<0-0> switch case not processed

2016-09-23 Thread Jean Delvare
Hi Larry, On Thu, 22 Sep 2016 10:09:58 -0500, Larry Finger wrote: > Do you build your own kernel, or are you using openSUSE's supplied version? > If > the latter, I will need to think how we might debug the issue. If the former, > please add the attached patch. Lost network this morning, but n

Re: [PATCH] brcmfmac: fix memory leak in brcmf_fill_bss_param

2016-09-23 Thread Arend Van Spriel
On 21-9-2016 8:23, Rafał Miłecki wrote: > From: Rafał Miłecki > > This function is called from get_station callback which means that every > time user space was getting/dumping station(s) we were leaking 2 KiB. > Acked-by: Arend van Spriel > Signed-off-by: Rafał Miłecki > Fixes: 1f0dc59a6de (