[PATCH V3] rtlwifi: rtl_pci: Fix problem of too small skb->len

2019-10-20 Thread Larry Finger
In commit 8020919a9b99 ("mac80211: Properly handle SKB with radiotap only"), buffers whose length is too short cause a WARN_ON(1) to be executed. This change exposed a fault in rtlwifi drivers, which is fixed by regarding packets with skb->len <= FCS_LEN as though they are in error and dropping the

Re: [PATCH V2] rtlwifi: rtl_pci: Fix problem of too small skb->len

2019-10-20 Thread Larry Finger
On 10/20/19 3:28 AM, Kalle Valo wrote: Larry Finger writes: In commit 8020919a9b99 ("mac80211: Properly handle SKB with radiotap only"), buffers whose length is too short cause a WARN_ON(1) to be executed. This change exposed a fault in rtlwifi drivers, which is fixed by increasing the length

CFS for Netdev 0x14 open!

2019-10-20 Thread Jamal Hadi Salim
We are pleased to announce the opening of Call For Submissions(CFS) for Netdev 0x14. For overview of topics, submissions and requirements please visit: https://netdevconf.info/0x14/submit-proposal.html For all submitted sessions, we employ a blind review process carried out by the Program Com

[PATCH v2 03/12] iwlwifi: scan: make new scan req versioning flow

2019-10-20 Thread Luca Coelho
From: Shahar S Matityahu Implement a new versioning handling flow supported from version 11 onwards. Signed-off-by: Shahar S Matityahu Signed-off-by: Luca Coelho --- In v2: * removed a stray semi-colon, as reported by kbuildbot .../net/wireless/intel/iwlwifi/fw/api/scan.h | 113 d

[PATCH v2 46/49] ath11k: add wmi.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/wmi.h | 4664 + 1 file changed, 4664 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k

[PATCH v2 39/49] ath11k: add rx_desc.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/rx_desc.h | 1212 + 1 file changed, 1212 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/rx_desc.h b/drivers/net/wireless/ath/at

[PATCH v2 49/49] MAINTAINERS: add ath11k

2019-10-20 Thread Kalle Valo
Add an entry for ath11k to the MAINTAINERS file. Signed-off-by: John Crispin Signed-off-by: Kalle Valo --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 677ef41cb012..ae00b2c443b6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13028,6 +13

[PATCH v2 48/49] ath: add ath11k to Kconfig

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/Kconfig b/drivers/net/wireless/ath/Kconfig index 82ab7c33cf97..88473bcdd196 100644 --- a/dr

[PATCH v2 47/49] ath: add ath11k to Makefile

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/Makefile b/drivers/net/wireless/ath/Makefile index e4e460b5498e..72f8e3a24c67 100644 ---

[PATCH v2 31/49] ath11k: add mac.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/mac.c | 5427 + 1 file changed, 5427 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k

[PATCH v2 42/49] ath11k: add testmode_i.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/testmode_i.h | 50 1 file changed, 50 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/testmode_i.h b/drivers/net/wireless/ath/a

[PATCH v2 35/49] ath11k: add qmi.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/qmi.c | 2435 + 1 file changed, 2435 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/qmi.c b/drivers/net/wireless/ath/ath11k

[PATCH v2 40/49] ath11k: add testmode.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/testmode.c | 199 + 1 file changed, 199 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/testmode.c b/drivers/net/wireless/ath/at

[PATCH v2 32/49] ath11k: add mac.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/mac.h | 145 ++ 1 file changed, 145 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/mac.h b/drivers/net/wireless/ath/ath11k/

[PATCH v2 37/49] ath11k: add reg.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/reg.c | 701 ++ 1 file changed, 701 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/reg.c b/drivers/net/wireless/ath/ath11k/

[PATCH v2 36/49] ath11k: add qmi.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/qmi.h | 445 ++ 1 file changed, 445 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/qmi.h b/drivers/net/wireless/ath/ath11k/

[PATCH v2 44/49] ath11k: add trace.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/trace.h | 110 1 file changed, 110 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/trace.h b/drivers/net/wireless/ath/ath11

