firmware in a bad state (module mwifiex)

2015-08-05 Thread Julien Cubizolles
I'm running kernel 4.2.0-rc3 with the following patches to the mwifiex driver, thanks to your advice. Do you have following USB chipset specific fixes included? http://www.spinics.net/lists/linux-wireless/msg129129.html http://www.spinics.net/lists/netdev/msg334367.html I've recently noticed

RE: [PATCH v5] Add new mac80211 driver mwlwifi.

2015-08-05 Thread Chor Teck Law
On Tuesday 04 Aug 2015 à 20:02:23 (+0300), Kalle Valo wrote: I haven't looked at the driver myself yet. Do you have any estimates how much duplication there is? I do think that someone interested in this thread should compare the two drivers to decide if they want to accept mwlwifi

RE: firmware in a bad state (module mwifiex)

2015-08-05 Thread Amitkumar Karwar
Hi Julien, From: Julien Cubizolles [mailto:j.cubizol...@free.fr] Sent: Wednesday, August 05, 2015 12:01 PM To: Amitkumar Karwar Cc: linux-wireless@vger.kernel.org Subject: firmware in a bad state (module mwifiex) I'm running kernel 4.2.0-rc3 with the following patches to the mwifiex

Re: firmware in a bad state (module mwifiex)

2015-08-05 Thread Julien Cubizolles
Amitkumar Karwar akar...@marvell.com writes: This looks like a command timeout problem probably caused due to a bug in firmware. How frequently do you see this problem? Are there any specific steps to recreate it? Surprisingly, it's reproducible: loading

[PATCH] ath10k: fix hw reconfig on wow failure

2015-08-05 Thread Michal Kazior
When WoWLAN resume fails with retval 1 mac80211 will attempt to reconfig the device in a similar manner when hw restart is requested. This wasn't handled properly and yielded call trace warnings and the device ended up not working. Signed-off-by: Michal Kazior michal.kaz...@tieto.com ---

[PATCH 1/2] ath10k: don't remove peer that doesn't exist

2015-08-05 Thread Michal Kazior
If peer creation failed during offchannel Tx the driver attempted to delete the peer nonetheless. This caused the ar-num_peers counter to be incorrectly decremented. This subsequently could cause the counter to drop below 0 and also eventually lead to firmware crash because host would think there

[PATCH 2/2] ath10k: fix peer limit enforcement

2015-08-05 Thread Michal Kazior
Firmware peer entries are involved in internal firmware vdev structures. This was not accounted for and could lead firmware to crash due to asking it to do more than it could. Fixes: 039a0051ec1a (ath10k: allocate fw resources for iface combinations) Signed-off-by: Michal Kazior

Re: [PATCH] ath10k: Add QCA99X0 to supported device list

2015-08-05 Thread Felix Fietkau
On 2015-07-21 13:36, Vasanthakumar Thiagarajan wrote: Add vendor/device id of QCA99X0 V2.0 to pci id table and QCA99X0_HW_2_0_CHIP_ID_REV to ath10k_pci_supp_chips[] for QCA99X0 to get detected by the driver. Signed-off-by: Vasanthakumar Thiagarajan vthia...@qti.qualcomm.com I just tested a

RE: [PATCH v2 3/3] mwifiex: fix unable to connect hidden SSID AP on DFS channel

