RE: mwifiex problem: incompatible network settings

2015-10-29 Thread Amitkumar Karwar
Hi Julien, > From: Julien Cubizolles [mailto:j.cubizol...@free.fr] > Sent: Thursday, October 29, 2015 3:09 AM > To: Dan Williams > Cc: Amitkumar Karwar; linux-wireless@vger.kernel.org > Subject: Re: mwifiex problem: incompatible network settings > > Dan Williams writes: > > >

Re: [PATCH-v2 1/2] ath6k: break stats gathering code into separate method.

2015-10-29 Thread Kalle Valo
gree...@candelatech.com writes: > From: Ben Greear > > This will allow us to call it from elsewhere when implementing > ethtool stats. > > Signed-off-by: Ben Greear Both patches applied, thanks. -- Kalle Valo -- To unsubscribe from this list:

Re: [PATCH 1/3] ath6k: report antenna configuration.

2015-10-29 Thread Kalle Valo
gree...@candelatech.com writes: > From: Ben Greear > > This lets 'iw phy phy0 info' report antennas for > the radio device: > > ... > Available Antennas: TX 0x2 RX 0x2 > Configured Antennas: TX 0x2 RX 0x2 > ... > > Signed-off-by: Ben Greear

[PATCH 1/3] ath10k: Add new service defines for 10.4

2015-10-29 Thread Vasanthakumar Thiagarajan
No functional changes, adds new wmi service bits for 10.4 firmware to be sync with 10.4 firmware. Signed-off-by: Vasanthakumar Thiagarajan --- drivers/net/wireless/ath/ath10k/wmi.h | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH 0/3] Add new WMI defines to 10.4

2015-10-29 Thread Vasanthakumar Thiagarajan
This patch set does not have any real functionality changes. Adds new WMI defines to be in sync with 10.4 firmware. Vasanthakumar Thiagarajan (3): ath10k: Add new service defines for 10.4 ath10k: Add new WMI cmd/event defines for 10.4 ath10k: Add new pdev params defines to 10.4

[PATCH 3/3] ath10k: Add new pdev params defines to 10.4

2015-10-29 Thread Vasanthakumar Thiagarajan
No functionality change, just sync to the latest pdev params that 10.4 firmware defines. Signed-off-by: Vasanthakumar Thiagarajan --- drivers/net/wireless/ath/ath10k/wmi.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/wmi.h

[PATCH 2/3] ath10k: Add new WMI cmd/event defines for 10.4

2015-10-29 Thread Vasanthakumar Thiagarajan
No real functionality change, add WMI command/event defines to be in sync with 10.4 firmware. Signed-off-by: Vasanthakumar Thiagarajan --- drivers/net/wireless/ath/ath10k/wmi.h | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH 0/4] wil6210 patches

2015-10-29 Thread Kalle Valo
Vladimir Kondratiev writes: > Collection of small fixes > > Hamad Kadmany (1): > wil6210: Fix TSO overflow handling > > Vladimir Kondratiev (3): > wil6210: ignore selected WMI events > wil6210: fix device ready detection > wil6210: handle failure in Tx

[PATCH 05/12] staging: wilc1000: rename pu8MacAddr in host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes pu8MacAddr to mac_addr that is second argument of this function to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4

[PATCH 02/12] staging: wilc1000: fix parameter name of host_int_del_beacon

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_beacon function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim ---

[PATCH 04/12] staging: wilc1000: fix parameter name of host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_station function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim ---

[PATCH 01/12] staging: wilc1000: fix return type of host_int_del_beacon

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_del_beacon from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH 09/12] staging: wilc1000: rename pstrStaParams in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrStaParams to sta_param to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 08/12] staging: wilc1000: fix parameter name of host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_add_station function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim ---

[PATCH 06/12] staging: wilc1000: rename pstrDelStationMsg in host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrDelStationMsg to del_sta_info to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c

[PATCH 07/12] staging: wilc1000: fix return type of host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_add_station from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH 12/12] staging: wilc1000: remove rates in host_int_add_station

2015-10-29 Thread Chaehyun Lim
Instead of using rates variable, it is used as add_sta_info->pu8Rates directly. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH 10/12] staging: wilc1000: rename pstrAddStationMsg in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrAddStationMsg to add_sta_info to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c

[PATCH 11/12] staging: use kmemdup in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch replaces kmalloc followed by memcpy with kmemdup. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c

Re: mwifiex problem: incompatible network settings