[PATCH v2 30/49] ath11k: add hw.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/hw.h | 127 +++ 1 file changed, 127 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/hw.h b/drivers/net/wireless/ath/ath11k/h

[PATCH v2 33/49] ath11k: add peer.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/peer.c | 236 + 1 file changed, 236 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/peer.c b/drivers/net/wireless/ath/ath11k

[PATCH v2 43/49] ath11k: add trace.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/trace.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/trace.c b/drivers/net/wireless/ath/ath11k/trace.c new file mode 100

[PATCH v2 29/49] ath11k: add htc.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/htc.h | 313 ++ 1 file changed, 313 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/htc.h b/drivers/net/wireless/ath/ath11k/

[PATCH v2 38/49] ath11k: add reg.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/reg.h | 35 +++ 1 file changed, 35 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/reg.h b/drivers/net/wireless/ath/ath11k/r

[PATCH v2 23/49] ath11k: add hal_desc.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/hal_desc.h | 2469 1 file changed, 2469 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/hal_desc.h b/drivers/net/wireless/ath/a

[PATCH v2 41/49] ath11k: add testmode.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/testmode.h | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/testmode.h b/drivers/net/wireless/ath/ath1

[PATCH v2 27/49] ath11k: add hal_tx.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/hal_tx.h | 80 1 file changed, 80 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/hal_tx.h b/drivers/net/wireless/ath/ath11

[PATCH v2 25/49] ath11k: add hal_rx.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/hal_rx.h | 352 +++ 1 file changed, 352 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.h b/drivers/net/wireless/ath/ath1

[PATCH v2 34/49] ath11k: add peer.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/peer.h | 35 ++ 1 file changed, 35 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/peer.h b/drivers/net/wireless/ath/ath11k/

[PATCH v2 26/49] ath11k: add hal_tx.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/hal_tx.c | 226 +++ 1 file changed, 226 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/hal_tx.c b/drivers/net/wireless/ath/ath1

[PATCH v2 28/49] ath11k: add htc.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/htc.c | 773 ++ 1 file changed, 773 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/htc.c b/drivers/net/wireless/ath/ath11k/

[PATCH v2 22/49] ath11k: add hal.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/hal.h | 897 ++ 1 file changed, 897 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/hal.h b/drivers/net/wireless/ath/ath11k/

[PATCH v2 24/49] ath11k: add hal_rx.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/hal_rx.c | 1221 ++ 1 file changed, 1221 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.c b/drivers/net/wireless/ath/ath

[PATCH v2 16/49] ath11k: add dp.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/dp.h | 1526 ++ 1 file changed, 1526 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/dp.h b/drivers/net/wireless/ath/ath11k/

[PATCH v2 19/49] ath11k: add dp_tx.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/dp_tx.c | 943 1 file changed, 943 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11

[PATCH v2 17/49] ath11k: add dp_rx.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/dp_rx.c | 4143 +++ 1 file changed, 4143 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath1

[PATCH v2 09/49] ath11k: add core.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/core.h | 823 + 1 file changed, 823 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/core.h b/drivers/net/wireless/ath/ath11k

[PATCH v2 13/49] ath11k: add debug_htt_stats.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/debug_htt_stats.h | 1620 + 1 file changed, 1620 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/debug_htt_stats.h b/drivers/net/wireles

[PATCH v2 11/49] ath11k: add debug.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/debug.h | 278 1 file changed, 278 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/debug.h b/drivers/net/wireless/ath/ath11

[PATCH v2 10/49] ath11k: add debug.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/debug.c | 1060 +++ 1 file changed, 1060 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/debug.c b/drivers/net/wireless/ath/ath1

[PATCH v2 08/49] ath11k: add core.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/core.c | 772 + 1 file changed, 772 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k

[PATCH v2 18/49] ath11k: add dp_rx.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/dp_rx.h | 84 + 1 file changed, 84 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.h b/drivers/net/wireless/ath/ath11k

[PATCH v2 15/49] ath11k: add dp.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/dp.c | 898 +++ 1 file changed, 898 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/dp.c b/drivers/net/wireless/ath/ath11k/d

