Re: [PATCH v2] zd1211rw: replace ZD_ASSERT with lockdep_assert_held()

2014-09-14 Thread Julian Calaby
Hi Sanjeev, On Thu, Sep 11, 2014 at 8:36 PM, Sharma, Sanjeev wrote: > -Original Message- > From: Johannes Berg [mailto:johan...@sipsolutions.net] > Sent: Thursday, September 11, 2014 3:42 PM > To: Sharma, Sanjeev > Cc: d...@gentoo.org; k...@deine-taler.de; linux-wireless@vger.kernel.org;

[PATCH 1/5] ath9k: Remove unnecessary tbtt assignment

2014-09-14 Thread Sujith Manoharan
From: Sujith Manoharan The next_tbtt variable in the scheduler is needed only for GO/AP mode operation and is always read from the NEXT_TBTT_TIMER in the HW. There is no need to store the timestamp for received beacons. Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath9k/ath9k.h

[PATCH 3/5] ath9k: Set offchannel state properly

2014-09-14 Thread Sujith Manoharan
From: Sujith Manoharan When switching offchannel, BSS related information in the HW has to be reset to default values. Add a routine to do this. Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath9k/main.c | 57 ++- 1 file changed, 42 insertions(+),

[PATCH 4/5] ath9k: Remove useless opmode check

2014-09-14 Thread Sujith Manoharan
From: Sujith Manoharan The opmode is verified to be NL80211_IFTYPE_STATION before calling ath9k_set_assoc_state(). Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath9k/main.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/driver

[PATCH 5/5] ath9k: Fix primary station configuration

2014-09-14 Thread Sujith Manoharan
From: Sujith Manoharan Assign 'primary_sta' to the active primary station interface after iterating over the list of interfaces. Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath9k/main.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/wirele

[PATCH 0/5] ath9k patches

2014-09-14 Thread Sujith Manoharan
From: Sujith Manoharan MCC fixes for 3.18 Sujith Manoharan (5): ath9k: Remove unnecessary tbtt assignment ath9k: Check beaconing mode properly ath9k: Set offchannel state properly ath9k: Remove useless opmode check ath9k: Fix primary station configuration drivers/net/wireless/ath/ath

[PATCH 2/5] ath9k: Check beaconing mode properly

2014-09-14 Thread Sujith Manoharan
From: Sujith Manoharan In MCC mode, the TSF of a context needs to be adjusted only if it is GO/AP. Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath9k/channel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireles

[PATCH 14/28] iwlwifi: define the non shared antenna per hardware

2014-09-14 Thread Emmanuel Grumbach
From: Emmanuel Grumbach The sharing model will differ in new hardware. Define the non shared antenna based on the device so that different devices can have different names for the non shared antenna. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-7000.c | 3 ++- driver

[PATCH 15/28] iwlwifi: mvm: don't update quota in firmware too often

2014-09-14 Thread Emmanuel Grumbach
From: Johannes Berg When updating quota in the firmware, it has to reset quite a bit of internal state, which apparently can have an adverse impact on its operation. Avoid that by only updating the quota command when there are any signification changes, i.e. added/removed bindings or changes in

[PATCH 16/28] iwlwifi/iwl-drv.c: fix typo defualt -> default

2014-09-14 Thread Emmanuel Grumbach
From: Toralf Förster trivial, but this is user visible b/c it is in the help text Signed-off-by: Toralf Förster Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 27/28] iwlwifi: mvm: move IWL_MVM_UAPSD_QUEUES to constants.h

2014-09-14 Thread Emmanuel Grumbach
From: Eliad Peller Signed-off-by: Eliad Peller Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/constants.h | 6 ++ drivers/net/wireless/iwlwifi/mvm/mac80211.c | 2 +- drivers/net/wireless/iwlwifi/mvm/mvm.h | 4 3 files changed,

[PATCH 06/28] iwlwifi: mvm: reset ucode_loaded flag when mac80211 stop is called

