Re: [PATCH v4 3/3] ath10k: add support for controlling tx power to a station

2019-09-19 Thread Balaji Pothunoori
On 2019-09-19 05:51, Bob Copeland wrote: On Wed, Sep 18, 2019 at 04:41:54PM +0300, Kalle Valo wrote: Bob Copeland writes: > - on A, changed the global tx power limit to 1 dBm > -> result: signal level dropped to ~ -95 dBm > > Reading the description above, now I'm wondering if the txpower is

Re: ath10k panic with 5.1 kernel and qca9984 on association

2019-06-28 Thread Balaji Pothunoori
-PATTERN][TX-ANTENNA-PATTERN] vht_oper_chwidth=1 auth_algs=1 wpa=2 wpa_key_mgmt=WPA-PSK wpa_passphrase= wpa_disable_eapol_key_retries=1 rsn_pairwise=CCMP wmm_enabled=1 ap_isolate=1 7) any STA (ChromeOS, Android, Windows tried) triggers the crash. On Thu, May 30, 2019 at 6:58 AM Balaji

[PATCH] ath10k: check data ack rssi enabled/disabled in htt rx event

2019-06-28 Thread Balaji Pothunoori
-00044 Signed-off-by: Abhishek Ambure Signed-off-by: Balaji Pothunoori --- drivers/net/wireless/ath/ath10k/hw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/hw.c b/drivers/net/wireless/ath/ath10k/hw.c index ad082b7..303f17d 100644 --- a/drivers/net/wireless

Re: ath10k panic with 5.1 kernel and qca9984 on association

2019-05-30 Thread Balaji Pothunoori
Hi, We are not seeing mentioned issue with following setup. Setup details are : AP - X86 with 5.1.0 kernel + QCA9984. STA - Standard STA. Observation : Crash is not observed during STA join. Could you please share the steps what you have followed ? Regards, Balaji. -Original Message-

[PATCH v5] ath10k: add support for controlling tx power to a station

2019-05-30 Thread Balaji Pothunoori
to the default tx power for the station. Tested Hardware : QCA9984 Tested Firmware : 10.4-3.9.0.2-00046 Co-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: removed mBm to dBm conversion v3: rebased wmi.h changes v4: no changes, rebased v5

[PATCH] ath10k: enabling tx stats support over pktlog

2019-05-13 Thread Balaji Pothunoori
: WCN3990), for getting tx bitrate. Enable pktlog only for QCA988X based on hardware params. Tested HW : WCN3990 Tested FW : WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Fixes: e8123bb74c4e ("ath10k: add per peer tx stats support for 10.2.4") Signed-off-by: Balaji Pothunoori --- drivers/net/wireless/

Re: [PATCH v4 1/3] cfg80211: Add support to set tx power for a station associated

2019-04-02 Thread Balaji Pothunoori
On 2019-04-02 02:16, Bob Copeland wrote: Hi Balaji, I started playing with these patches a bit -- they could be useful for my use case, but I had a question: + * @power: tx power (in dBm) to be used for sending data traffic. If tx power + * is not provided, the default per-interface tx power

[PATCH v4] iw: Add support for controlling tx power for per station

2019-03-29 Thread Balaji Pothunoori
-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: modified user configured units to dBm from mBm v3: no changes, rebased v4: rebased and removed check for sta_txpwr in order to configure tx power '0' station.c | 71

[PATCH v4 3/3] ath10k: add support for controlling tx power to a station

2019-03-29 Thread Balaji Pothunoori
Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: removed mBm to dBm conversion v3: rebased wmi.h changes v4: no changes, rebased drivers/net/wireless/ath/ath10k/debug.h | 3 +++ drivers/net/wireless/ath/ath10k/mac.c | 39

[PATCH v4 2/3] mac80211: store tx power value from user to station

2019-03-29 Thread Balaji Pothunoori
From: Ashok Raj Nagarajan This patch introduce a new driver callback drv_sta_set_txpwr. This API will copy the transmit power value passed from user space and call the driver callback to set the tx power for the station. Co-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan

[PATCH v4 1/3] cfg80211: Add support to set tx power for a station associated

2019-03-29 Thread Balaji Pothunoori
and limited transmit power level, with the level defined in dBm format. Co-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: add txpwr structure replaced nla_get_u32 with nla_get_u8/s16 added NLA_POLICY_RANGE check v3: updated kernel

[PATCH] ath10k: rx_duration update for fw_stats debugfs entry

2019-03-12 Thread Balaji Pothunoori
-3.6.0.1-4. Signed-off-by: Balaji Pothunoori --- drivers/net/wireless/ath/ath10k/core.h | 2 +- drivers/net/wireless/ath/ath10k/debug.c | 3 +++ drivers/net/wireless/ath/ath10k/wmi.c | 37 +++-- 3 files changed, 35 insertions(+), 7 deletions(-) diff --git

