Re: [PATCH v2] mac80211: remove warning message

2019-06-13 Thread Yibo Zhao
On 2019-05-20 21:56, Yibo Zhao wrote: On 2019-05-15 02:57, Johannes Berg wrote: On Tue, 2019-05-14 at 11:54 -0700, Ben Greear wrote: Here is the info I have in my commit that changed this to WARN_ON_ONCE. I never posted it because I had to hack ath10k to get to this state, so maybe this is

ath10k kernel cannot allocate memory after some ifupdown cycles

2019-06-13 Thread Patrick Daume
I've an SparkLan WPEQ-261ACN(BT) Qualcomm Atheros QCA6174 chipset on an 4.4.38 Kernel with the newest kernel backport 'v5.1-rc2'. When i toggle the wlan0 interface in 10s cycles then the kernel cannot allocate memory after a while. Can anyone point out which patches may be relavant to fix this is

Re: Qualcomm Atheros QCA6174 monitoring mode receiving no data

2019-06-13 Thread Patrick Daume
I have a solution for this issue, please find out if its the right way htt.h:2226 /*  * Should be: sizeof(struct htt_host_rx_desc) + max rx MSDU size, >> * sizeof(struct htt_host_rx_desc) 360 bytes + max MPDU/~MDSU size 802.11AC 16.384 bytes (2^14) + (2^9)  * rounded up to a cache line size.  */

Re: Qualcomm Atheros QCA6174 monitoring mode receiving no data

2019-06-13 Thread Patrick Daume
On Mi, 2019-06-05 at 17:38 +0200, Patrick Daume wrote: > I test it with modprobe option rawmode=1 and it seems to work. > > solution: > > linux kernel 5.1.0-rc7-wt-ath+ > firmware: WLAN.RM.4.4.1.c3-00030 > > sudo modprobe ath10k_core rawmode=1 > sudo modprobe ath10k_pci > > > But if i call tcp