[PATCH 5/9] ipw2x00: sdhci-pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c

warning at net/mac80211/driver-ops.h:647 ieee80211_sta_wmm_params

2015-12-27 Thread Toralf Förster
Yesterday I got this warning for the first time while using WLAN in a train, I'm unsure if this warning is worth to be reported or not : Dec 26 20:26:48 t44 kernel: [45827.647635] cfg80211: (549 KHz - 571 KHz @ 16 KHz), (N/A, 2700 mBm), (0 s) Dec 26 20:26:48 t44 kernel:

[PATCH 2/2] staging: wilc1000: wilc_parse_network_info refactoring

2015-12-27 Thread Ivan Safonov
1) Return value of this function does not used; 2) wilc_parse_network_info has no reasons to return an error; 3) kfree does not free memory if argument is NULL. Signed-off-by: Ivan Safonov --- drivers/staging/wilc1000/coreconfigurator.c | 27 +--

Re: [PATCH v2 1/3] wlcore/wl12xx: spi: add power operation function

2015-12-27 Thread Uri Mashiach
Hello Grygorii, On 12/24/2015 06:32 PM, Grygorii Strashko wrote: On 12/24/2015 05:35 PM, Uri Mashiach wrote: The power function uses a consumer regulator access to update the WiFi enable GPIO value. Signed-off-by: Uri Mashiach --- v1 -> v2: oops fix was removed

[PATCH 1/2] staging: wilc1000: min_t macro instead of ternary condition operator used

2015-12-27 Thread Ivan Safonov
min_t macro bit shorter then ?: operator. Signed-off-by: Ivan Safonov --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c

[PATCH 2/4] wcn36xx: Change indication list lock to spinlock

2015-12-27 Thread Bjorn Andersson
In preparation for handling incoming messages from IRQ context, change the indication list lock to a spinlock Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 12 ++-- drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 2 +- 2

[PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding

2015-12-27 Thread Bjorn Andersson
Add binding representing the Qualcomm wcn3620/60/80 WiFi block. Signed-off-by: Bjorn Andersson --- .../bindings/net/wireless/qcom,wcn36xx-wifi.txt| 76 ++ 1 file changed, 76 insertions(+) create mode 100644

[PATCH 1/4] wcn36xx: Fold indication payload into message header

2015-12-27 Thread Bjorn Andersson
Merge the two allocation instead of separately allocating room for the indication payload. Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 15 ++- drivers/net/wireless/ath/wcn36xx/smd.h | 2 +- 2 files changed, 7

Re: warning at net/mac80211/driver-ops.h:647 ieee80211_sta_wmm_params

2015-12-27 Thread Emmanuel Grumbach
Hi Toralf, On Sun, Dec 27, 2015 at 1:28 PM, Toralf Förster wrote: > Yesterday I got this warning for the first time while using WLAN in a train, > I'm unsure if this warning is worth to be reported or not : > > > Dec 26 20:26:48 t44 kernel: [45827.647635] cfg80211:

[PATCH 3/4] wcn36xx: Transition driver to SMD client

2015-12-27 Thread Bjorn Andersson
The wcn36xx wifi driver follows the life cycle of the WLAN_CTRL SMD channel, as such it should be a SMD client. This patch makes this transition, now that we have the necessary frameworks available. Signed-off-by: Bjorn Andersson ---

[PATCH 0/4] WCN36xx convert to mainline SMD interface

2015-12-27 Thread Bjorn Andersson
The mainline kernel now has the necessary implementations for SMD, SMSM and WCNSS_CTRL. This series provides the changes necessary for the wcn36xx driver to utilize this infrastructure and make this driver work in mainline. A driver for loading the WCNSS firmware, through remoteproc, has been