Re: [PATCH resend] brcmfmac: p2p and normal ap access are not always possible at the same time

2018-03-01 Thread Hans de Goede
HI, On 28-02-18 20:43, Arend van Spriel wrote: On 2/28/2018 3:52 PM, Hans de Goede wrote: Hi, On 27-02-18 00:04, Arend van Spriel wrote: On 2/26/2018 12:22 PM, Hans de Goede wrote: Hi, On 26-02-18 12:01, Arend van Spriel wrote: On 2/26/2018 11:29 AM, Hans de Goede wrote: Hi, On 26-02-18

Re: [PATCH v2] cfg80211/nl80211: add DFS offload flag

2018-03-01 Thread Sergey Matyukevich
Hello Johannes, > > Add wiphy EXT_FEATURE flag to indicate that HW or driver does > > all DFS actions by itself. > > User-space functionality already implemented in hostapd using > > vendor-specific (QCA) OUI to advertise DFS offload support. > > Need to introduce generic flag to inform about DFS

Re: [PATCH v2] cfg80211/nl80211: add DFS offload flag

2018-03-01 Thread Johannes Berg
Hi, Sorry I haven't answered/applied this. I will eventually, you've convinced me with the answer. > We are about to send v3 for this feature. Could you please clarify > your preferences in terms of patchwork procedure ? Should we mark > previous patch versions as superseded for nl80211/cfg80211

Re: KASAN: use-after-free Read in mac80211_hwsim_del_radio

2018-03-01 Thread Johannes Berg
Hi, > syzbot hit the following crash on upstream commit > f3afe530d644488a074291da04a69a296ab63046 (Tue Feb 27 22:02:39 2018 +) > Merge branch 'fixes-v4.16-rc4' of > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security > > So far this crash happened 4 times on upstream. > Un

[PATCH v3 1/2] cfg80211/nl80211: add DFS offload flag

2018-03-01 Thread Sergey Matyukevich
From: Dmitry Lebed Add wiphy EXT_FEATURE flag to indicate that HW or driver does all DFS actions by itself. User-space functionality already implemented in hostapd using vendor-specific (QCA) OUI to advertise DFS offload support. Need to introduce generic flag to inform about DFS offload support.

[PATCH v3 0/2] cfg80211/nl80211: prepare DFS offload

2018-03-01 Thread Sergey Matyukevich
Hello Johannes and all, Here is a patch set preparing DFS offload feature. The final purpose is to enable DFS offload when hardware/driver does all the DFS activities on its own without any support from user-space tools, e.g. hostapd. In this case user-space will be only informed about results, e.

[PATCH v3 2/2] cfg80211/nl80211: add CAC_STARTED event

