Re: [PATCH 5/6] qtnfmac: add support for PTA configuration

2018-08-05 Thread Arend van Spriel
On 8/5/2018 5:22 PM, Sergey Matyukevich wrote: Implement support for PTA (Packet Traffic Arbitration) configuration. The PTA mechanism is used to coordinate sharing of the medium between WiFi and other 2.4 wireless networks, e.g. Bluetooth or ZigBee. This patch implements core infrastructure and

[PATCH v5 1/3] nl80211: Add ATOMIC_KEY_REPLACE API

2018-08-05 Thread Alexander Wetzel
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 keys. The userspace must detect a PTK rekey attempt and only go ahead with the rekey when the driver has set this flag. If the drive

[PATCH v5 3/3] mac80211: Fix PTK rekey freezes and cleartext leaks

2018-08-05 Thread Alexander Wetzel
Rekeying PTK keys without "Extended Key ID for Individually Addressed Frames" did use a procedure not suitable to replace in-use keys and could caused the following issues: 1) Freeze caused by incoming packets: If the local STA installed the key prior to the remote STA we still had the ol

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

2018-08-05 Thread Alexander Wetzel
Define the new driver callback replace_key in mac80211 for future use. Drivers able to replace a in-use key should implement this new callback to allow mac80211 drivers to securely use PTK rekeying. On return of the function drivers must guarantee they: - Did not send out any frames for the key u

[PATCH v5 0/3] Fix PTK rekey freezes and cleartext leaks

2018-08-05 Thread Alexander Wetzel
This patch series addresses a long standing issue how mac80211 handles PTK rekeys. The current implementation can only work with SW crypto or by chance, e.g. if there are no frames transmitted while the STAs are rekeying or you hit just the right combination of cards/drivers. Any ongoing transmiss

Re: ath9k and 16 VAP interfaces?

2018-08-05 Thread michael-dev
Hi, I'm using [1]. I was seeing some trouble with powersave + broadcasts, so I added [2], so that the queue would get empty faster. Regards, M. Braun [1] http://git.fem.tu-ilmenau.de/?p=fem-wlan.git;a=blob;f=package/kernel/mac80211/patches/911-more-ap-interfaces.patch;h=873a6cb7bdb8a7462ffd

Re: [PATCH 5/6] qtnfmac: add support for PTA configuration

2018-08-05 Thread Sergey Matyukevich
> > > > > Implement support for PTA (Packet Traffic Arbitration) configuration. > > > > > The PTA mechanism is used to coordinate sharing of the medium between > > > > > WiFi and other 2.4 wireless networks, e.g. Bluetooth or ZigBee. > > > > > > > > > > This patch implements core infrastructure an

Re: [PATCH 7/8] staging: wilc1000: replace udelay with usleep_range

2018-08-05 Thread Greg KH
On Fri, Aug 03, 2018 at 01:58:51PM +0530, Ajay Singh wrote: > Hi Greg, > > On Thu, 2 Aug 2018 09:34:15 +0200 > Greg KH wrote: > > > On Sun, Jul 29, 2018 at 11:36:56AM +0530, Ajay Singh wrote: > > > Cleanup patch to avoid the below checkpatch reported issue. > > > > > > "usleep_range is preferre