[PATCH] mwifiex: cfg80211: do not change virtual interface during scan processing

2017-11-29 Thread Xinming Hu
From: Limin Zhu (1) Change virtual interface operation in cfg80211 process reset and reinitilize private data structure. (2) Scan result event processed in main process will dereference private data structure concurrently, ocassionly crash the kernel. The cornel case could be trigger by below st

RE: [PATCH] ath10k: unify rx processing in napi_poll

2017-11-29 Thread Rajkumar Manoharan
> I'm wondering if this patch is related to kernel crash due to ath10k napi. > > Do you think this patch helps the crash below? > > This crash happened ath10k v4.14 (10/04/2017, commit id c09dbd7) + > 3.14.43 kernel backports. > > [ 6866.655419] [ cut here ] > [ 6866.6590

RE: [PATCH] ath10k: handling qos at STA side based on AP WMM enable/disable

2017-11-29 Thread Balaji Pothunoori
Hi Sebastian, If I am not wrong you are seeing the issue with WRT3200ACM (Marvell 88W8964) as client + QCA9984 (FW : 10.4-3.5.3-00038) as AP with below change you are seeing the crash while running traffic between the WRT3200ACM + QCA9984 ? Do you used any other client

Re: [PATCH 3/4] ath10k: WMI: get wmi init parameter values from hw params

2017-11-29 Thread Sebastian Gottschall
your code is not endian safe see. cfg->num_peers = ar->hw_params.num_peers; you forgot to use __cpu_to_le32 Am 29.11.2017 um 10:51 schrieb Rakesh Pillai: The parameter values for skid limit, number of peers and wds entries values which are sent in wmi init cmd are hardware specific. Add su

Re: [PATCH] ath10k: unify rx processing in napi_poll

2017-11-29 Thread Peter Oh
Hi Rajkumar, I'm wondering if this patch is related to kernel crash due to ath10k napi. Do you think this patch helps the crash below? This crash happened ath10k v4.14 (10/04/2017, commit id c09dbd7) + 3.14.43 kernel backports. [ 6866.655419] [ cut here ] [ 6866.6590

[PATCH] ath10k: unify rx processing in napi_poll

2017-11-29 Thread Rajkumar Manoharan
With current NAPI implementation, NAPI poll can deliver more frames to net core than allotted budget. This may cause warning in napi_poll. Remaining quota is not accounted, while processing amsdus in rx_in_ord_ind and rx_ind queue. Adding num_msdus at last can not prevent delivering more frames to

[PATCH v3 31/36] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer

2017-11-29 Thread Anna-Maria Gleixner
From: Thomas Gleixner Switch the timer to HRTIMER_MODE_SOFT, which executed the timer callback in softirq context and remove the hrtimer_tasklet. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Cc: linux-wireless@vger.kernel.org Cc: Johannes Berg Cc: Kalle Valo --- drivers

Re: [PATCH] ath10k: handling qos at STA side based on AP WMM enable/disable

2017-11-29 Thread Sebastian Gottschall
Am 29.11.2017 um 11:12 schrieb Balaji Pothunoori: Hi Sebastian, If I am not wrong you are seeing the issue with WRT3200ACM (Marvell 88W8964) as client + QCA9984 (FW : 10.4-3.5.3-00038) as AP with below change you are seeing the crash while running traffic between the WRT3200ACM + QCA9984 ? Do

Re: [PATCH 5/8] Bluetooth: btrsi: add new rsi bluetooth driver

2017-11-29 Thread Marcel Holtmann
Hi Amitkumar, >>> Redpine bluetooth driver is a thin driver which depends on >>> 'rsi_91x' driver for transmitting and receiving packets >>> to/from device. It creates hci interface when attach() is >>> called from 'rsi_91x' module. >>> >>> Signed-off-by: Prameela Rani Garnepudi >>> Signed-off-b

[v2 5/8] Bluetooth: btrsi: add new rsi bluetooth driver

2017-11-29 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi Redpine bluetooth driver is a thin driver which depends on 'rsi_91x' driver for transmitting and receiving packets to/from device. It creates hci interface when attach() is called from 'rsi_91x' module. Signed-off-by: Prameela Rani Garnepudi Signed-off-by: Siva Reb

[v2 7/8] rsi: add module parameter operating mode