2018-03-01 Thread Sergey Matyukevich
From: Dmitry Lebed CAC_STARTED event is needed for DFS offload feature and should be generated by driver/HW if DFS_OFFLOAD is enabled. Signed-off-by: Dmitry Lebed --- include/uapi/linux/nl80211.h | 3 +++ net/wireless/mlme.c | 7 +-- 2 files changed, 8 insertions(+), 2 deletions(-

Re: [PATCH] ath10k: Enable IOMMU support for WCN3990 target

2018-03-01 Thread Kalle Valo
Govind Singh writes: > When an IOMMU device is available on the platform bus, allocate > an IOMMU domain and attach the wlan target to it. > WCN3990 target can then attach an DMA I/O virtual address > space to scan out of bound transactions. > > Signed-off-by: Govind Singh > --- > drivers/net/w

Re: [PATCH 01/13] ath10k: platform driver for WCN3990 SNOC WLAN module

2018-03-01 Thread Kalle Valo
Govind Singh writes: > WCN3990 is integrated 802.11ac chipset with SNOC > bus interface. Add snoc layer driver registration > and associated ops. > > WCN3990 support is not yet complete as cold-boot > handshake is done using qmi(Qualcomm-MSM-Interface) > and qmi client support will be added once

Re: [PATCH] ath10k: Enable IOMMU support for WCN3990 target

2018-03-01 Thread Arnd Bergmann
On Thu, Mar 1, 2018 at 11:01 AM, Kalle Valo wrote: > Govind Singh writes: > >> When an IOMMU device is available on the platform bus, allocate >> an IOMMU domain and attach the wlan target to it. >> WCN3990 target can then attach an DMA I/O virtual address >> space to scan out of bound transactio

Re: Support on vendor id and device id

2018-03-01 Thread Harsha Rao
On Wed, Feb 28, 2018 at 3:08 PM, Arend van Spriel wrote: > On 2/28/2018 12:14 AM, Harsha Rao wrote: > > My suspicion is that your device, is fundamentally a wilc1000 and that > >>>the existing wilc1000 driver will likely largely work for it and all > >>>you really need to do is mod

RE: [PATCH 01/13] ath10k: platform driver for WCN3990 SNOC WLAN module

2018-03-01 Thread Govind Singh
Hi Kalle, I didn't encountered this issue as in my defconfig only CONFIG_ATH10K_SNOC was defined. This problem is coming when we define CONFIG_ATH10K_SNOC and CONFIG_ATH10K_PCI simultaneously in defconfig and this is known issue when multiple modules share objects(in this case ce.o). I saw sim

[PATCH v2] bcma: Prevent build of PCI host features in module

2018-03-01 Thread Matt Redfearn
Attempting to build bcma.ko with BCMA_DRIVER_PCI_HOSTMODE=y results in a build error due to use of symbols not exported from vmlinux: ERROR: "pcibios_enable_device" [drivers/bcma/bcma.ko] undefined! ERROR: "register_pci_controller" [drivers/bcma/bcma.ko] undefined! make[1]: *** [scripts/Makefile.m

Re: [PATCH] mt7601u: remove a warning in mt7601u_efuse_physical_size_check()

2018-03-01 Thread Bas Vermeulen
On 28-02-18 15:26, Lorenzo Bianconi wrote: Fix the following sparse warning in mt7601u_efuse_physical_size_check: - drivers/net/wireless/mediatek/mt7601u/eeprom.c:77:27: warning: Variable length array is used Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt7601u/eepro

Re: [PATCH] mt7601u: remove a warning in mt7601u_efuse_physical_size_check()

2018-03-01 Thread Bas Vermeulen
Nevermind. round_up instead of DIV_ROUND_UP. Bas Vermeulen On 01-03-18 11:22, Bas Vermeulen wrote: On 28-02-18 15:26, Lorenzo Bianconi wrote: Fix the following sparse warning in mt7601u_efuse_physical_size_check: - drivers/net/wireless/mediatek/mt7601u/eeprom.c:77:27: warning:    Variable l

Re: [PATCH v2] bcma: Prevent build of PCI host features in module

2018-03-01 Thread Kalle Valo
Matt Redfearn writes: > Attempting to build bcma.ko with BCMA_DRIVER_PCI_HOSTMODE=y results in > a build error due to use of symbols not exported from vmlinux: > > ERROR: "pcibios_enable_device" [drivers/bcma/bcma.ko] undefined! > ERROR: "register_pci_controller" [drivers/bcma/bcma.ko] undefined!

Re: [PATCH] mt7601u: remove a warning in mt7601u_efuse_physical_size_check()

2018-03-01 Thread Lorenzo Bianconi
> Nevermind. round_up instead of DIV_ROUND_UP. > > Bas Vermeulen > > > > On 01-03-18 11:22, Bas Vermeulen wrote: >> >> >> >> On 28-02-18 15:26, Lorenzo Bianconi wrote: >>> >>> Fix the following sparse warning in mt7601u_efuse_physical_size_check: >>> - drivers/net/wireless/mediatek/mt7601u/eeprom.c

[PATCH net-next 0/2] Converting pernet_operations (part #3) (wireless, mac80211_hwsim)

2018-03-01 Thread Kirill Tkhai
These series fixes ID overflow of hwsim_netgroup [1/2], and reviews and makes hwsim_net_ops as async [2/2]. The first pernet_operations requiring changes to make the converting safe! ([1/2] may be need to [net], but better people see it's really need). Thanks, Kirill --- Kirill Tkhai (2):

[PATCH net-next 1/2] mac80211_hwsim: Make hwsim_netgroup IDA

2018-03-01 Thread Kirill Tkhai
hwsim_netgroup counter is declarated as int, and it is incremented every time a new net is created. After sizeof(int) net are created, it will overflow, and different net namespaces will have the same identifier. This patch fixes the problem by introducing IDA instead of int counter. IDA guarantees

[PATCH net-next 2/2] net: Convert hwsim_net_ops

2018-03-01 Thread Kirill Tkhai
These pernet_operations allocate and destroy IDA identifier, and these actions are synchronized by IDA subsystem locks. Exit method removes mac80211_hwsim_data enteries from the lists, and this is synchronized by hwsim_radio_lock with the rest parallel pernet_operations. Also it queues destroy_radi

Re: [PATCH] ath10k: fix recent bandwidth conversion bug

2018-03-01 Thread Rafał Miłecki
On 14 December 2017 at 14:21, Kalle Valo wrote: > Christian Lamparter writes: > >> On Monday, November 20, 2017 11:57:21 AM CET Kalle Valo wrote: >>> Christian Lamparter writes: >>> >>> > On Wednesday, November 1, 2017 9:37:53 PM CET Sebastian Gottschall wrote: >>> >> a additional array bounds c

Re: KASAN: use-after-free Read in mac80211_hwsim_del_radio

2018-03-01 Thread Benjamin Beichler
Am 01.03.2018 um 10:30 schrieb Johannes Berg: > Hi, > >> syzbot hit the following crash on upstream commit >> f3afe530d644488a074291da04a69a296ab63046 (Tue Feb 27 22:02:39 2018 +) >> Merge branch 'fixes-v4.16-rc4' of >> git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security >> >

Re: KASAN: use-after-free Read in mac80211_hwsim_del_radio

2018-03-01 Thread Johannes Berg
On Thu, 2018-03-01 at 13:32 +0100, Benjamin Beichler wrote: > > Could you give me a link to or forward the original email ? I googled > "KASAN: use-after-free Read in mac80211_hwsim_del_radio", but only your > answer (without the logs) appears. I try to have a look then in the next > few days. >

Re: KASAN: use-after-free Read in mac80211_hwsim_del_radio

2018-03-01 Thread Kirill Tkhai
Hi, 01.03.2018, 11:46, "syzbot" : > Hello, > > syzbot hit the following crash on upstream commit > f3afe530d644488a074291da04a69a296ab63046 (Tue Feb 27 22:02:39 2018 +) > Merge branch 'fixes-v4.16-rc4' of > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security > > So far this c

RE: [PATCH] ath10k: Enable IOMMU support for WCN3990 target

2018-03-01 Thread Govind Singh
>> The asm/dma-iommu.h header file exsists only on arm32, no other architecture. >> I'm not sure about the purpose of the patch to start with: >> it's normally up to the platform code to allocate IOMMU domains, device >> drivers should only need to manually interact with the IOMMU layer if they >

Re: [PATCH] ath10k: Enable IOMMU support for WCN3990 target

2018-03-01 Thread Arnd Bergmann
On Thu, Mar 1, 2018 at 2:18 PM, Govind Singh wrote: >>> The asm/dma-iommu.h header file exsists only on arm32, no other >>> architecture. >>> I'm not sure about the purpose of the patch to start with: >>> it's normally up to the platform code to allocate IOMMU domains, device >>> drivers should

Re: [PATCH] mt7601u: Fix system freeze after resuming from hibernation

2018-03-01 Thread cantabile
On 01/03/18 02:28, Luis R. Rodriguez wrote: On Wed, Feb 28, 2018 at 11:18:59PM +0200, cantabile wrote: On 28/02/18 20:48, Luis R. Rodriguez wrote: On Wed, Feb 28, 2018 at 08:02:59PM +0200, cantabile wrote: On 27/02/18 22:42, Luis R. Rodriguez wrote: OK so we know that the optimization is opti

[PATCH 00/52] ath: Synchronize regd mappings with qcacld-2.0 4.0.11.181

2018-03-01 Thread Sven Eckelmann
The mappings from ath was not synced with the QCA driver since 2009. Only two minor fixes were integrated in 2011. Since then, a lot of regd changes were integrated in the close source QCA driver which are now used but not supported by the Open Source driver. This either prevents the use of the OSS

[PATCH 09/52] ath: Add regulatory mapping for Paraguya

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 02/52] ath: Add regulatory mapping for Bermuda

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 01/52] ath: Add regulatory mapping for Bahamas

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 07/52] ath: Add regulatory mapping for Montenegro

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 06/52] ath: Add regulatory mapping for Mauritius

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 05/52] ath: Add regulatory mapping for Kenya

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 04/52] ath: Add regulatory mapping for Japan KDDI

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 13/52] ath: Add regulatory mapping for Uganda

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 12/52] ath: Add regulatory mapping for Tanzania

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 03/52] ath: Add regulatory mapping for Japan (J56)

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 10/52] ath: Add regulatory mapping for Rwanda

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 08/52] ath: Add regulatory mapping for Nicaragua

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 11/52] ath: Add regulatory mapping for Serbia

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 18/52] ath: Add regulatory mapping for ETSI8_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM contents The current CTL mappings