[PATCH v2 20/49] ath11k: add dp_tx.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/dp_tx.h | 40 + 1 file changed, 40 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.h b/drivers/net/wireless/ath/ath11k

[PATCH v2 14/49] ath11k: add debugfs_sta.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/debugfs_sta.c | 538 ++ 1 file changed, 538 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/debugfs_sta.c b/drivers/net/wireless/ath

[PATCH v2 21/49] ath11k: add hal.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/hal.c | 1124 + 1 file changed, 1124 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/hal.c b/drivers/net/wireless/ath/ath11k

[PATCH v2 04/49] ath11k: add ahb.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/ahb.c | 1004 + 1 file changed, 1004 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/ahb.c b/drivers/net/wireless/ath/ath11k

[PATCH v2 01/49] dt: bindings: net: add qcom,ath11k.yaml

2019-10-20 Thread Kalle Valo
ath11k is a driver for Qualcomm IEEE 802.11ax devices. Add a bindings document for the driver, first documenting IPQ8074 which is the only device ath11k currently supports. Signed-off-by: Anilkumar Kolli Signed-off-by: Kalle Valo --- .../bindings/net/wireless/qcom,ath11k.yaml | 277

[PATCH v2 07/49] ath11k: add ce.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/ce.h | 178 +++ 1 file changed, 178 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/ce.h b/drivers/net/wireless/ath/ath11k/c

[PATCH v2 02/49] ath11k: add Kconfig

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/Kconfig | 35 + 1 file changed, 35 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/Kconfig b/drivers/net/wireless/ath/ath11k

[PATCH v2 05/49] ath11k: add ahb.h

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/ahb.h | 35 +++ 1 file changed, 35 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/ahb.h b/drivers/net/wireless/ath/ath11k/a

[PATCH v2 06/49] ath11k: add ce.c

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/ce.c | 805 +++ 1 file changed, 805 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/ce.c b/drivers/net/wireless/ath/ath11k/c

[PATCH v2 03/49] ath11k: add Makefile

2019-10-20 Thread Kalle Valo
(patches split for easier review, see the cover letter for more) Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/Makefile | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/Makefile b/drivers/net/wireless/ath/ath11k/Make

[PATCH v2 00/49] ath11k: driver for Qualcomm IEEE 802.11ax devices

2019-10-20 Thread Kalle Valo
ath11k is a new driver for Qualcomm IEEE 802.11ax devices, first supporting only IPQ8074 SoC using the shared memory AHB bus. ath11k uses mac80211 and supports AP, Station and Mesh modes. Even though ath11k has some similar code as with ath10k (especially the WMI layer) it was concluded to be simp

[PATCH 01/12] iwlwifi: remove redundant assignment to variable bufsz

2019-10-20 Thread Luca Coelho
From: Colin Ian King The variable bufsz is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King Signed-off-by: Luca Coelho --- dr

[PATCH 02/12] iwlwifi: mvm: fix unaligned read of rx_pkt_status

2019-10-20 Thread Luca Coelho
From: Wang Xuerui This is present since the introduction of iwlmvm. Example stack trace on MIPS: [] iwl_mvm_rx_rx_mpdu+0xa8/0xb88 [iwlmvm] [] iwl_pcie_rx_handle+0x420/0xc48 [iwlwifi] Tested with a Wireless AC 7265 for ~6 months, confirmed to fix the problem. No other unaligned accesses are spot

[PATCH 04/12] iwlwifi: scan: support scan req cmd ver 12

2019-10-20 Thread Luca Coelho
From: Shahar S Matityahu Implement scan request command version 12. Signed-off-by: Shahar S Matityahu Signed-off-by: Luca Coelho --- .../net/wireless/intel/iwlwifi/fw/api/scan.h | 48 + drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 180 ++ 2 files changed, 228 insertio

[PATCH 06/12] iwlwifi: mvm: scan: enable adaptive dwell in p2p

