Re: [PATCH 07/16] iwlwifi: mvm: support new WoWLAN status FW API

2018-08-18 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Luca-Coelho/iwlwifi-updates-intended-for-v4-20-2018-08-18/20180818-163006 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master config: parisc-allyesconfig (attached as .config) compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11

Re: [PATCH 07/16] iwlwifi: mvm: support new WoWLAN status FW API

2018-08-18 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Luca-Coelho/iwlwifi-updates-intended-for-v4-20-2018-08-18/20180818-163006 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master config: parisc-allmodconfig (attached as .config) compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11

rtlwifi/rtl8188ee: _rtl_pci_rx_interrupt equivalent dropping frames

2018-08-18 Thread Farhan Khan
Hi all, I am working on porting the rtlwifi/rtl8188ee to expand FreeBSD's equivalent rtwn driver. In the equivalent code, the function _rtl_pci_rx_interrupt from drivers/net/wireless/realtek/rtlwifi/pci.c runs into the if-condition: if (own) /* wait data to be filled by hardware */ r

donation

2018-08-18 Thread Xiang, Feifei
-- donation of $3 to you, contact hams@hotmail.com to verefly

Re: [PATCH v6 2/3] mac80211: Define new driver callback replace_key

2018-08-18 Thread Alexander Wetzel
Hi, > Hi Alexander, > > Just minor nitpicks: > >> + * @replace_key: Replace an exiting in use key with a new one while >> guaranteeing >> + * to not leak clear text packets. Implementing this callback >> will enable >> + * mac80211 to announce NL80211_EXT_FEATURE_ATOMIC_KEY_REPLACE. >> +

Re: [PATCH v6 1/3] nl80211: Add ATOMIC_KEY_REPLACE API

2018-08-18 Thread Alexander Wetzel
Hi Denis Am 16.08.18 um 18:30 schrieb Denis Kenzior: > Hi Alexander, > > On 08/14/2018 05:42 AM, Alexander Wetzel wrote: >> Drivers able to correctly replace a in-use key should set >> NL80211_EXT_FEATURE_ATOMIC_KEY_REPLACE to allow the userspace (e.g. >> hostapd or wpa_supplicant) to rekey PTK k

Re: [PATCH] Fix Bug 199967 - change WARN_ON(1) to IWL_ERR()

2018-08-18 Thread Luciano Coelho
On Sat, 2018-08-18 at 09:52 -0700, Joe Perches wrote: > On Sat, 2018-08-18 at 09:11 -0700, Nye Liu wrote: > > On 8/18/2018 1:41 AM, Luciano Coelho wrote: > > > > > On Fri, 2018-08-17 at 20:35 -0700, Nye Liu wrote: > > > > The TX_STATUS_FAIL_DEST_PS case fills logs with full > > > > backtraces, whi

Re: [PATCH] Fix Bug 199967 - change WARN_ON(1) to IWL_ERR()

2018-08-18 Thread Joe Perches
On Sat, 2018-08-18 at 09:11 -0700, Nye Liu wrote: > On 8/18/2018 1:41 AM, Luciano Coelho wrote: > > > On Fri, 2018-08-17 at 20:35 -0700, Nye Liu wrote: > > > The TX_STATUS_FAIL_DEST_PS case fills logs with full backtraces, which > > > are pretty useless. Just do IWL_ERR() printk. > > > > > > Sign

Re: [PATCH] Fix Bug 199967 - change WARN_ON(1) to IWL_ERR()

2018-08-18 Thread Nye Liu
On 8/18/2018 1:41 AM, Luciano Coelho wrote: On Fri, 2018-08-17 at 20:35 -0700, Nye Liu wrote: The TX_STATUS_FAIL_DEST_PS case fills logs with full backtraces, which are pretty useless. Just do IWL_ERR() printk. Signed-off-by: Nye Liu --- drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 4 +++-

Re: ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue...?