[PATCH 15/52] ath: Add regulatory mapping for APL2_FCCA

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM contents The current CTL mappings

[PATCH 19/52] ath: Add regulatory mapping for ETSI9_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM contents The current CTL mappings

[PATCH 16/52] ath: Add regulatory mapping for APL10_MKKC

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM contents The current CTL mappings

[PATCH 14/52] ath: Add regulatory mapping for United States for AP

2018-03-01 Thread Sven Eckelmann
The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM co

[PATCH 17/52] ath: Add regulatory mapping for APL13_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM contents The current CTL mappings

[PATCH 20/52] ath: Add regulatory mapping for FCC3_ETSIC

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM contents The current CTL mappings

[PATCH 22/52] ath: Map Albania to ETSI1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 23/52] ath: Map Algeria to APL13_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 24/52] ath: Map Australia to FCC3_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 26/52] ath: Map Brunei Darussalam to APL6_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 25/52] ath: Map Bangladesh to APL1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 28/52] ath: Map Colombia to FCC1_FCCA

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 21/52] ath: Switch APL9_WORLD to 2.4GHz MKK CTL

2018-03-01 Thread Sven Eckelmann
The regdomain code 0x5E was switched from ETSI conformance test limits (CTL) on 2.4GHz to MKK. This only affects the different South Korea country codes. Signed-off-by: Sven Eckelmann --- drivers/net/wireless/ath/regd_common.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) dif

