Re: PROBLEM: firmware crash on QCA6174

2018-09-20 Thread Martin Kjær Jørgensen
Just encountered kinda the same problem again, but this time the firmware didn't seem to crash. Just alot of errors and had to reboot again for interface to work. I'm attaching the dmesg. [0.00] node 0: [mem 0x00059000-0x0009dfff] [0.00] node 0: [mem 0x000

[RFCv3 1/2] mac80211: implement ieee80211_tx_rate_update to update rate

2018-09-20 Thread Anilkumar Kolli
Current mac80211 has provision to update tx status through ieee80211_tx_status() and ieee80211_tx_status_ext(). But drivers like ath10k updates the tx status from the skb except txrate, txrate will be updated from a different path, peer stats. Using ieee80211_tx_status_ext() in two different paths

[RFCv3 0/2] ath10k: Add support to update tx rate to mac80211

2018-09-20 Thread Anilkumar Kolli
Tx rate was updated to nl80211/user using sta_statistics callback. This rate can not be used for mac80211 mesh and ATF. This patch adds support to update tx rate to mac80211 Anilkumar Kolli (2): mac80211: implement ieee80211_tx_rate_update to update rate ath10k: report tx rate using ieee80211

[RFCv3 2/2] ath10k: report tx rate using ieee80211_tx_rate_update()

2018-09-20 Thread Anilkumar Kolli
Mesh path metric needs tx rate information from ieee80211_tx_status() call but in ath10k there is no mechanism to report tx rate information via ieee80211_tx_status(), the tx rate is only accessible via sta_statiscs() op. Per peer tx stats has tx rate info available, Tx rate is available to ath10k

Re: [RFCv3 1/2] mac80211: implement ieee80211_tx_rate_update to update rate

2018-09-20 Thread Toke Høiland-Jørgensen
Anilkumar Kolli writes: > Current mac80211 has provision to update tx status through > ieee80211_tx_status() and ieee80211_tx_status_ext(). But > drivers like ath10k updates the tx status from the skb except > txrate, txrate will be updated from a different path, peer stats. > > Using ieee80211_t

[PATCH v5 0/3] support ftm responder configuration/statistics

2018-09-20 Thread Pradeep Kumar Chitrapu
Currently ftm_responder parameter in hostapd.conf is only used for fine timing measurement (FTM) capability advertisement and actual control of the functionality is with low-level device/driver. This leads to confusion to the user when the capability advertisement is different from actual FTM respo

[PATCH v5 1/3] cfg80211: support FTM responder configuration/statistics

2018-09-20 Thread Pradeep Kumar Chitrapu
Allow userspace to enable fine timing measurement responder functionality with configurable lci/civic parameters in AP mode. This can be done at AP start or changing beacon parameters. A new EXT_FEATURE flag is introduced for drivers to advertise the capability. Also nl80211 API support for retri

[PATCH v5 3/3] ath10k: Add support to configure ftm responder role

2018-09-20 Thread Pradeep Kumar Chitrapu
Configure fine timing measurement (FTM) responder role from the ftm_responder bss param sent by mac80211. With FTM functionality offloaded to firmware, adding the interface allows userspace to enable FTM responder functionality. ath10k disables it at the time of interface creation. Supported FW: 1

[PATCH v5 2/3] mac80211: support FTM responder configuration/statistics

2018-09-20 Thread Pradeep Kumar Chitrapu
New bss param ftm_responder is used to notify the driver to enable fine timing request (FTM) responder role in AP mode. Plumb the new cfg80211 API for FTM responder statistics through to the driver API in mac80211. Signed-off-by: David Spinadel Signed-off-by: Johannes Berg Signed-off-by: Pradee

Re: [RFCv3 1/2] mac80211: implement ieee80211_tx_rate_update to update rate

2018-09-20 Thread Anilkumar Kolli
On 2018-09-20 21:40, Toke Høiland-Jørgensen wrote: Anilkumar Kolli writes: Current mac80211 has provision to update tx status through ieee80211_tx_status() and ieee80211_tx_status_ext(). But drivers like ath10k updates the tx status from the skb except txrate, txrate will be updated from a dif