[PATCH 1/4] iwlwifi: Add new PCI IDs for the 8260 series

2015-11-15 Thread Emmanuel Grumbach
: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/drv.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/pcie/drv.c b/drivers/net/wireless/iwlwifi/pcie/drv.c index 644b58b..639761f 100644 --- a/drivers/net/wireless/iwlwifi

[PATCH 03/16] iwlwifi: pcie: fix (again) prepare card flow

2015-10-25 Thread Emmanuel Grumbach
ned-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/trans.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c index 6ba7d30..9028345 100644 --- a/drivers/net/wirele

[PATCH 1/3] iwlwifi: pcie: fix prepare card flow

2015-07-30 Thread Emmanuel Grumbach
that we are requesting the device which will prevent us from acquire ownership. Same holds for the down flow where we need to make sure that any other potential user is notified that the driver is going down. CC: [4.1] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/tr

[PATCH 1/3] iwlwifi: pcie: fix prepare card flow

2015-07-30 Thread Emmanuel Grumbach
that we are requesting the device which will prevent us from acquire ownership. Same holds for the down flow where we need to make sure that any other potential user is notified that the driver is going down. CC: [4.1] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/tr

[PATCH 1/3] iwlwifi: pcie: fix prepare card flow

2015-07-30 Thread Emmanuel Grumbach
that we are requesting the device which will prevent us from acquire ownership. Same holds for the down flow where we need to make sure that any other potential user is notified that the driver is going down. CC: [4.1] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/tr

[PATCH 10/10] iwlwifi: nvm: remove mac address byte swapping in 8000 family

2015-07-12 Thread Emmanuel Grumbach
Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-nvm-parse.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c index 80fefe7..3b8e85e 100644 --- a/drivers

[PATCH 05/10] iwlwifi: pcie: prepare the device before accessing it

2015-07-12 Thread Emmanuel Grumbach
For 8000 series, we need to access the device to know what firmware to load. Before we do so, we need to prepare the device otherwise we might not be able to access the hardware. Fixes: c278754a21e6 ("iwlwifi: mvm: support family 8000 B2/C steps") CC: [4.1] Signed-off-by: Emmanue

[PATCH 04/10] iwlwifi: pcie: don't panic if pcie transport alloc fails

2015-07-12 Thread Emmanuel Grumbach
: mvm: support family 8000 B2/C steps") CC: [4.1] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/trans.c | 44 +++ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wirele

[PATCH 01/10] iwlwifi: mvm: fix antenna selection when BT is active

2015-07-12 Thread Emmanuel Grumbach
d the shared antenna for management frames") Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/tx.c b/drivers/net/wireless/iwlwifi/mvm/tx.c index 7ba7a118..8911686

[PATCH 03/39] iwlwifi: pcie: fix tracking of cmd_in_flight

2015-05-26 Thread Emmanuel Grumbach
Ilan Peer Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/internal.h | 6 +++--- drivers/net/wireless/iwlwifi/pcie/trans.c| 4 ++-- drivers/net/wireless/iwlwifi/pcie/tx.c | 23 +-- 3 files changed, 14 insertions(+), 19 deletions(-) diff --g

[PATCH 32/39] iwlwifi: nvm: fix otp parsing in 8000 hw family

2015-05-26 Thread Emmanuel Grumbach
ad Kaufman Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-nvm-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c index 75e96d

[PATCH 09/10] iwlwifi: mvm: clean net-detect info if device was reset during suspend

2015-05-21 Thread Emmanuel Grumbach
error during resume. Additionally, rename the "out_unlock" label to err to make it clearer that it's only called in error conditions. Cc: stable@vger.kernel.org [3.19+] Signed-off-by: Luciano Coelho Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/d3.c | 9 ++

[PATCH 05/10] iwlwifi: mvm: Free fw_status after use to avoid memory leak

2015-05-21 Thread Emmanuel Grumbach
Signed-off-by: Haim Dreyfuss Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/d3.c b/drivers/net/wireless/iwlwifi/mvm/d3.c index 1b1b2bf..42dadaf 100644 --- a/d

[PATCH 4/6] iwlwifi: mvm: protect rate scaling against non-mvm IBSS stations

2015-03-22 Thread Emmanuel Grumbach
d-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/rs.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index efa9688..078f24c 1

