* [PATCH] b43: detect N PHY revision/radio
@ 2008-12-24 14:26 Johannes Berg
2008-12-24 14:30 ` Michael Buesch
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2008-12-24 14:26 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless, Michael Buesch
Does nothing unless you enable the hidden N PHY config.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
drivers/net/wireless/b43/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- wireless-testing.orig/drivers/net/wireless/b43/main.c 2008-12-24 15:00:50.000000000 +0100
+++ wireless-testing/drivers/net/wireless/b43/main.c 2008-12-24 15:25:03.000000000 +0100
@@ -3758,7 +3758,7 @@ static int b43_phy_versioning(struct b43
break;
#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:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] b43: detect N PHY revision/radio
2008-12-24 14:26 [PATCH] b43: detect N PHY revision/radio Johannes Berg
@ 2008-12-24 14:30 ` Michael Buesch
0 siblings, 0 replies; 2+ messages in thread
From: Michael Buesch @ 2008-12-24 14:30 UTC (permalink / raw)
To: Johannes Berg; +Cc: John Linville, linux-wireless
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 <johannes@sipsolutions.net>
> ---
> drivers/net/wireless/b43/main.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
ACK, please apply to 2.6.29
> --- wireless-testing.orig/drivers/net/wireless/b43/main.c 2008-12-24 15:00:50.000000000 +0100
> +++ wireless-testing/drivers/net/wireless/b43/main.c 2008-12-24 15:25:03.000000000 +0100
> @@ -3758,7 +3758,7 @@ static int b43_phy_versioning(struct b43
> break;
> #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:
>
>
>
>
--
Greetings, Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-24 14:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-24 14:26 [PATCH] b43: detect N PHY revision/radio Johannes Berg
2008-12-24 14:30 ` Michael Buesch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).