Commit c11082f0 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

b43: enable radio 0x2057 rev 14 support (AKA BCM43217)

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5af97629
...@@ -4512,7 +4512,8 @@ static int b43_phy_versioning(struct b43_wldev *dev) ...@@ -4512,7 +4512,8 @@ static int b43_phy_versioning(struct b43_wldev *dev)
if (radio_ver != 0x2055 && radio_ver != 0x2056 && if (radio_ver != 0x2055 && radio_ver != 0x2056 &&
radio_ver != 0x2057) radio_ver != 0x2057)
unsupported = 1; unsupported = 1;
if (radio_ver == 0x2057 && !(radio_rev == 9)) if (radio_ver == 0x2057 &&
!(radio_rev == 9 || radio_rev == 14))
unsupported = 1; unsupported = 1;
break; break;
case B43_PHYTYPE_LP: case B43_PHYTYPE_LP:
...@@ -5152,7 +5153,8 @@ static int b43_setup_bands(struct b43_wldev *dev, ...@@ -5152,7 +5153,8 @@ static int b43_setup_bands(struct b43_wldev *dev,
bool limited_2g; bool limited_2g;
/* We don't support all 2 GHz channels on some devices */ /* We don't support all 2 GHz channels on some devices */
limited_2g = phy->radio_ver == 0x2057 && phy->radio_rev == 9; limited_2g = phy->radio_ver == 0x2057 &&
(phy->radio_rev == 9 || phy->radio_rev == 14);
if (have_2ghz_phy) if (have_2ghz_phy)
hw->wiphy->bands[IEEE80211_BAND_2GHZ] = limited_2g ? hw->wiphy->bands[IEEE80211_BAND_2GHZ] = limited_2g ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment