Re: [PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold
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 api to notify userspace application upon crossing the configured txrate threshold. This will be useful for the application which requires station's current capability change information. What is the intended use case? Asking mostly out of curiosity :) [Tamizh] This is to monitor txrate change for a station. By notifying userspace when the txrate for a station goes out of configured threshold, It can take steering decisions on the particular station. Do we really need kernel notification for that? You can simple monitor all this information same way iw station dump show. In this case user space application need to fetch the station statistics periodically and parse those detail. Let say AP has more number of stations(like more than 50) in all bands(2G and 5G), then the system overhead will be more for fetching the detail periodically. But with this kernel notification we can avoid those overhead and more or less this is similar to the CQM(rssi, txe,..) notification in STA mode. Thanks, Tamizh. As a metric use tx/rx bitrate, signal or even expected throughput. Maybe small patch that will average tx/rx bitrate for few seconds (additional fields in station dump) could be helpful here. BR Janusz Yeah, I got that part. I was curious as to what (userspace) application you were planning to use this for? I.e., what kind of steering decisions? :) It sounds like network initiated handover as opposed to station roaming. Suspect the user-space application referred to here is a proprietary application. At plumbers conf I attended a couple of years ago there was an idea to have a network management application controlling multiple hostapd instances for this type of functionality, but not sure if that project ever got of the ground. Regards, Arend
Re: [PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold
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 api to notify userspace application upon crossing the configured txrate threshold. This will be useful for the application which requires station's current capability change information. >>> >>> >>> What is the intended use case? Asking mostly out of curiosity :) >> >> >>> [Tamizh] This is to monitor txrate change for a station. By notifying >>> userspace when the txrate for a station goes out of configured >>> threshold, It can take steering decisions on the particular station. >> Do we really need kernel notification for that? You can simple monitor all this information same way iw station dump show. As a metric use tx/rx bitrate, signal or even expected throughput. Maybe small patch that will average tx/rx bitrate for few seconds (additional fields in station dump) could be helpful here. BR Janusz >> >> Yeah, I got that part. I was curious as to what (userspace) application >> you were planning to use this for? I.e., what kind of steering >> decisions? :) > > > It sounds like network initiated handover as opposed to station roaming. > Suspect the user-space application referred to here is a proprietary > application. At plumbers conf I attended a couple of years ago there was an > idea to have a network management application controlling multiple hostapd > instances for this type of functionality, but not sure if that project ever > got of the ground. > > Regards, > Arend > -- Janusz Dziedzic
Re: [PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold
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 api to notify userspace application upon crossing the configured txrate threshold. This will be useful for the application which requires station's current capability change information. What is the intended use case? Asking mostly out of curiosity :) [Tamizh] This is to monitor txrate change for a station. By notifying userspace when the txrate for a station goes out of configured threshold, It can take steering decisions on the particular station. Yeah, I got that part. I was curious as to what (userspace) application you were planning to use this for? I.e., what kind of steering decisions? :) It sounds like network initiated handover as opposed to station roaming. Suspect the user-space application referred to here is a proprietary application. At plumbers conf I attended a couple of years ago there was an idea to have a network management application controlling multiple hostapd instances for this type of functionality, but not sure if that project ever got of the ground. Regards, Arend
RE: [PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold
Tamizh Chelvam Raja writes: >> 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 change information. > > What is the intended use case? Asking mostly out of curiosity :) > [Tamizh] This is to monitor txrate change for a station. By notifying > userspace when the txrate for a station goes out of configured > threshold, It can take steering decisions on the particular station. Yeah, I got that part. I was curious as to what (userspace) application you were planning to use this for? I.e., what kind of steering decisions? :) -Toke
RE: [PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold
> 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 change information. What is the intended use case? Asking mostly out of curiosity :) [Tamizh] This is to monitor txrate change for a station. By notifying userspace when the txrate for a station goes out of configured threshold, It can take steering decisions on the particular station. -Toke
Re: [PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold
Tamizh chelvam writes: > 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 change information. What is the intended use case? Asking mostly out of curiosity :) -Toke
[PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold
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 change 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 event for a station Note: * This patchset rebased on top of below patchset [PATCH 0/7] cfg80211/mac80211: Add support to configure and monitor rssi threshold include/net/cfg80211.h | 26 ++ include/net/mac80211.h |5 +++ include/uapi/linux/nl80211.h | 34 ++ net/mac80211/cfg.c | 36 +++ net/mac80211/sta_info.h | 17 + net/mac80211/status.c| 40 +- net/wireless/nl80211.c | 78 ++ net/wireless/rdev-ops.h | 17 + net/wireless/trace.h | 50 +++ 9 files changed, 302 insertions(+), 1 deletion(-) -- 1.7.9.5