[PATCH 29/41] iwlwifi: mvm: remove redundant alloc_ctx parameter

2016-05-10 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> iwl_phy_db_set_section() is get called only from atomic context, the alloc_ctx parameter is not needed. Remove it. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/

[PATCH 41/41] MAINTAINERS: add myself as co-maintainer of the iwlwifi driver

2016-05-10 Thread Luca Coelho
From: Luca Coelho <luciano.coe...@intel.com> I'm starting to take a more active role in the iwlwifi driver maintainership. Cc: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Cc: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com&

[PATCH 21/41] iwlwifi: mvm: add a new mvm reference type for RX data

2016-05-10 Thread Luca Coelho
From: Luca Coelho <luciano.coe...@intel.com> When a data packet is received, we need to make sure that we stay awake until it can be processed and wait a while before trying to enter runtime_suspend os system_suspend again. To do so, add a new reference type for RX data and take the ref

[PATCH 22/41] iwlwifi: mvm: add more registers to dump upon error

2016-05-10 Thread Luca Coelho
array to two different arrays, and enable dumping different prph ranges according to run-time decision. Signed-off-by: Golan Ben-Ami <golan.ben@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c | 53 +++

[PATCH 30/41] iwlwifi: mvm: use helpers to get iwl_mvm_sta

2016-05-10 Thread Luca Coelho
cating the code whenever we need only mvm station. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 8 ++-- drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | 9 +++-

[PATCH 27/41] iwlwifi: mvm: set correct vht capability

2016-05-10 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> Our device supports only 160 GHz and not 80+80. Fix VHT flag accordingly. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/iwl-nvm-pars

[PATCH 35/41] iwlwifi: pcie: extend device reset delay

2016-05-10 Thread Luca Coelho
e code paths can sleep, use usleep_range() rather than mdelay(). Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 14 +- 1 file changed, 5 insertions(+), 9 deleti

[PATCH 12/41] iwlwifi: trans: don't call the trans-specific ref/unref directly

2016-05-10 Thread Luca Coelho
From: Luca Coelho <luciano.coe...@intel.com> It's cleaner to always call the iwl_trans_ref/unref() functions instead of sometimes calling the trans-specific ops directly. This also prepares for moving some of the code from the trans-specific ops to the common trans code. Signed-off-by

[PATCH 36/41] iwlwifi: pcie: avoid msleep() with short timeout

2016-05-10 Thread Luca Coelho
From: Johannes Berg <johannes.b...@intel.com> Since msleep is based on jiffies, it can sleep for a long time. Use usleep_range() instead to shorten the maximum time. Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com>

[PATCH 10/41] iwlwifi: mvm: utilize the frame release infrastructure

2016-05-10 Thread Luca Coelho
Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 4 ++-- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 33 +-- 3 files

[PATCH 09/41] iwlwifi: mvm: add reorder timeout per frame

2016-05-10 Thread Luca Coelho
since the locking is only inside a single reorder buffer between RX path and reorder timeout and there is no outside contention. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 12

[PATCH 39/41] iwlwifi: pcie: grab NIC access only once on RX init

2016-05-10 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> When initializing RX we grab NIC access for every read and write. This is redundant - we can just grab access once. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/

[PATCH 11/41] iwlwifi: mvm: support queue removal in ADD_STA hcmd

2016-05-10 Thread Luca Coelho
aufman <liad.kauf...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/fw-api-sta.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw-api-sta.h b/drivers/net/wireless/in

[PATCH 40/41] iwlwifi: add default value to disable_11ac mod param description

2016-05-10 Thread Luca Coelho
From: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Small change to make it clear that the default value is false. Signed-off-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/i

[PATCH 13/41] iwlwifi: mvm: advertise RSS queue usage

2016-05-10 Thread Luca Coelho
From: Johannes Berg <johannes.b...@intel.com> In order for mac80211 to use per-CPU statistics for RSS RX, the driver needs to advertise that it uses RSS. Do this when using more than a single queue. Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Luca Coelho

[PATCH 33/41] iwlwifi: make configuration structs smaller

2016-05-10 Thread Luca Coelho
From: Johannes Berg <johannes.b...@intel.com> Since we have a lot of configuration structs (almost 70) saving some memory in each one of them leads to an overall saving of ~2.6KiB of memory. Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Luca Coelho

[PATCH 20/41] iwlwifi: mvm: pass station to mac80211 RX where known