2014-09-14 Thread Emmanuel Grumbach
From: Luciano Coelho We rely on the value of the mvm->ucode_loaded flag to decide whether or not we can perform certain operations (e.g. access to some debugfs entries), so we need to reset it when the mac80211 stop operation is called and the hardware is shutdown. Signed-off-by: Luciano Coelho

[PATCH 11/28] iwlwifi: trans: don't configure the set_active in SCD for dvm

2014-09-14 Thread Emmanuel Grumbach
From: Emmanuel Grumbach This configuration is not needed for dvm, and it actually broke it. Reported-by: Oliver Hartkopp Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-trans.h | 2 ++ drivers/net/wireless/iwlwifi/mvm/ops.c | 1 + drivers/net/wireless/iwlwifi/p

[PATCH 28/28] iwlwifi: mvm: align CSA GO NOA time event naming with the firmware

2014-09-14 Thread Emmanuel Grumbach
From: Luciano Coelho The time event used for CSA GO will also be used by CSA client. Rename the symbols to something more generic and aligned with the firmware code. Signed-off-by: Luciano Coelho Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm

[PATCH 24/28] iwlwifi: mvm: move TDLS code to separate file

2014-09-14 Thread Emmanuel Grumbach
From: Arik Nemtsov The upcoming TDLS channel-switch functionality is big enough to warrant a separate file. Move existing related functions to the new file. Signed-off-by: Arik Nemtsov Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/Makefile

[PATCH 19/28] iwlwifi: mvm: use the firmware to get the temperature during CT kill

2014-09-14 Thread Emmanuel Grumbach
From: Luciano Coelho Reading the temperature directly from the hardware, without the help of the firmware, is a complex process and is not entirely the same for different hardware. Also, some NICs don't easily allow access to the sensors when the firmware is not running, which would add even mor

[PATCH 04/28] iwlwifi: enable LDPC in 8000 chip family

2014-09-14 Thread Emmanuel Grumbach
From: Eyal Shapira This chip family supports LDPC so enable it. Signed-off-by: Eyal Shapira Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-8000.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/iwlwifi/iwl-8000.c b/d

[PATCH 25/28] iwlwifi: mvm: Fix skip over dtim configuration in d0i3

2014-09-14 Thread Emmanuel Grumbach
From: Avri Altman There was some confusion concerning the units of the beacon interval. The driver assumed that it was in msec where it was in TU - so fix that. Skip over dtim was capped by 300TU where it should be by 306TU. It should also be subjected to several conditions: Not a DFS channel, dt

[PATCH 13/28] iwlwifi: pcie: clear command data on freeing

2014-09-14 Thread Emmanuel Grumbach
From: Johannes Berg When freeing the structures used for command data, clear their memory as they may have contained key material at some point. Also clear the duplicated buffer when freeing it to be safe; currently key material is never put there but that may change. Signed-off-by: Johannes Ber

[PATCH 09/28] iwlwifi: mvm: rs: don't zero tx stats after idle

2014-09-14 Thread Emmanuel Grumbach
From: Eyal Shapira Move the tx stats to the persistent area of lq_sta to avoid them being zeroed out every time rs reinitializes which happens after tx idle for 5 secs for example. The automatic zeroing out made them difficult to use. Signed-off-by: Eyal Shapira Reviewed-by: Johannes Berg Sign

[PATCH 22/28] iwlwifi: mvm: reduce active dwell time

2014-09-14 Thread Emmanuel Grumbach
From: David Spinadel Reduce basic active dwell time from 30 ms on 2.4 GHz and 20 on 5.2 to 20 on 2.4 and 10 on 5.2. Signed-off-by: David Spinadel Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/scan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 20/28] iwlwifi: mvm: allow to collect debug data when restart is disabled

2014-09-14 Thread Emmanuel Grumbach
From: Emmanuel Grumbach In some testing configuration, the firmware restart flow is not enabled. Allow to collect logs even in this case. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 14 ++ drivers/net/wireless/iwlwifi/mvm/mvm.h | 6 +

[PATCH 17/28] iwlwifi: mvm: remove unused static inline function

2014-09-14 Thread Emmanuel Grumbach
From: Avri Altman Signed-off-by: Avri Altman Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-trans.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h i

