• Amitkumar Karwar's avatar
    mwifiex: update bss band information · 5116f3ce
    Amitkumar Karwar authored
    In recent commit "mwifiex: use cfg80211 dynamic scan..."
    (7c6fa2a8..) scan table handling in driver is removed to
    make use of cfg80211 dynamic scan table. Now driver sends
    beacon buffers found in scanning directly to stack and parse
    the buffer for requested BSS only during association.
    
    Beacon buffer doesn't contain bss band information. Driver
    gets it from firmware in separate tlv (chan_band_tlv).
    Currently since we don't inform stack about bss bandinfo,
    there is an issue with 5GHz association.
    
    Use "priv" field of struct cfg80211_bss to store bandinfo.
    This fixes 5GHz association issue.
    Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
    Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    5116f3ce
main.h 27.7 KB