[PATCH 3/6] iwlwifi: dvm: run INIT firmware again upon .start()

2015-03-22 Thread Emmanuel Grumbach
is brought up. The penatly is minimal, since the calibrations run fast. This fixes: https://bugzilla.kernel.org/show_bug.cgi?id=94341 CC: Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/dvm/dev.h | 1 - drivers/net/wireless/iwlwifi/dvm/ucode.c | 5 - 2 files changed, 6

[PATCH 02/49] iwlwifi: fix max_ht_ampdu_exponent for older devices

2015-03-12 Thread Emmanuel Grumbach
tream throughput droppped by a half. CC: [3.19] Fixes: c064ddf318aa ("iwlwifi: change max HT and VHT A-MPDU exponent") Reported-and-tested-by: Valentin Manea Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-1000.c | 6 -- drivers/net/wireless/iwlwifi/

[PATCH 6/7] iwlwifi: fix max_ht_ampdu_exponent for older devices

2015-03-05 Thread Emmanuel Grumbach
tream throughput droppped by a half. CC: [3.19] Fixes: c064ddf318aa ("iwlwifi: change max HT and VHT A-MPDU exponent") Reported-and-tested-by: Valentin Manea Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-1000.c | 6 -- drivers/net/wireless/iwlwifi/

[PATCH 7/7] iwlwifi: mvm: BT Coex - fix a NULL pointer exception

2015-03-05 Thread Emmanuel Grumbach
.19+] Fixes: 123f515635b1 ("iwlwifi: mvm: BT Coex - add support for TTC / RRC") Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/coex.c| 3 ++- drivers/net/wireless/iwlwifi/mvm/coex_legacy.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) dif

[PATCH 2/7] iwlwifi: mvm: rs: fix BT Coex check to look at the correct ant

2015-03-05 Thread Emmanuel Grumbach
n the rs algorithm and non optimal performance. Fixes: commit 219fb66b49fac64bb ("iwlwifi: mvm: rs - don't use the shared antenna when BT load is high") CC: [3.19] Signed-off-by: Eyal Shapira Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/i

[PATCH 15/19] iwlwifi: mvm: fix failure path when power_update fails in add_interface

2015-02-02 Thread Emmanuel Grumbach
rg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index 51e02e6..1ff7ec0 100644 --- a/drivers/net/wirele

[PATCH 09/19] iwlwifi: pcie: disable the SCD_BASE_ADDR when we resume from WoWLAN

2015-02-02 Thread Emmanuel Grumbach
can't do much besides resetting the whole device. CC: Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/tx.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/pcie/tx.c b/drivers/net/wir

[PATCH 04/19] iwlwifi: mvm: always use mac color zero

2015-02-02 Thread Emmanuel Grumbach
always zero and avoid reaching 255. CC: [3.10+] Signed-off-by: Luciano Coelho Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drive

[PATCH 3.16] iwlwifi: mvm: drop non VO frames when flushing

2015-02-02 Thread Emmanuel Grumbach
commit 4e6c48e0984e28d064ee8fbc292aee7b7920c507 upstream. This change has already been implemented in iwldvm: commit a260e7b3f0307878b99d57ed1406cf2d497923b8 Author: Emmanuel Grumbach Date: Sun Oct 5 09:11:14 2014 +0300 iwlwifi: dvm: drop non VO frames when flushing Since I added the

[PATCH 3.18] iwlwifi: mvm: add a flag to enable match found notification

2015-01-25 Thread Emmanuel Grumbach
From: David Spinadel commit 7e2a38831db4cf082aa8b4997f3cbfe8cb03b669 upstream. Add a flag that enables match found notification to align with FW API change. Cc: [3.17+] Signed-off-by: David Spinadel Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h | 2

[PATCH 2/3] iwlwifi: mvm: drop non VO frames when flushing

2015-01-13 Thread Emmanuel Grumbach
This change has already been implemented in iwldvm: commit a260e7b3f0307878b99d57ed1406cf2d497923b8 Author: Emmanuel Grumbach Date: Sun Oct 5 09:11:14 2014 +0300 iwlwifi: dvm: drop non VO frames when flushing Since I added the flush() callback implementation in mvm, we got reports that

[PATCH 3.16] iwlwifi: make U-APSD default configurable at compile time