2015-10-29 Thread Ujjal Roy
Hi Amit/Julien, On Thu, Oct 29, 2015 at 5:57 PM, Amitkumar Karwar wrote: > > Hi Julien, > > > From: Julien Cubizolles [mailto:j.cubizol...@free.fr] > > Sent: Thursday, October 29, 2015 3:09 AM > > To: Dan Williams > > Cc: Amitkumar Karwar; linux-wireless@vger.kernel.org > >

Re: mwifiex problem: incompatible network settings

2015-10-29 Thread Dan Williams
On Thu, 2015-10-29 at 12:27 +, Amitkumar Karwar wrote: > Hi Julien, > > > From: Julien Cubizolles [mailto:j.cubizol...@free.fr] > > Sent: Thursday, October 29, 2015 3:09 AM > > To: Dan Williams > > Cc: Amitkumar Karwar; linux-wireless@vger.kernel.org > > Subject: Re: mwifiex problem:

Re: [PATCH-v2 1/2] ath6k: break stats gathering code into separate method.

2015-10-29 Thread Ben Greear
On 10/28/2015 01:09 PM, Kalle Valo wrote: gree...@candelatech.com writes: From: Ben Greear This will allow us to call it from elsewhere when implementing ethtool stats. Signed-off-by: Ben Greear I'll do s/ath6k/ath6kl/ (manually) for both

Re: [PATCH 0/9] brcmfmac: new device support and cleanup

2015-10-29 Thread Kalle Valo
Arend van Spriel writes: > Here a smallish series which hopefully can make it in 4.4 release. The > highlights are: > > * support bcm4359 which can operate in two bands concurrently. > * disable runtime pm for USB avoiding issues. > * use generic pm callback in PCIe driver. >

pull-request: wireless-drivers-next 2015-10-29

2015-10-29 Thread Kalle Valo
Hi Dave, here's hopefully my last pull request for 4.4. ssb had a new Kconfig entry and that's why this touches arch/mips/bcm47xx/Kconfig. ssb also did some code shuffling and moved code from b43 to ssb subsystem. Otherwise should be business as usual. While writing this I noticed that Fengwei

Re: [PATCH] wcn36xx: Remove warning message when dev is NULL for arm64 dma_alloc.

2015-10-29 Thread Kalle Valo
"Yin, Fengwei" writes: > arm64 has requirement that all the dma operations have actual device. > Otherwise, following warnning message shown and dma allocation fails: > > WARNING: CPU: 0 PID: 954 at arch/arm64/mm/dma-mapping.c:106 > __dma_alloc+0x24c/0x258() > Use an

[PATCH 5/9] brcmfmac: Disable runtime pm for USB.

2015-10-29 Thread Arend van Spriel
From: Hante Meuleman Currently runtime pm is enabled for USB, but it is not properly supported by driver. This patch disables the runtime PM support completely for USB, as it currently can result in problems on some systems. Reviewed-by: Arend Van Spriel

[PATCH 6/9] brcmfmac: Add RSDB support.

2015-10-29 Thread Arend van Spriel
From: Hante Meuleman RSDB works almost autonomously in firmware except for AP config. When device supports RSDB then the interface should not be brought down when configuring it, otherwise the link (if configured) on the other interface will be lost. Reviewed-by: Arend

[PATCH 1/9] brcmfmac: Add support for the BCM4359 11ac RSDB PCIE device.

2015-10-29 Thread Arend van Spriel
From: Hante Meuleman Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spriel ---

[PATCH 0/9] brcmfmac: new device support and cleanup

2015-10-29 Thread Arend van Spriel
Here a smallish series which hopefully can make it in 4.4 release. The highlights are: * support bcm4359 which can operate in two bands concurrently. * disable runtime pm for USB avoiding issues. * use generic pm callback in PCIe driver. * support wowlan wake indication reporting. The series is

[PATCH 3/9] brcmfmac: Remove unnecessary check from start_xmit.

2015-10-29 Thread Arend van Spriel
From: Hante Meuleman The brcmf_netdev_start_xmit checks if the ndev is still valid by checking if it still exists in database. This check is not needed and therefor removed. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts

[PATCH 4/9] brcmfmac: Remove unncessary variable irq_requested.

2015-10-29 Thread Arend van Spriel
From: Hante Meuleman The variable irq_requested is unneeded as the functionality it is providing, is also provided by the variable irq_allocated. Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman

[PATCH 9/9] brcmfmac: Add wowl wake indication report.

2015-10-29 Thread Arend van Spriel
From: Hante Meuleman On wakeup of the system (resume) a wowl wakeup indication report can be sent to cfg80211. This patch adds support for this. The report specifies if the device was responsible for the wakeup and if so, will specify the exact reason. Reviewed-by: Arend

