On Wed, 2018-06-13 at 16:28 +0530, Tamizh chelvam wrote: > Add support to configure station specific txrate threshold > to monitor variation in the txrate for a station. Configuration > is passed using NL80211_ATTR_STA_MON_LOW_TXRATE_THOLD and > NL80211_ATTR_STA_MON_HIGH_TXRATE_THOLD in NL80211_CMD_SET_STA_MON > command and the configuration will be represented 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. Are you also going to split this into multiple thresholds later? Perhaps just consider that today already? > + * @set_sta_mon_txrate_config: Configure low and high TXRATE threshold in 100kbs > + * for a connected station. The driver should(soon) send an event > + * indicating the current attempted frame txrate level is above/below the > + * configured threshold This is a bit awkward to implement I guess - 100kbps units are hard to deal with since the calculations between MCS and bitrate aren't exactly simple and cheap... But I guess drivers/mac80211 can transform them somehow at configuration time, e.g. by building a bitmap. johannes