2016-05-10 Thread Luca Coelho
; Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/rx.c | 11 --- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rx.c b/drivers/

[PATCH 37/41] iwlwifi: mvm: support dqa-mode agg on non-shared queue

2016-05-10 Thread Luca Coelho
t for non-shared queues. Signed-off-by: Liad Kaufman <liad.kauf...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 5 +- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 33 - drivers/net/wireless/intel/

[PATCH 32/41] iwlwifi: don't access a nonexistent register upon assert

2016-05-10 Thread Luca Coelho
ort dumping UMAC internal txfifos") Signed-off-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 12/41] iwlwifi: trans: don't call the trans-specific ref/unref directly

2016-05-11 Thread Luca Coelho
On Wed, 2016-05-11 at 19:34 +0300, Kalle Valo wrote: > Luca Coelho <l...@coelho.fi> writes: > > > > > From: Luca Coelho <luciano.coe...@intel.com> > > > > It's cleaner to always call the iwl_trans_ref/unref() functions > > instead of s

Re: iwlwifi: mvm: add reorder buffer per queue

2016-05-16 Thread Luca Coelho
On Fri, 2016-05-13 at 11:54 +0300, Dan Carpenter wrote: > Hello Sara Sharon, > > The patch b915c10174fb: "iwlwifi: mvm: add reorder buffer per queue" > from Mar 23, 2016, leads to the following static checker warnings: > > drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c:912 >

[PATCH] mac80211: remove disconnected APs from BSS table

2016-05-03 Thread Luca Coelho
covery. Remove APs that are probably out of range from BSS table. Signed-off-by: David Spinadel <david.spina...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- net/mac80211/mlme.c | 5 + 1 file changed, 5 insertions(+) diff --git a/net/mac80211/mlme.c b/net/mac

[PATCH v2] mac80211: allow same PN for AMSDU sub-frames

2016-05-03 Thread Luca Coelho
ame PN as the previous frame. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- include/net/mac80211.h | 6 +- net/mac80211/wpa.c | 16 2 files changed, 17 insertions(+), 5 deletions(-) diff -

[PATCH] cfg80211: allow to find vendor with OUI without specifying the OUI type

2016-05-03 Thread Luca Coelho
From: Emmanuel Grumbach <emmanuel.grumb...@intel.com> This allows to find vendor IE from a specific vendor. Signed-off-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- include/net/cfg80211.h | 4 ++-- net/wire

[PATCH] cfg80211: make wdev_list accessible to drivers

2016-05-03 Thread Luca Coelho
From: Johannes Berg There's no harm in having drivers read the list, since they can use RCU protection or RTNL locking; allow this to not require each and every driver to also implement its own bookkeeping. Signed-off-by: Johannes Berg ---

[PATCH] mac80211: allow software PS-Poll/U-APSD with AP_LINK_PS

2016-05-03 Thread Luca Coelho
From: Johannes Berg When using RSS, frames might not be processed in the correct order, and thus AP_LINK_PS must be used; most likely with firmware keeping track of the powersave state, this is the case in iwlwifi now. In this case, the driver can use

[PATCH] cfg80211: remove erroneous comment

2016-05-03 Thread Luca Coelho
From: Johannes Berg The devlist_mtx mutex was removed about two years ago, in favour of just using RTNL/RCU protection. Remove the comment still referencing it. Signed-off-by: Johannes Berg --- net/wireless/core.h | 2 +- 1 file changed, 1

Re: [PATCH] iwlwifi: add missing type declaration

2016-07-12 Thread Luca Coelho
o just declare 'struct device' before its > first use, > rather than including the entire header file. > > Signed-off-by: Arnd Bergmann <a...@arndb.de> > Fixes: 21cb3222fe56 ("iwlwifi: decouple PCIe transport from > mac80211") > --- Acked-by: Luca Coelho <l

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-13 Thread Luca Coelho
On Wed, 2016-07-13 at 09:50 +0300, Kalle Valo wrote: > Prarit Bhargava writes: > > > > We implement thermal zone because we do support it, but the > > > problem is > > > that we need the firmware to be loaded for that. So you can argue > > > that > > > we should register

[PATCH 7/7] mac80211: parse wide bandwidth channel switch IE with workaround

2016-07-05 Thread Luca Coelho
set. Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- net/mac80211/spectmgmt.c | 45 + 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/net/mac80211/spectmgmt.c b/ne

