Skip to contentSkip to conversation

PCMCIA: make Pretec CF Wifi use hostap_cs by default

PATCH In review Marcin Juszkiewicz 2 participants 2 messages Apr 9, 2006 – Apr 14, 2006 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCMCIA: make Pretec CF Wifi use hostap_cs by default

I use two Zaurus palmtops - one run 2.4.18 kernel (it's sl-5500) and second run 2.6.16. Both are running under control of OpenZaurus distribution (I'm Release Manager of it).

When I use pcmcia-cs then my Pretec WiFi card is handled by hostap driver and everything is working fine. Recently I switched to pcmciautils and after card insert orinoco modules are loaded. I prefer to use hostap modules because they work the same under 2.4 and 2.6 kernels (with orinoco I have to use 0.13e ones because never ones does not work under 2.4/arm).

This patch adds definition of my card to hostap_cs cardlist. It was tested on Sharp Zaurus C760 palmtop running 2.6.16 + pcmciautils 010 + udev 084

PS - I'm not subscribed to that list - so please Cc: me on reply.

net/wireless/hostap/hostap_cs.c renamed from net/wireless/hostap/hostap_cs.c.orig +3 -0
@@ -912,6 +912,9 @@ static struct pcmcia_device_id hostap_cs
        PCMCIA_DEVICE_PROD_ID123(
                "SMC", "SMC2632W", "Version 01.02",
                0xc4f8b18b, 0x474a1f2a, 0x4b74baa0),
+       PCMCIA_DEVICE_PROD_ID123(
+               "Pretec", "CompactWLAN Card 802.11b", "2.5",
+               0x1cadd3e5, 0xe697636c, 0x7a5bfcf1),
        PCMCIA_DEVICE_PROD_ID12("BUFFALO", "WLI-CF-S11G",
                                0x2decece3, 0x82067c18),
        PCMCIA_DEVICE_PROD_ID12("Compaq", "WL200_11Mbps_Wireless_PCI_Card",
Signature · 5 lines
JID: hrw-jabber.org
Palmtop: Sharp Zaurus C760
OpenEmbedded/OpenZaurus developer

Vi has two modes: the one in which it beeps, and the one in which it doesn't.
#1 lore raw

Hello, Marcin!

Quoted 2 lines · Marcin Juszkiewicz

This patch adds definition of my card to hostap_cs cardlist. It was tested on Sharp Zaurus C760 palmtop running 2.6.16 + pcmciautils 010 + udev 084

Thanks. I have made a bigger patch that includes this entry already. I'll to to submit it for Linux 2.6.17.

Signature · 2 lines
Regards,
Pavel Roskin