• Karl Beldan's avatar
    mac80211: minstrel_ht: do not sample unsupported rates · f12140c0
    Karl Beldan authored
    ATM minstrel_ht does not check whether a sampling rate is supported.
    Unsupported rates attempts can trigger when there are holes in bitfields
    of supported MCSes belonging to the same group (e.g many devices are
    MCS32 capable without MCS33->39 capable, also we systematically have a
    hole for CCK rates).
    Drop any attempts to sample unsupported rates, as suggested by Felix.
    
    This is not a problem in minstrel which fills a per STA sample table
    with only supported rates (though only at init).
    Signed-off-by: default avatarKarl Beldan <karl.beldan@rivierawaves.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    f12140c0
rc80211_minstrel_ht.c 27.7 KB