[PATCH v3] iw: Add support for controlling tx power for per station

2019-02-21 Thread Balaji Pothunoori
-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: modified user configured units to dBm from mBm v3: no changes, rebased station.c | 71 +++ 1 file changed, 71 insertions(+) diff --git

[PATCH v3 3/3] ath10k: add support for controlling tx power to a station

2019-02-21 Thread Balaji Pothunoori
Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: removed mBm to dBm conversion v3: rebased wmi.h changes drivers/net/wireless/ath/ath10k/debug.h | 3 +++ drivers/net/wireless/ath/ath10k/mac.c | 39 + drivers/net/wireless/ath

[PATCH v3 2/3] mac80211: store tx power value from user to station

2019-02-21 Thread Balaji Pothunoori
From: Ashok Raj Nagarajan This patch introduce a new driver callback drv_sta_set_txpwr. This API will copy the transmit power value passed from user space and call the driver callback to set the tx power for the station. Co-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan

[PATCH v3 1/3] cfg80211: Add support to set tx power for a station associated

2019-02-21 Thread Balaji Pothunoori
and limited transmit power level, with the level defined in dBm format. Co-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: add txpwr structure replaced nla_get_u32 with nla_get_u8/s16 added NLA_POLICY_RANGE check v3: updated

[PATCH v2] iw: Add support for controlling tx power for per station

2019-01-30 Thread Balaji Pothunoori
-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: tx power set unit modified from mBm to dBm replaced NLA_PUT_U32 with NLA_PUT_U8/U16 station.c | 71 +++ 1 file changed, 71

[PATCH v2 3/3] ath10k: add support for controlling tx power to a station

2019-01-30 Thread Balaji Pothunoori
Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: removed mBm to dBm conversion drivers/net/wireless/ath/ath10k/debug.h | 3 +++ drivers/net/wireless/ath/ath10k/mac.c | 40 + drivers/net/wireless/ath/ath10k/wmi.h | 18

[PATCH v2 2/3] mac80211: store tx power value from user to station

2019-01-30 Thread Balaji Pothunoori
From: Ashok Raj Nagarajan This patch introduce a new driver callback drv_sta_set_txpwr. This API will copy the transmit power value passed from user space and call the driver callback to set the tx power for the station. Co-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan

[PATCH v2 1/3] cfg80211: Add support to set tx power for a station associated

2019-01-30 Thread Balaji Pothunoori
and limited transmit power level, with the level defined in dBm format. Co-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- v2: add txpwr structure replaced nla_get_u32 with nla_get_u8/s16 added NLA_POLICY_RANGE check include/net

[PATCH] mac80211: don't initiate TDLS connection if station is not associated to AP

2019-01-20 Thread Balaji Pothunoori
[] ___sys_sendmsg+0x1d9/0x1e0 Fixing this by allowing TDLS setup request only when we have completed association. Signed-off-by: Balaji Pothunoori --- net/mac80211/cfg.c | 4 1 file changed, 4 insertions(+) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 80d8ebc..d65aa01 100644

[PATCH 3/3] ath10k: add support for controlling tx power to a station

2019-01-17 Thread Balaji Pothunoori
is sent to the firmware as tx power, it will revert to the default tx power for the station. Tested Hardware : QCA9984 Tested Firmware : 10.4-3.9.0.1-00013 Co-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan Signed-off-by: Balaji Pothunoori --- drivers/net/wireless/ath/ath10k

[PATCH 2/3] mac80211: store tx power value from user to station

2019-01-17 Thread Balaji Pothunoori
From: Ashok Raj Nagarajan This patch introduce a new driver callback drv_sta_set_txpwr. This API will copy the transmit power value passed from user space and call the driver callback to set the tx power for the station. Co-developed-by: Balaji Pothunoori Signed-off-by: Ashok Raj Nagarajan

[PATCH v3] ath10k: management tx ack rssi capability check

2018-09-10 Thread Balaji Pothunoori
Adding WMI service check for management tx ack rssi support; this is done to maintain common avg ack signal in user level for both data and management tx ack packet. Tested on QCA4019(fw version-10.4-3.2.1-00063). Signed-off-by: Balaji Pothunoori --- v3: modified ack rssi support check

Re: [PATCH v2 3/3] ath10k: management tx ack rssi capability check

2018-09-06 Thread Balaji Pothunoori
On 2018-08-29 14:23, Johannes Berg wrote: On Thu, 2018-07-19 at 18:56 +0530, Balaji Pothunoori wrote: - if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, ar->wmi.svc_map)) + if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, ar->wmi.svc_map) || + te

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

