Skip to content
  • Manikanta Pubbisetty's avatar
    mac80211: fix bandwidth computation for TDLS peers · 504871e6
    Manikanta Pubbisetty authored
    
    
    Section 11.23.1 of 80211-2016 specification allows TDLS peers
    to operate on wider bandwidths though they are connected to a BSS
    which do not support wider bandwidth operations, provided both the
    peers advertise wider bandwidth capabilities.
    
    The existing logic considers the minimum of station's and AP's
    capability for bandwidth computation. The same logic applies for
    TDLS peers as well, this restricts operating on wider bandwidths
    over a TDLS link when the peers are connected to legacy APs.
    
    As an example, if 80Mhz VHT capable peers are connected to a 20Mhz
    5 GHz AP, then as per the existing logic TDLS operation will be
    restricted to 20Mhz.
    
    Address this problem by not considering BSS capability in bandwidth
    computation if the participating TDLS peers have wider bandwidth
    capability.
    
    Signed-off-by: default avatarManikanta Pubbisetty <mpubbise@qti.qualcomm.com>
    [lots of wording/typo fixes]
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    504871e6