2014-12-23 Thread Emmanuel Grumbach
in throughput with such APs. On the other hand, uAPSD can result in some power consumption benefits, but for now just disable it to get performance with affected APs back up. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/Kconfig | 10

[PATCH 3.17] iwlwifi: make U-APSD default configurable at compile time

2014-12-23 Thread Emmanuel Grumbach
in throughput with such APs. On the other hand, uAPSD can result in some power consumption benefits, but for now just disable it to get performance with affected APs back up. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/Kconfig | 10

[PATCH 3.17 1/2] iwlwifi: mvm: ROC - bug fixes around time events and locking

2014-12-05 Thread Emmanuel Grumbach
at a time, enforce this and don't add the time event to any list. We were also missing the locking of the mutex which led to a lockdep splat - fix that. Signed-off-by: Matti Gottlieb Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 25 ---

[PATCH 3.17 2/2] iwlwifi: mvm: check TLV flag before trying to use hotspot firmware commands

2014-12-05 Thread Emmanuel Grumbach
the userspace, Signed-off-by: Luciano Coelho Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-fw.h | 4 +++- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 12 +--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/iwlwifi

[PATCH 20/26] iwlwifi: dvm: fix flush support for old firmware

2014-12-02 Thread Emmanuel Grumbach
From: Emmanuel Grumbach Since the commit below, iwldvm sends the FLUSH command to the firmware. All the devices that use iwldvm have a firmware that expects the _v3 version of this command, besides 5150. 5150's latest available firmware still expects a _v2 version of the FLUSH command.

[PATCH 21/26] iwlwifi: mvm: update values for Smart Fifo

2014-12-02 Thread Emmanuel Grumbach
From: Emmanuel Grumbach Interoperability issues were identified and root caused to the Smart Fifo watermarks. These issues arose with NetGear R7000. Fix this. Cc: [3.14+] Fixes: 1f3b0ff8ecce ("iwlwifi: mvm: Add Smart FIFO support") Reviewed-by: Johannes Berg Signed-off-by: Emmanue

[PATCH] cfg80211: don't WARN about two consecutive Country IE hint

2014-12-01 Thread Emmanuel Grumbach
ry IE conflicting first") Signed-off-by: Emmanuel Grumbach --- net/wireless/reg.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 8fe21c0..3e69554 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -2047,

[PATCH 3.10] iwlwifi: configure the LTR

2014-11-19 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit 9180ac50716a097a407c6d7e7e4589754a922260 upstream. The LTR is the handshake between the device and the root complex about the latency allowed when the bus exits power save. This configuration was missing and this led to high latency in the link power up. The end

[PATCH 3.12] iwlwifi: configure the LTR

2014-11-19 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit 9180ac50716a097a407c6d7e7e4589754a922260 upstream. The LTR is the handshake between the device and the root complex about the latency allowed when the bus exits power save. This configuration was missing and this led to high latency in the link power up. The end

[PATCH 3.17] iwlwifi: fix RFkill while calibrating

2014-11-19 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit 31b8b343e019e0a0c57ca9c13520a87f9cab884b upstream. If the RFkill interrupt fires while we calibrate, it would make the firmware fail and the driver wasn't able to recover. Change the flow so that the driver will kill the firmware in that case. Since we hav

[PATCH 3.14] iwlwifi: configure the LTR

2014-11-19 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit 9180ac50716a097a407c6d7e7e4589754a922260 upstream. The LTR is the handshake between the device and the root complex about the latency allowed when the bus exits power save. This configuration was missing and this led to high latency in the link power up. The end

[PATCH 2/2] iwlwifi: pcie: fix prph dump length

2014-11-10 Thread Emmanuel Grumbach
to fw-error-dump") Signed-off-by: Liad Kaufman Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/trans.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iw

[PATCH 3.14] iwlwifi: configure the LTR

2014-11-10 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit 9180ac50716a097a407c6d7e7e4589754a922260 upstream. The LTR is the handshake between the device and the root complex about the latency allowed when the bus exits power save. This configuration was missing and this led to high latency in the link power up. The end

[PATCH 3.10] iwlwifi: configure the LTR

2014-11-10 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit 9180ac50716a097a407c6d7e7e4589754a922260 upstream. The LTR is the handshake between the device and the root complex about the latency allowed when the bus exits power save. This configuration was missing and this led to high latency in the link power up. The end

