b43: detect N PHY revision/radio
Johannes Berg
maintainerPATCH 1/1 b43: detect N PHY revision/radio
Does nothing unless you enable the hidden N PHY config.
Signed-off-by Johannes Berg <[email protected]>
--- drivers/net/wireless/b43/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/b43/main.c +2 -2
@@ -3758,7 +3758,7 @@ static int b43_phy_versioning(struct b43break ;#ifdef CONFIG_B43_NPHY case B43_PHYTYPE_N : -if (phy_rev >1 ) +if (phy_rev >4 ) unsupported =1 ;break ;#endif
@@ -3811,7 +3811,7 @@ static int b43_phy_versioning(struct b43 unsupported =1 ;break ;case B43_PHYTYPE_N : -if (radio_ver !=0x2055 ) +if (radio_ver !=0x2055 && radio_ver !=0x2056 ) unsupported =1 ;break ;default :
Quoted 6 lines · On Wednesday 24 December 2008 15:26:40 Johannes Berg wrote:
Does nothing unless you enable the hidden N PHY config.
Signed-off-by Johannes Berg <[email protected]>--- drivers/net/wireless/b43/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
ACK, please apply to 2.6.29
Quoted 24 lines
drivers/net/wireless/b43/main.c +2
-2@@ -3758,7 +3758,7 @@ static int b43_phy_versioning(struct b43break ;#ifdef CONFIG_B43_NPHY case B43_PHYTYPE_N : -if (phy_rev >1 ) +if (phy_rev >4 ) unsupported =1 ;break ;#endif @@ -3811,7 +3811,7 @@ static int b43_phy_versioning(struct b43 unsupported =1 ;break ;case B43_PHYTYPE_N : -if (radio_ver !=0x2055 ) +if (radio_ver !=0x2055 && radio_ver !=0x2056 ) unsupported =1 ;break ;default :
Signature · 1 line
Greetings, Michael.