[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 <prade...@codeaurora.org> --- net/wireless/nl80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/wireless/nl8

[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 <prade...@codeaurora.org> --- net/mac80211/cfg.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/ma

[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 <prade...@codeaurora.org> --- drivers/net/wireless

[PATCH v2] ath10k: support for multicast rate control

2018-05-07 Thread Pradeep Kumar Chitrapu
-by: Pradeep Kumar Chitrapu <prade...@codeaurora.org> --- 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

[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 <prade...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/core.h | 1 + drive

[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 <prade...@codeaurora.org> --- scan.c | 31 --- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/scan.c b/scan.c

[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 <prade...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/mac.c | 25 - 1 file changed, 24 insertions(+), 1 de

[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 <prade...@codeaurora.org> --- V3: - Added Documentat

[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 <prade...@codeaurora.org> --- include/net/mac80211

[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 <prade...@codeaurora.org> --- V2: - Set the flag in m

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

2018-10-29 Thread Pradeep Kumar Chitrapu
memset(, 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,

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-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.

[PATCH] mac80211: support FTM responder configuration/statistics

2018-10-03 Thread Pradeep Kumar Chitrapu
-by: 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