2018-08-18 Thread Daniel Golle
Still seeing a lot of those Sat Aug 18 16:05:51 2018 kern.err kernel: [ 8364.972151] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2 Sat Aug 18 16:05:51 2018 kern.err kernel: [ 8364.981622] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping fra

wireless-regdb: Update regulatory rules for Switzerland (CH), and Liechtenstein (LI) on 5GHz

2018-08-18 Thread Henrik Laxhuber
[ My previous message didn't go through because I hadn't signed up to ] [   the wireless-regdb mailing list; I apologise if anyone receives   ] [ this message twice  ] As far as I could tell, the regulatory information for Switzerland and Liechtenst

wireless-regdb: Update regulatory rules for Switzerland (CH) on 5GHz

2018-08-18 Thread Henrik Laxhuber
This commit doubles the maximum transmission power for 5170-5250MHz in accordance with regulatory information obtained from Switzerland's national frequency allocation strategy table [0]. In addition, a note has been added that power on 5GHz for frequencies greater than 5250MHz may be doubled if TP

Re: [PATCH] Fix Bug 199967 - change WARN_ON(1) to IWL_ERR()

2018-08-18 Thread Luciano Coelho
On Fri, 2018-08-17 at 20:35 -0700, Nye Liu wrote: > The TX_STATUS_FAIL_DEST_PS case fills logs with full backtraces, which > are pretty useless. Just do IWL_ERR() printk. > > Signed-off-by: Nye Liu > --- > drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 4 +++- > 1 file changed, 3 insertions(+), 1

[PATCH 11/16] iwlwifi: mvm: add support for RX_AMPDU_EOF bit for HE SU

2018-08-18 Thread Luca Coelho
From: Liad Kaufman Current implementation turns this bit on only for HE MU. Signed-off-by: Liad Kaufman Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rxm

[PATCH 15/16] iwlwifi: pcie: allow using tx init for other queues but the command queue

2018-08-18 Thread Luca Coelho
From: Golan Ben Ami We would like to allow using tx init code for other queues but the command queue - for newer devices. Signed-off-by: Golan Ben Ami Signed-off-by: Luca Coelho --- .../wireless/intel/iwlwifi/pcie/internal.h| 3 ++- .../wireless/intel/iwlwifi/pcie/trans-gen2.c | 2 +-

[PATCH 05/16] iwlwifi: add d3 debug data support

2018-08-18 Thread Luca Coelho
From: Shahar S Matityahu During d3, the firmware records debug data into internal buffer if debug data collection occurs, collect the data that was written to the buffer Signed-off-by: Shahar S Matityahu Signed-off-by: Luca Coelho --- .../net/wireless/intel/iwlwifi/cfg/22000.c| 4 +- dri

[PATCH 12/16] iwlwifi: mvm: move he RX handling to a separate function

2018-08-18 Thread Luca Coelho
From: Sara Sharon The HE code is bloating the RX handling, and makes it too big. Signed-off-by: Sara Sharon Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 582 +- 1 file changed, 286 insertions(+), 296 deletions(-) diff --git a/drivers/net/wire

[PATCH 09/16] iwlwifi: add required include to iwl-fh.h

2018-08-18 Thread Luca Coelho
From: Golan Ben Ami Some variables are used in iwl-fh.h, but their type's definition isn't included. This may break compilation when using the file without including the necessary dependencies first. Add the required include to iwl-fh.h. Signed-off-by: Golan Ben Ami Signed-off-by: Luca Coelho

[PATCH 10/16] iwlwifi: mvm: add bss color to radiotap

2018-08-18 Thread Luca Coelho
From: Liad Kaufman Add BSS color to the HE radiotap. Signed-off-by: Liad Kaufman Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c b/drivers/net/wirele

[PATCH 08/16] iwlwifi: mvm: add NOA and CSA to a probe response

