diff options
author | Daniel Kim <dekim@broadcom.com> | 2014-05-12 04:47:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-13 15:56:44 -0400 |
commit | 604bf237cb3aa3e15d26254981ae7bc7968f05e5 (patch) | |
tree | e2443424dcbb7f9f0a3723aa15bd0d6197ae2c7b | |
parent | e09cc63dc368f26f3636afbbb38aba9c9b99b3a5 (diff) |
brcmfmac: Report the support of firmware roaming
Currently firmware roaming support is not reported to cfg80211.
This patch reports the support of firmware based roaming when
it is enabled.
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
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>
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c index be1985296bdc..a91514ad57b3 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | |||
@@ -4364,6 +4364,8 @@ static struct wiphy *brcmf_setup_wiphy(struct device *phydev) | |||
4364 | WIPHY_FLAG_OFFCHAN_TX | | 4364 | WIPHY_FLAG_OFFCHAN_TX | |
4365 | WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL | | 4365 | WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL | |
4366 | WIPHY_FLAG_SUPPORTS_TDLS; | 4366 | WIPHY_FLAG_SUPPORTS_TDLS; |
4367 | if (!brcmf_roamoff) | ||
4368 | wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM; | ||
4367 | wiphy->mgmt_stypes = brcmf_txrx_stypes; | 4369 | wiphy->mgmt_stypes = brcmf_txrx_stypes; |
4368 | wiphy->max_remain_on_channel_duration = 5000; | 4370 | wiphy->max_remain_on_channel_duration = 5000; |
4369 | brcmf_wiphy_pno_params(wiphy); | 4371 | brcmf_wiphy_pno_params(wiphy); |