[PATCH 2/2] iwlwifi: fix RFkill while calibrating

2014-11-03 Thread Emmanuel Grumbach
From: Emmanuel Grumbach If the RFkill interrupt fires while we calibrate, it would make the firmware fail and the driver wasn't able to recover. Change the flow so that the driver will kill the firmware in that case. Since we have now two flows that are calling trans_stop_device (the R

[PATCH 3.16 3/7] iwlwifi: pcie: add firmware monitor capabilities

2014-10-27 Thread Emmanuel Grumbach
requirements until the allocation succeeds. Dump this data into the fw-error dump file when an error happens. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-drv.c | 4 + drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h | 18 drivers/net/wireless/iwlwifi/iwl

[PATCH 3.16 7/7] iwlwifi: mvm: update layout of firmware error dump

2014-10-27 Thread Emmanuel Grumbach
commit 5bfe6f53283de44855ee45a102210abbfac995f9 upstream. The memory was not zeroed - fix that. Also update the iwl_fw_error_dump_info structure. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 3.16 0/7] Backort firmware monitor to 3.16

2014-10-27 Thread Emmanuel Grumbach
them here so that distros can apply them if they want to. I know there are distros shipping 3.16, and having these patches in can greatly help our ability to debug nasty issues. Emmanuel Grumbach (7): iwlwifi: add device / firmware to fw-error-dump file iwlwifi: rename iwl_mvm_fw_error_next

[PATCH 3.16 5/7] iwlwifi: mvm: don't collect logs in the interrupt thread

2014-10-27 Thread Emmanuel Grumbach
its content to iwl_mvm_fw_error_dump. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mvm.h | 3 --- drivers/net/wireless/iwlwifi/mvm/ops.c | 31 --- drivers/net/wireless/iwlwifi/mvm/utils.c | 22 -- 3 files changed, 12

[PATCH 3.16 6/7] iwlwifi: mvm: kill iwl_mvm_fw_error_rxf_dump

2014-10-27 Thread Emmanuel Grumbach
commit 655e6d6db21b0c0d411aef9d816816fb68b0496c upstream. Its content can move to the caller. While at it, move iwl_mvm_fw_error_rxf_dump to caller. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 100 drivers/net/wireless/iwlwifi

[PATCH 3.16 2/7] iwlwifi: rename iwl_mvm_fw_error_next_data

2014-10-27 Thread Emmanuel Grumbach
commit 1fa1605648d15d42f350807279b6c6e8d33b6382 upstream. This is not related to mvm. Rename to iwl_fw_error_next_data. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h | 4 ++-- drivers/net/wireless/iwlwifi/mvm/ops.c | 6 +++--- 2 files changed

[PATCH 3.16 1/7] iwlwifi: add device / firmware to fw-error-dump file

2014-10-27 Thread Emmanuel Grumbach
commit 06ddbf5adac1fd2a031eade8a92239abfa6db93a upstream. This can be useful later for parsing since the parsing may differ based on the device's family / bus. Also add the human readable version of the firmware. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-

[PATCH 3.16 4/7] iwlwifi: remove wrong comment about alignment in iwl-fw-error-dump.h

2014-10-27 Thread Emmanuel Grumbach
commit d4849277f92a0bfa08a988545ea527fc8e0c9571 upstream. The chunks of data do not need to be multipliers of 4 nor 4-bytes aligned. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH 7/8] iwlwifi: dvm: drop non VO frames when flushing

2014-10-21 Thread Emmanuel Grumbach
From: Emmanuel Grumbach When mac80211 wants to ensure that a frame is sent, it calls the flush() callback. Until now, iwldvm implemented this by waiting that all the frames are sent (ACKed or timeout). In case of weak signal, this can take a significant amount of time, delaying the next

[PATCH 1/8] iwlwifi: configure the LTR

2014-10-21 Thread Emmanuel Grumbach
From: Emmanuel Grumbach The LTR is the handshake between the device and the root complex about the latency allowed when the bus exits power save. This configuration was missing and this led to high latency in the link power up. The end user could experience high latency in the network because of

[PATCH 8/8] Revert "iwlwifi: mvm: treat EAPOLs like mgmt frames wrt rate"

