b43: detect N PHY revision/radio
Does nothing unless you enable the hidden N PHY config. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
cb33c4126b
commit
bb519bee07
@@ -3752,7 +3752,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
|
|||||||
break;
|
break;
|
||||||
#ifdef CONFIG_B43_NPHY
|
#ifdef CONFIG_B43_NPHY
|
||||||
case B43_PHYTYPE_N:
|
case B43_PHYTYPE_N:
|
||||||
if (phy_rev > 1)
|
if (phy_rev > 4)
|
||||||
unsupported = 1;
|
unsupported = 1;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
@@ -3805,7 +3805,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
|
|||||||
unsupported = 1;
|
unsupported = 1;
|
||||||
break;
|
break;
|
||||||
case B43_PHYTYPE_N:
|
case B43_PHYTYPE_N:
|
||||||
if (radio_ver != 0x2055)
|
if (radio_ver != 0x2055 && radio_ver != 0x2056)
|
||||||
unsupported = 1;
|
unsupported = 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user