[PATCHv4 0/2] cfg80211/mac80211: Add support to configure and monitor station's rssi threshold

2019-04-17 Thread Tamizh chelvam
ation. Monitoring station's signal strength through station dump command will unnecessarily increase the system overhead. This event based mechanism will reduce the system overhead and helps application to take a decision for the station for which event received. Tamizh chelvam (2): cfg80211: Add

[PATCHv4 2/2] mac80211: Implement API to configure station specific rssi threshold

2019-04-17 Thread Tamizh chelvam
update the lower and upper RSSI threshold for the station if it is not configured as a fixed threshold. This event will be useful for the application like steering to take decision on any station depends on its current link quality. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h |

[PATCHv4 1/2] cfg80211: Add support to configure station specific RSSI threshold for AP mode

2019-04-17 Thread Tamizh chelvam
th cross event using NL80211_CMD_NOTIFY_STA_MON. Driver supporting this feature should advertise NL80211_EXT_FEATURE_STA_MON_RSSI_CONFIG feature flag. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 39 + include/uapi/linux/nl80211.h | 21 + net/wireless/nl

[PATCH] iw: Add new command to support tid specific configuration

2019-04-10 Thread Tamizh chelvam
Add "set tid_config" command to support tid specific configurations. This command accepts multiple tid configurations like retry, ampdu, rtscts, noack and tx bitrate at a time. Format: iw dev set tid_config Example: Noack configuration : iw set tid_config tid peer noack enable|disable R

[PATCHv3 0/2] cfg80211/mac80211: Add support to configure and monitor station's rssi threshold

2019-04-09 Thread Tamizh chelvam
ation. Monitoring station's signal strength through station dump command will unnecessarily increase the system overhead. This event based mechanism will reduce the system overhead and helps application to take a decision for the station for which event received. Tamizh chelvam (2): cfg80211: Add

[PATCHv3 2/2] mac80211: Implement API to configure station specific rssi threshold

2019-04-09 Thread Tamizh chelvam
update the lower and upper RSSI threshold for the station if it is not configured as a fixed threshold. This event will be useful for the application like steering to take decision on any station depends on its current link quality. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h |

[PATCHv3 1/2] cfg80211: Add support to configure station specific RSSI threshold for AP mode

2019-04-09 Thread Tamizh chelvam
th cross event using NL80211_CMD_NOTIFY_STA_MON. Driver supporting this feature should advertise NL80211_EXT_FEATURE_STA_MON_RSSI_CONFIG feature flag. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 39 + include/uapi/linux/nl80211.h | 21 + net/wireless/nl

[PATCHv3 9/9] ath10k: Add extended TID configuration support

2019-03-06 Thread Tamizh chelvam
which extended configuration parameter has modified(here RTS_CTS). WMI_10_4_SERVICE_EXT_PEER_TID_CONFIGS_SUPPORT service flag introduced to advertise this support. Testing: * Tested HW: QCA9984 * Tested FW: 10.4-3.9.0.2-00021 Signed-off-by: Tamizh chelvam --- drivers/net/wireles

[PATCHv3 3/9] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2019-03-06 Thread Tamizh chelvam
per-STA data TID ampdu configuration should advertise NL80211_EXT_FEATURE_PER_STA_AMPDU_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 15 +++ 3 files changed, 40

[PATCHv3 6/9] mac80211: Add api to support configuring TID specific configuration

2019-03-06 Thread Tamizh chelvam
Implement drv_set_tid_config api to allow TID specific configuration. This per-TID configuration will be applied for all the connected stations when MAC is NULL. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 35 +++ net/mac80211/cfg.c| 28

[PATCHv3 8/9] ath10k: Add new api to support TID specific configuration

2019-03-06 Thread Tamizh chelvam
same configuration for the TID through station specific command. Newly connecting stations will be applied with vif TID configuration which will be stored in ieee80211_vif. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net

[PATCHv3 2/9] nl80211: Add new netlink attribute for TID speicific retry count

2019-03-06 Thread Tamizh chelvam
limit. Driver supporting TID specific retry configuration should advertise NL80211_EXT_FEATURE_PER_TID_RETRY_CONFIG and per STA specific data TID retry configuration should advertise NL80211_EXT_FEATURE_PER_STA_RETRY_CONFIG. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 11

[PATCHv3 7/9] ath10k: Add wmi command support for station specific TID config

2019-03-06 Thread Tamizh chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++ drivers/net/wireless/ath/ath10k/wmi.c | 32 +++ drivers/net/wireless/ath/ath10k/wmi.h