[PATCH 26/28] iwlwifi: mvm: fix PSM disable during TDLS

2014-09-14 Thread Emmanuel Grumbach
From: Arik Nemtsov Simplify the code and check for TDLS stations just before sending the MAC_POWER_TABLE command. The previous version of the code still allowed PM in some multi-interface scenarios even with TDLS connected. Signed-off-by: Arik Nemtsov Reviewed-by: Johannes Berg Signed-off-by:

[PATCH 12/28] iwlwifi: make hw rev checking more readable

2014-09-14 Thread Emmanuel Grumbach
From: Liad Kaufman Rather than ANDing with a mask - use existing macros, which are more readable. Signed-off-by: Liad Kaufman Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-csr.h| 10 ++ drivers/net/wireless/iwlwifi/iwl-io.c | 2 +- drivers/net/wireless

[PATCH 18/28] iwlwifi: mvm: update d0i3 debugfs

2014-09-14 Thread Emmanuel Grumbach
From: Johannes Berg A lot of the newer d0i3 ref additions weren't added to the debugfs file, fix that and add a comment to remember to do it in the future. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/debugfs.c | 12 drivers/n

[PATCH 10/28] iwlwifi: mvm: disable aggregation queues in station DB in FW

2014-09-14 Thread Emmanuel Grumbach
From: Johannes Berg When disabling aggregation, disable the queues in the station DB in the firmware, otherwise we leave the tfd_queue_mask in a wrong state after an aggregation session has been torn down. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/

[PATCH 21/28] iwlwifi: mvm: fix quota update avoidance

2014-09-14 Thread Emmanuel Grumbach
From: Johannes Berg When not updating the quota, the new command shouldn't be stored as otherwise slowly drifting quota would never update the firmware. Fix this by storing the command only when it was also sent. Since the error message also only makes sense when attempting to send the command,

[PATCH 23/28] iwlwifi: mvm: update QoS parameters when they change

2014-09-14 Thread Emmanuel Grumbach
From: Johannes Berg The QoS parameters can change during the lifetime of the BSS, and more importantly hostapd only sets up the correct ones after having started the AP/GO. Resend the MAC context when the parameters change, with the updated parameters. Signed-off-by: Johannes Berg Signed-off-by

[PATCH 03/28] iwlwifi: mvm: allow preventing dummy notifications

2014-09-14 Thread Emmanuel Grumbach
From: Eran Harary The firwmare now allows the driver to disable dummy notifications. These notifications sent by the firmware are an overhead for slow buses. They are still useful for fast buses. Add a hardware switch to prevent these notifications only on devices that work on slow buses. Signed

[PATCH 05/28] iwlwifi: mvm: rs: remove max_rate_idx

2014-09-14 Thread Emmanuel Grumbach
From: Eyal Shapira max_rate_idx constraint is deprecated and it's handling is faulty as well as it is relevant only for legacy rates but was considered in HT/VHT. In most cases there was no side effect as max_rate_idx was set to -1 but in certain cases like P2P it got set to an actual rate idx wh

[PATCH 02/28] iwlwifi: add and edit 8000 series PCI IDs

2014-09-14 Thread Emmanuel Grumbach
From: Oren Givon Edit some 8000 series PCI IDs and add configuration to Dual Band Wireless N 8260 devices. Signed-off-by: Oren Givon Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-8000.c | 9 + drivers/net/wireless/iwlwifi/iwl-config.h | 1 + drivers/net/wirel

[PATCH 07/28] iwlwifi: mvm: fail temp test enabling if the ucode is not loaded

2014-09-14 Thread Emmanuel Grumbach
From: Luciano Coelho If the ucode is not loaded, don't allow the temperature test to be started, but allow it to be changed or stopped if already running. Signed-off-by: Luciano Coelho Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/debugfs.c

[PATCH 08/28] iwlwifi: mvm: add MVM_FW_MCAST_FILTER_PASS_ALL option