2017-11-29 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi Operating mode determines the support for other protocols. This is made as module parameter for better usage. Signed-off-by: Prameela Rani Garnepudi Signed-off-by: Siva Rebbagondla Signed-off-by: Amitkumar Karwar --- drivers/net/wireless/rsi/rsi_91x_main.c | 58

[v2 4/8] rsi: add coex support

2017-11-29 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi With BT support, driver has to handle two streams of data (i.e. wlan and BT). Actual coex implementation is in firmware. Coex module just schedule the packets to firmware by taking them from the corresponding paths. Structures for module and protocol operations are

[v2 6/8] rsi: handle BT traffic in driver

2017-11-29 Thread Amitkumar Karwar
From: Siva Rebbagondla BT frames are passed through coex and hal modules to BUS. After firmware is loaded, based on the operating mode CARD READY frame comes for each protocol. When BT card ready is received, BT attach is called. Protocol operations are exchanged between the modules at initializa

[v2 8/8] rsi: sdio changes to support BT

2017-11-29 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi Queue number is correctly updated for BT traffic. Also, kzalloc instead of kmalloc is used for Rx packet allocation. Signed-off-by: Prameela Rani Garnepudi Signed-off-by: Amitkumar Karwar --- drivers/net/wireless/rsi/rsi_91x_sdio.c | 2 ++ drivers/net/wireles

[v2 2/8] rsi: add bluetooth rx endpoint

2017-11-29 Thread Amitkumar Karwar
From: Siva Rebbagondla USB endpoint 1 is used for WLAN which is presently in use. USB endpoint 2 is introduced for BT Rx traffic. Enumeration of Rx BT endpoint and submitting Rx BT URB are added. >From /sys/kernel/debug/usb/devices, Ad=81(I) is for WLAN EP IN and Ad=01(O) is for Wlan EP OUT. Ad=

[v2 3/8] rsi: add header file rsi_header

2017-11-29 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi The common parameters used by wlan and bt modules are added to a new header file "rsi_header.h" defined in '/include/linux' Signed-off-by: Prameela Rani Garnepudi Signed-off-by: Siva Rebbagondla Signed-off-by: Amitkumar Karwar --- drivers/net/wireless/rsi/rsi_ma

[v2 0/8] rsi: add bluetooth and coex support

2017-11-29 Thread Amitkumar Karwar
From: Amitkumar Karwar This patch series adds new bluetooth driver and coex enhancments in existing wlan driver for RSI chipsets. As per our architecture, both wlan and bluetooth drivers talk over same SDIO interface to device. Separate endpoint will be used in case of USB interface. Changes sin

[v2 1/8] rsi: add rx control block to handle rx packets in USB

2017-11-29 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi Rx bluetooth endpoint shall be added in further patches. Rx control block is introduced here to handle Rx packets properly. Separate function is written to initialize the RX control blocks. Signed-off-by: Prameela Rani Garnepudi Signed-off-by: Siva Rebbagondla Sig

Re: [PATCH 5/8] Bluetooth: btrsi: add new rsi bluetooth driver

2017-11-29 Thread Amitkumar Karwar
On Wed, Nov 15, 2017 at 9:07 PM, Marcel Holtmann wrote: > Hi Amitkumar, > >> Redpine bluetooth driver is a thin driver which depends on >> 'rsi_91x' driver for transmitting and receiving packets >> to/from device. It creates hci interface when attach() is >> called from 'rsi_91x' module. >> >> Sig

Re: [PATCH 6/6] iwlwifi: fix access to prph when transport is stopped

2017-11-29 Thread Luca Coelho
On Wed, 2017-11-29 at 12:23 +0200, Kalle Valo wrote: > Luca Coelho writes: > > > From: Sara Sharon > > > > When getting HW rfkill we get stop_device being called from > > two paths. > > One path is the IRQ calling stop device, and updating op > > mode and stack. > > As a result, cfg80211 is run

Re: [PATCH 6/6] iwlwifi: fix access to prph when transport is stopped

2017-11-29 Thread Kalle Valo
Luca Coelho writes: > From: Sara Sharon > > When getting HW rfkill we get stop_device being called from > two paths. > One path is the IRQ calling stop device, and updating op > mode and stack. > As a result, cfg80211 is running rfkill sync work that shuts > down all devices (second path). > In