[PATCHv3 5/9] nl80211: Add netlink attribute to configure TID specific tx rate

2019-03-06 Thread Tamizh chelvam
NL80211_ATTR_MAC attribute. Driver supporting this feature should advertise NL80211_EXT_FEATURE_PER_TID_TX_BITRATE_MASK and supporting per-STA data TID TX bitrate configuration should advertise NL80211_EXT_FEATURE_PER_STA_TX_BITRATE_MASK. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h

[PATCHv3 4/9] nl80211: Add netlink attribute to enable/disable RTS_CTS

2019-03-06 Thread Tamizh chelvam
TID RTS_CTS configuration should advertise NL80211_EXT_FEATURE_PER_STA_RTSCTS_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 17 + 3 files changed, 42 insertions

[PATCHv3 1/9] nl80211: New netlink command for TID specific configuration

2019-03-06 Thread Tamizh chelvam
through NL80211_EXT_FEATURE_PER_STA_NOACK_CONFIG Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 35 +++ include/uapi/linux/nl80211.h | 51 ++ net/wireless/nl80211.c | 102 +++ net/wireless/rdev

[PATCHv3 0/9] cfg80211/mac80211: Add support for TID specific configuration

2019-03-06 Thread Tamizh chelvam
accept multiple number of data TID specific configuration in a single command, enum ieee80211_tid_conf_mask used to notify the driver that which configuration got modified for the TID. Tamizh chelvam (9): nl80211: New netlink command for TID specific configuration nl80211: Add new netlink attribute

[PATCH] ath: DFS JP domain W56 fixed pulse type 3 RADAR detection

2019-03-06 Thread Tamizh chelvam
-3.2.1.1-00017) * QCA9984(10.4-3.6-00104) * QCA988X(10.2.4-1.0-00041) Tested ath9k hw: AR9300 Tested-by: Tamizh chelvam Signed-off-by: Tamizh chelvam Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/dfs_pattern_detector.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCHv2 8/9] ath10k: Add new api to support TID specific configuration

2019-02-27 Thread Tamizh chelvam
applied with the same configuration for the TID through station specific command. Newly connecting stations will be applied with vif TID configuration which will be stored in ieee80211_vif. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam

Re: [PATCHv2 1/9] nl80211: New netlink command for TID specific configuration

2019-02-26 Thread Tamizh chelvam
Hi Sergey, Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 35 +++ include/uapi/linux/nl80211.h | 51 ++ net/wireless/nl80211.c | 102 +++ net/wireless/rdev-ops.h | 11 + net/wireless

[PATCHv2 3/9] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2019-02-21 Thread Tamizh chelvam
per-STA data TID ampdu configuration should advertise NL80211_EXT_FEATURE_PER_STA_AMPDU_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 15 +++ 3 files changed, 40

[PATCHv2 4/9] nl80211: Add netlink attribute to enable/disable RTS_CTS

2019-02-21 Thread Tamizh chelvam
TID RTS_CTS configuration should advertise NL80211_EXT_FEATURE_PER_STA_RTSCTS_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 17 + 3 files changed, 42 insertions

[PATCHv2 0/9] cfg80211/mac80211: Add support for TID specific configuration

2019-02-21 Thread Tamizh chelvam
multiple number of data TID specific configuration in a single command, enum ieee80211_tid_conf_mask used to notify the driver that which configuration got modified for the TID. Tamizh chelvam (9): nl80211: New netlink command for TID specific configuration nl80211: Add new netlink attribute

[PATCHv2 1/9] nl80211: New netlink command for TID specific configuration

2019-02-21 Thread Tamizh chelvam
through NL80211_EXT_FEATURE_PER_STA_NOACK_CONFIG Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 35 +++ include/uapi/linux/nl80211.h | 51 ++ net/wireless/nl80211.c | 102 +++ net/wireless/rdev

[PATCHv2 9/9] ath10k: Add extended TID configuration support

2019-02-21 Thread Tamizh chelvam
which extended configuration parameter has modified(here RTS_CTS). WMI_10_4_SERVICE_EXT_PEER_TID_CONFIGS_SUPPORT service flag introduced to advertise this support. Testing: * Tested HW: QCA9984 * Tested FW: 10.4-3.9.0.2-00021 Signed-off-by: Tamizh chelvam --- drivers/net/wireles

[PATCHv2 7/9] ath10k: Add wmi command support for station specific TID config

2019-02-21 Thread Tamizh chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++ drivers/net/wireless/ath/ath10k/wmi.c | 32 +++ drivers/net/wireless/ath/ath10k/wmi.h