2014-10-21 Thread Emmanuel Grumbach
From: Emmanuel Grumbach This reverts commit aa11bbf3df026d6b1c6b528bef634fd9de7c2619. This commit was causing connection issues and is not needed if IWL_MVM_RS_RSSI_BASED_INIT_RATE is set to false by default. Regardless of the issues mentioned above, this patch added the following WARNING

[PATCH 3/8] iwlwifi: mvm: BT Coex - update the MPLUT Boost register value

2014-10-21 Thread Emmanuel Grumbach
From: Emmanuel Grumbach Cc: [3.16+] Fixes: 2adc8949efab ("iwlwifi: mvm: BT Coex - fix boost register / LUT values") Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/coex.c| 4 ++-- drivers/net/wireless/iwlwifi/mvm/coex_legacy.c | 4 ++-- 2 files

[PATCH 16/17] iwlwifi: mvm: disable BT Co-running by default

2014-09-21 Thread Emmanuel Grumbach
From: Emmanuel Grumbach The tables still contain dummy values. Cc: [3.15+] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/constants.h b/drivers/net

[PATCH 11/17] iwlwifi: Add missing PCI IDs for the 7260 series

2014-09-21 Thread Emmanuel Grumbach
From: Oren Givon Add 4 missing PCI IDs for the 7260 series. Cc: [3.10+] Signed-off-by: Oren Givon Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/drv.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/iwlwifi/pcie/drv.c b/drivers/net

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

2014-09-14 Thread Emmanuel Grumbach
other mgmt frames which would initially get sent at the basic rate. Cc: [3.13+] Signed-off-by: Eyal Shapira Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/tx.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/driver

[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

[PATCH 05/12] iwlwifi: increase DEFAULT_MAX_TX_POWER

2014-09-08 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

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

2014-09-08 Thread Emmanuel Grumbach
other mgmt frames which would initially get sent at the basic rate. Cc: [3.13+] Signed-off-by: Eyal Shapira Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/tx.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH 1/3] Revert "iwlwifi: dvm: don't enable CTS to self"

2014-09-01 Thread Emmanuel Grumbach
From: Emmanuel Grumbach This reverts commit 43d826ca5979927131685cc2092c7ce862cb91cd. This commit caused packet loss. Cc: Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/dvm/rxon.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/wireless

[PATCH 3.14] iwlwifi: mvm: disable CTS to Self

2014-07-23 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit dc271ee0d04d12d6bfabacbec803289a7072fbd9 upstream. Firmware folks seem say that this flag can make trouble. Drop it. The advantage of CTS to self is that it slightly reduces the cost of the protection, but make the protection less reliable. Cc: [3.13+] Signed

[PATCH 3.15] iwlwifi: mvm: disable CTS to Self

2014-07-23 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit dc271ee0d04d12d6bfabacbec803289a7072fbd9 upstream. Firmware folks seem say that this flag can make trouble. Drop it. The advantage of CTS to self is that it slightly reduces the cost of the protection, but make the protection less reliable. Cc: [3.13+] Signed

[PATCH 3.15] iwlwifi: mvm: disable CTS to Self

2014-07-23 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit dc271ee0d04d12d6bfabacbec803289a7072fbd9 upstream. Firmware folks seem say that this flag can make trouble. Drop it. The advantage of CTS to self is that it slightly reduces the cost of the protection, but make the protection less reliable. Cc: [3.13+] Signed

[PATCH 3.14] iwlwifi: mvm: disable CTS to Self

2014-07-23 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit dc271ee0d04d12d6bfabacbec803289a7072fbd9 upstream. Firmware folks seem say that this flag can make trouble. Drop it. The advantage of CTS to self is that it slightly reduces the cost of the protection, but make the protection less reliable. Cc: [3.13+] Signed

[PATCH 3/3] iwlwifi: mvm: disable CTS to Self

2014-07-05 Thread Emmanuel Grumbach
From: Emmanuel Grumbach Firmware folks seem say that this flag can make trouble. Drop it. The advantage of CTS to self is that it slightly reduces the cost of the protection, but make the protection less reliable. Cc: [3.13+] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi

[PATCH 2/3] iwlwifi: dvm: don't enable CTS to self

