Re: [PATCH 6/6] ath11k: switch to using ieee80211_tx_status_ext()

2019-08-09 Thread Pradeep Kumar Chitrapu
@@ -431,12 +434,18 @@ static void ath11k_dp_tx_complete_msdu(struct ath11k *ar, - ieee80211_tx_status(ar->hw, msdu); + spin_lock_bh(&ab->data_lock); + peer = ath11k_peer_find_by_id(ab, ts->peer_id); + arsta = (struct ath11k_sta *)peer->sta->drv_priv; Hi John, Accesing

[PATCH] mac80211: free peer keys before vif down in mesh

2019-05-28 Thread Pradeep Kumar Chitrapu
freeing peer keys after vif down is resulting in peer key uninstall to fail due to interface lookup failure. so fix that. Signed-off-by: Pradeep Kumar Chitrapu --- net/mac80211/mesh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index

[PATCH] iw: add command to inject a frame via direct mesh link to mesh peer

2019-04-08 Thread Pradeep Kumar Chitrapu
frame Example: $ iw wlan0 mpath probe aa:bb:cc:dd:ee:ff frame aa:bb:cc:dd:ee:ff:kk:ll:mm:nn:oo:pp:yy:zz Frame pattern is supplied as hex pattern of the form aa:bb:cc without leading 0x. Frame type and length are expected to be of ethernet frame type. Signed-off-by: Pradeep Kumar Chitrapu

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

2019-02-05 Thread Pradeep Kumar Chitrapu
. Supported FW: 10.4 Tested on IPQ4019 with firmware: 10.4-3.2.1.1-00022 Signed-off-by: Pradeep Kumar Chitrapu --- drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 29 + drivers/net/wireless/ath/ath10k/wmi.c | 4 drivers/net

[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 co

Re: [PATCH] mac80211: support FTM responder configuration/statistics

2018-10-29 Thread Pradeep Kumar Chitrapu
Yes, but we may not get there? if (!need_new_beacon) goto skip_beacons; ah!..yes...Thanks..

Re: [PATCH] mac80211: support FTM responder configuration/statistics

2018-10-29 Thread Pradeep Kumar Chitrapu
memset(¶ms, 0, sizeof(params)); + params.beacon_csa.ftm_responder = -1; Hi Johannes, Agree with the rest, however, I think this may not be needed because ftm_responder is already being set to -1, if NL80211_ATTR_FTM_RESPONDER attribute is not included, in nl80211_parse_beacon, wh

Re: [PATCH] mac80211: support FTM responder configuration/statistics

2018-10-25 Thread Pradeep Kumar Chitrapu
I just realized that this is broken in nl80211_channel_switch() and ieee80211_set_csa_beacon(), doing a CSA will always disable FTM unless it was actually included in the new configuration. Hi Johannes oops..Yes, there is a bug in the patch. The code below, I think, must fix this issue. Pleas

[PATCH] mac80211: support FTM responder configuration/statistics

2018-10-03 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- include/net/mac80211.h| 28 net/mac80211/cfg.c| 85 +++ net/mac80211/driver-ops.h | 16 + net/mac80211/trace.h | 23 + net/mac80211/util.c | 5 +++ 5 files changed, 157

[PATCH] ath10k: Add support to configure channel dwell time

2018-05-11 Thread Pradeep Kumar Chitrapu
. Supported Chipsets: -QCA988X/QCA9887 PCI -QCA99X0/QCA9984/QCA9888/QCA4019 PCI -QCA6174/QCA9377 PCI/USB/SDIO -WCN3990 SNOC Tested on QCA9984 with firmware ver 10.4-3.6-0010 Signed-off-by: Pradeep Kumar Chitrapu --- drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c

[PATCH] iw: Add duration parameter to scan command

2018-05-08 Thread Pradeep Kumar Chitrapu
This patch lets user to specify duration(TUs) and set duration-mandatory flag in scan command. Signed-off-by: Pradeep Kumar Chitrapu --- scan.c | 31 --- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/scan.c b/scan.c index 74ccc06..3e9daef 100644

[PATCH v2] ath10k: support for multicast rate control

2018-05-07 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- v2: - fixed the CCK rates setting for mcast_rate and fixed_rate paths. - set broadcast rate along with multicast rate setting. drivers/net/wireless/ath/ath10k/mac.c | 54 --- 1 file changed, 50 insertions(+), 4 deletions(-) diff --git

[PATCH] ath10k:add support for multicast rate control

2018-04-11 Thread Pradeep Kumar Chitrapu
Issues wmi command to firmware when multicast rate change is received with the new BSS_CHANGED_MCAST_RATE flag. Signed-off-by: Pradeep Kumar Chitrapu --- drivers/net/wireless/ath/ath10k/mac.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v3] mac80211: notify driver for change in multicast rates

2018-03-22 Thread Pradeep Kumar Chitrapu
It is required to pass the rate information to driver/firmware when rate control is offloaded to firmware. This helps in changing multicast traffic rates thereby improving the network performance. Signed-off-by: Pradeep Kumar Chitrapu --- V3: - Added Documentation V2: - Set the flag in

[PATCH v2] mac80211: notify driver for change in multicast rates

2018-03-21 Thread Pradeep Kumar Chitrapu
It is required to pass the rate information to driver/firmware when rate control is offloaded to firmware. This helps in changing multicast traffic rates thereby improving the network performance. Signed-off-by: Pradeep Kumar Chitrapu --- V2: - Set the flag in missing places include/net

[PATCH] mac80211: notify driver for change in multicast rates

2018-03-20 Thread Pradeep Kumar Chitrapu
It is required to pass the rate information to driver/firmware when rate control is offloaded to firmware. This helps in changing multicast traffic rates thereby improving the network performance. Signed-off-by: Pradeep Kumar Chitrapu --- include/net/mac80211.h | 1 + net/mac80211/cfg.c | 2

[PATCH] wireless: allow send peer mac in rssi cqm notify

2017-08-22 Thread Pradeep Kumar Chitrapu
Extend cqm rssi notifier apis to include peer mac address. Currently netlink cqm msg already accepts the mac. With this change just passing the mac address as an argument to cfg and mac80211 apis. Signed-off-by: Pradeep Kumar Chitrapu --- drivers/net/wireless/intel/iwlwifi/mvm/rx.c | 4

[PATCH 1/2] cfg80211: enable setting cqm config for AP mode

2017-08-09 Thread Pradeep Kumar Chitrapu
Enable connection monitoring for AP mode which makes it possible to track signal strength of connected stations. Signed-off-by: Pradeep Kumar Chitrapu --- net/wireless/nl80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c

[PATCH 2/2] mac80211: enable setting cqm config for AP mode

2017-08-09 Thread Pradeep Kumar Chitrapu
Enable connection monitoring for AP mode which makes it possible to track signal strength of connected stations. Signed-off-by: Pradeep Kumar Chitrapu --- net/mac80211/cfg.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c