2014-09-14 Thread Emmanuel Grumbach
From: Max Stepanov Add MVM_FW_MCAST_FILTER_PASS_ALL option to iwl-dbg-cfg.ini configuration file to enable/disable FW multicast filtering. Signed-off-by: Max Stepanov Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/constants.h | 1 + drivers/net/wireless/iwlwifi/mvm/mac

[PATCH 01/28] iwlwifi: mvm: add LDPC support

2014-09-14 Thread Emmanuel Grumbach
From: Eyal Shapira Use LDPC for Tx and publish support for Rx in case the chip supports LDPC. Enable it for the 7265 family. Signed-off-by: Eyal Shapira Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-7000.c | 12 --- drivers/n

[PATCH 12/12] iwlwifi: mvm: fix an overflow in iwl_mvm_get_signal_strength

2014-09-14 Thread Emmanuel Grumbach
From: Eyal Shapira The idea here is to translate a value of 0 received from the firmware to the lowest rssi figure. As rx_status->chain_signal is a signed byte the lowest possible value is -128 and not -256. -256 was causing 0 to get stored in the signed byte. Signed-off-by: Eyal Shapira Review

[PATCH 09/12] iwlwifi: mvm: BT Coex - always initialize smps_mode

2014-09-14 Thread Emmanuel Grumbach
From: Johannes Berg smps_mode is used uninitialized in a debug statement in AP mode, so always initialize it. While at it, fix a typo. Signed-off-by: Johannes Berg Reviewed-by: Luciano Coelho Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/coex.c | 7 +++ 1 file ch

[PATCH 08/12] iwlwiwi: mvm: use bss_conf->dtim_period instead of conf.ps_dtim_period

2014-09-14 Thread Emmanuel Grumbach
From: Emmanuel Grumbach The latter is meant for software implementation of power save and is not per-virtual interface. Since our driver supports multiple virtual interfaces, we need to use vif->bss_conf.dtim_period. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/debugfs

[PATCH 11/12] iwlwifi: add PCI IDs and add then new 3165 series

2014-09-14 Thread Emmanuel Grumbach
From: Oren Givon This change does the following: 1) Add a new 7265 series PCI ID 2) Add two new 3160 series PCI IDs 3) Add the new 3165 series PCI IDs and configurations Signed-off-by: Oren Givon Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-7000.c | 16 +

[PATCH 07/12] iwlwifi: mvm: treat EAPOLs like mgmt frames wrt rate

2014-09-14 Thread Emmanuel Grumbach
From: Eyal Shapira Using the LQ table which is initially set according to the rssi could lead to EAPOLs being sent in high legacy rates like 54mbps. It's better to avoid sending EAPOLs in high rates as it reduces the chances of a successful 4-Way handshake. Avoid this and treat them like other mg

[PATCH 10/12] iwlwifi: dvm: disable power save by default

2014-09-14 Thread Emmanuel Grumbach
From: Emmanuel Grumbach In https://bugzilla.kernel.org/show_bug.cgi?id=84031, the submitter said that disabling power saving helped, do just that. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/dvm/power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH 03/12] iwlwifi: mvm: set MAC_FILTER_IN_BEACON correctly for STA/P2P client

2014-09-14 Thread Emmanuel Grumbach
From: Luciano Coelho In commit cad3f08c (iwlwifi: mvm: enable MAC_FILTER_IN_BEACON when forced_assoc_off is set) the code to set the MAC_FILTER_IN_BEACON flag was accidentally moved to the main block of the if statement, while it should be in the else block instead. Move it to the right place.

[PATCH 02/12] iwlwifi: mvm: BT Coex - remove shadowing variable

2014-09-14 Thread Emmanuel Grumbach
From: Johannes Berg The variable 'u32 mode' exists twice, the latter shadowing the former - remove the latter since there's no need for two variables. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/coex.c | 2 -- 1 file changed, 2 deletions(

[PATCH 04/12] iwlwifi: mvm: fix endianity issues with Smart Fifo commands

2014-09-14 Thread Emmanuel Grumbach
From: Emmanuel Grumbach This code was broken on big endian systems. Sparse didn't catch the bug since the firmware command was not tagged as little endian. Fix the bug for big endian systems and tag the field in the firmware command to prevent such issues in the future. Cc: sta...@vger.kernel.or