2018-09-05 Thread Balaji Pothunoori
On 2018-09-05 10:20, Kalle Valo wrote: Balaji Pothunoori writes: 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

Re: [PATCH v3] ath10k: average ack rssi support for data frames

2018-09-04 Thread Balaji Pothunoori
On 2018-09-04 17:49, Kalle Valo wrote: Balaji Pothunoori writes: 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

[PATCH v3] ath10k: average ack rssi support for data frames

2018-09-04 Thread Balaji Pothunoori
each successful transmission, If tx completion status is OK and 24th bit is set in HTT message header then host will fetch the ack_rssi else host can ignore the ack_rssi field Signed-off-by: Balaji Pothunoori --- v2: Addressed ath10k-check warnings v3: cfg80211/mac80211 changes are already

[PATCH v2 2/3] mac80211: Extend avg ack rssi support for mgmt frames

2018-07-19 Thread Balaji Pothunoori
Used defined API to make common average ack rssi support irrespective of data or mamagement tx ack packet. Signed-off-by: Balaji Pothunoori --- v2: Addressed Johannes comments Modified subject and commit log net/mac80211/sta_info.c | 26 +- 1 file changed, 13

[PATCH v2 3/3] ath10k: management tx ack rssi capability check

2018-07-19 Thread Balaji Pothunoori
Adding WMI service check for management tx ack rssi support; this is done to maintain common avg ack signal in user level for both data and management tx ack packet. Tested on QCA4019(fw version-10.4-3.2.1-00063). Signed-off-by: Balaji Pothunoori --- Note: This patch depends on following patch

[PATCH v2 1/3] cfg80211: Extend avg ack rssi support for mgmt frames

2018-07-19 Thread Balaji Pothunoori
Defining APIs to update avg ack rssi irrespective of data or mgmt tx ack packet; this patch keeps the original behavior intact without breaking the existing API. Signed-off-by: Balaji Pothunoori --- v2: Addressed Johannes comments Modified subject and commit log include/uapi/linux/nl80211

[PATCH v2 0/3] cfg80211/mac80211/ath10k: Extend avg ack rssi support for mgmt frames

2018-07-19 Thread Balaji Pothunoori
Adding ack signal support in station dump if the driver supports; also made changes to update "last ack signal" and "avg ack signal" for both data and management tx ack packet. Balaji Pothunoori (3): cfg80211: Extend avg ack rssi support for mgmt frames mac80211:

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

2018-04-16 Thread Balaji Pothunoori
each successful transmission, If tx completion status is OK and 24th bit is set in HTT message header then host will fetch the ack_rssi else host can ignore the ack_rssi field. Signed-off-by: Balaji Pothunoori <bpoth...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/core.c | 4 d

[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 <bpoth...@codeaurora.org> --- net/mac80211/sta_info.c | 10 ++ net/mac80211/sta_info.h | 2 ++ net/ma

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

2018-04-16 Thread Balaji Pothunoori
bandwidth(20 Mhz). So average rssi of the ack packets is good and more accurate." Signed-off-by: Balaji Pothunoori <bpoth...@codeaurora.org> --- include/net/cfg80211.h | 3 +++ include/uapi/linux/nl80211.h | 7 +++ net/wireless/nl80211.c | 3 +++ 3 files changed, 13

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

2018-04-13 Thread Balaji Pothunoori
each successful transmission, If tx completion status is OK and 24th bit is set in HTT message header then host will fetch the ack_rssi else host can ignore the ack_rssi field. Note: This patch is depends on cfg80211 patch. Signed-off-by: Balaji Pothunoori <bpoth...@codeaurora.org> --- drive

RE: [PATCH] ath10k: handling qos at STA side based on AP WMM enable/disable

2017-11-29 Thread Balaji Pothunoori
let me know do you observed same behavior with any other chipset ? Regards, Balaji. >Sebastian >> >> Regards, >> Balaji. -Original Message- From: Sebastian Gottschall [mailto:s.gottsch...@dd-wrt.com] Sent: Wednesday, November 29, 2017 2:04 PM To: Balaji Pothunoori &l

RE: [PATCH] ath10k: handling qos at STA side based on AP WMM enable/disable

2017-11-28 Thread Balaji Pothunoori
? Can you share the more details on firmware crash ? Regards, Balaji. -Original Message- From: Sebastian Gottschall [mailto:s.gottsch...@dd-wrt.com] Sent: Wednesday, November 29, 2017 8:28 AM To: Balaji Pothunoori <bpoth...@qti.qualcomm.com>; ath10k@lists.infradead.org Cc: linux