Re: [PATCH 2/2] ath10k: support MAC address randomization in scan

2018-04-16 Thread Kalle Valo
cjhu...@codeaurora.org writes: > On 2018-04-14 05:13, Arend van Spriel wrote: >> On 4/13/2018 1:28 PM, Kalle Valo wrote: >>> cjhu...@codeaurora.org writes: >>> >> +if (test_bit(WMI_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi.svc_map)) { >> +ret = ath10k_wmi_scan_prob_req_oui

Re: ath10k: Enable hw checksum for wcn3990

2018-04-16 Thread Kalle Valo
Rakesh Pillai wrote: > By default ath10k driver enables the support for HW_CHECKSUM > (NETIF_F_HW_CSUM). Since the TCP/UDP checksum calculation is not enabled > in the wcn3990 firmware the checksum is incorrect in the TCP/UDP packets > and all patckets are dropped. But due note that wcn3990 suppo

Re: [PATCH 3/4] ath10k: Enable SRRI/DRRI support on ddr for WCN3990

2018-04-16 Thread Kalle Valo
pill...@codeaurora.org writes: > From: Govind Singh > > SRRI/DRRI are not mapped in the HW Shadow block and can lead > to un-clocked access if common subsystem in the target is > powered down due to idle mode. > > To mitigate this problem SRRI/DRRI can be read from > DDR instead of doing an actua

Re: [1/2] ath10k: Add WMI_SERVICE_AVAILABLE_EVENT support

2018-04-16 Thread Kalle Valo
Carl Huang wrote: > Add WMI_SERVICE_AVAILABLE_EVENT to extend WMI_SERVICE_READY_EVENT, > the 128bit service map in WMI_SERVICE_READY_EVENT is not enough > for firmware to notice new WLAN service to host driver. Hereby, > for thoese new WLAN service, firmware will notice host driver by > WMI_SERVI

Re: [2/2] ath10k: support MAC address randomization in scan

2018-04-16 Thread Kalle Valo
Carl Huang wrote: > The ath10k reports the random_mac_addr capability to upper layer > based on the service bit firmware reported. Driver sets the > spoofed flag in scan_ctrl_flag to firmware if upper layer has > enabled this feature in scan request. > > Test with QCA6174 hw3.0 and firmware-6.bi

Re: [v2] ath10k: Convert wow pattern from 802.3 to 802.11

2018-04-16 Thread Kalle Valo
Wen Gong wrote: > When trying to set wow wakeup patterns it fails with this command: > > iw phyxx wowlan enable patterns offset xx+ IP address xx.xx.xx.xx > > The reason is that the wow pattern from upper layer is in 802.3 format > for this case, it need to convert it to 802.11 format. The inpu

Compex WLE1216V2-20 (QCA9984) firmware is missing

2018-04-16 Thread ojab //
[please CC me since I'm not subscribed to the lists and terribly sorry for HTML mails] Oh hai! I have Compex WLE1216V2-20 (based on QCA9984 chip) that isn't supported by linux-firmware (git master), card init fails with >[Mon Mar 26 17:18:47 2018] ath10k_pci :05:00.0: failed to fetch board d

Re: Compex WLE1216V2-20 (QCA9984) firmware is missing

2018-04-16 Thread ojab //
On Mon, Apr 16, 2018 at 1:59 PM, ojab // wrote: > [please CC me since I'm not subscribed to the lists and terribly sorry > for HTML mails] > > Oh hai! > > I have Compex WLE1216V2-20 (based on QCA9984 chip) that isn't > supported by linux-firmware (git master), card init fails with > >>[Mon Mar 26

[PATCHv2 1/3] cfg80211: average ack rssi support for data frames

2018-04-16 Thread Balaji Pothunoori
Average ack rssi will be given to userspace via NL80211 interface if firmware is capable. Userspace tool ‘iw’ can process this information and give the output as one of the fields in ‘iw dev wlanX station dump’. Example output : localhost ~ #iw dev wlan-5000mhz station dump Station 34:f3:9a:aa:3b

[PATCHv2 0/3]: cfg80211/mac80211/ath10k: average ack rssi support for data frames

2018-04-16 Thread Balaji Pothunoori
This patchset introduces the average ack rssi for data frames. Balaji Pothunoori (3): ath10k: average ack rssi support for data frames. mac80211: average ack rssi support for data frames cfg80211: average ack rssi support for data frames v2: Addressed ath10k-check warnings dri

[PATCHv2 2/3] mac80211: average ack rssi support for data frames

2018-04-16 Thread Balaji Pothunoori
The driver will process the RSSI if available and send it to mac80211. mac80211 will compute the weighted average of ack RSSI for stations. Signed-off-by: Balaji Pothunoori --- net/mac80211/sta_info.c | 10 ++ net/mac80211/sta_info.h | 2 ++ net/mac80211/status.c | 2 ++ 3 files chan

[PATCHv2 3/3] ath10k: average ack rssi support for data frames

2018-04-16 Thread Balaji Pothunoori
Average ack rssi value is weighted average of ack rssi for no of msdu's has been sent. This feature is enabled by the host driver if firmware is capable. After receiving event from host, firmware allocates the necessary memory to store the ack_rssi for data packets during the init time. After each

Re: [PATCH v2 13/13] dt: bindings: add bindings for wcn3990 wifi block

2018-04-16 Thread Kalle Valo
Rob Herring writes: > On Tue, Apr 10, 2018 at 10:19:46PM +0530, Govind Singh wrote: >> Add device tree binding documentation details for wcn3990 >> wifi block present in Qualcomm SDM845/APQ8098 SoC into >> "qcom,ath10k.txt". >> >> Signed-off-by: Govind Singh >> --- >> .../bindings/net/wireless

Re: [PATCH 2/2] ath10k: support MAC address randomization in scan

2018-04-16 Thread Brian Norris
Hi, On Mon, Apr 16, 2018 at 02:32:47PM +0300, Kalle Valo wrote: > cjhu...@codeaurora.org writes: > > On 2018-04-14 05:13, Arend van Spriel wrote: > >> On 4/13/2018 1:28 PM, Kalle Valo wrote: > >>> cjhu...@codeaurora.org writes: > >>> > >> + if (test_bit(WMI_SERVICE_SPOOF_MAC_SUPPORT, ar->

[ath6kl:pending 83/84] drivers/net/wireless/ath/wcn36xx/smd.c:634:22: error: 'vif_priv' undeclared; did you mean 'bio_prio'?

2018-04-16 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending head: bbb4ad4a1c141a8a4c2464d09cb4254640d824b1 commit: 93d35c09471642344afafa4e848662d93459cb2b [83/84] wcn36xx: send bss_type in scan requests config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi

Re: [PATCH v2 13/13] dt: bindings: add bindings for wcn3990 wifi block

2018-04-16 Thread govinds
On 2018-04-16 20:30, Kalle Valo wrote: Rob Herring writes: On Tue, Apr 10, 2018 at 10:19:46PM +0530, Govind Singh wrote: Add device tree binding documentation details for wcn3990 wifi block present in Qualcomm SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh --- .../

Re: [PATCH] ath10k:add support for multicast rate control

2018-04-16 Thread pradeepc
On 2018-04-12 01:00, Sven Eckelmann wrote: On Mittwoch, 11. April 2018 21:04:46 CEST Pradeep Kumar Chitrapu wrote: Issues wmi command to firmware when multicast rate change is received with the new BSS_CHANGED_MCAST_RATE flag. [...] + if (changed & BSS_CHANGED_MCAST_RATE && +

Re: [ath6kl:pending 83/84] drivers/net/wireless/ath/wcn36xx/smd.c:634:22: error: 'vif_priv' undeclared; did you mean 'bio_prio'?

2018-04-16 Thread Daniel Mack
On Tuesday, April 17, 2018 03:35 AM, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending > head: bbb4ad4a1c141a8a4c2464d09cb4254640d824b1 > commit: 93d35c09471642344afafa4e848662d93459cb2b [83/84] wcn36xx: send > bss_type in scan requests > co

Re: [PATCH] ath10k:add support for multicast rate control

2018-04-16 Thread Sven Eckelmann
On Montag, 16. April 2018 22:10:50 CEST prade...@codeaurora.org wrote: [...] > > I see two major problems here without checking the actual > > implementation > > details: > > > > * hw_value is incorrect for a couple of devices. Some devices use a > > different > > mapping when they receive rat