[PATCH 2/7] mac80211_hwsim: Add radar bandwidths to the P2P Device combination

2016-07-05 Thread Luca Coelho
hannel contexts as this is not currently supported. As radar_detect_widths are now supported in all combinations, remove the hwsim_if_dfs_limits definition since it is no longer needed. Signed-off-by: Ilan Peer <ilan.p...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com>

[PATCH 4/7] nl80211: Add info to scan results to support beacon report

2016-07-05 Thread Luca Coelho
Signed-off-by: Assaf Krauss <assaf.kra...@intel.com> Signed-off-by: David Spinadel <david.spina...@intel.com> Signed-off-by: Avraham Stern <avraham.st...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- include/net/cfg80211.h | 40 +++

[PATCH 6/7] mac80211: report failure to start (partial) scan as scan abort

2016-07-05 Thread Luca Coelho
From: Johannes Berg <johannes.b...@intel.com> Rather than reporting the scan as having completed, report it as being aborted. Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- net/mac80211/scan.c | 5 +++--

[PATCH 5/7] mac80211: Add support for beacon report radio measurement

2016-07-05 Thread Luca Coelho
nd wlcore to match the new API] Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/ath/ath10k/mac.c | 14 + drivers/net/wireless/ath/ath9k/channel.c | 5 +++- drivers/net/wireless/atmel/at76c50x-usb.c | 5 +++- drivers/net/wireless/intel

[PATCH 1/7] nl80211: Add API to support VHT MU-MIMO air sniffer

2016-07-05 Thread Luca Coelho
option will be used by VHT MU-MIMO air sniffer to follow a station according to it's MAC address using VHT MU-MIMO. Signed-off-by: Aviya Erenfeld <aviya.erenf...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- include/net/cfg80211.h | 10 -- include/uapi/li

[PATCH 0/7] mac80211/cfg80211: a bunch of patches from our internal tree

2016-07-05 Thread Luca Coelho
From: Luca Coelho <luciano.coe...@intel.com> Hi Johannes, These are some cfg80211/mac80211 patches that were pending upstreaming in our internal tree (I think you know about them ;). Please let me know if everything is okay. There is a couple of checkpatch >80 chars line warnings

[PATCH 3/7] cfg80211: handle failed skb allocation

2016-07-05 Thread Luca Coelho
From: Gregory Greenman <gregory.green...@intel.com> Handle the case when dev_alloc_skb returns NULL. Signed-off-by: Gregory Greenman <gregory.green...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- net/wireless/util.c | 2 ++ 1 file changed, 2 inserti

Re: [PATCH v2] nl80211: Add info to scan results to support beacon report

2016-07-05 Thread Luca Coelho
On Tue, 2016-07-05 at 17:10 +0300, Luca Coelho wrote: > From: Avraham Stern <avraham.st...@intel.com> > > Beacon report radio measurement requires reporting observed BSSs > on the channels specified in the beacon request. If the measurement > mode is set to passive or active,

Re: [PATCH 3/7] cfg80211: handle failed skb allocation

2016-07-06 Thread Luca Coelho
On Wed, 2016-07-06 at 13:51 +0200, Johannes Berg wrote: > On Tue, 2016-07-05 at 15:23 +0300, Luca Coelho wrote: > > From: Gregory Greenman <gregory.green...@intel.com> > > > > Handle the case when dev_alloc_skb returns NULL. > > > Applied. A Fixes: tag w

pull-request: iwlwifi-next 2016-07-06

2016-07-06 Thread Luca Coelho
  iwlwifi: mvm: set sta_id in SCD_QUEUE_CONFIG cmd   iwlwifi: mvm: update aux queue in dqa mode   iwlwifi: mvm: support dqa-enable hcmd   iwlwifi: mvm: support tdls in dqa mode   iwlwifi: mvm: support dqa-mode scd queue redirection Luca Coelho (4):   iwlwifi: mvm: change scan

[PATCH 49/56] iwlwifi: pcie: track rxb status

2016-07-06 Thread Luca Coelho
; Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/pcie/internal.h | 2 ++ drivers/net/wireless/intel/iwlwifi/pcie/rx.c | 10 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/int

[PATCH 15/56] iwlwifi: mvm: remove unnecessary device conversion when reading the MCC