2014-07-05 Thread Emmanuel Grumbach
From: Emmanuel Grumbach We should always prefer to use full RTS protection. Using CTS to self gives a meaningless improvement, but this flow is much harder for the firmware which is likely to have issues with it. CC: Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/dvm

[PATCH v3] mac80211: fix dtim period propagation to the driver

2014-06-24 Thread Emmanuel Grumbach
kernel.org/show_bug.cgi?id=78101 Cc: [3.9+] Fixes: c65dd1477b6f ("mac80211: inform the driver about update of dtim_period") Reported-by: Johannes Stezenbach Signed-off-by: Emmanuel Grumbach --- v2: fix typos in commit message v3: move the assignment to the proper place (if tim) change

[PATCH 2/3] iwlwifi: update the 7265 series HW IDs

2014-06-24 Thread Emmanuel Grumbach
From: Oren Givon Add one more 7265 series HW ID. Edit one existing 7265 series HW ID. CC: [3.13+] Signed-off-by: Oren Givon Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless

[PATCH v2] mac80211: fix dtim period propagation to the driver

2014-06-20 Thread Emmanuel Grumbach
Stezenbach Signed-off-by: Emmanuel Grumbach --- v2: typos in commit message --- net/mac80211/mlme.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index e37b97d..661dc8b 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -4438,6 +443

[PATCH] mac80211: fix dtim period propagation to the driver

2014-06-20 Thread Emmanuel Grumbach
: Johannes Stezenbach Signed-off-by: Emmanuel Grumbach --- net/mac80211/mlme.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index e37b97d..661dc8b 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -4438,6 +4438,8 @@ int ieee80211_mgd_as

[PATCH 3.14 2/2] iwlwifi: mvm: rs: clear per rate stats when aggregation changes

2014-06-04 Thread Emmanuel Grumbach
at it make sure any clearing of the per rate stats will get logged. Cc: [3.14] Signed-off-by: Eyal Shapira Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/rs.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/iwlwifi

[PATCH 3.14 1/2] iwlwifi: add rs_rate_scale_clear_tbl_windows helper function

2014-06-04 Thread Emmanuel Grumbach
From: Eliad Peller commit 3ca71f603bb1a0f55e1ba24618ba45617bc36f70 upstream. instead of duplicating the same loop multiple times, use a new function for it. this will be later used also for clearing other windows in the table. Signed-off-by: Eliad Peller Signed-off-by: Emmanuel Grumbach

[PATCH 3.14] iwlwifi: mvm: BT Coex - fix Look Up Table

2014-06-04 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit a6bc92803e7f765e02c923cf37c8e280e729642a upstream. A few entries were wrong and this caused throughput issues. Fixes: dac94da8dba3 ("iwlwifi: mvm: new BT Coex API") Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/bt-c

[PATCH] iwlwifi: mvm: disable beacon filtering

2014-05-21 Thread Emmanuel Grumbach
From: Emmanuel Grumbach This feature has been causing trouble - disable it for now. Cc: [3.13+] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b

Re: How to disable beacon filtering in iwlwifi in 3.13 and 3.14

2014-05-19 Thread Emmanuel Grumbach
On 05/19/2014 10:41 PM, Greg KH wrote: > On Mon, May 19, 2014 at 01:40:34PM +0300, Emmanuel Grumbach wrote: >> Hi, >> >> I need to disable a feature on 3.13 and 3.14. But I don't have any >> patch upstream that I can point to as the patch that needs to be >>

Re: [PATCH 3.13 / 3.14] iwlwifi: mvm: disable beacon filtering

2014-05-19 Thread Emmanuel Grumbach
On 05/19/2014 11:21 PM, Emmanuel Grumbach wrote: > From: Emmanuel Grumbach > > This feature has been causing trouble - disable it for now. > Fixes are available, but they are too big to be backported. > > Signed-off-by: Emmanuel Grumbach > --- > drivers/net/wireles

[PATCH 3.13 / 3.14] iwlwifi: mvm: disable beacon filtering

2014-05-19 Thread Emmanuel Grumbach
From: Emmanuel Grumbach This feature has been causing trouble - disable it for now. Fixes are available, but they are too big to be backported. Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

How to disable beacon filtering in iwlwifi in 3.13 and 3.14

