[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

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

2018-09-20 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- v5: - renamed 'civic' param to 'civicloc' v4: - no changes v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/mac80211.h| 13 net/mac802

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

2018-09-20 Thread Pradeep Kumar Chitrapu
ted changes in V2: - updated version number - rebased patches Johannes Berg, Pradeep Kumar Chitrapu (1): cfg80211: support FTM responder configuration/statistics David Spinadel, Johannes Berg, Pradeep Kumar Chitrapu (1): mac80211: support FTM responder configuration/statistics Pradeep Kum

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

2018-09-20 Thread Pradeep Kumar Chitrapu
retrieving statistics is added. Signed-off-by: Johannes Berg Signed-off-by: Pradeep Kumar Chitrapu --- v5: - changed NL80211_ATTR_FTM_RESPONDER to nested attr type - renamed 'civic' param to 'civicloc' v4: - no changes v3: - fixed ftm responder disabled case to be not s

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

2018-09-20 Thread Pradeep Kumar Chitrapu
: 10.4 Tested on QCA9984 with firmware: 10.4-3.6-00144 Signed-off-by: Pradeep Kumar Chitrapu --- v5, v4, v3, v2: - no changes drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 28 drivers/net/wireless/ath/ath10k/wmi.c | 4

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

2018-09-18 Thread Pradeep Kumar Chitrapu
On 2018-09-18 00:52, Johannes Berg wrote: Hi, Sorry for the delay with this. I was a bit fed up by all the resends, but I see the latest one did in fact finally make it to the list and patchwork. (As an aside - it would've helped to actually bump the version number for every resend, even if it's

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

2018-09-11 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/mac80211.h| 13 net/mac80211/cfg.c| 84 +++ net/mac80211/driver-ops.h | 16

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

2018-09-11 Thread Pradeep Kumar Chitrapu
: 10.4 Tested on QCA9984 with firmware: 10.4-3.6-00144 Signed-off-by: Pradeep Kumar Chitrapu --- drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 28 drivers/net/wireless/ath/ath10k/wmi.c | 4 drivers/net/wireless/ath

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

2018-09-11 Thread Pradeep Kumar Chitrapu
retrieving statistics is added. Signed-off-by: Johannes Berg Signed-off-by: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/cfg80211.h | 66 +++ include/uapi/linux/nl80211

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

2018-09-11 Thread Pradeep Kumar Chitrapu
s. Rebased and resending as v4 as v3 patches were dropped for unknown reason changes in V3: - fixed the ambiguous ftm responder disable case to be not supported changes in V2: - updated version number - rebased patches Johannes Berg, Pradeep Kumar Chitrapu (1): cfg80211: support FTM

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

2018-09-07 Thread Pradeep Kumar Chitrapu
retrieving statistics is added. Signed-off-by: Johannes Berg Signed-off-by: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/cfg80211.h | 66 +++ include/uapi/linux/nl80211

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

2018-09-07 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/mac80211.h| 13 net/mac80211/cfg.c| 84 +++ net/mac80211/driver-ops.h | 16

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

2018-09-07 Thread Pradeep Kumar Chitrapu
s. Rebased and resending as v4 as v3 patches were dropped for unknown reason changes in V3: - fixed the ambiguous ftm responder disable case to be not supported changes in V2: - updated version number - rebased patches Johannes Berg, Pradeep Kumar Chitrapu (1): cfg80211: support FTM

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

2018-09-07 Thread Pradeep Kumar Chitrapu
: 10.4 Tested on QCA9984 with firmware: 10.4-3.6-00144 Signed-off-by: Pradeep Kumar Chitrapu --- drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 28 drivers/net/wireless/ath/ath10k/wmi.c | 4 drivers/net/wireless/ath

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

2018-09-07 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/mac80211.h| 13 net/mac80211/cfg.c| 84 +++ net/mac80211/driver-ops.h | 16

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

2018-09-07 Thread Pradeep Kumar Chitrapu
: 10.4 Tested on QCA9984 with firmware: 10.4-3.6-00144 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/wireless/ath

[PATCH resend v3 0/3] support ftm responder configuration/statistics

2018-09-07 Thread Pradeep Kumar Chitrapu
ambiguous ftm responder disable case to be not supported changes in V2: - updated version number - rebased patches Johannes Berg, Pradeep Kumar Chitrapu (1): cfg80211: support FTM responder configuration/statistics David Spinadel, Johannes Berg, Pradeep Kumar Chitrapu (1): mac80211: s

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

2018-09-07 Thread Pradeep Kumar Chitrapu
retrieving statistics is added. Signed-off-by: Johannes Berg Signed-off-by: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/cfg80211.h | 66 +++ include/uapi/linux/nl80211

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

2018-09-06 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/mac80211.h| 13 net/mac80211/cfg.c| 84 +++ net/mac80211/driver-ops.h | 16

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

2018-09-06 Thread Pradeep Kumar Chitrapu
ambiguous ftm responder disable case to be not supported changes in V2: - updated version number - rebased patches Johannes Berg, Pradeep Kumar Chitrapu (1): cfg80211: support FTM responder configuration/statistics David Spinadel, Johannes Berg, Pradeep Kumar Chitrapu (1): mac80211: s

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

2018-09-06 Thread Pradeep Kumar Chitrapu
retrieving statistics is added. Signed-off-by: Johannes Berg Signed-off-by: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/cfg80211.h | 66 +++ include/uapi/linux/nl80211

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

2018-09-06 Thread Pradeep Kumar Chitrapu
: 10.4 Tested on QCA9984 with firmware: 10.4-3.6-00144 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/wireless/ath

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

2018-09-06 Thread Pradeep Kumar Chitrapu
: 10.4 Tested on QCA9984 with firmware: 10.4-3.6-00144 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/wireless/ath

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

2018-09-06 Thread Pradeep Kumar Chitrapu
ambiguous ftm responder disable case to be not supported changes in V2: - updated version number - rebased patches Johannes Berg, Pradeep Kumar Chitrapu (1): cfg80211: support FTM responder configuration/statistics David Spinadel, Johannes Berg, Pradeep Kumar Chitrapu (1): mac80211: s

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

2018-09-06 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/mac80211.h| 13 net/mac80211/cfg.c| 84 +++ net/mac80211/driver-ops.h | 16

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

2018-09-06 Thread Pradeep Kumar Chitrapu
retrieving statistics is added. Signed-off-by: Johannes Berg Signed-off-by: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/cfg80211.h | 66 +++ include/uapi/linux/nl80211

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

2018-09-05 Thread Pradeep Kumar Chitrapu
On 2018-09-03 02:33, Johannes Berg wrote: On Fri, 2018-08-31 at 12:56 -0700, Pradeep Kumar Chitrapu wrote: + * @ftm_responder: whether to enable fine timing measurement FTM functionality missing "responder" somewhere there :) + * @ftmr_params: configurable lci/civic parameter whe

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

2018-09-05 Thread Pradeep Kumar Chitrapu
: 10.4 Tested on QCA9984 with firmware: 10.4-3.6-00144 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/wireless/ath

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

2018-09-05 Thread Pradeep Kumar Chitrapu
ambiguous ftm responder disable case to be not supported changes in V2: - updated version number - rebased patches Johannes Berg, Pradeep Kumar Chitrapu (1): cfg80211: support FTM responder configuration/statistics David Spinadel, Johannes Berg, Pradeep Kumar Chitrapu (1): mac80211: s

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

2018-09-05 Thread Pradeep Kumar Chitrapu
retrieving statistics is added. Signed-off-by: Johannes Berg Signed-off-by: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/cfg80211.h | 66 +++ include/uapi/linux/nl80211

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

2018-09-05 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- v3: - fixed ftm responder disabled case to be not supported. - changed ftm_responder param from bool to s8. include/net/mac80211.h| 13 net/mac80211/cfg.c| 84 +++ net/mac80211/driver-ops.h | 16

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

2018-08-31 Thread Pradeep Kumar Chitrapu
retrieving statistics is added. Signed-off-by: Johannes Berg Signed-off-by: Pradeep Kumar Chitrapu --- include/net/cfg80211.h | 66 + include/uapi/linux/nl80211.h | 71 ++ net/wireless/nl80211.c | 115

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

2018-08-31 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- include/net/mac80211.h| 12 net/mac80211/cfg.c| 74 +++ net/mac80211/driver-ops.h | 16 ++ net/mac80211/trace.h | 23 +++ net/mac80211/util.c | 3 ++ 5 files changed, 128

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

2018-08-31 Thread Pradeep Kumar Chitrapu
: 10.4 Tested on QCA9984 with firmware: 10.4-3.6-00144 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/wireless/ath

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

2018-08-31 Thread Pradeep Kumar Chitrapu
ed version number - rebased patches Johannes Berg, Pradeep Kumar Chitrapu (1): cfg80211: support FTM responder configuration/statistics David Spinadel, Johannes Berg, Pradeep Kumar Chitrapu (1): mac80211: support FTM responder configuration/statistics Pradeep Kumar Chitrapu (1): ath10k: Add

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

2018-08-30 Thread Pradeep Kumar Chitrapu
: Pradeep Kumar Chitrapu --- include/net/mac80211.h| 12 net/mac80211/cfg.c| 74 +++ net/mac80211/driver-ops.h | 16 ++ net/mac80211/trace.h | 23 +++ net/mac80211/util.c | 3 ++ 5 files changed, 128

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

2018-08-30 Thread Pradeep Kumar Chitrapu
: 10.4 Tested on QCA9984 with firmware: 10.4-3.6-00144 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/wireless/ath

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

2018-08-30 Thread Pradeep Kumar Chitrapu
retrieving statistics is added. Signed-off-by: Johannes Berg Signed-off-by: Pradeep Kumar Chitrapu --- include/net/cfg80211.h | 66 + include/uapi/linux/nl80211.h | 71 ++ net/wireless/nl80211.c | 115

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

2018-08-30 Thread Pradeep Kumar Chitrapu
attribute NL80211_ATTR_FTM_RESPONDER with configurable lci/civic ocation parameters. Also extended feature flag is added for the drivers to advertise the support. Setting the flag to enable FTM responder would imply that AP responds to all FTM requests. Default is considered to be disabled. Johannes Berg, Pradeep Kuma

Re: [PATCH 0/3] Add support for ftm responder configuration

2018-08-22 Thread Pradeep Kumar Chitrapu
On 2018-08-22 00:27, Johannes Berg wrote: On Tue, 2018-08-21 at 15:08 -0700, Pradeep Kumar Chitrapu wrote: > Right. However, I guess we could allow updating/changing this setting > on > the fly through () which already allows changing > other > non-beacon parameters (like the

Re: [PATCH 0/3] Add support for ftm responder configuration

2018-08-21 Thread Pradeep Kumar Chitrapu
On 2018-08-21 12:24, Johannes Berg wrote: On Tue, 2018-08-21 at 11:32 -0700, Pradeep Kumar Chitrapu wrote: I wasn't aware of this android api. OK. However, looking at the api, the assumption is that bss is started by a different api and the 'enableResponder' api is used f

Re: [PATCH 0/3] Add support for ftm responder configuration

2018-08-21 Thread Pradeep Kumar Chitrapu
On 2018-08-20 02:33, Johannes Berg wrote: On Sat, 2018-08-18 at 00:50 -0700, Pradeep Kumar Chitrapu wrote: > I will change the attribute to FLAG type, also add support for LCI/CIVIC params and repost the patch. Looking at Android (for unrelated reasons), I see that they have a separ

Re: [PATCH 0/3] Add support for ftm responder configuration

2018-08-18 Thread Pradeep Kumar Chitrapu
No worries. > > I have no objection to your approach, though I guess it'd be nice if > you > could take a look at the statistics I have exposed and see if those > makes sense or if additional ones are desirable for you, and then we > can combine the work that way, i.e. have your configuratio

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

2018-08-14 Thread Pradeep Kumar Chitrapu
. Supported FW: 10.4 Tested on QCA9984 with debug firmware: 10.4-3.2.1-00121 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

[PATCH 2/3] mac80211: Add support to notify ftm responder configuration to the driver

2018-08-14 Thread Pradeep Kumar Chitrapu
New bss param ftm_responder is used to notify the driver to enable or disable fine timing request (FTM) responder role in AP mode. Signed-off-by: Pradeep Kumar Chitrapu --- include/net/mac80211.h | 4 net/mac80211/cfg.c | 4 net/mac80211/util.c| 3 +++ 3 files changed, 11

[PATCH 1/3] nl80211: add support to configure FTM responder functionality

2018-08-14 Thread Pradeep Kumar Chitrapu
Allow userspace to enable or disable fine timing measurement responder functionality in AP mode. This can be done at AP start. A new EXT_FEATURE flag is introduced for drivers to advertise the capability. Signed-off-by: Pradeep Kumar Chitrapu --- include/net/cfg80211.h | 2 ++ include

[PATCH 0/3] Add support for ftm responder configuration

2018-08-14 Thread Pradeep Kumar Chitrapu
' to enable FTM responder would imply that AP responds to all FTM requests. Pradeep Kumar Chitrapu (3): nl80211: add support to configure FTM responder functionality mac80211: Add support to notify ftm responder configuration to the driver ath10k: Add support to configure ftm respond

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