linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SMC 2802W -status unsupported
@ 2010-08-01 16:17 David Cozatt
  2010-08-01 16:35 ` Larry Finger
  2010-08-02  8:46 ` Christian Lamparter
  0 siblings, 2 replies; 6+ messages in thread
From: David Cozatt @ 2010-08-01 16:17 UTC (permalink / raw)
  To: linux-wireless

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SMC 2802W -status unsupported
  2010-08-01 16:17 SMC 2802W -status unsupported David Cozatt
@ 2010-08-01 16:35 ` Larry Finger
  2010-08-02  8:46 ` Christian Lamparter
  1 sibling, 0 replies; 6+ messages in thread
From: Larry Finger @ 2010-08-01 16:35 UTC (permalink / raw)
  To: David Cozatt; +Cc: linux-wireless

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SMC 2802W -status unsupported
  2010-08-01 16:17 SMC 2802W -status unsupported David Cozatt
  2010-08-01 16:35 ` Larry Finger
@ 2010-08-02  8:46 ` Christian Lamparter
  1 sibling, 0 replies; 6+ messages in thread
From: Christian Lamparter @ 2010-08-02  8:46 UTC (permalink / raw)
  To: David Cozatt; +Cc: linux-wireless

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);


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: SMC 2802W -status unsupported
  2010-08-01 20:34 ` Larry Finger
@ 2010-08-02  6:17   ` Geoff Simmons
  0 siblings, 0 replies; 6+ messages in thread
From: Geoff Simmons @ 2010-08-02  6:17 UTC (permalink / raw)
  To: Larry Finger; +Cc: David Cozatt, linux-wireless

On Sun, Aug 01, 2010 at 03:34:46PM -0500, Larry Finger wrote:
> Looking at the driver code, we need the patch below to enable the
> device:
[...]
> +       /* Standard Microsystems Corp SMC2802W Wireless PCI */
> +       { PCI_DEVICE(0x10b8, 0x2802) },

No, 10b8:2802 is the subsystem ID of the SMC2802W v1.

Both v1 and v2 use 1260:3890 as their device ID, which is already
defined in p54pci.c.  Your patch is not necessary.

Geoff

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SMC 2802W -status unsupported
  2010-08-01 19:59 David Cozatt
@ 2010-08-01 20:34 ` Larry Finger
  2010-08-02  6:17   ` Geoff Simmons
  0 siblings, 1 reply; 6+ messages in thread
From: Larry Finger @ 2010-08-01 20:34 UTC (permalink / raw)
  To: David Cozatt; +Cc: linux-wireless

On 08/01/2010 02:59 PM, David Cozatt wrote:
> ----snip--
> If I understand correctly, the device is working - only the wiki is wrong.
> 
> For my info, what does 'lspci -nnk | grep 2802' show?
> 
> Larry
> 
> ----/snip--
> random david # lspci -nnk | grep 2802
> 	Subsystem: Standard Microsystems Corp [SMC] SMC2802W Wireless PCI
> Adapter [10b8:2802]
> 
> One thing only bothers me not sure of wpa2 enough to know if it
> matters since I don't use the
> wireless-tools to connect but iwconfig reports-
> 
> wlan0     IEEE 802.11bg  ESSID:"Davespace"
>           Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1C:10:9C:32:87
>           Bit Rate=48 Mb/s   Tx-Power=20 dBm
>           Retry  long limit:7   RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Power Management:off
>           Link Quality=70/70  Signal level=-1 dBm
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> 
> doesn't care? sinde we use wpa? on the enc off?

The encryption is being handled by mac80211, wpa_supplicant, and the device. The
"encryption key:off" should be ignored. The wireless extension tools such as
iwconfig are being phased out and do not always have the best information.

Looking at the driver code, we need the patch below to enable the device:

Index: wireless-testing/drivers/net/wireless/p54/p54pci.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/p54/p54pci.c
+++ wireless-testing/drivers/net/wireless/p54/p54pci.c
@@ -43,6 +43,8 @@ static DEFINE_PCI_DEVICE_TABLE(p54p_tabl
        { PCI_DEVICE(0x1260, 0x3886) },
        /* Intersil PRISM Xbow Wireless LAN adapter (Symbol AP-300) */
        { PCI_DEVICE(0x1260, 0xffff) },
+       /* Standard Microsystems Corp SMC2802W Wireless PCI */
+       { PCI_DEVICE(0x10b8, 0x2802) },
        { },
 };


I will do a formal submission of the patch and edit the wiki.

Larry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SMC 2802W -status unsupported
@ 2010-08-01 19:59 David Cozatt
  2010-08-01 20:34 ` Larry Finger
  0 siblings, 1 reply; 6+ messages in thread
From: David Cozatt @ 2010-08-01 19:59 UTC (permalink / raw)
  To: linux-wireless

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

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

Larry

----/snip--
random david # lspci -nnk | grep 2802
	Subsystem: Standard Microsystems Corp [SMC] SMC2802W Wireless PCI
Adapter [10b8:2802]

One thing only bothers me not sure of wpa2 enough to know if it
matters since I don't use the
wireless-tools to connect but iwconfig reports-

wlan0     IEEE 802.11bg  ESSID:"Davespace"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1C:10:9C:32:87
          Bit Rate=48 Mb/s   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-1 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

doesn't care? sinde we use wpa? on the enc off?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-02  8:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-01 16:17 SMC 2802W -status unsupported David Cozatt
2010-08-01 16:35 ` Larry Finger
2010-08-02  8:46 ` Christian Lamparter
2010-08-01 19:59 David Cozatt
2010-08-01 20:34 ` Larry Finger
2010-08-02  6:17   ` Geoff Simmons

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).