2018-08-18 Thread Luca Coelho
From: Gregory Greenman A probe response built by a P2P GO should contain: 1. CSA/eCSA IE when relevant 2. If the corresponding probe request had P2P IE, then need to add P2P IE with NOA attributes. However, the NOA attributes and the updated channel switch counter are known only to the FW. The s

[PATCH 13/16] iwlwifi: enable reading the value of delay in timestamp_marker cmd

2018-08-18 Thread Luca Coelho
From: Mordechay Goodstein The user can validate what was written to the file by reading it, and check what is the default value before changing it. Signed-off-by: Mordechay Goodstein Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 10 +- 1 file changed

[PATCH 16/16] iwlwifi: pcie: make non-static hcmd and rx code

2018-08-18 Thread Luca Coelho
From: Golan Ben Ami Allow other device generations to use the utilities that are used to send and reclaim host commands and to allocate rx, by making it non-static. Signed-off-by: Golan Ben Ami Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/pcie/internal.h | 8 dr

[PATCH 14/16] iwlwifi: drop packets with bad status in CD

2018-08-18 Thread Luca Coelho
From: Sara Sharon We need to drop packets with errors (such as replay, MIC, ICV, conversion, duplicate and so on). Drop invalid packets, put the status bits in the metadata and move the enum definition to the correct place (FW API header). Signed-off-by: Sara Sharon Signed-off-by: Luca Coelho

[PATCH 07/16] iwlwifi: mvm: support new WoWLAN status FW API

2018-08-18 Thread Luca Coelho
From: Luca Coelho A new FW API has been added for WOWLAN_GET_STATUSES to support multiple GTK keys and IGTK keys. Check the respective TLV and use the new API when it is set. Let most of the code use the new version (v7) and convert the old version (v6) to the new one when needed. Also refacto

[PATCH 01/16] iwlwifi: turn timestamp marker cmd off by default

2018-08-18 Thread Luca Coelho
From: Mordechay Goodstein Don't enable debugging timestamps by default, so we save power by not waking up the FW with timestamp commands. Signed-off-by: Mordechay Goodstein Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 3 --- 1 file changed, 3 deletions(-) diff

[PATCH 00/16] iwlwifi: updates intended for v4.20 2018-08-18

2018-08-18 Thread Luca Coelho
From: Luca Coelho Hi, Here's the first set of patches intended for v4.20. It's the usual developments, with some small new feauters, cleanups and bugfixes. The changes are: * One fix for channel-switch handling; * Some improvements in the HE code; * New FW API handling; * Improvements in the

[PATCH 02/16] iwlwifi: remove unused TLC debugging commands

2018-08-18 Thread Luca Coelho
From: Luca Coelho The iwl_dhc_tlc_cmd struct is not used, so remove it, including the iwl_tcl_debug_flags enumeration. Signed-off-by: Luca Coelho --- .../net/wireless/intel/iwlwifi/fw/api/rs.h| 60 --- 1 file changed, 60 deletions(-) diff --git a/drivers/net/wireless/intel

[PATCH 04/16] iwlwifi: set the tid for non-QOS frames to zero

2018-08-18 Thread Luca Coelho
From: Avraham Stern The tid for Non-QOS frames is set to IWL_MAX_TID_COUNT. This value is also used for configuring the queue for non-QOS data. However, this tid is used by the FW for management queues. As a result, the FW does not encrypt non-QOS data frames. Fix this by setting the tid for non

[PATCH 06/16] iwlwifi: mvm: remove duplicate if in iwl_mvm_setup_connection_keep()

2018-08-18 Thread Luca Coelho
From: Luca Coelho We repeated the same if twice in a row. Remove the second one and move the code block into the previous one. Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/wire

[PATCH 03/16] iwlwifi: runtime: avoid calling debugfs read functions more than once

2018-08-18 Thread Luca Coelho
From: Naftali Goldstein Upon first calling read() on a debugfs file, invoke iwl_dbgfs_##name##_read and store the response buffer on the heap, so subsequent read() calls don't need to invoke said function again. This is done because cat etc will call read() repeatedly until EOF is reached (or re