[PATCH 27/52] ath: Map Bulgaria to ETSI1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 31/52] ath: Map Indonesia to APL2_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 34/52] ath: Map South Korea to APL10_MKKC

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 32/52] ath: Map Isreal to ETSI3_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 30/52] ath: Map Honduras to FCC3_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 29/52] ath: Map Czech to ETSI1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 37/52] ath: Map Malasia to FCC1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 33/52] ath: Map Japan to MKK5_MKKA2

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 41/52] ath: Map Peru to APL1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 42/52] ath: Map Philippines to FCC3_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 43/52] ath: Map Romania to ETSI1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 40/52] ath: Map Pakistan to APL1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 38/52] ath: Map Mexico to FCC1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 39/52] ath: Map New Zealand to FCC3_ETSIC

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 44/52] ath: Map Russia to ETSI8_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 47/52] ath: Map Taiwan to APL7_FCCA

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 46/52] ath: Map Singapore to FCC3_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 51/52] ath: Map Vietnam to ETSI3_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 50/52] ath: Map Venezuela to FCC1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 49/52] ath: Map U.A.E. to ETSI1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 48/52] ath: Map Ukraine to ETSI9_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 45/52] ath: Map Saudi Arabia to FCC2_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 52/52] ath: Map Zimbabwe to ETSI1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 35/52] ath: Map Lebanon to APL1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