2019-10-20 Thread Luca Coelho
From: Shahar S Matityahu Align to the requirement update and support adaptive dwell in p2p scan. Signed-off-by: Shahar S Matityahu Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net

[PATCH 00/12] iwlwifi: updates intended for v5.5 2019-20

2019-10-20 Thread Luca Coelho
From: Luca Coelho Hi, Here's the fourth set of patches intended for v5.5. It's the usual development, new features, cleanups and bugfixes. The changes are: * Move ACPI handling code fully into acpi.c; * Increase the CTDP budget to improve signal strength; * A fix for compilation with no ACPI

[PATCH 03/12] iwlwifi: scan: make new scan req versioning flow

2019-10-20 Thread Luca Coelho
From: Shahar S Matityahu Implement a new versioning handling flow supported from version 11 onwards. Signed-off-by: Shahar S Matityahu Signed-off-by: Luca Coelho --- .../net/wireless/intel/iwlwifi/fw/api/scan.h | 113 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 9 - drivers/ne

[PATCH 12/12] iwlwifi: mvm: fix non-ACPI function

2019-10-20 Thread Luca Coelho
From: Johannes Berg The code now compiles without ACPI, but there's a warning since iwl_mvm_get_ppag_table() isn't used, and iwl_mvm_ppag_init() must not unconditionally fail but return success instead. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwl

[PATCH 09/12] iwlwifi: mvm: sync the iwl_mvm_session_prot_notif layout

2019-10-20 Thread Luca Coelho
From: Emmanuel Grumbach The firmware API has changed a little bit but this change has no impact on the flow and is backward compatible. Signed-off-by: Emmanuel Grumbach Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/fw/api/time-event.h | 4 +++- 1 file changed, 3 insertions

[PATCH 07/12] iwlwifi: mvm: don't skip mgmt tid when flushing all tids

2019-10-20 Thread Luca Coelho
From: Haim Dreyfuss There are various of flows which require tids flushing (disconnection, suspend, etc...). Currently, when the driver instructs the FW to flush he masks all the data tids(0-7). However, the driver doesn't set the management tid (#15) which cause the FW not to flush it. When the

[PATCH 11/12] iwlwifi: 22000: fix some indentation

2019-10-20 Thread Luca Coelho
From: Johannes Berg Somehow two tabs snuck into this file where just one should be used, fix that. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho --- .../net/wireless/intel/iwlwifi/cfg/22000.c| 30 +-- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git

[PATCH 10/12] iwlwifi: remove IWL_DEVICE_22560/IWL_DEVICE_FAMILY_22560

2019-10-20 Thread Luca Coelho
From: Johannes Berg This is dead code, nothing uses the IWL_DEVICE_22560 macro and thus nothing every uses IWL_DEVICE_FAMILY_22560. Remove it all. While at it, remove some code and definitions used only in this case, and clean up some comments/names that still refer to it. Signed-off-by: Johann

[PATCH 05/12] iwlwifi: refactor the SAR tables from mvm to acpi

2019-10-20 Thread Luca Coelho
From: Ihab Zhaika Refactored the SAR related functions from iwlmvm to acpi in order to make it shared between different opmodes in addition to removing unused variable ppag_rev. Signed-off-by: Ihab Zhaika Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/fw/acpi.c | 297 +

[PATCH 08/12] iwlwifi: mvm: start CTDP budget from 2400mA

2019-10-20 Thread Luca Coelho
From: Mordechay Goodstein The current budget of 2000mA is preventing us from reaching maximum throughput. According to our system engineers, we can increase the maximum budget to 2400mA to solve this problem. Signed-off-by: Mordechay Goodstein Signed-off-by: Luca Coelho --- drivers/net/wirel

Re: [PATCH V2] rtlwifi: rtl_pci: Fix problem of too small skb->len

2019-10-20 Thread Kalle Valo
Larry Finger writes: > In commit 8020919a9b99 ("mac80211: Properly handle SKB with radiotap > only"), buffers whose length is too short cause a WARN_ON(1) to be > executed. This change exposed a fault in rtlwifi drivers, which is fixed > by increasing the length of the affected buffer before it i