2016-07-06 Thread Luca Coelho
From: Luca Coelho <luciano.coe...@intel.com> We convert the mvm device to a PCI device and then back again when trying to find the handle for the device's ACPI data. This is unnecessary, so it can be removed. Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wi

[PATCH 31/56] iwlwifi: mvm: cleanup the coex code

2016-07-06 Thread Luca Coelho
From: Emmanuel Grumbach <emmanuel.grumb...@intel.com> We removed support for old API for coexistence, but we forgot to remove defines and variable that are not needed anymore. Signed-off-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Signed-off-by: Luca Coelho <luciano.c

[PATCH 32/56] iwlwifi: mvm: read SAR BIOS table from ACPI

2016-07-06 Thread Luca Coelho
From: Luca Coelho <luciano.coe...@intel.com> Read the SAR BIOS table from the ACPI and parse it into the iwl_mvm_sar_table structure. If the table is enabled, send it to the firmware via REDUCE_TX_POWER_CMD. Signed-off-by: Luca Coelho <luciano.coe...@intel.com> Signed-off-by:

[PATCH 09/56] iwlwifi: mvm: support dqa queue sharing

2016-07-06 Thread Luca Coelho
ing AC (there always is at least 1 DATA queue) If any aggregations existed for any of the TIDs of the shared queue - they are stopped (the FW is notified), but no delBA is sent. Signed-off-by: Liad Kaufman <liad.kauf...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- dr

[PATCH 21/56] iwlwifi: mvm: fix txq aggregation bug

2016-07-06 Thread Luca Coelho
intel.com> Fixes: cf961e16620f ("iwlwifi: mvm: support dqa-mode agg on non-shared queue") Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/ne

[PATCH 06/56] iwlwifi: mvm: change scan timeout to a delayed work

2016-07-06 Thread Luca Coelho
From: Luca Coelho <luciano.coe...@intel.com> Some transports may sleep when writing to registers, which is done when calling iwl_force_nmi(). So we can't call iwl_force_nmi() in a timer context. To solve that, convert the scan timeout timer to a delayed work. Signed-off-by: Luca

[PATCH 07/56] iwlwifi: mvm: remove an unused variable

2016-07-06 Thread Luca Coelho
; Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/rx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rx.c b/drivers/net/wireless/intel/iwlwifi/mvm/rx.c index 6d096b6..2d5a7cc 10

[PATCH 10/56] iwlwifi: mvm: set sta_id in SCD_QUEUE_CONFIG cmd

2016-07-06 Thread Luca Coelho
rather is a static "generic" queue - the sta_id should be set to 0x10 (max supported STA is 0x0f). Signed-off-by: Liad Kaufman <liad.kauf...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 7 +++ drivers/ne

[PATCH 08/56] iwlwifi: mvm: silence uninitialized variable warning

2016-07-06 Thread Luca Coelho
From: Dan Carpenter <dan.carpen...@oracle.com> "max_amsdu_len" isn't set if kstrtouint() fails. Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 2 ++

[PATCH 01/56] iwlwifi: remove useless enum values

2016-07-06 Thread Luca Coelho
From: Johannes Berg <johannes.b...@intel.com> Since the values of this enum are used only internally, we can let the compiler number them. Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless

[PATCH 55/56] iwlwifi: pcie: centralize SCD status logging

2016-07-06 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> Centralize the logging of SCD status. The motivation is that for a000 devices we will have new SCD HW, but this code was duplicate anyway, so it is a proper cleanup. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by:

[PATCH 03/56] iwlwifi: mvm: support dqa queue inactivation upon timeout

2016-07-06 Thread Luca Coelho
g over the queues currently in use when a new queue is needed, inactivating all those that are inactive. Signed-off-by: Liad Kaufman <liad.kauf...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 17 ++- drivers/net/wire

[PATCH 02/56] iwlwifi: change fw.mvm_fw to fw.type

2016-07-06 Thread Luca Coelho
From: Johannes Berg <johannes.b...@intel.com> Instead of explicitly indicating the difference between just DVM and MVM with an mvm_fw boolean change this to fw.type to be more extensible and easier to understand. Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by:

[PATCH 05/56] iwlwifi: mvm: fix possible division by zero

2016-07-06 Thread Luca Coelho
eue so all RX traffic will be directed to it anyway. Bail out early if there is only one queue. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 3 +++ 1 file changed, 3 inserti

[PATCH 04/56] iwlwifi: pcie: unify restock calls on init