[PATCH 36/52] ath: Map Macedonia to ETSI1_WORLD

2018-03-01 Thread Sven Eckelmann
The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then no

Query on queues in mesh mode

2018-03-01 Thread Phani Siriki
Hi All I am trying to understand the queuing mechanism wireless mesh networks. As per AP mode is concerned, there are four queues (BK, BE, Vi, VO) and traffic is controlled based on CWmin, CWmax, AIFS and TxOP. Does, mesh mode also involve these queues? Does mesh mode have any queue or it is jus

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

2018-03-01 Thread Daniel Golle
[forwarding to all other involved players] On Thu, Mar 01, 2018 at 05:50:51PM +0300, Jamie Stuart wrote: > Hi Daniel, > The driver seems much improved after this fix. it's about those two [PATCH 1/2] rt2x00: pause almost full queue early [PATCH 2/2] rt2x00: do not pause queue unconditionally on e

Re: [PATCH net-next 1/2] mac80211_hwsim: Make hwsim_netgroup IDA

2018-03-01 Thread Benjamin Beichler
Am 01.03.2018 um 12:30 schrieb Kirill Tkhai: > Out of bounds of this patch, just as a report to wireless subsystem > maintainer, destroy_radio() increaments hwsim_radios_generation > without hwsim_radio_lock, so this may need one more patch to fix. > The lock is here implicit, because the value on

Re: [PATCH] mt7601u: Fix system freeze after resuming from hibernation

2018-03-01 Thread Luis R. Rodriguez
On Thu, Mar 01, 2018 at 04:05:29PM +0200, cantabile wrote: > On 01/03/18 02:28, Luis R. Rodriguez wrote: > > On Wed, Feb 28, 2018 at 11:18:59PM +0200, cantabile wrote: > > > > > Feb 28 22:46:19 home kernel: mt7601u 2-3:1.0: Firmware Version: 0.1.00 > > > Build: 7640 Build time: 201302052146 >

Re: KASAN: use-after-free Read in mac80211_hwsim_del_radio

2018-03-01 Thread Benjamin Beichler
Am 01.03.2018 um 10:30 schrieb Johannes Berg: > Hi, > >> syzbot hit the following crash on upstream commit >> f3afe530d644488a074291da04a69a296ab63046 (Tue Feb 27 22:02:39 2018 +) >> Merge branch 'fixes-v4.16-rc4' of >> git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security >> >

[PATCH 1/2] cfg80211: Add support to enable or disable btcoex

2018-03-01 Thread Tamizh chelvam
From: Tamizh chelvam This patch introduces NL80211_CMD_SET_BTCOEX command and NL80211_ATTR_BTCOEX_OP attribute to enable or disable btcoex. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |4 include/uapi/linux/nl80211.h | 10 ++ net/wireless/nl80211.c |

[PATCH 2/2] mac80211: Add support to enable or disable btcoex

2018-03-01 Thread Tamizh chelvam
From: Tamizh chelvam This patch introduces a new driver call back drv_set_btcoex to enable/disable btcoex. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h|2 ++ net/mac80211/cfg.c|8 net/mac80211/driver-ops.h | 13 + net/mac80211/trace.h

Re: [PATCH 1/2] cfg80211: Add support to enable or disable btcoex

2018-03-01 Thread Arend van Spriel
On 3/1/2018 6:59 PM, Tamizh chelvam wrote: From: Tamizh chelvam This patch introduces NL80211_CMD_SET_BTCOEX command and NL80211_ATTR_BTCOEX_OP attribute to enable or disable btcoex. What kind of btcoex are we talking about here? Is it signalling between wlan and bt to get access to the shar