[PATCH 2/9] brcmfmac: Simplify and fix usage of brcmf_ifname.

2015-10-29 Thread Arend van Spriel
From: Hante Meuleman brcmf_ifname is a debug function to return a name related to an ifp, but is using a rather complex implementation. It was also used wrongly from bcdc as it did not use the bsscfgidx as it was supposed to, but bssidx. This patch fixes that bug and

[PATCH 7/9] brcmfmac: Use consistent naming for bsscfgidx.

2015-10-29 Thread Arend van Spriel
From: Hante Meuleman The variable bsscfgidx is used in different places with different names, e.g. bsscfg, bssidx, bsscfg_idx. This patch cleans this up by using bsscfgidx everywhere. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts

[PATCH 8/9] brcmfmac: Use new methods for pcie Power Management.

2015-10-29 Thread Arend van Spriel
From: Hante Meuleman Currently the legacy methods suspend and resume are used for pcie devices. This is not the preferable method and is also causing issues with some setups when doing hibernate. Changing this to use the new PM methods. Reviewed-by: Arend Van Spriel

[PATCH V2 07/12] staging: wilc1000: fix return type of host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_add_station from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH V2 02/12] staging: wilc1000: fix parameter name of host_int_del_beacon

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_beacon function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12

[PATCH V2 04/12] staging: wilc1000: fix parameter name of host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_station function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim --- V2: resend because

[PATCH V2 06/12] staging: wilc1000: rename pstrDelStationMsg in host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrDelStationMsg to del_sta_info to avoid camelcase. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH V2 11/12] staging: wilc1000: use kmemdup in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch replaces kmalloc followed by memcpy with kmemdup. Signed-off-by: Chaehyun Lim --- V2: add wilc1000 driver name in commit title because driver name is not included at V1. drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3

[PATCH V2 01/12] staging: wilc1000: fix return type of host_int_del_beacon

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_del_beacon from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH V2 10/12] staging: wilc1000: rename pstrAddStationMsg in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrAddStationMsg to add_sta_info to avoid camelcase. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] wcn36xx: Remove warning message when dev is NULL for arm64 dma_alloc.

2015-10-29 Thread fengwei.yin
On 2015/10/30 4:01, Kalle Valo wrote: "Yin, Fengwei" writes: arm64 has requirement that all the dma operations have actual device. Otherwise, following warnning message shown and dma allocation fails: WARNING: CPU: 0 PID: 954 at arch/arm64/mm/dma-mapping.c:106

Re: [PATCH] wcn36xx: Remove warning message when dev is NULL for arm64 dma_alloc.

2015-10-29 Thread fengwei.yin
On 2015/10/30 7:32, fengwei.yin wrote: On 2015/10/30 4:01, Kalle Valo wrote: "Yin, Fengwei" writes: arm64 has requirement that all the dma operations have actual device. Otherwise, following warnning message shown and dma allocation fails: WARNING: CPU: 0 PID: 954

[PATCH V2 08/12] staging: wilc1000: fix parameter name of host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_add_station function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim --- V2: resend because

[PATCH V2 03/12] staging: wilc1000: fix return type of host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_del_station from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH V2 05/12] staging: wilc1000: rename pu8MacAddr in host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes pu8MacAddr to mac_addr that is second argument of this function to avoid camelcase. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 6 +++---

[PATCH V2 09/12] staging: wilc1000: rename pstrStaParams in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrStaParams to sta_param to avoid camelcase. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4

[PATCH V2 12/12] staging: wilc1000: remove rates in host_int_add_station

2015-10-29 Thread Chaehyun Lim
Instead of using rates variable, it is used as add_sta_info->pu8Rates directly. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff

Re: [PATCH] wcn36xx: Remove warning message when dev is NULL for arm64 dma_alloc.

2015-10-29 Thread Nicolas Dechesne
On Fri, Oct 30, 2015 at 12:34 AM, fengwei.yin wrote: >>> >>> >>> Please fix your name. I don't know why but your name in git statistics >>> is now "yfw": >>> >>> yfw (1): >>>wcn36xx: Remove warning message when dev is NULL for arm64 dma_alloc. >>> >>> The right

[PATCH 1/2] cfg80211: Add support for aborting an ongoing scan

2015-10-29 Thread Sunil Dutt
From: Vidyullatha Kanchanapally Implement new functionality for aborting an ongoing scan. Add NL80211_CMD_ABORT_SCAN to the nl80211 interface. After aborting the scan, driver shall provide the scan status by calling cfg80211_scan_done(). Reviewed-by: Jouni Malinen

