[PATCH] mac80211_hwsim: fix incorrect dev_alloc_name failure goto

2019-10-03 Thread Michael Vassernis
If dev_alloc_name fails, hwsim_mon's memory allocated in alloc_netdev needs to be freed. Change goto command in dev_alloc_name failure to out_free_mon in order to perform free_netdev. Signed-off-by: Michael Vassernis --- drivers/net/wireless/mac80211_hwsim.c | 2 +- 1 file changed, 1 insertion(+

[PATCH v3] mac80211: fix scan blocked on DFS channels in ETSI domains

2019-10-03 Thread Aaron Komisar
On 10/2/19 5:46 PM, Peter Oh wrote: >On 10/2/19 6:59 AM, Aaron Komisar wrote: >> In non-ETSI reg domains scan is blocked when operating channel is a DFS ch. >> For ETSI domains, however, once DFS channel is marked as available afer >> the CAC, this channel will remain available even after leaving t

Re: intel AX200 crash on 5.2.7+

2019-10-03 Thread Ben Greear
On 9/9/19 10:54 AM, Ben Greear wrote: On 9/9/19 10:40 AM, Johannes Berg wrote: On Mon, 2019-09-09 at 10:03 -0700, Ben Greear wrote: Hello, Looks like we managed to crash the AX200 firmware.  This was running 5.2.7+ kernel in an apu2 platform. Is there a better place to report/discuss this?

[PATCH 5.4 regression fix] brcmfmac: Fix brcmf_cfg80211_get_channel returning uninitialized fields

2019-10-03 Thread Hans de Goede
With the new edmg support struct cfg80211_chan_def has been extended with a number of new members. brcmf_cfg80211_get_channel() was not setting (clearing) these causing the cfg80211_edmg_chandef_valid() check in cfg80211_chandef_valid() to fail. Triggering a WARN_ON and, worse, causing brcmfmac bas

[PATCH v2] rtlwifi: rtl8192ee: Remove set but not used variable 'err'

2019-10-03 Thread zhengbin (A)
Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c: In function rtl92ee_download_fw: drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c:111:6: warning: variable err set but not used [-Wunused-but-set-variable] Reported-by: Hulk Robot Signed-off-

Re: [PATCH v2] rtlwifi: rtl8192ee: Remove set but not used variable 'err'

2019-10-03 Thread Pkshih
On Fri, 2019-10-04 at 10:36 +0800, zhengbin (A) wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c: In function > rtl92ee_download_fw: > drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c:111:6: warning: variable > err set but not used

[PATCH 2/2] ath10k: Enable Airtime-based Queue Limit (AQL)

2019-10-03 Thread Kan Yan
Calculate the estimated airtime pending in the txqs and apply AQL to prevent excessive amounts of packets being queued in the firmware queue. Change-Id: I4047ce0938f7b97440fb040b16b74f2e49aa3433 Signed-off-by: Kan Yan --- drivers/net/wireless/ath/ath10k/mac.c | 7 +-- drivers/net/wireless/

[PATCH 0/2] Implement Airtime-based Queue Limit (AQL)

2019-10-03 Thread Kan Yan
This patch series implements Airtime-based Queue Limit (AQL) in the mac80211 and Ath10k driver. It is based on an earlier version from the ChromiumOS tree[0]. This version has been tested with QCA9884 platform with 4.14 kernel. Tests show AQL is able to reduce latency by an order of magnitude

[PATCH 1/2] mac80211: Implement Airtime-based Queue Limit (AQL)

2019-10-03 Thread Kan Yan
In order for the Fq_CoDel integrated in mac80211 layer operates effectively to control excessive queueing latency, the CoDel algorithm requires an accurate measure of how long the packets stays in the queue, aka sojourn time. The sojourn time measured at mac80211 layer doesn't include queueing late