Re: [PATCH v3 1/3] dt-bindings: net: ath10k: fix node name and device type in qcom ath10k example

2018-12-10 Thread Bhagavathi Perumal S
On 2018-12-11 04:55, Rob Herring wrote: On Tue, Dec 11, 2018 at 12:01:29AM +0530, Bhagavathi Perumal S wrote: In qcom,ath10k documentation, ath10k is used as node name in the example of pci based device. Normally, node name shoud be class of device and not the model s/shoud/should/ Thanks, W

[PATCH] ath10k: Skip sending quiet mode cmd for WCN3990

2018-12-10 Thread Govind Singh
From: Rakesh Pillai HL2.0 firmware does not support setting quiet mode. If the host driver sends the quiet mode setting command to the HL2.0 firmware, it crashes with the below signature. fatal error received: err_qdi.c:456:EX:wlan_process:1:WLAN RT:207a:PC=b001b4f0 The quiet mode command suppo

[PATCH] ath10k: Add support to provide higher range mem chunks in wmi init command

2018-12-10 Thread Surabhi Vishnoi
With the current implementation of wmi init command, there is no provision for the host driver to provide mem chunks addresses with more than 32-bit, to the firmware. WCN3990 is a 35-bit target and can accept mem chunks addresses which are above 32-bit. If firmware supports address range more than

[PATCH] ath10k: fix incorrect multicast/broadcast rate setting

2018-12-10 Thread Pradeep Kumar Chitrapu
From: Pradeep kumar Chitrapu Invalid rate code is sent to firmware when multicast rate value of 0 is sent to driver indicating disabled case, causing broken mesh path. so fix that. Tested on QCA9984 with firmware 10.4-3.6.1-00827 Fixes: cd93b83ad92 ("ath10k: support for multicast rate control")

Re: [PATCH v3 2/3] dt-bindings: net: ath10k: add new dt entry to identify external FEM

2018-12-10 Thread Rob Herring
On Tue, 11 Dec 2018 00:01:30 +0530, Bhagavathi Perumal S wrote: > This adds new dt entry ext-fem-name, it is used by ath10k driver > to select correct timing parameters and configure it in target wifi hardware. > The Front End Module(FEM) normally includes tx power amplifier(PA) and > rx low noise

[PATCH v1 2/2] ath10k: fix tx_stats memory leak

2018-12-10 Thread zhichen
From: Zhi Chen Memory of tx_stats was allocated when a STA was added. But it's not freed if the STA failed to be added to driver. This issue could be seen in MDK3 attack case when STA number reached the limit. Tested: QCA9984 with firmware ver 10.4-3.9.0.1-5 Signed-off-by: Zhi Chen --- dri

[PATCH v1 1/2] ath10k: fix peer stats null pointer dereference

2018-12-10 Thread zhichen
From: Zhi Chen There was a race condition in SMP that an ath10k_peer was created but its member sta was null. Following are procedures of ath10k_peer creation and member sta access in peer statistics path. 1. Peer creation: ath10k_peer_create() =>ath10k_wmi_peer_create()

Re: [PATCH v3 1/3] dt-bindings: net: ath10k: fix node name and device type in qcom ath10k example

2018-12-10 Thread Rob Herring
On Tue, Dec 11, 2018 at 12:01:29AM +0530, Bhagavathi Perumal S wrote: > In qcom,ath10k documentation, ath10k is used as node name in the example of > pci based device. Normally, node name shoud be class of device and not the > model s/shoud/should/ > name, so fix it to node name "wifi". And remo

[PATCH v3 1/3] dt-bindings: net: ath10k: fix node name and device type in qcom ath10k example

2018-12-10 Thread Bhagavathi Perumal S
In qcom,ath10k documentation, ath10k is used as node name in the example of pci based device. Normally, node name shoud be class of device and not the model name, so fix it to node name "wifi". And remove the property device_type pci since only pci bridges should have this property. Signed-off-by:

[PATCH v3 3/3] ath10k: Add support to configure BB timing over wmi

2018-12-10 Thread Bhagavathi Perumal S
Add wmi configuration cmd to configure base band(BB) power amplifier(PA) off timing values in hardware. The default PA off timings were fine tuned to make proper DFS radar detection in QCA reference design. If ODM uses different PA in their design, then the same default PA off timing values cannot

[PATCH v3 0/3] ath10k: Add support to configure BB timing for external FEM

2018-12-10 Thread Bhagavathi Perumal S
This adds support to choose correct Base Band(BB) timing values based on the input Front End Module(FEM) hardware name from Device Tree entry and configure it in hardware through WMI interface. Since the BB timing values can vary between FEM hardwares and not same as default value used in reference

[PATCH v3 2/3] dt-bindings: net: ath10k: add new dt entry to identify external FEM

2018-12-10 Thread Bhagavathi Perumal S
This adds new dt entry ext-fem-name, it is used by ath10k driver to select correct timing parameters and configure it in target wifi hardware. The Front End Module(FEM) normally includes tx power amplifier(PA) and rx low noise amplifier(LNA). The default timing parameters like tx end to PA off timi