[PATCH 05/12] iwlwifi: increase DEFAULT_MAX_TX_POWER

2014-09-14 Thread Emmanuel Grumbach
From: Eliad Peller The chip is able to transmit up to 22dBm, so set the constant appropriately. CC: [3.13+] Signed-off-by: Eliad Peller Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-config.h| 2 ++ drivers/net/wireless/iwlwifi/iwl-nvm-parse.c | 4 +--- 2 files cha

[PATCH 01/12] iwlwifi: mvm: enable scheduled scan on newest firmware

2014-09-14 Thread Emmanuel Grumbach
From: Emmanuel Grumbach Scheduled scan was disabled because of a bug in the firmware. The firmware reported support for this feature, but enabling it led to assertions. The bugs have been fixes in latest firmware versions, so that we can re-enable the feature on latest firmwares only. Signed-off

[PATCH 06/12] iwlwifi: mvm: correctly handle PM/QoS changes from mac80211

2014-09-14 Thread Emmanuel Grumbach
From: Johannes Berg When mac80211 requests multiple BSS config changes, as for example while associating, we ignore power management and QoS changes and only apply them later. Fix that by removing the "else" and making the conditions independent. Also move it after (potential) beacon filter enab

pull request: iwlwifi-next 2014-09-15

2014-09-14 Thread Emmanuel Grumbach
Hi John, This is a pull request for 3.18. I have a few more patches for 3.18 that are not included here. This pull request was big enough without them, and they rely on mac80211 patches that are not in wireless-next yet. In my master branch, I merged Johannes's tag on mac80211-next to be able t

[PATCH 1/5] b43: tell the ucode the mac capabilities

2014-09-14 Thread Hauke Mehrtens
This is based on code form brcmsmac. Signed-off-by: Hauke Mehrtens --- drivers/net/wireless/b43/b43.h | 3 +++ drivers/net/wireless/b43/main.c | 10 ++ 2 files changed, 13 insertions(+) diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index 95a9433..018ed5f

[PATCH 3/5] b43: add missing rate

2014-09-14 Thread Hauke Mehrtens
The OFDM reate 9MB was not set here Signed-off-by: Hauke Mehrtens --- drivers/net/wireless/b43/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 2d7716e..96edbd2 100644 --- a/drivers/net/wireless/b43/main.c +++ b/dr

[PATCH 5/5] b43: add support for setting the beacon listen interval

2014-09-14 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- drivers/net/wireless/b43/b43.h | 1 + drivers/net/wireless/b43/main.c | 9 + 2 files changed, 10 insertions(+) diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index 018ed5f..29c67eb 100644 --- a/drivers/net/wireless/b43/b43.

[PATCH 4/5] b43: update some transmit header constants

2014-09-14 Thread Hauke Mehrtens
Some constants were missing and are added now. The rate mode was renamed, at least the ucode in brcsmac uses 2 for HT rates (iee80211n) and the more recent ucodes are using 3 for VHT (ieee80211ac). Signed-off-by: Hauke Mehrtens --- drivers/net/wireless/b43/xmit.h | 22 +- 1 f

[PATCH 2/5] b43: tell ucode the phy type and version

2014-09-14 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- drivers/net/wireless/b43/main.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index f22a801..2d7716e 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@

[RFC 17/18] ath5k: update dependency

2014-09-14 Thread Sergey Ryazanov
Rename the ATHEROS_AR231X config symbol to AR231X. Signed-off-by: Sergey Ryazanov Cc: Jiri Slaby Cc: Nick Kossifidis Cc: "Luis R. Rodriguez" Cc: linux-wireless@vger.kernel.org Cc: ath5k-de...@lists.ath5k.org --- drivers/net/wireless/ath/ath5k/Kconfig | 10 +- 1 file changed, 5 inserti

[RFC 16/18] ath5k: correct conditional compilation

