brcmfmac: Give priority to 5GHz band in selecting target BSS
authorDaniel Kim <dekim@broadcom.com>
Mon, 12 May 2014 08:47:26 +0000 (10:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2014 19:56:43 +0000 (15:56 -0400)
commite09cc63dc368f26f3636afbbb38aba9c9b99b3a5
tree71420aaf2b972d7cbcb12da9584d7e6b318649a1
parent3eb6ed23571b81c14ebacb1735d73a1ab1c41898
brcmfmac: Give priority to 5GHz band in selecting target BSS

When a BSS provides both 2.4GHz and 5GHz bands, in many cases it
makes sense to choose 5GHz. Typically a 5GHz channel is less crowded
and has less interference and therefore its performance will be
better than a crowded 2.4 GHz channel. This patch configures
'join_pref' to induce firmware to preferably select 5GHz BSS.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Daniel Kim <dekim@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
drivers/net/wireless/brcm80211/brcmfmac/fwil_types.h