2015-08-05 Thread Amitkumar Karwar
Hi Paul, + if (mwifiex_is_hidden_ssid(bss_desc-ssid)) { + mwifiex_dbg(priv-adapter, INFO, found hidden SSID\n); + for (chid = 0 ; chid MWIFIEX_USER_SCAN_CHAN_MAX; chid++) { + if (priv-hidden_chan[chid].chan_number == 0) { +

[PATCH v3 2/3] mwifiex: add firmware dump support for SD8997

2015-08-05 Thread Amitkumar Karwar
From: Zhaoyang Liu li...@marvell.com This patch adds firmware dump feature for SD8997 chipset. The difference here is only one memory type is needed to save all firmware information. Device dump information will be uploaded to usersapace file. Signed-off-by: Zhaoyang Liu li...@marvell.com

[PATCH v3 1/3] mwifiex: add support for 8997 chipset

2015-08-05 Thread Amitkumar Karwar
From: Zhaoyang Liu li...@marvell.com This patch adds support for 8997 chipset to mwifiex with SDIO/PCIe/USB interface. The corresponding firmware image files are located in: mrvl/sd8997_uapsta.bin mrvl/pcie8997_uapsta.bin mrvl/usb8997_uapsta.bin Signed-off-by: Zhaoyang Liu li...@marvell.com

[PATCH v3 3/3] mwifiex: fix unable to connect hidden SSID AP on DFS channel

2015-08-05 Thread Amitkumar Karwar
From: chunfan chen je...@marvell.com We will check if any hidden SSID found in passive scan channels and do specific SSID active scan for those channels. Signed-off-by: chunfan chen je...@marvell.com Signed-off-by: Amitkumar Karwar akar...@marvell.com --- v2: Corrected hidden SSID detection

RE: [patch] mwifiex: usb: return an error if kmalloc fails

2015-08-05 Thread Amitkumar Karwar
Hi Dan, From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Tuesday, August 04, 2015 1:19 PM To: Amitkumar Karwar Cc: Nishant Sarmukadam; Kalle Valo; linux-wireless@vger.kernel.org; kernel-janit...@vger.kernel.org Subject: [patch] mwifiex: usb: return an error if kmalloc fails

[PATCH] mac80211: Fix oops in OCB mode when receiving data when not joined

2015-08-05 Thread Bertold Van den Bergh
The current implementation in ocb.c can cause a kernel oops when the interface is up, but no ocb has been joined. When data is received with the broadcast BSSID rx_no_sta is called. This function uses uninitialized variables because the join function has not yet been used. Signed-off-by: Bertold

[PATCH 1/5] device property: helper macros for property entry creation

2015-08-05 Thread Heikki Krogerus
Marcos for easier creation of build-in property entries. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- include/linux/property.h | 35 +++ 1 file changed, 35 insertions(+) diff --git a/include/linux/property.h b/include/linux/property.h index

[PATCH 2/5] net: rfkill: add rfkill_find_type function

2015-08-05 Thread Heikki Krogerus
Helper for finding the type based on name. Useful if the type needs to be determined based on device property. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- include/linux/rfkill.h | 15 + net/rfkill/core.c | 57

[PATCH 4/5] ARM: tegra: use build-in device properties with rfkill_gpio

2015-08-05 Thread Heikki Krogerus
Pass the rfkill name and type to the device with properties instead of driver specific platform data. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com CC: Alexandre Courbot gnu...@gmail.com CC: Thierry Reding thierry.red...@gmail.com CC: Stephen Warren swar...@wwwdotorg.org ---

[PATCH 5/5] net: rfkill: gpio: remove rfkill_gpio_platform_data

2015-08-05 Thread Heikki Krogerus
No more users for it. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- include/linux/rfkill-gpio.h | 37 - net/rfkill/Kconfig | 3 +-- net/rfkill/rfkill-gpio.c| 8 3 files changed, 1 insertion(+), 47 deletions(-)

[PATCH 0/5] net: rfkill: gpio: replace platform data with build-in property

2015-08-05 Thread Heikki Krogerus
The first patch adds a few helper macros for build-in property creation and the second makes it possible to get the rfkill type index based on name. The rest deal with rfkill-gpio. Cheers, Heikki Krogerus (5): device property: helper macros for property entry creation net: rfkill: add

[PATCH 3/5] net: rfkill: gpio: get the name and type from device property

2015-08-05 Thread Heikki Krogerus
This prepares the driver for removal of platform data. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- net/rfkill/rfkill-gpio.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index

[PATCH 2/5] mac80211: Set txrc.bss to true for OCB interfaces

2015-08-05 Thread Bertold Van den Bergh
To make mac80211 accept the multicast rate requested by the user the rate control should be told that it is operating in BSS mode. Without this, the default rate is selected in rate_control_send_low (!pubsta and !txrc-bss) Signed-off-by: Bertold Van den Bergh bertold.vandenbe...@esat.kuleuven.be

[PATCH 1/5] nl80211: Allow setting multicast rate on OCB interfaces

2015-08-05 Thread Bertold Van den Bergh
Allow setting multicast rate on OCB interfaces. Current behaviour results in EOPNOTSUPP when attempting this. Signed-off-by: Bertold Van den Bergh bertold.vandenbe...@esat.kuleuven.be --- net/wireless/nl80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 3/5] mac80211: Create STA when transmitting to unknown station in OCB mode

2015-08-05 Thread Bertold Van den Bergh
Create a new STA when requested to unicast a frame to an unknown station. This is needed to make ratecontrol work in the case where data is sent from sta A to B and sta B never replies. Currently, sta B will stay unknown to mac80211 and the default rate will always be used. Signed-off-by: Bertold

Re: [PATCH 1/5] device property: helper macros for property entry creation

2015-08-05 Thread Andy Shevchenko
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote: Marcos for easier creation of build-in property entries. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- include/linux/property.h | 35 +++ 1 file changed, 35 insertions(+) diff

[PATCH 5/5] mac80211: Make OCB mode set BSSID

2015-08-05 Thread Bertold Van den Bergh
Perform the BSS_CHANGED_BSSID action when joining an OCB network. This is required to set the broadcast BSSID in some network drivers. Signed-off-by: Bertold Van den Bergh bertold.vandenbe...@esat.kuleuven.be --- net/mac80211/ocb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 2/5] net: rfkill: add rfkill_find_type function

2015-08-05 Thread Andy Shevchenko
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote: Helper for finding the type based on name. Useful if the type needs to be determined based on device property. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- include/linux/rfkill.h | 15 +

Re: [PATCH 1/5] device property: helper macros for property entry creation

2015-08-05 Thread Shevchenko, Andriy
On Wed, 2015-08-05 at 17:02 +0300, Andy Shevchenko wrote: On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote: [] +#define PROP_ENTRY_STRING(_name_, _val_) { \ …_STRING_ARRAY I can notice. s / can / can't / + .name = _name_, \ + .type = DEV_PROP_STRING, \ + .nval = 1,

Re: [PATCH 5/5] net: rfkill: gpio: remove rfkill_gpio_platform_data

2015-08-05 Thread Andy Shevchenko
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote: No more users for it. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- include/linux/rfkill-gpio.h | 37 --- -- net/rfkill/Kconfig | 3 +-- net/rfkill/rfkill-gpio.c|

Re: [PATCH v5] Add new mac80211 driver mwlwifi.

2015-08-05 Thread Maxime Bizon
On Wednesday 05 Aug 2015 à 08:39:28 (+), Chor Teck Law wrote: Last words, The mwl8k series had its history, since 2009 with the Topdog series (Beyond our scope to comment). The mwlwifi have been developed over past year or so for the Avastar AP chips, being incorrect, mwl8k also support

RE: [PATCH v5] Add new mac80211 driver mwlwifi.

2015-08-05 Thread Chor Teck Law
-Original Message- From: Maxime Bizon [mailto:mbi...@freebox.fr] Sent: Wednesday, August 05, 2015 7:22 AM On Wednesday 05 Aug 2015 à 08:39:28 (+), Chor Teck Law wrote: Last words, The mwl8k series had its history, since 2009 with the Topdog series (Beyond our scope to

[PATCH v2 0/3] drivers: staging: wilc1000: Fix a few style errors

2015-08-05 Thread Chandra S Gorentla
v2 - Resending as v1 patch series did not apply cleanly. These patches fixes a few style errors reported by checkpatch.pl. PATCH 3/3 should be applied after PATCH 2/3. -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org

[PATCH v2 1/3] drivers: staging: wilc1000: use 'void' for no arguments functions

2015-08-05 Thread Chandra S Gorentla
Added 'void' keyword in the paranthesis of function definitions, when there are no arguments to the functions. This fixes the checkpatch.pl error - Bad function definition 'function()' should probably be function(void). --- drivers/staging/wilc1000/linux_mon.c | 2 +-

[PATCH v2 3/3] drivers: staging: wilc1000: remove space after '('

2015-08-05 Thread Chandra S Gorentla
The character ' ' is removed after the character '('. This fixes the checkpatch.pl error - space prohibited after that open parenthesis '('. --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 2/3] drivers: staging: wilc1000: move { to previous line

2015-08-05 Thread Chandra S Gorentla
Moved the opening brace of code blocks to the previous lines. This fixes the checkpatch.pl error - that open brace { should be on the previous line. --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH V2 NEXT 6/7] rtlwifi: rtl8723be: Implement new rekey logic

2015-08-05 Thread Larry Finger
From: pkshih pks...@realtek.com Use the new capability in rtlwifi to prevent rekeying before EAPOL msg 4/4 has been sent. Signed-off-by: pkshih pks...@realtek.com Signed-off-by: shaofu sha...@realtek.com Signed-off-by: Larry Finger larry.fin...@lwfinger.net --- V2 - no changes ---

[PATCH V2 NEXT 7/7] rtlwifi: rtl8821ae: Implement new rekey logic

2015-08-05 Thread Larry Finger
From: pkshih pks...@realtek.com Use the new capability in rtlwifi to prevent rekeying before EAPOL msg 4/4 has been sent. Signed-off-by: pkshih pks...@realtek.com Signed-off-by: shaofu sha...@realtek.com Signed-off-by: Larry Finger larry.fin...@lwfinger.net --- V2 - no changes ---

[PATCH V2 NEXT 5/7] rtlwifi: rtl8192ee: Implement new rekey logic

2015-08-05 Thread Larry Finger
From: pkshih pks...@realtek.com Use the new capability in rtlwifi to prevent rekeying before EAPOL msg 4/4 has been sent. Signed-off-by: pkshih pks...@realtek.com Signed-off-by: shaofu sha...@realtek.com Signed-off-by: Larry Finger larry.fin...@lwfinger.net --- V2 - no changes ---

Re: [PATCH v2 1/3] drivers: staging: wilc1000: use 'void' for no arguments functions

2015-08-05 Thread Greg KH
On Wed, Aug 05, 2015 at 09:43:00PM +0530, Chandra S Gorentla wrote: Added 'void' keyword in the paranthesis of function definitions, when there are no arguments to the functions. This fixes the checkpatch.pl error - Bad function definition 'function()' should probably be function(void).

[PATCH v3 3/3] drivers: staging: wilc1000: remove space after '('

2015-08-05 Thread Chandra S Gorentla
The character ' ' is removed after the character '('. This fixes the checkpatch.pl error - space prohibited after that open parenthesis '('. Signed-off-by: Chandra S Gorentla csgoren...@gmail.com --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 1/3] drivers: staging: wilc1000: use 'void' for no arguments functions

2015-08-05 Thread Chandra S Gorentla
Added 'void' keyword in the paranthesis of function definitions, when there are no arguments to the functions. This fixes the checkpatch.pl error - Bad function definition 'function()' should probably be function(void). Signed-off-by: Chandra S Gorentla csgoren...@gmail.com ---

[PATCH v3 2/3] drivers: staging: wilc1000: move { to previous line

2015-08-05 Thread Chandra S Gorentla
Moved the opening brace of code blocks to the previous lines. This fixes the checkpatch.pl error - that open brace { should be on the previous line. Signed-off-by: Chandra S Gorentla csgoren...@gmail.com --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 9 +++-- 1 file changed, 3

[PATCH v3 0/3] drivers: staging: wilc1000: Fix a few style errors

2015-08-05 Thread Chandra S Gorentla
v3 - Resending as v2 patch was series missing signedoff line. Corrected now. v2 - Resending as v1 patch series did not apply cleanly. These patches fixes a few style errors reported by checkpatch.pl. PATCH 3/3 should be applied after PATCH 2/3. -- To unsubscribe from this list: send the line

Re: QCA6174 hw2.1 irq_mode=0 broken on 4.2-rc3, working on 4.1.2

2015-08-05 Thread Enrico Tagliavini
Bisect is done, unfortunately I think there is no good news $ git bisect log git bisect start '--' 'drivers/net/wireless/ath/ath10k/' # bad: [86ea07ca846a7c352f39dd0b7d81f15f403c7db8] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux git bisect bad