2016-07-06 Thread Luca Coelho
while at it. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/pcie/rx.c | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/net/wireless/

[PATCH 27/56] iwlwifi: Add a000 HW family support

2016-07-06 Thread Luca Coelho
From: Haim Dreyfuss <haim.dreyf...@intel.com> Add a000 family configuration to iwl-cfg struct Signed-off-by: Haim Dreyfuss <haim.dreyf...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/Makefile | 2 +- drivers/

[PATCH 30/56] iwlwifi: mvm: checksum IPv6 fragmented packet

2016-07-06 Thread Luca Coelho
for 9000 family") Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c b/drivers/net/wireless/intel/iw

[PATCH 51/56] iwlwifi: centralize 64 bit HW registers write

2016-07-06 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> Move the write_prph_64 of pcie to be transport agnostic. Add direct write as well, as it is needed for a000 HW. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- .../net/wire

[PATCH 19/56] iwlwifi: mvm: rs: add rate scaling support for 160MHz channels

2016-07-06 Thread Luca Coelho
From: Gregory Greenman <gregory.green...@intel.com> Expand TLC to support 160MHz channels. Full support for A-MSDU case will be added separately. Signed-off-by: Gregory Greenman <gregory.green...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/

[PATCH 26/56] iwlwifi: mvm: support new statistics notification

2016-07-06 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> For 9000 family we will get extended statistics notification with averaged data for RSSI, TCM and rogue AP detection. Support it. Future patches will added the required algorithms. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-

[PATCH 50/56] iwlwifi: pcie: generalize and increase the size of scratchbuf

2016-07-06 Thread Luca Coelho
the bi-directional consistent memory should grow accordingly - increase it to 40. Generalize the code to get rid of now irrelevant scratch references. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwi

[PATCH 20/56] iwlwifi: mvm: avoid harmless -Wmaybe-uninialized warning