2014-05-19 Thread Emmanuel Grumbach
ble the feature. What is the right process here? I understand that this isn't covered by the "stable rules". So what should I do here? FYI: this is the patch: commit 31e56634bea6ab23817faa069663af3103da0609 Author: Emmanuel Grumbach Date: Sun May 18 19:05:23 2014 +0300

[PATCH] iwlwifi: mvm: Change beacon filter enablement condition

2014-05-18 Thread Emmanuel Grumbach
event that indicates beacon is received after association. Too early beacon filtering enablement can lead to disconnection due to missing AP's beacon after association. Signed-off-by: Alexander Bondar Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 5 +++

[PATCH 04/24] iwlwifi: pcie: try to get ownership several times

2014-05-15 Thread Emmanuel Grumbach
From: Emmanuel Grumbach Some races with the hardware can happen when we take ownership of the device. Don't give up after the first try. Cc: Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/trans.c | 26 -- 1

[PATCH 1/3] iwlwifi: mvm: fix setting channel in monitor mode

2014-05-13 Thread Emmanuel Grumbach
From: Emmanuel Grumbach There was a deadlock in monitor mode when we were setting the channel if the channel was not 1. == [ INFO: possible circular locking dependency detected ] 3.14.3 #4 Not tainted

[PATCH] mac80211: fix suspend vs. association race

2014-05-13 Thread Emmanuel Grumbach
Fixes: 12e7f517029d ("mac80211: cleanup generic suspend/resume procedures") Signed-off-by: Emmanuel Grumbach --- net/mac80211/mlme.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 139005d..5e4f7ea 100644 --- a/net/mac802

[PATCH 5/5] iwlwifi: pcie: disable interrupts upon PCIe alloc

2014-05-07 Thread Emmanuel Grumbach
From: Emmanuel Grumbach In case RFKILL is in KILL position, the NIC will issue an interrupt straight away. This interrupt won't be sent because it is masked in the hardware. But if our interrupt service routine is called for another reason (SHARED_IRQ), then we'll look at the interrupt

[PATCH 13/13] iwlwifi: mvm: BT Coex - fix Look Up Table

2014-04-13 Thread Emmanuel Grumbach
From: Emmanuel Grumbach A few entries were wrong and this caused throughput issues. Cc: [3.13+] Fixes: dac94da8dba3 ("iwlwifi: mvm: new BT Coex API") Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/coex.c | 12 ++-- 1 file changed, 6 insertions(+), 6

[PATCH 12/13] iwlwifi: mvm: rs: clear per rate stats when aggregation changes

2014-04-13 Thread Emmanuel Grumbach
logged. Cc: [3.14] Signed-off-by: Eyal Shapira Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/rs.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index

[PATCH 10/13] iwlwifi: mvm: rs: fallback to legacy Tx columns

2014-04-13 Thread Emmanuel Grumbach
ase we're doing aggregations as the aggregation was being transmitted in the initial rate of the table. This should help traffic stalls when far from the AP. Cc: [3.14] Signed-off-by: Eyal Shapira Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/i

[PATCH 06/13] iwlwifi: add MODULE_FIRMWARE for 7265

2014-04-13 Thread Emmanuel Grumbach
From: Emmanuel Grumbach It was missing. Cc: stable@vger.kernel.org [3.13+] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-7000.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/iwlwifi/iwl-7000.c b/drivers/net/wireless/iwlwifi/iwl-7000.c index

[PATCH 09/13] iwlwifi: mvm: rs: reinit rs if no tx for a long time

2014-04-13 Thread Emmanuel Grumbach
d-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/rs.c | 22 +- drivers/net/wireless/iwlwifi/mvm/rs.h | 1 + 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index 97b8fac.

[PATCH 11/13] iwlwifi: mvm: avoid searching unnecessary columns

2014-04-13 Thread Emmanuel Grumbach
From: Eyal Shapira Don't search columns which are unlikely to succeed as previous columns searched with less aggressive modulation failed. Cc: [3.14] Signed-off-by: Eyal Shapira Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/rs.c | 12 ++-- 1 file chang

[PATCH 08/13] iwlwifi: mvm: rs: fix and cleanup rs_get_rate_action