2014-09-14 Thread Sergey Ryazanov
This code parts should depend on a config symbol defined in the driver instead of arch specific one. Signed-off-by: Sergey Ryazanov Cc: Jiri Slaby Cc: Nick Kossifidis Cc: "Luis R. Rodriguez" Cc: linux-wireless@vger.kernel.org Cc: ath5k-de...@lists.ath5k.org --- drivers/net/wireless/ath/ath5k/

[RFC 18/18] ath5k: correct dependency

2014-09-14 Thread Sergey Ryazanov
Some of AR231x SoCs (e.g. AR2315) have PCI bus support, so remove !PCI dependency, which block AHB support build. Signed-off-by: Sergey Ryazanov Cc: Jiri Slaby Cc: Nick Kossifidis Cc: "Luis R. Rodriguez" Cc: linux-wireless@vger.kernel.org Cc: ath5k-de...@lists.ath5k.org --- drivers/net/wirele

[PATCH] mac80211: fix warning on htmldocs for last_tdls_pkt_time

2014-09-14 Thread Emmanuel Grumbach
From: Liad Kaufman Forgot to add an entry to the struct description of sta_info. Signed-off-by: Liad Kaufman Reviewed-by: Emmanuel Grumbach --- net/mac80211/sta_info.h | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 7412716..8352e06

Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08

2014-09-14 Thread Kalle Valo
Emmanuel Grumbach writes: > On Wed, Sep 10, 2014 at 8:01 AM, Oliver Hartkopp > wrote: >> On 10.09.2014 00:07, Vadim Kochan wrote: >>> I have the same issue with iwlwifi. >> >> I tried an old zd1211 wireless USB stick to check if this problem is 80211 >> related. But the USB stick works fine (I'

Re: [PATCH 1/2] bcma: register bcma as device tree driver

2014-09-14 Thread Hauke Mehrtens
On 09/13/2014 06:40 PM, Arend van Spriel wrote: > On 09/13/14 18:02, Hauke Mehrtens wrote: >> On 09/13/2014 05:13 PM, Arend van Spriel wrote: >>> On 09/13/14 15:37, Hauke Mehrtens wrote: This driver is used by the bcm53xx ARM SoC code. Now it is possible to give the address of the chipcom

TI CC3100 support in Linux

2014-09-14 Thread Erez Steinberg
Hi - TI CC3100 (and similar chipsets) provide offloading of wifi and simple interfaces (UART and SPI). They provide full network services, including TCP/IP stack, netapps, etc. Is there any Linux driver out there to support such a WiFi chip? Sincerely, Erez -- To unsubscribe from this list: sen

[PATCH 06/10] ath10k: don't use return on void functions

2014-09-14 Thread Kalle Valo
Fixes a checkpatch warning: WARNING: void function return statements are not generally useful Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/htt_tx.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/htt_tx.c b/drivers/net/wireless/ath/ath10k/

[PATCH 01/10] ath10k: fix parenthesis alignment warning in ath10k_htt_rx_alloc()

2014-09-14 Thread Kalle Valo
Fixes checkpatch warning: ath10k/htt_rx.c:519: CHECK: Alignment should match open parenthesis Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/htt_rx.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/

[PATCH 10/10] ath10k: use ether_addr_copy()

2014-09-14 Thread Kalle Valo
As suggeested by checkpatch: WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) In wmi.c I had to change due to sparse warnings copying of struct wmi_mac_addr from form &cmd->peer_macaddr.addr to cmd->peer_macaddr.addr. In ath10k_wmi_set_ap_ps_param() I al

[PATCH 02/10] ath10k: fix checkpatch warnings about parenthesis alignment

2014-09-14 Thread Kalle Valo
CHECK: Alignment should match open parenthesis Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/ce.h | 10 +- drivers/net/wireless/ath/ath10k/debug.c | 15 --- drivers/net/wireless/ath/ath10k/htc.c|2 +- drivers/net/wireless/ath/ath10k/htt.c|

[PATCH 04/10] ath10k: fix missing a blank line after declarations

2014-09-14 Thread Kalle Valo
Fixes checkpatch warnings: WARNING: Missing a blank line after declarations Please note that some of the cases I fixed by moving the variable declarations to the beginning of the function, which is the preferred style in ath10k. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/htt

