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

2018-06-29 Thread Johannes Berg
> +static void ieee80211_sta_mon_txrate_thold_check(struct sta_info *sta) > +{ > + struct rate_info rinfo; > + enum nl80211_sta_mon_txrate_threshold_event sta_txrate_event; > + int txrate; > + > + if (!sta->txrate_high) > + return; > + > + sta_set_rate_info_tx(sta,

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