Re: [PATCH resend] brcmfmac: p2p and normal ap access are not always possible at the same time

2018-03-01 Thread Arend van Spriel
On 3/1/2018 9:35 AM, Hans de Goede wrote: HI, On 28-02-18 20:43, Arend van Spriel wrote: On 2/28/2018 3:52 PM, Hans de Goede wrote: Hi, On 27-02-18 00:04, Arend van Spriel wrote: On 2/26/2018 12:22 PM, Hans de Goede wrote: Hi, On 26-02-18 12:01, Arend van Spriel wrote: On 2/26/2018 11:29

Re: [PATCH] mt7601u: Fix system freeze after resuming from hibernation

2018-03-01 Thread cantabile
On 01/03/18 19:29, Luis R. Rodriguez wrote: On Thu, Mar 01, 2018 at 04:05:29PM +0200, cantabile wrote: On 01/03/18 02:28, Luis R. Rodriguez wrote: On Wed, Feb 28, 2018 at 11:18:59PM +0200, cantabile wrote: Feb 28 22:46:19 home kernel: mt7601u 2-3:1.0: Firmware Version: 0.1.00 Build: 7640 Bui

Re: [PATCH] mt7601u: Fix system freeze after resuming from hibernation

2018-03-01 Thread Luis R. Rodriguez
On Thu, Mar 01, 2018 at 10:11:01PM +0200, cantabile wrote: > On 01/03/18 19:29, Luis R. Rodriguez wrote: > > > > Correct? > > > > The above log is from "20180227-firmware-cache" kernel plus your suggested > change that makes it always upload the firmware: > > diff --git a/drivers/net/wireless/m

Re: [PATCH resend] brcmfmac: p2p and normal ap access are not always possible at the same time

2018-03-01 Thread Hans de Goede
Hi, On 01-03-18 20:54, Arend van Spriel wrote: On 3/1/2018 9:35 AM, Hans de Goede wrote: HI, On 28-02-18 20:43, Arend van Spriel wrote: On 2/28/2018 3:52 PM, Hans de Goede wrote: Hi, On 27-02-18 00:04, Arend van Spriel wrote: On 2/26/2018 12:22 PM, Hans de Goede wrote: Hi, On 26-02-18 12

Re: [PATCH] ath10k: fix use-after-free in ath10k_wmi_cmd_send_nowait

2018-03-01 Thread Brian Norris
On Sun, Feb 11, 2018 at 10:56:45AM +0800, Carl Huang wrote: > The skb may be freed in tx completion context before > trace_ath10k_wmi_cmd is called. This can be easily captured > when KASAN(Kernel Address Sanitizer) is enabled. The fix is > to add a reference count to the skb and release it after >

Re: [Make-wifi-fast] [PATCH] mac80211: Adjust TSQ pacing shift

2018-03-01 Thread Ryan Hsu
On 02/14/2018 12:23 AM, Jonathan Morton wrote: >> On 14 Feb, 2018, at 10:18 am, Toke Høiland-Jørgensen wrote: >> >> Why does the CPU usage go up >7? > Just as a guess, it's generating extra packets which are then laboriously > discarded and retransmitted. > > - Jonathan Morton I think for 11n,

Re: [PATCH 1/2] cfg80211: Add support to enable or disable btcoex

2018-03-01 Thread Kalle Valo
Arend van Spriel writes: > On 3/1/2018 6:59 PM, Tamizh chelvam wrote: >> From: Tamizh chelvam >> >> This patch introduces NL80211_CMD_SET_BTCOEX command and >> NL80211_ATTR_BTCOEX_OP attribute to enable or disable btcoex. > > What kind of btcoex are we talking about here? Is it signalling > betw

Hello Beautiful

2018-03-01 Thread Wesley
I hope you are doing well and this email meet you in good health condition.I`m Sorry for intruding upon your privacy. My name is Wesley. I`m from the State but currently in Syria for peace keeping mission. I am very cheerful, kind and positive man, and I am currently looking for a relationship