• Sara Sharon's avatar
    mac80211: reset CQM history upon reconfiguration · babc305e
    Sara Sharon authored
    The current behavior of notifying CQM events is inconsistent:
    Upon first configuration there is a cqm event with the current
    status according to threshold configured, regardless of signal
    stability.
    When there is reconfiguration no event is sent unless there is
    a significant change to the signal level according to the new
    configuration.
    
    Since the current reconfiguration behavior might cause missing
    CQM events in case the current signal did not change but is on
    the other side of the new threshold, fix that by resetting the
    stored signal level upon reconfiguration.
    Signed-off-by: default avatarSara Sharon <sara.sharon@intel.com>
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    babc305e
cfg.c 102 KB