[PATCHv2 5/9] nl80211: Add netlink attribute to configure TID specific tx rate

2019-02-21 Thread Tamizh chelvam
should advertise NL80211_EXT_FEATURE_PER_STA_TX_BITRATE_MASK. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 5 + include/uapi/linux/nl80211.h | 38 ++ net/wireless/nl80211.c | 41 +++-- 3 files

[PATCHv2 8/9] ath10k: Add new api to support TID specific configuration

2019-02-21 Thread Tamizh chelvam
same configuration for the TID through station specific command. Newly connecting stations will be applied with vif TID configuration which will be stored in ieee80211_vif. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net

[PATCHv2 6/9] mac80211: Add api to support configuring TID specific configuration

2019-02-21 Thread Tamizh chelvam
Implement drv_set_tid_config api to allow TID specific configuration. This per-TID configuration will be applied for all the connected stations when MAC is NULL. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 35 +++ net/mac80211/cfg.c| 28

[PATCHv2 2/9] nl80211: Add new netlink attribute for TID speicific retry count

2019-02-21 Thread Tamizh chelvam
limit. Driver supporting TID specific retry configuration should advertise NL80211_EXT_FEATURE_PER_TID_RETRY_CONFIG and per STA specific data TID retry configuration should advertise NL80211_EXT_FEATURE_PER_STA_RETRY_CONFIG. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 11

Re: [PATCH 0/4] cfg80211/mac80211: Add support for TID specific configuration

2019-02-13 Thread Tamizh chelvam
to make the configuration station specific rather than applying to all the connected stations to the netdev. Tamizh chelvam (3): nl80211: Add netlink attribute for AMPDU aggregation enable/disable tid conf 3 ath10k: Add support to configure TID specific configuration Vasanthakumar

[PATCHv2 2/2] mac80211: Implement API to configure station specific rssi threshold

2019-02-05 Thread Tamizh chelvam
update the lower and upper RSSI threshold for the station if it is not configured as a fixed threshold. This event will be useful for the application like steering to take decision on any station depends on its current link quality. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h |7

[PATCHv2 1/2] cfg80211: Add support to configure station specific RSSI threshold for AP mode

2019-02-05 Thread Tamizh chelvam
th cross event using NL80211_CMD_NOTIFY_STA_MON. Driver supporting this feature should advertise NL80211_EXT_FEATURE_STA_MON_RSSI_CONFIG feature flag. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 39 ++ include/uapi/linux/nl80211.h | 21 ++ net/wireless/nl

[PATCHv2 0/2] cfg80211/mac80211: Add support to configure and monitor station's rssi threshold

2019-02-05 Thread Tamizh chelvam
ation. Monitoring station's signal strength through station dump command will unnecessarily increase the system overhead. This event based mechanism will reduce the system overhead and helps application to take a decision for the station for which event received. Tamizh chelvam (2): cfg80211: Add

Re: [PATCH 1/4] New netlink command for TID specific configuration

2018-11-12 Thread Tamizh chelvam
On 2018-11-09 17:54, Johannes Berg wrote: On Fri, 2018-11-09 at 09:40 +, Sergey Matyukevich wrote: Ok. So if driver receives retry value (-1), it should reset to some default value known to driver or firmware. IMHO it worth making it more explicit: in its current form this convention will n

Re: [PATCH 3/3] mac80211: Implement functionality to monitor station's signal stregnth

