On Fri, 2018-04-13 at 15:42 +0300, Luca Coelho wrote: > From: Luca Coelho <luciano.coelho@xxxxxxxxx> > > Traffic condition monitor gathers data about the traffic load and > other conditions and can be used to make decisions regarding latency, > throughput etc. This patch introduces the code and data structures > to > collect this data for future use. > > Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx> > --- [...] > diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h > b/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h [...] > @@ -1906,6 +1956,16 @@ bool iwl_mvm_is_vif_assoc(struct iwl_mvm > *mvm); > > void iwl_mvm_inactivity_check(struct iwl_mvm *mvm); > > +#define MVM_TCM_PERIOD_MSEC 500 > +#define MVM_TCM_PERIOD (HZ * MVM_TCM_PERIOD_MSEC / 1000) > +#define MVM_LL_PERIOD (10 * HZ) > +void iwl_mvm_send_tcm_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif); I accidentally left this function in, but it only sends a vendor command event in our internal driver, so it's undefined in the mainline (reported by kbuildbot). I'll send v2. -- Cheers, Luca.