2014-04-13 Thread Emmanuel Grumbach
ing a potential for better throughput. While at it rewrite rs_get_rate_action to be more clear and clean. Cc: [3.14] Signed-off-by: Eyal Shapira Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/rs.c | 127 -- drivers/net/wireless/iwlwifi/mvm

[PATCH 04/13] iwlwifi: add new 7265 HW IDs

2014-04-13 Thread Emmanuel Grumbach
From: Oren Givon Add 2 new HW IDs for the 7265 series. Cc: [3.13+] Signed-off-by: Oren Givon Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/pcie/drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/iwlwifi/pcie/drv.c b/drivers/net/wireless

[PATCH 05/13] iwlwifi: 7000: bump API to 9

2014-04-13 Thread Emmanuel Grumbach
From: Emmanuel Grumbach This will allow to load the new firmware. Cc: [3.14] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-7000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/iwl-7000.c b/drivers/net/wireless

[PATCH 01/13] iwlwifi: mvm: delay enabling smart FIFO until after beacon RX

2014-04-13 Thread Emmanuel Grumbach
the association time event ends without the host receiving any beacon even though it was on the air - it's just stuck on the FIFO. Cc: [3.14] Fixes: 1f3b0ff8ecce ("iwlwifi: mvm: Add Smart FIFO support") Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drive

[PATCH 02/13] iwlwifi: mvm: rs: fix mimo delimiter in LQ cmd

2014-04-13 Thread Emmanuel Grumbach
From: Eyal Shapira mimo_delim was always set to 0 instead of pointing to the first SISO entry after MIMO rates. This can cause keep transmitting in MIMO even when we shouldn't. For example when the peer is requesting static SMPS. Cc: [3.14] Signed-off-by: Eyal Shapira Signed-off-by: Emm

[PATCH 3.14] iwlwifi: mvm: rs: fix search cycle rules

2014-04-09 Thread Emmanuel Grumbach
antennas we would keep doing MIMO at a low rate instead of switching to SISO at a higher rate using the better antenna which was the optimal configuration. Signed-off-by: Eyal Shapira Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm/rs.c | 36 +-- 1

[PATCH 3.12] iwlwifi: mvm: don't WARN when statistics are handled late

2014-03-22 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit 1e9291996c4eedf79883f47ec635235e39d3d6cd upstream. Since the statistics handler is asynchrous, it can very well be that we will handle the statistics (hence the RSSI fluctuation) when we already disassociated. Don't WARN on this case. This solves:

[PATCH 3.10] iwlwifi: mvm: don't WARN when statistics are handled late

2014-03-19 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit 1e9291996c4eedf79883f47ec635235e39d3d6cd upstream Since the statistics handler is asynchrous, it can very well be that we will handle the statistics (hence the RSSI fluctuation) when we already disassociated. Don't WARN on this case. This solves:

[PATCH 35/35] iwlwifi: mvm: disable uAPSD due to bugs in the firmware

2014-03-18 Thread Emmanuel Grumbach
From: Emmanuel Grumbach The current firmware advertises support for uAPSD, but critical bugs force us to disable the feature. When a fixed firmware will be available, we will be able to re-enable uAPSD. Cc: [3.13+] Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/mvm

[PATCH 3.10+] iwlwifi: disable TX AMPDU by default for iwldvm

2014-03-18 Thread Emmanuel Grumbach
From: Emmanuel Grumbach commit 205e2210daa975d92ace485a65a31ccc4077fe1a upstream. NICs supported by iwldvm don't handle well TX AMPDU. Disable it by default, still leave the possibility to the user to force enable it with a debug parameter. NICs supported by iwlmvm don't suffer fro

[PATCH] iwlwifi: dvm: take mutex when sending SYNC BT config command

2014-03-11 Thread Emmanuel Grumbach
From: Emmanuel Grumbach There is a flow in which we send the host command in SYNC mode, but we don't take priv->mutex. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1046495 Cc: Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/dvm/ma

[PATCH 1/2] iwlwifi: mvm: don't WARN when statistics are handled late

2014-03-04 Thread Emmanuel Grumbach
From: Emmanuel Grumbach Since the statistics handler is asynchrous, it can very well be that we will handle the statistics (hence the RSSI fluctuation) when we already disassociated. Don't WARN on this case. This solves: https://bugzilla.redhat.com/show_bug.cgi?id=1071998 Cc: [3.10+]

  1   2   >