2018-11-11 Thread Tamizh chelvam
On 2018-11-09 17:25, Johannes Berg wrote: Oh, umm, that patch is still here ... I guess we can combine 2 and 3 too. Sure. + if (sta->rssi_low && bss_conf->enable_beacon) { + int last_event = + sta->last_rssi_event_value; + int sig = -e

Re: [PATCH 2/3] mac80211: Implement API to configure station specific rssi threshold

2018-11-11 Thread Tamizh chelvam
On 2018-11-09 17:19, Johannes Berg wrote: On Mon, 2018-10-15 at 23:27 +0530, Tamizh chelvam wrote: + sta_mon_rssi_config_free(sta); + sta->rssi_hyst = rssi_hyst; + if (fixed_thold) { + if (n_rssi_tholds

Re: [PATCH 1/3] cfg80211: Add support to configure station specific RSSI threshold for AP mode

2018-11-11 Thread Tamizh chelvam
+ int (*set_sta_mon_rssi_config)(struct wiphy *wiphy, + struct net_device *dev, + const u8 *addr, + const s32 *rssi_tholds, +

Re: [PATCH 1/4] New netlink command for TID specific configuration

2018-11-08 Thread Tamizh chelvam
Hello Tamizh, Co-Developed-by: Tamizh Chelvam Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 14 +++ include/uapi/linux/nl80211.h | 69 + net/wireless/nl80211.c | 86

Re: [PATCH 1/4] New netlink command for TID specific configuration

2018-11-08 Thread Tamizh chelvam
On 2018-11-06 15:46, Sergey Matyukevich wrote: Hello Tamizh, Co-Developed-by: Tamizh Chelvam Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 14 +++ include/uapi/linux/nl80211.h | 69 + net

Re: [PATCH 3/4] mac80211: Add api to support configuring TID specific configuration

2018-11-08 Thread Tamizh chelvam
On 2018-11-06 16:03, Sergey Matyukevich wrote: Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 40 + net/mac80211/cfg.c| 71 + net/mac80211/driver-ops.h | 16 ++ net/mac80211/trace.h

Re: [PATCH 2/4] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2018-11-08 Thread Tamizh chelvam
Hi Sergey, Hello Tamizh, Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |6 ++ include/uapi/linux/nl80211.h | 21 + net/wireless/nl80211.c | 17 + net/wireless/rdev-ops.h | 15 +++ net/wireless/trace.h

[PATCH 0/4] cfg80211/mac80211: Add support for TID specific configuration

2018-10-22 Thread Tamizh chelvam
station specific rather than applying to all the connected stations to the netdev. Tamizh chelvam (3): nl80211: Add netlink attribute for AMPDU aggregation enable/disable tid conf 3 ath10k: Add support to configure TID specific configuration Vasanthakumar Thiagarajan (1): New netlink command

[PATCH 2/4] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2018-10-22 Thread Tamizh chelvam
aggregation configuration should advertise NL80211_EXT_FEATURE_PER_STA_AMPDU_AGGR_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |6 ++ include/uapi/linux/nl80211.h | 21 + net/wireless/nl80211.c | 17 + net/wireless/rdev

[PATCH 3/4] mac80211: Add api to support configuring TID specific configuration

2018-10-22 Thread Tamizh chelvam
connected stations when MAC is NULL. enum ieee80211_tid_conf_change introduced to notify the the driver about which configuration parameter got changed in ieee80211_tid_conf structure. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 40 + net/mac80211/cfg.c

[PATCH 4/4] ath10k: Add support to configure TID specific configuration

2018-10-22 Thread Tamizh chelvam
A9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/core.h | 23 drivers/net/wireless/ath/ath10k/mac.c | 240 + drivers/net/wireless/ath/ath10k/wmi.c | 6 +- drivers/net/wireless/ath/ath10k/wmi.h

[PATCH 1/4] New netlink command for TID specific configuration

2018-10-22 Thread Tamizh chelvam
should advertise NL80211_EXT_FEATURE_PER_TID_* and supporting per-STA data retry count configuration should advertise NL80211_EXT_FEATURE_PER_STA_*. Co-Developed-by: Tamizh Chelvam Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 14

[PATCH 3/6] mac80211: Apply per-peer NoAck tid bitmap configuration

2018-10-16 Thread Tamizh chelvam
modifies callback set_noack_tid_bitmap() with the provision to send per-peer NoAck policy configuration to the drivers. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 14 ++ net/mac80211/cfg.c| 43

[PATCH 6/6] ath10k: Add support for station specific noack TID policy

2018-10-16 Thread Tamizh chelvam
T_ACK flag in the tx completion. WMI_SERVICE_PEER_TID_CONFIGS_SUPPORT flag is added to advertise this command support Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/core.h | 11 +++ drivers/net/wireles

[PATCH 2/6] nl80211/mac80211: Extend NoAck policy command with peer MAC address

2018-10-16 Thread Tamizh chelvam
ation, redefine noack_map as int from u16. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 12 ++-- include/net/mac80211.h |2 +- include/uapi/linux/nl80211.h | 16 +++- net/mac80211/cfg.c |3 ++-

[PATCH 0/6] wireless: Per-sta NoAck and offload support

2018-10-16 Thread Tamizh chelvam
the station. Tamizh chelvam (2): ath10k: Add wmi command support for station specific TID config ath10k: Add support for station specific noack TID policy Vasanthakumar Thiagarajan (4): mac80211: Add NoAck policy functionality offload infrastructure nl80211/mac80211: Extend NoAck policy

[PATCH 5/6] ath10k: Add wmi command support for station specific TID config

2018-10-16 Thread Tamizh chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 drivers/net/wireless/ath/ath10k/wmi.c | 29 ++ drivers/net/wireless/ath/ath10k/wmi.h

[PATCH 1/6] mac80211: Add NoAck policy functionality offload infrastructure

2018-10-16 Thread Tamizh chelvam
-off-by: Tamizh chelvam --- include/net/mac80211.h|7 +++ net/mac80211/cfg.c| 10 -- net/mac80211/driver-ops.h | 21 + net/mac80211/iface.c |4 net/mac80211/trace.h | 25 + net/mac80211/tx.c

[PATCH 4/6] mac80211: Advertise per-peer NoAck policy support

2018-10-16 Thread Tamizh chelvam
From: Vasanthakumar Thiagarajan This enables per-peer NoAck handling in mac80211 when the functionality is not offloaded to the drivers. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- net/mac80211/main.c |4 1 file changed, 4 insertions(+) diff --git a

RE: [EXTERNAL] Re: [PATCH 1/3] cfg80211: Add support to configure station specific RSSI threshold for AP mode

2018-10-16 Thread Tamizh Chelvam Raja
>> +static int nl80211_set_sta_mon(struct sk_buff *skb, struct genl_info >> +*info) { >> + struct cfg80211_registered_device *rdev = info->user_ptr[0]; >> + struct net_device *dev = info->user_ptr[1]; >> + struct nlattr *attrs[NL80211_ATTR_CQM_MAX + 1]; >> + bool fixed_thol

[PATCH 2/3] mac80211: Implement API to configure station specific rssi threshold

2018-10-15 Thread Tamizh chelvam
Implement set_sta_mon_rssi_config API to configure station specific rssi threshold value to monitor change in connected station's signal strength. Signed-off-by: Tamizh chelvam --- net/mac80211/cfg.c | 91 +++ net/mac80211/sta_info.c |

[PATCH 3/3] mac80211: Implement functionality to monitor station's signal stregnth

2018-10-15 Thread Tamizh chelvam
threshold. This event will be useful for the application like steering to take decision on any station depends on its current link quality. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h |7 +++ net/mac80211/cfg.c |2 +- net/mac80211/rx.c | 51

[PATCH 1/3] cfg80211: Add support to configure station specific RSSI threshold for AP mode

2018-10-15 Thread Tamizh chelvam
eature flag. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 28 + include/uapi/linux/nl80211.h | 18 ++ net/wireless/nl80211.c | 131 +- net/wireless/rdev-ops.h | 18 ++ 4 files changed, 181 inserti

[PATCH 0/3] cfg80211/mac80211: Add support to configure and monitor station's rssi threshold

2018-10-15 Thread Tamizh chelvam
hange information. Monitoring station's signal strength through station dump command will unnecessarily increase the system overhead. This event based mechanism will reduce the system overhead and helps application to take a decision for the station for which event received. Tamizh chelvam (3): cfg

[PATCH] ath: fix frequent flase radar detection

2018-10-14 Thread Tamizh chelvam
noisy environment. Tested ath10k hw and fw: * QCA9888(10.4-3.5.1-00052) * QCA4019(10.4-3.2.1.1-00017) * QCA9984(10.4-3.6-00104) * QCA988X(10.2.4-1.0-00041) Tested ath9k hw: AR9300 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath.h | 2

Re: [PATCH 2/7] cfg80211: Add new NL command to configure peer specific rssi threshold

2018-07-11 Thread Tamizh chelvam
On 2018-07-06 17:10, Johannes Berg wrote: On Wed, 2018-07-04 at 11:39 +0530, Tamizh chelvam wrote: On 2018-06-29 14:59, Johannes Berg wrote: > On Wed, 2018-06-13 at 16:15 +0530, Tamizh chelvam wrote: > > > > + * @NL80211_ATTR_STA_MON: Station's connection monitor co

Re: [PATCH 1/7] wireless: Change single cqm_config to rssi config list

2018-07-10 Thread Tamizh chelvam
On 2018-07-06 17:16, Johannes Berg wrote: On Wed, 2018-07-04 at 23:46 +0530, Tamizh chelvam wrote: > > - struct cfg80211_cqm_config *cqm_config; > > + struct cfg80211_rssi_config *rssi_config; > > + struct list_head rssi_config_list; > > Why do you need b

Re: [PATCH 4/7] cfg80211: Add support to notify station's rssi level crossing

2018-07-10 Thread Tamizh chelvam
On 2018-07-06 17:09, Johannes Berg wrote: On Wed, 2018-07-04 at 11:43 +0530, Tamizh chelvam wrote: > > --- a/include/uapi/linux/nl80211.h > > +++ b/include/uapi/linux/nl80211.h > > @@ -1249,6 +1249,7 @@ enum nl80211_commands { > > NL8021

Re: [PATCH 6/7] cfg80211: Accept multiple RSSI threholds for STA_MON command

2018-07-05 Thread Tamizh chelvam
On 2018-06-29 15:09, Johannes Berg wrote: On Wed, 2018-06-13 at 16:15 +0530, Tamizh chelvam wrote: Change the NL80211_CMD_STA_MON RSSI threshold attribut to This seems weird - you just introduced it a few patches back, and now you change it and even worry about compatibility and have both

Re: [PATCH 1/7] wireless: Change single cqm_config to rssi config list

2018-07-04 Thread Tamizh chelvam
On 2018-06-29 14:56, Johannes Berg wrote: On Wed, 2018-06-13 at 16:15 +0530, Tamizh chelvam wrote: diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 5fbfe61..3e123a3 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4139,7 +4139,7 @@ static inline struct

Re: [PATCH 5/7] mac80211: Implement functionality to monitor station's rssi cross event

2018-07-04 Thread Tamizh chelvam
On 2018-06-29 15:06, Johannes Berg wrote: On Wed, 2018-06-13 at 16:15 +0530, Tamizh chelvam wrote: + if (sta->rssi_thold && bss_conf->enable_beacon) { + int last_event = sta->last_sta_mon_event_signal; + int thold = sta->rssi_thold; +

Re: [PATCH 4/7] cfg80211: Add support to notify station's rssi level crossing

2018-07-03 Thread Tamizh chelvam
On 2018-06-29 15:05, Johannes Berg wrote: On Wed, 2018-06-13 at 16:15 +0530, Tamizh chelvam wrote: Add cfg80211_sta_mon_rssi_notify api to update user space upon crossing the configured rssi threshold of a station. NL80211_CMD_NOTIFY_STA_MON introduced to send this event to userspace along with

Re: [PATCH 2/7] cfg80211: Add new NL command to configure peer specific rssi threshold

2018-07-03 Thread Tamizh chelvam
On 2018-06-29 14:59, Johannes Berg wrote: On Wed, 2018-06-13 at 16:15 +0530, Tamizh chelvam wrote: + * @NL80211_ATTR_STA_MON: Station's connection monitor configuration in a + * nested attribute with %NL80211_ATTR_STA_MON_* sub-attributes. Can't we reuse the existing attribut

Re: [PATCH 3/7] mac80211: Add api to support configuring station specific rssi threshold

2018-07-03 Thread Tamizh chelvam
On 2018-06-29 15:01, Johannes Berg wrote: The subjects are a bit confusing - I think you should align the cfg80211 and mac80211 ones so it's clearer that this one is implementing the previous one's API. Peer vs. station, and mac80211 doesn't add API but implements it. This patch doesn't really

Re: [PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold

2018-06-19 Thread Tamizh chelvam
On 2018-06-15 17:16, Janusz Dziedzic wrote: 2018-06-14 9:50 GMT+02:00 Arend van Spriel : On 6/13/2018 5:10 PM, Toke Høiland-Jørgensen wrote: Tamizh Chelvam Raja writes: This patchsets introduced new NL command and api to support configuring txrate threshold for the connected stations and

RE: [PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold

2018-06-13 Thread Tamizh Chelvam Raja
> This patchsets introduced new NL command and api to support > configuring txrate threshold for the connected stations and api to > notify userspace application upon crossing the configured txrate threshold. > This will be useful for the application which requires station's > current capability

[PATCH 2/4] mac80211: Add api to configure low and high txrate threshold

2018-06-13 Thread Tamizh chelvam
Add set_sta_mon_txrate_config api to configure low and high txrate threshold for a connected station. The configuration will be represented in 100kbps. Signed-off-by: Tamizh chelvam --- net/mac80211/cfg.c | 35 +++ net/mac80211/sta_info.h |7 +++ 2

[PATCH 1/4] cfg80211: Add support to configure station specific txrate threshold

2018-06-13 Thread Tamizh chelvam
in 100kbps. This will be useful for the application like steering which requires station's current capability. Driver supporting this configuration feature should advertise NL80211_EXT_FEATURE_STA_MON_TXRATE_CONFIG. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |

[PATCH 3/4] cfg80211: Add support to notify station's txrate crossing event

2018-06-13 Thread Tamizh chelvam
decision on the station depends on this notification. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 17 + net/wireless/nl80211.c | 38 ++ net/wireless/trace.h | 25 + 3 files changed, 80 insertions

[PATCH 4/4] mac80211: Implement functionality to monitor txrate cross event for a station

2018-06-13 Thread Tamizh chelvam
Trigger cfg80211_sta_mon_txrate_notify with the corresponding txrate event when the txrate for a station goes out of configured range. This event will be useful for the application like steering to take decision on any station depends on its current capability. Signed-off-by: Tamizh chelvam

[PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold

2018-06-13 Thread Tamizh chelvam
hange information. Tamizh chelvam (4): cfg80211: Add support to configure station specific txrate threshold mac80211: Add api to configure low and high txrate threshold cfg80211: Add support to notify station's txrate crossing event mac80211: Implement functionality to monitor txrate cross

[PATCH 4/7] cfg80211: Add support to notify station's rssi level crossing

2018-06-13 Thread Tamizh chelvam
. Userspace application can make a decision depends on this notification. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 16 +++ include/uapi/linux/nl80211.h |1 + net/wireless/nl80211.c | 98 ++ net/wireless/trace.h

[PATCH 2/7] cfg80211: Add new NL command to configure peer specific rssi threshold

2018-06-13 Thread Tamizh chelvam
with NL80211_ATTR_MAC. Driver supporting this configuration should advertise NL80211_EXT_FEATURE_STA_MON_RSSI_CONFIG. Monitoring station's signal strength variation will be useful for the application like steering. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |9 + include/

[PATCH 7/7] mac80211: Add api to configure low and high RSSI threshold

2018-06-13 Thread Tamizh chelvam
Add set_sta_mon_rssi_range_config api to support configuring low and high RSSI threshold values for a connected station. And trigger an event if a station's signal strength goes out of configured range. Signed-off-by: Tamizh chelvam --- net/mac80211/cfg.c |

[PATCH 6/7] cfg80211: Accept multiple RSSI threholds for STA_MON command

2018-06-13 Thread Tamizh chelvam
set_sta_mon_rssi_range_config to configure high and low value. Driver supporting this feature should advertise NL80211_EXT_FEATURE_STA_MON_RSSI_LIST. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 10 +++ include/uapi/linux/nl80211.h |4 + net/wireless/nl80211.c | 176

[PATCH 5/7] mac80211: Implement functionality to monitor station's rssi cross event

2018-06-13 Thread Tamizh chelvam
depends on its current capability. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h |6 ++ net/mac80211/rx.c | 42 +- net/mac80211/sta_info.h |4 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/include/net/mac80211

[PATCH 1/7] wireless: Change single cqm_config to rssi config list

2018-06-13 Thread Tamizh chelvam
This patch changes single cqm_config into mac address based rssi config list. This way the same structure can be utilized by AP mode as well. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |8 -- net/wireless/core.c| 29 +++ net/wireless/core.h|6

[PATCH 0/7] cfg80211/mac80211: Add support to configure and monitor rssi threshold

2018-06-13 Thread Tamizh chelvam
This patchsets introduced new NL command and api to support configuring rssi for the connected stations and api to notify userspace application upon crossing the configured threshold. This will be useful for the application which requires station's current capability change information. T

[PATCH 3/7] mac80211: Add api to support configuring station specific rssi threshold

2018-06-13 Thread Tamizh chelvam
This patch add set_sta_mon_rssi_config api to configure rssi and hysteresis threshold value for a connected station. This configuration will be applied only for the connected station. Signed-off-by: Tamizh chelvam --- net/mac80211/cfg.c | 35 +++ net

[RFCv3 4/4] mac80211: Implement functionality to monitor txrate cross event for a station

2018-05-30 Thread Tamizh chelvam
Trigger cfg80211_sta_mon_txrate_notify with the corresponding txrate event when the txrate for a station goes out of configured range. This event will be useful for the application like steering to take decision on any station depends on its current capability. Signed-off-by: Tamizh chelvam

[RFCv3 1/4] cfg80211: Add support to configure station specific txrate threshold

2018-05-30 Thread Tamizh chelvam
in 100kbps. This will be useful for the application like steering which requires station's current capability. Driver supporting this configuration feature should advertise NL80211_EXT_FEATURE_STA_MON_TXRATE_CONFIG. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h

[RFCv3 2/4] mac80211: Add api to configure low and high txrate threshold

2018-05-30 Thread Tamizh chelvam
Add set_sta_mon_txrate_config api to configure low and high txrate threshold for a connected station. The configuration will be represented in 100kbps. Signed-off-by: Tamizh chelvam --- net/mac80211/cfg.c | 35 +++ net/mac80211/sta_info.h | 7 +++ 2

[RFCv3 3/4] cfg80211: Add support to notify station's txrate crossing event

2018-05-30 Thread Tamizh chelvam
decision on the station depends on this notification. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 17 + net/wireless/nl80211.c | 36 net/wireless/trace.h | 25 + 3 files changed, 78 insertions(+) diff

[RFCv3 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold

2018-05-30 Thread Tamizh chelvam
hange information. Tamizh chelvam (4): cfg80211: Add support to configure station specific txrate threshold mac80211: Add api to configure low and high txrate threshold cfg80211: Add support to notify station's txrate crossing event mac80211: Implement functionality to monitor txrate cross

[RFCv3 7/7] mac80211: Add api to configure low and high RSSI threshold

2018-05-30 Thread Tamizh chelvam
Add set_sta_mon_rssi_range_config api to support configuring low and high RSSI threshold values for a connected station. And trigger an event if a station's signal strength goes out of configured range. Signed-off-by: Tamizh chelvam --- net/mac80211/cfg.c

[RFCv3 2/7] cfg80211: Add new NL command to configure peer specific rssi threshold

2018-05-30 Thread Tamizh chelvam
with NL80211_ATTR_MAC. Driver supporting this configuration should advertise NL80211_EXT_FEATURE_STA_MON_RSSI_CONFIG. Monitoring station's signal strength variation will be useful for the application like steering. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 9 ++ include/

[RFCv3 3/7] mac80211: Add api to support configuring station specific rssi threshold

2018-05-30 Thread Tamizh chelvam
This patch add set_sta_mon_rssi_config api to configure rssi and hysteresis threshold value for a connected station. This configuration will be applied only for the connected station. Signed-off-by: Tamizh chelvam --- net/mac80211/cfg.c | 35 +++ net

[RFCv3 4/7] cfg80211: Add support to notify station's rssi level crossing

2018-05-30 Thread Tamizh chelvam
. Userspace application can make a decision depends on this notification. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 16 include/uapi/linux/nl80211.h | 1 + net/wireless/nl80211.c | 98 net/wireless/trace.h

[RFCv3 6/7] cfg80211: Accept multiple RSSI threholds for STA_MON command

2018-05-30 Thread Tamizh chelvam
set_sta_mon_rssi_range_config to configure high and low value. Driver supporting this feature should advertise NL80211_EXT_FEATURE_STA_MON_RSSI_LIST. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 10 +++ include/uapi/linux/nl80211.h | 4 + net/wireless/nl80211.c | 176

[RFCv3 5/7] mac80211: Implement functionality to monitor station's rssi cross event

2018-05-30 Thread Tamizh chelvam
depends on its current capability. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h | 6 ++ net/mac80211/rx.c | 42 +- net/mac80211/sta_info.h | 4 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/include/net/mac80211.h b

[RFCv3 1/7] wireless: Change single cqm_config to rssi config list

2018-05-30 Thread Tamizh chelvam
This patch changes single cqm_config into mac address based rssi config list. This way the same structure can be utilized by AP mode as well. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 7 +++-- net/wireless/core.c| 29 net/wireless/core.h| 6

[RFCv3 0/7] cfg80211/mac80211: Add support to configure and monitor rssi threshold

2018-05-30 Thread Tamizh chelvam
This patchsets introduced new NL command and api to support configuring rssi for the connected stations and api to notify userspace application upon crossing the configured threshold. This will be useful for the application which requires station's current capability change information. T

[RFCv2 2/6] mac80211: Add support to configure rssi threshold for AP mode

2018-04-26 Thread Tamizh chelvam
This patch add support to configure station specific single or multi rssi thresholds using ieee80211_set_sta_mon_rssi_config and ieee80211_set_sta_mon_rssi_range_confg APIs. This configuration is used for tracking the connected station's signal strength. Signed-off-by: Tamizh chelvam ---

[RFCv2 3/6] mac80211: Implement functionality to monitor station's rssi threshold cross

2018-04-26 Thread Tamizh chelvam
depends on its current capability. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h | 7 ++ net/mac80211/rx.c | 65 - net/mac80211/sta_info.h | 4 +++ 3 files changed, 75 insertions(+), 1 deletion(-) diff --git a/include/net/mac80211

[RFCv2 4/6] cfg80211: Add support to configure station specific txrate threshold for AP mode

2018-04-26 Thread Tamizh chelvam
. NL80211_EXT_FEATURE_STA_MON_TXRATE_CONFIG flag needs to be advertised by the drvier to allow and monitor txrate threshold configuration. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 26 include/uapi/linux/nl80211.h | 34 net/wireless/nl80211.c | 74

  1   2   >