Prism GT / Netgear WG511 (fwd)

Thorolf thorolf at grid.einherjar.de
Mon Apr 19 04:42:23 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello list,

I have new Netgear WG511 pcmcia WLANcard,
I have made ndis driver, but this card doesn't work.
Did someone know, how can I bring this card to work?


thorolf# uname -v
FreeBSD 5.2-CURRENT #1: Sat Apr 17 14:52:32 CEST 2004 root at thorolf.host:/usr/src/sys/i386/compile/THoR

# boot -v output

pci1: driver added
found-> vendor=0x1260, dev=0x3890, revid=0x01
        bus=2, slot=0, func=0
        class=02-80-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0298, cachelnsz=8 (dwords)
        lattimer=0xa8 (5040 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns)
        intpin=a, irq=11
        powerspec 1  supports D0 D1 D2 D3  current D0
ndis0: <NETGEAR WG511 54 Mbps Wireless PC Card> mem 0x88000000-0x88001fff irq 11
 at device 0.0 on cardbus0
ndis0: [GIANT-LOCKED]
can't re-use a leaf (BusType)!
ndis0: NDIS API version: 5.0
ndis0: bpf attached
ndis0: Ethernet address: 00:09:5b:98:1e:bb
ndis0: bpf attached
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps


# ifconfig output before ifconfig up

ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:09:5b:98:1e:bb
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid ""
        channel -1 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1

# ifconfig ndis0 up

# dmesg output
ndis0: set mclist failed: 6
ndis0: set filter failed: 6
ndis0: set mclist failed: 6
ndis0: set filter failed: 6
ndis0: set mclist failed: 6
ndis0: set filter failed: 6
ndis0: couldn't retrieve channel info: 28

thorolf# ifconfig ndis0 channel 10 ssid "my_net"

ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::209:5bff:fe98:1ebb%ndis0 prefixlen 64 scopeid 0x4
        ether 00:09:5b:98:1e:bb
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid ""
        channel 10 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1

# sysctl -a | grep ndis

hw.ndis0.PlatformID: 0
hw.ndis0.VendorDesc: NETGEAR WG511 54 Mbps Wireless PC Card
hw.ndis0.FWFileName: WG511DCB.arm
hw.ndis0.BusType: 5
hw.ndis0.DeviceVxDs: WG511ICB.sys
hw.ndis0.CardBusBridgeLatencyTimer: 32
hw.ndis0.CardBusBridgeCacheLineSize: 8
hw.ndis0.PRISMIOC: 1
hw.ndis0.SilentInstall: 1
hw.ndis0.SSID: NETGEAR
hw.ndis0.DefaultSSID: NETGEAR
hw.ndis0.LanExpress: IL00
hw.ndis0.11dMode: 0
hw.ndis0.Band: 1
hw.ndis0.BandPreference: 0
hw.ndis0.CountryCode: GB
hw.ndis0.DSFreq: 2457000
hw.ndis0.RTSThresh: 2347
hw.ndis0.FragThresh: 2346
hw.ndis0.PSMode: 1
hw.ndis0.ShortRetryLimit: 7
hw.ndis0.LongRetryLimit: 4
hw.ndis0.ConfigProfile: 1
hw.ndis0.NitroMode: 1
hw.ndis0.Environment: 1
hw.ndis0.NdisVersion: 0x00050001
hw.ndis0.InterruptNumber: 11
hw.ndis0.NumCoalesce: UNSET
hw.ndis0.NumTcb: UNSET
hw.ndis0.PciCacheLineSize: UNSET
hw.ndis0.PciLatencyTimer: UNSET
hw.ndis0.NumMgmtBuffers: UNSET
hw.ndis0.NetworkType: UNSET
hw.ndis0.WepReq: UNSET
hw.ndis0.DefaultKeyId: UNSET
hw.ndis0.RunningWin9X: UNSET
hw.ndis0.DataRate: UNSET
hw.ndis0.activeScan: UNSET
hw.ndis0.ignoreFilterError: UNSET
hw.ndis0.EnableRadio: UNSET
hw.ndis0.LongPreamble: UNSET
hw.ndis0.NonERPMode: UNSET
hw.ndis0.LongSlot: UNSET
hw.ndis0.SoftReset: UNSET
hw.ndis0.NitroTime: UNSET
hw.ndis0.DefaultKeys: UNSET
hw.ndis0.EsarHpsSap: UNSET
hw.ndis0.ProfileID: UNSET
hw.ndis0.DomainCode: UNSET


thorolf# head /sys/modules/if_ndis/ndis_driver_data.h

/*
 * Generated from /tmp/Driver/NETWG511.inf and /tmp/Driver/WG511ICB.sys (57786 bytes)
 */

<snip>

thorolf# wicontrol -i ndis0 -L

NIC serial number:                      [  ]
Station name:                           [ thorolf.host ]
SSID for IBSS creation:                 [ my_net ]
Current netname (SSID):                 [  ]
Desired netname (SSID):                 [ my_net ]
Current BSSID:                          [ 00:00:00:00:00:00 ]
Channel list:                           [ ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff ffff 3fff ]
IBSS channel:                           [ 10 ]
Current channel:                        [ 10 ]
Comms quality/signal/noise:             [ 0 0 0 ]
Promiscuous mode:                       [ Off ]
Intersil-Prism2 based card:             [ 1 ]
Port type (1=BSS, 3=ad-hoc):            [ 1 ]
MAC address:                            [ 00:09:5b:98:1e:bb ]
TX rate (selection):                    [ 0 ]
TX rate (actual speed):                 [ 0 ]
RTS/CTS handshake threshold:            [ 2312 ]
Create IBSS:                            [ Off ]
Access point density:                   [ 1 ]
Power Mgmt (1=on, 0=off):               [ 0 ]
Max sleep time:                         [ 100 ]
WEP encryption:                         [ Off ]
TX encryption key:                      [ 1 ]
Encryption keys:                        [  ][  ][  ][  ]
Available APs:


Regards,
Rafal Lesniak

PS. sorry for my poor english ;-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iQCVAwUBQIO7H+2ijGMJcqkLAQJCBQQAib+UFvePwAY/QMLCP8Fp9v3smtb5xUwX
zimaK3U+8tg+7rPyOilf48DmApXVfV63vVLX7j5X+QFTsL0nW0FuTAXStcdmWiBn
ZfBYmyuYrsXC71QML7OsOpJdJdlPyqfJ6Ll3PoHJcCL447TJE0Kf0PqVi6k7ss6u
WAYeqNo1Fxs=
=INIX
-----END PGP SIGNATURE-----


More information about the freebsd-hardware mailing list