[PATCH 2/2] mac80211: Add support for aborting an ongoing scan

2015-10-29 Thread Sunil Dutt
From: Vidyullatha Kanchanapally This commit adds implementation for abort scan in mac80211. Reviewed-by: Jouni Malinen Signed-off-by: Vidyullatha Kanchanapally Signed-off-by: Sunil Dutt ---

Undocumented Sleep Requirements for ieee80211_ops

2015-10-29 Thread Krishna Chaitanya
Hi, >From the documentation:(mac80211.h) For the ieee80211_ops (un)assign_vif_chanctx, there is no mention of explicit sleep requirements (allowed/disallwoed) for the callback. >From a quick glance at the code calling the OP, looks like we can sleep (mutexes are used). So how should we handle

Re: problems with mwifiex_usb, hangs under load, firmware in bad state

2015-10-29 Thread Chris Kuethe
On Wed, Oct 28, 2015 at 12:13 PM, Chris Kuethe wrote: >> Also, share if there is any definite procedure so that we can try to >> recreate the issue at our end. > > My test is simply to run some big wgets in a loop and wait for the > errors. Sometimes it happens after a

[PATCH] nl80211: Fix potential memory leak from parse_acl_data

2015-10-29 Thread Ola Olsson
If parse_acl_data succeeds but the subsequent parsing of smps attributes fails, there will be a memory leak due to early returns. Fix that. Signed-off-by: Ola Olsson --- net/wireless/nl80211.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

RE: problems with mwifiex_usb, hangs under load, firmware in bad state

2015-10-29 Thread Amitkumar Karwar
Hi Chris, > From: Chris Kuethe [mailto:chris.kue...@gmail.com] > Sent: Thursday, October 29, 2015 12:29 PM > To: Amitkumar Karwar > Cc: linux-wireless@vger.kernel.org > Subject: Re: problems with mwifiex_usb, hangs under load, firmware in > bad state > > On Wed, Oct 28, 2015 at 12:13 PM, Chris

[PATCH] ath10k: Add thermal throttling support for 10.4 firmware.

2015-10-29 Thread c_traja
From: Tamizh chelvam This patch enables thermal throttling support for 10.4 firmware. Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/thermal.c |2 +- drivers/net/wireless/ath/ath10k/wmi.c |4 2 files

RE: problems with mwifiex_usb, hangs under load, firmware in bad state

2015-10-29 Thread Amitkumar Karwar
Hi Chris, >> But in previous email, you mentioned the only way is to power cycle the >> device when firmware crashes. >> We will run some tests and try to recreate this issue, so that our firmware >> experts can take a look into this. >This is the first chance I had to test both bands at the

Re: [PATCH v2] ath10k: add FW API support to test mode

2015-10-29 Thread Kalle Valo
Michal Kazior writes: >> Hmmm, this way we will have a unified firmware parsing logic. Is this a task >> which can be taken up easily or any other hidden complexities are invloved >> ?. > > Decoupling the parsing logic should be rather easy. I don't think > there are any

Re: [PATCH v2] ath10k: add FW API support to test mode

2015-10-29 Thread Kalle Valo
Kalle Valo writes: > From: Alan Liu > > Add WMI-TLV and FW API support in ath10k testmode. > Ath10k can get right wmi command format from UTF image > to communicate UTF firmware. > > Signed-off-by: Alan Liu >

Re: [PATCH v3] ath10k: add fw_stats support to 10.4 firmware

2015-10-29 Thread Kalle Valo
writes: > From: Manikanta Pubbisetty > > This patch adds support for getting firmware debug stats in 10.4 fw. > > Signed-off-by: Manikanta Pubbisetty > Signed-off-by: Tamizh chelvam

Re: [PATCH v2 0/4] ath10k: remove shadow copy engine descriptors

2015-10-29 Thread Kalle Valo
Rajkumar Manoharan writes: > Below series remove shadow copy of CE descriptors for source ring. > Removing the shadow copy should reduce d-cache pressure and memory > usage of the driver. > > v2: > * Since ce_send is not using shadow, fix send completion as well. > >

Re: [PATCH 1/4] ath10k: remove supported chain mask

2015-10-29 Thread Kalle Valo
Rajkumar Manoharan writes: > Removing supported chainmask fields as it can be always derived > from num_rf_chains. > > Signed-off-by: Rajkumar Manoharan All four patches applied, thanks. -- Kalle Valo -- To unsubscribe from this list:

Re: [PATCH v2] ath10k: add QCA9377 chipset support