2016-07-06 Thread Luca Coelho
er because I was testing on ARM, which never produced the warning. This rearranges the code in a way that improves readability for both humans and the compiler, and that avoids the warning. Signed-off-by: Arnd Bergmann <a...@arndb.de> Fixes: 6fa52430f0b3 ("iwlwifi: mvm: change mcc update AP

[PATCH 36/56] iwlwifi: mvm: fix coex related comments

2016-07-06 Thread Luca Coelho
From: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Those comments were wrong, fix them. Signed-off-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/coex.c | 4 ++--

[PATCH 53/56] iwlwifi: pcie: load FW chunk for a000 devices

2016-07-06 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> Update the firmware load flow for TFH hardware. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/iwl-fh.h | 29 + drivers/

[PATCH 29/56] iwlmvm: mvm: set correct state in smart-fifo configuration

2016-07-06 Thread Luca Coelho
: Shaul Triebitz <shaul.trieb...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/sf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sf.c b/drivers/net/wireless/intel/iw

[PATCH 35/56] iwlwifi: mvm: write the correct internal TXF index

2016-07-06 Thread Luca Coelho
sert") Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c b/drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c i

[PATCH 17/56] iwlwifi: mvm: Do not open aggregations for null data packets

2016-07-06 Thread Luca Coelho
ttlieb <matti.gottl...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 13 +++-- drivers/net/wireless/intel/iwlwifi/mvm/rs.h | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 2 +- 3 files changed, 9 insertio

[PATCH 16/56] iwlwifi: pcie: poll RFH for RX DMA stop

2016-07-06 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> Somehow we ended up stopping RX using legacy RX registers even for devices that support RFH. Fix it. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/inte

[PATCH 34/56] iwlwifi: pcie: fix access to scratch buffer

2016-07-06 Thread Luca Coelho
om> Fixes: 38c0f334b359 ("iwlwifi: use coherent DMA memory for command header") Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/pcie/tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlw

[PATCH 44/56] iwlwifi: mvm: free RX reorder buffer on restart

2016-07-06 Thread Luca Coelho
quot;iwlwifi: mvm: add infrastructure for tracking BA session in driver") Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlw

[PATCH 28/56] iwlwifi: pcie: enable interrupts before releasing the NIC's CPU

2016-07-06 Thread Luca Coelho
a6bd005fe92 ("iwlwifi: pcie: fix RF-Kill vs. firmware load race") Signed-off-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 5 - 1 file changed, 4 insertions(+), 1

[PATCH 46/56] iwlwifi: tracing: decouple from mac80211

2016-07-06 Thread Luca Coelho
; Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h | 25 --- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h b/drivers/net/wireless/intel/iwlwifi/iw

[PATCH 42/56] iwlwifi: mvm: support dqa-mode scd queue redirection

2016-07-06 Thread Luca Coelho
direct the queue. Also, as redirection revealed a bug in the marking of a shared queue, this patch contains a small fix to make sure a shared queue maintains the appropriate "shared queue marking". Signed-off-by: Liad Kaufman <liad.kauf...@intel.com> Signed-off-by: Luca Coelho <

[PATCH 40/56] iwlwifi: pcie: don't use vid 0

2016-07-06 Thread Luca Coelho
Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/pcie/rx.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/rx.c b/dr

[PATCH 45/56] iwlwifi: store cipher scheme independent of mac80211

2016-07-06 Thread Luca Coelho
ohannes.b...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 16 ++-- drivers/net/wireless/intel/iwlwifi/iwl-fw.h | 3 +-- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 19 --- dr

[PATCH 13/56] iwlwifi: add new 8260 PCI IDs

2016-07-06 Thread Luca Coelho
From: Oren Givon <oren.gi...@intel.com> Add 3 new 8260 series PCI IDs: - (0x24F3, 0x10B0) - (0x24F3, 0xD0B0) - (0x24F3, 0xB0B0) CC: <sta...@vger.kernel.org> [4.1+] Signed-off-by: Oren Givon <oren.gi...@intel.com> Signed-off-by: David Spinadel <david.spina...@intel.com

[PATCH 18/56] iwlwifi: mvm: fix RX mpdu status enum

2016-07-06 Thread Luca Coelho
From: Ayala Beker <ayala.be...@intel.com> FW sets status for each RX packet. Enum in the driver doesn't match with FW definition - fix it. Signed-off-by: Ayala Beker <ayala.be...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/

[PATCH 39/56] iwlwifi: mvm: unmap the paging memory before freeing it

2016-07-06 Thread Luca Coelho
From: Emmanuel Grumbach <emmanuel.grumb...@intel.com> This led to a DMA splat. Fixes: a6c4fb4441f4 ("iwlwifi: mvm: Add FW paging mechanism for the UMAC on PCI") Signed-off-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@in

[PATCH 52/56] iwlwifi: pcie: initialize a000 device's TFD table

2016-07-06 Thread Luca Coelho
isters. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/iwl-a000.c | 3 +- drivers/net/wireless/intel/iwlwifi/iwl-config.h | 3 +- drivers/net/wireless/intel/iwlwifi

[PATCH 56/56] iwlwifi: move iwl_drv to be shared across transports

2016-07-06 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> All transports has this structure. By moving it to be shared, we can get rid of casting to the specific transport in probe and remove. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.co

[PATCH 25/56] iwlwifi: mvm: add support for GCMP encryption

2016-07-06 Thread Luca Coelho
index in the key table, and specify that this key should be taken form the key table instead of from the TX command. While at it - convert security control flags to an enum. Signed-off-by: Ayala Beker <ayala.be...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- .../

[PATCH 37/56] iwlwifi: mvm: fix the channel inhibition table for Channel 14

2016-07-06 Thread Luca Coelho
From: Emmanuel Grumbach <emmanuel.grumb...@intel.com> The value for Channel 14 was wrong. Fix it. Signed-off-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/coex.c | 2 +-

[PATCH 14/56] iwlwifi: add new 8265

2016-07-06 Thread Luca Coelho
com> Signed-off-by: David Spinadel <david.spina...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wir

[PATCH 22/56] iwlwifi: dvm: Remove unused array 'iwlagn_loose_lookup'

2016-07-06 Thread Luca Coelho
; Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/dvm/lib.c | 17 - 1 file changed, 17 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/lib.c b/drivers/net/wireless/intel/iwlwifi/dvm/lib.c index 8dda52a..6c2d6da 100644

[PATCH 24/56] iwlwifi: Reserve iwl_fw_error_dump_type enum

2016-07-06 Thread Luca Coelho
From: Golan Ben-Ami <golan.ben@intel.com> Reserve a single iwl_fw_error_dump_type enum for external code utilities. Signed-off-by: Golan Ben-Ami <golan.ben@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/iwl-f

[PATCH 38/56] iwlwifi: remove iwl_ht_params.smps_mode

2016-07-06 Thread Luca Coelho
From: Johannes Berg <johannes.b...@intel.com> This struct member is never set, so remove it. Since this is the last thing that needs mac80211.h, also change the includes to no longer use mac80211.h Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Luca Coelho

[PATCH 12/56] iwlwifi: mvm: support dqa-enable hcmd

2016-07-06 Thread Luca Coelho
From: Liad Kaufman <liad.kauf...@intel.com> Support sending the DQA-enablement HCMD to the FW when working in DQA mode. This HCMD will enable DQA-specific flows in the FW. Signed-off-by: Liad Kaufman <liad.kauf...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com>

[PATCH 47/56] iwlwifi: decouple PCIe transport from mac80211

2016-07-06 Thread Luca Coelho
rs can be stored in the CB and use the offset in the PCIe code. To make the disentanglement complete, remove mac80211.h includes from everywhere in the generic iwlwifi code. This required adding an include of cfg80211.h in one place. Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-

[PATCH 33/56] iwlwifi: pcie: Enable MSI mode when using MSI interrupts

2016-07-06 Thread Luca Coelho
Ido Yariv <idox.ya...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/iwl-prph.h | 1 + drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 6 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/in

[PATCH 41/56] iwlwifi: mvm: support tdls in dqa mode

2016-07-06 Thread Luca Coelho
m> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 31 +--- drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 8 ++- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/drivers/net/wireless/intel

[PATCH 43/56] iwlwifi: mvm: add RX aggregation prints

2016-07-06 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> Add some prints to track BAID assignment. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 6 ++ drivers/net/wireless/intel

[PATCH 23/56] iwlwifi: add dump of RFH

2016-07-06 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> Add support of dumping new RFH instead of FH registers. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/iwl-io.c | 115 ++

[PATCH 11/56] iwlwifi: mvm: update aux queue in dqa mode

2016-07-06 Thread Luca Coelho
From: Liad Kaufman <liad.kauf...@intel.com> In DQA mode the AUX queue is mapped elsewhere than in non- DQA mode. Update the code to reflect this. Signed-off-by: Liad Kaufman <liad.kauf...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless

pull-request: iwlwifi 2016-07-11

2016-07-11 Thread Luca Coelho
Hi Kalle, This is a fix for a warning that was spotted by Linus.  We already have this patch queued in -next, but it should have gone to -fixes.  I hope it is still possible to send it for 4.7.  And it shouldn't be a problem to have it in both, right? I guess git merge would take care of that.

pull-request: iwlwifi-next 2016-07-11

2016-07-11 Thread Luca Coelho
Hi Kalle, I have one more patch intended for 4.8.  I had forgotten to bump the FW API version that our driver is now able to load.  I hope there is still time to get it included for 4.8. Let me know if everything's fine (or not). :) Luca. The following changes since commit

[PATCH v2] nl80211: Add info to scan results to support beacon report

2016-07-05 Thread Luca Coelho
Signed-off-by: Assaf Krauss <assaf.kra...@intel.com> Signed-off-by: David Spinadel <david.spina...@intel.com> Signed-off-by: Avraham Stern <avraham.st...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/ath/ath6kl/cfg80211.c

pull-request: iwlwifi-next 2016-07-01

2016-07-01 Thread Luca Coelho
Hi Kalle, Here are some patches intended for 4.8.  I have a lot more patches pending in our internal tree, but I decided to take smaller steps because it's easier to find a few hours to push a few patches than it is to find many hours to send all pending patches.  Is it okay for you if I send a

[PATCH 10/13] iwlwifi: pcie: allow more than one frame in RB for 9000 devices

2016-07-03 Thread Luca Coelho
From: Sara Sharon <sara.sha...@intel.com> We now have 9000 devices that support multiple frames in a single RB. Enable it. Signed-off-by: Sara Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/pcie/rx.

[PATCH 09/13] iwlwifi: pcie: set RB chunk size per bus

2016-07-03 Thread Luca Coelho
Sharon <sara.sha...@intel.com> Signed-off-by: Luca Coelho <luciano.coe...@intel.com> --- drivers/net/wireless/intel/iwlwifi/iwl-fh.h | 4 +++- drivers/net/wireless/intel/iwlwifi/pcie/rx.c | 8 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless

<    1   2   3   4   5   6   7   8   9   10   >