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 > 2) { +

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

2018-11-09 Thread Johannes Berg
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 > 2) { > + ret = -EINVAL; > +

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