2015-10-29 Thread Kalle Valo
Bartosz Markowski writes: > Add the hardware name, revision and update the pci_id table. > > Currently there're two HW ref. designs available I'm aware of, > with 1.0.2 and 1.1 chip revisions. I've access and been using > the first one so far and this patch cover

[PATCH 16/17] staging: wilc1000: linux_wlan_get_num_conn_ifcs: add argument net_device

2015-10-29 Thread Glen Lee
This patch add new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 +--- drivers/staging/wilc1000/linux_wlan.c

[PATCH 13/17] staging: wilc1000: wilc_wlan_start: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- 3 files changed, 3

Re: [PATCH] wcn36xx: Remove warning message when dev is NULL for arm64 dma_alloc.

2015-10-29 Thread Kalle Valo
Nicolas Dechesne writes: > On Fri, Oct 30, 2015 at 12:34 AM, fengwei.yin wrote: Please fix your name. I don't know why but your name in git statistics is now "yfw": yfw (1): wcn36xx: Remove warning

[PATCH 11/17] staging: wilc1000: wilc_wlan_firmware_download: add argument net_device

2015-10-29 Thread Glen Lee
Add new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 3 ++- drivers/staging/wilc1000/wilc_wlan.h | 3 ++- 3 files changed, 5 insertions(+),

[PATCH 17/17] staging: wilc1000: wilc_netdev_init: use wilc instead of g_linux_wlan

2015-10-29 Thread Glen Lee
Use wilc instead of g_linux_wlan. g_liux_wlan is not used anymore, just delete it. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 22 +++--- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 - 2 files changed, 11 insertions(+),

[PATCH 12/17] staging: wilc1000: chip_sleep_manually: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch add new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 1 + 3 files

[PATCH 15/17] staging: wilc1000: release_bus: add argument struct wilc

2015-10-29 Thread Glen Lee
This patch adds new argument struct wilc and use it instead of g_linux_wlan, pass wilc to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-)

[PATCH 14/17] staging: wilc1000: acquire_bus: add new argument struct wilc

2015-10-29 Thread Glen Lee
This patch adds struct wilc and use it instead of g_linux_wlan, pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 47 ++-- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git

Re: [PATCH] wcn36xx: Remove warning message when dev is NULL for arm64 dma_alloc.

2015-10-29 Thread yfw
On Fri, Oct 30, 2015 at 06:59:46AM +0200, Kalle Valo wrote: > Nicolas Dechesne writes: > > > On Fri, Oct 30, 2015 at 12:34 AM, fengwei.yin > > wrote: > > > Please fix your name. I don't know why but your name in git statistics

[PATCH 04/17] staging: wilc1000: wilc_wlan_cfg_set: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the functions also. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 +- drivers/staging/wilc1000/linux_wlan.c | 86

[PATCH 06/17] staging: wilc1000: wilc_wlan_txq_add_cfg_pkt: add argument net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff

[PATCH 09/17] staging: wilc1000: wilc_wlan_stop: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the functions. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- 3 files changed, 4

[PATCH 08/17] staging: wilc1000: remove unused function remove_TCP_related

2015-10-29 Thread Glen Lee
Just remove unused function remove_TCP_related. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index b503f07..c8ce1f6

[PATCH 02/17] staging: wilc1000: send_config_pkt: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 +- drivers/staging/wilc1000/coreconfigurator.h | 3 +- drivers/staging/wilc1000/host_interface.c | 196

[PATCH 07/17] staging: wilc1000: wilc_wlan_txq_add_to_head: add new argument net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 20 +--- 1 file changed, 13 insertions(+), 7

[PATCH 10/17] staging: wilc1000: remove unused function wilc_wlan_global_reset

2015-10-29 Thread Glen Lee
Remove unused function wilc_wlan_global_reset. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index d4eef3d..c464cd7

[PATCH 05/17] staging: wilc1000: wilc_wlan_cfg_commit: add argument struct net_device

2015-10-29 Thread Glen Lee
Add argument struct net_device and pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c

[PATCH 03/17] staging: wilc1000: wilc_wlan_cfg_get: add argument struct net_device

2015-10-29 Thread Glen Lee
Adds argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 ++- drivers/staging/wilc1000/linux_wlan.c | 2 +-

[PATCH 01/17] staging: wilc1000: define wiphy private data priv in struct host_if_drv

2015-10-29 Thread Glen Lee
This patch defines wiphy private data priv in struct host_if_drv and set priv to priv in host_if_drv to reference it's wiphy private data. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.h | 1 + drivers/staging/wilc1000/wilc_wfi_cfgoperations.c |