Re: [PATCH 6/6] iwlwifi: fix access to prph when transport is stopped

2017-11-29 Thread Kalle Valo
Kalle Valo writes: > Luca Coelho writes: > >> From: Sara Sharon >> >> When getting HW rfkill we get stop_device being called from two paths. >> One path is the IRQ calling stop device, and updating op mode and >> stack. As a result, cfg80211 is running rfkill sync work that shuts >> down all de

Re: [PATCH 6/6] iwlwifi: fix access to prph when transport is stopped

2017-11-29 Thread Kalle Valo
Luca Coelho writes: > From: Sara Sharon > > When getting HW rfkill we get stop_device being called from two paths. > One path is the IRQ calling stop device, and updating op mode and > stack. As a result, cfg80211 is running rfkill sync work that shuts > down all devices (second path). In the se

RE: [PATCH] ath10k: handling qos at STA side based on AP WMM enable/disable

2017-11-29 Thread Balaji Pothunoori
>> Hi Sebastian, >> >> If I am not wrong you are seeing the issue with WRT3200ACM (Marvell 88W8964) >> as client + QCA9984 (FW : 10.4-3.5.3-00038) as AP with below change you are >> seeing the crash while running traffic between the WRT3200ACM + QCA9984 ? >> Do you used any other client in place

[PATCH 2/4] ath10k: WMI: Add management tx by reference support over wmi

2017-11-29 Thread Rakesh Pillai
HL1.0 firmware branch, used in wcn3990, transmits management frames by reference over WMI. Add support for management tx by reference over WMI. Signed-off-by: Rakesh Pillai Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c| 1 + drivers/net/wireless/ath/ath10k/core.h

[PATCH 3/4] ath10k: WMI: get wmi init parameter values from hw params

2017-11-29 Thread Rakesh Pillai
The parameter values for skid limit, number of peers and wds entries values which are sent in wmi init cmd are hardware specific. Add support to obtain skid limit, number of peers and wds entries values from hw params which will have the hw specific values for these parameters. Signed-off-by: Rak

[PATCH 4/4] ath10k: WMI: add hw params entry for wcn3990

2017-11-29 Thread Rakesh Pillai
Add hw params entry for wcn3990 and populate various target specific values for wcn3990. Signed-off-by: Rakesh Pillai Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c | 18 ++ drivers/net/wireless/ath/ath10k/hw.c | 2 ++ drivers/net/wireless/ath/ath10k/h

[PATCH 1/4] ath10k: WMI: modify svc bitmap parsing for wcn3990

2017-11-29 Thread Rakesh Pillai
Due to the limitation of wmi tlv parsing logic, if there are two parameters in a wmi event with same tlv tag, we can get only the last value, as it overwrites the prev value of the same tlv tag. The service ready event in wcn3990 contains two parameters of the same tag UINT32, due to which the svc

Re: [PATCH] ath10k: handling qos at STA side based on AP WMM enable/disable

2017-11-29 Thread Sebastian Gottschall
Am 29.11.2017 um 07:58 schrieb Balaji Pothunoori: Hi Sebastian, If I am not wrong you are seeing the issue with WRT3200ACM (Marvell 88W8964) as client + QCA9984 (FW : 10.4-3.5.3-00038) as AP with below change you are seeing the crash while running traffic between the WRT3200ACM + QCA9984 ? Do

Re: pull-request: iwlwifi 2017-11-19

2017-11-29 Thread Luca Coelho
On Wed, 2017-11-29 at 08:51 +0100, Sedat Dilek wrote: > On Tue, Nov 21, 2017 at 11:10 AM, Luca Coelho wrote: > > On Tue, 2017-11-21 at 10:30 +0100, Sedat Dilek wrote: > > > On Mon, Nov 20, 2017 at 12:02 PM, Luca Coelho > > > wrote: > > > [..] > > > > --

pull-request: iwlwifi-next 2017-11-29

2017-11-29 Thread Luca Coelho
Hi Kalle, This is my first batch of patches intended for v4.16. As I mentioned in the patchset thread, I removed patch 08/11 because it was broken. More details about the contents in the tag description. I have sent this out before and kbuildbot reported success. Please let me know if there ar