2010-08-01 16:17:17

by David Cozatt

[permalink] [raw]
Subject: SMC 2802W -status unsupported

Accessing http://wireless.kernel.org/en/users/Drivers/p54 shows in unsupported

??? * early PrismGT cards (e.g.: Netgear WG511v1, SMC 2802W)

There are 2 revisions of this model

random david # lspci -vv | grep SMC
??? Subsystem: Standard Microsystems Corp [SMC] SMC2802W Wireless PCI Adapter
random david # lspci -vv | grep Wireless
??? Subsystem: Standard Microsystems Corp [SMC] SMC2802W Wireless PCI Adapter
random david # dmesg | grep phy0

phy0: p54 detected a LM86 firmware
phy0: FW rev 2.13.12.0 - Softmac protocol 5.9
phy0: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
phy0: hwaddr 00:04:e2:63:c2:67, MAC:isl3890 RF:Duette3
phy0: Selected rate control algorithm 'minstrel'
p54pci 0000:00:0a.0: is registered as 'phy0'

Part numbers:
99-012084-164
99-012084-285

You can verify this with choosing the 2802W from the drop down boxes
@http://www.smc.com/index.cfm?event=downloads.searchCriteria&localeCode=EN_USA&knowsPartNumber=false&productCategory=5&modelNumber=536&downloadType=0&os=0

Mine is the -164 version. Anything else needed to confirm working properly?

random david # uname -a
Linux random 2.6.34.1 #5 SMP Thu Jul 22 22:06:56 EDT 2010 x86_64 AMD
Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux

Posting vie device ;-)

kind regards
DJ Cozatt


2010-08-02 08:46:38

by Christian Lamparter

[permalink] [raw]
Subject: Re: SMC 2802W -status unsupported

On Sunday 01 August 2010 18:17:16 David Cozatt wrote:
> Accessing http://wireless.kernel.org/en/users/Drivers/p54 shows in unsupported
>
> * early PrismGT cards (e.g.: Netgear WG511v1, SMC 2802W)
>
> phy0: hwaddr 00:04:e2:63:c2:67, MAC:isl3890 RF:Duette3
>
> [...]
>
> Mine is the -164 version. Anything else needed to confirm working properly?

No,

but it would be great if we could have a copy of that EEPROM.
I've attached inline-patch that will dump its content to
the console via kernel messaging system.

If you are not entirely familiar with the procedure, then let
me know (off-list), I'm sure we can work that out.

Regards,
Christian

---
diff --git a/drivers/net/wireless/p54/eeprom.c b/drivers/net/wireless/p54/eeprom.c
index d687cb7..84eb993 100644
--- a/drivers/net/wireless/p54/eeprom.c
+++ b/drivers/net/wireless/p54/eeprom.c
@@ -544,6 +544,8 @@ int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int len)
wrap = (struct eeprom_pda_wrap *) eeprom;
entry = (void *)wrap->data + le16_to_cpu(wrap->len);

+ print_hex_dump_bytes("P54E:", DUMP_PREFIX_OFFSET, eeprom, len);
+
/* verify that at least the entry length/code fits */
while ((u8 *)entry <= end - sizeof(*entry)) {
entry_len = le16_to_cpu(entry->len);


2010-08-01 16:35:08

by Larry Finger

[permalink] [raw]
Subject: Re: SMC 2802W -status unsupported

On 08/01/2010 11:17 AM, David Cozatt wrote:
> Accessing http://wireless.kernel.org/en/users/Drivers/p54 shows in unsupported
>
> * early PrismGT cards (e.g.: Netgear WG511v1, SMC 2802W)
>
> There are 2 revisions of this model
>
> random david # lspci -vv | grep SMC
> Subsystem: Standard Microsystems Corp [SMC] SMC2802W Wireless PCI Adapter
> random david # lspci -vv | grep Wireless
> Subsystem: Standard Microsystems Corp [SMC] SMC2802W Wireless PCI Adapter
> random david # dmesg | grep phy0
>
> phy0: p54 detected a LM86 firmware
> phy0: FW rev 2.13.12.0 - Softmac protocol 5.9
> phy0: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
> phy0: hwaddr 00:04:e2:63:c2:67, MAC:isl3890 RF:Duette3
> phy0: Selected rate control algorithm 'minstrel'
> p54pci 0000:00:0a.0: is registered as 'phy0'
>
> Part numbers:
> 99-012084-164
> 99-012084-285
>
> You can verify this with choosing the 2802W from the drop down boxes
> @http://www.smc.com/index.cfm?event=downloads.searchCriteria&localeCode=EN_USA&knowsPartNumber=false&productCategory=5&modelNumber=536&downloadType=0&os=0
>
> Mine is the -164 version. Anything else needed to confirm working properly?

If I understand correctly, the device is working - only the wiki is wrong.

For my info, what does 'lspci -nnk | grep 2802' show?

Larry