[PATCH 07/10] ath10k: else is not generally useful after a break or return

2014-09-14 Thread Kalle Valo
Fixes checkpatch warnings: WARNING: else is not generally useful after a break or return Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/debug.c |4 ++-- drivers/net/wireless/ath/ath10k/htt_rx.c | 12 ++-- drivers/net/wireless/ath/ath10k/mac.c| 12 ++--

[PATCH 05/10] ath10k: fix space after a cast style errors

2014-09-14 Thread Kalle Valo
Fixes checkpatch warnings: CHECK: No space is necessary after a cast Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/pci.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/

[PATCH 08/10] ath10k: miscellaneous checkpatch fixes

2014-09-14 Thread Kalle Valo
Fixes checkpatch warnings: ath10k/htc.c:49: WARNING: Possible unnecessary 'out of memory' message ath10k/htc.c:810: WARNING: Possible unnecessary 'out of memory' message ath10k/htt.h:1034: CHECK: Please use a blank line after function/struct/union/enum declarations ath10k/htt_rx.c:135: CHECK: Unn

[PATCH 09/10] ath10k: reformat help text in ath10k_read_simulate_fw_crash()

2014-09-14 Thread Kalle Valo
Makes it more readable and fixes checkpatch warnings: drivers/net/wireless/ath/ath10k/debug.c:593: WARNING: quoted string split across lines drivers/net/wireless/ath/ath10k/debug.c:594: WARNING: quoted string split across lines drivers/net/wireless/ath/ath10k/debug.c:595: WARNING: quoted string

[PATCH 03/10] ath10k: fix use of multiple blank lines

2014-09-14 Thread Kalle Valo
Fixes checkpatch warnings: CHECK: Please don't use multiple blank lines Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/bmi.h |1 - drivers/net/wireless/ath/ath10k/ce.c|2 -- drivers/net/wireless/ath/ath10k/ce.h|3 --- drivers/net/wireless/ath/ath

[PATCH 00/10] ath10k: checkpatch fixes from v3.17

2014-09-14 Thread Kalle Valo
Hi, some fixes to recently added checkpatch warnings. Please review. Kalle --- Kalle Valo (10): ath10k: fix parenthesis alignment warning in ath10k_htt_rx_alloc() ath10k: fix checkpatch warnings about parenthesis alignment ath10k: fix use of multiple blank lines ath10k:

[PATCH] fixup! wil6210: fix usage of print_hex_dump_debug

2014-09-14 Thread Vladimir Kondratiev
Use empty inline functions instead of empty #define. Fix for "unused variable" as reported below: tree: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master head: 167bf96dd87d2a8360cb9e9783006876dac4f579 commit: 871d8c4bbb0f23c29a21b63b1801071766f69b51 [45/62] wil62

[PATCH] wil6210 - fix compilation warnings

2014-09-14 Thread Vladimir Kondratiev
This is quick fix for the new warnings reported. John, could you please squash it with original commit before it goes up? Vladimir Kondratiev (1): fixup! wil6210: fix usage of print_hex_dump_debug drivers/net/wireless/ath/wil6210/wil6210.h | 19 +-- 1 file changed, 13 insertion

Re: [PATCH 0/4 linux-next] drivers/net: use container_of where possible

2014-09-14 Thread Arend van Spriel
On 09/13/14 22:38, Fabian Frederick wrote: Small patchset using container_of instead of casting on first structure member address. Hi Fabian, I think you need to split up this series. One for the ethernet drivers and one for the wireless driver. As there is not dependency between the patche

Re: [Ilw] N 6235 Input/Output Error

2014-09-14 Thread roberto.waissman Waissman
Thank you, Emmanuel, Please attached find the whole dmesg. Thank you, Roberto. On Sun, Sep 14, 2014 at 1:51 AM, Grumbach, Emmanuel wrote: > Hi, > > > > Please paste the whole dmesg, I can’t see the FW issue here. > > Also, please take into consideration that we can’t fix firmware issues > anym