Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2005 22:23:56 -0600 (CST)
From:      <lreid@a.cs.okstate.edu>
To:        freebsd-questions@freebsd.org
Subject:   ndis0: link down after idle time
Message-ID:  <20050124042356.3DD98A0641@csa.cs.okstate.edu>

next in thread | raw e-mail | index | archive | help

I am running FreeBSD 5.3-stable and have had limited success with a
d-link DWL-G520 card, rev B3 (atheros ar5213 chipset). I had hoped that
I would have purchased a card with a supported native driver (ath), but
alas! The card was supposed to have used the 5212 chipset, which is
supported by the ath driver. The ndis driver will only bring the link up
if the media is forced to adhoc mode, which seems to be common from my
limited viewing of reports in the mailing lists. The card works well,
albeit only in 802.11b 11mb/s adhoc mode, but there is a major problem
that I can't figure out. After about an hour or so of idle time on the
link, the interface brings itself down and cannot be resurrected unless
I issue a command through ifconfig to bring the interface up again. Does
anyone else experience this problem and/or have a solution? Attached
below is all pertinent information I can think of:

uname -a output:
FreeBSD [hidden] 5.3-STABLE FreeBSD 5.3-STABLE #7: Tue Jan 18 21:47:38
CST 2005     root@[hidden]:/usr/obj/usr/src/sys/HAUTLOS  i386

pciconf -lv output for the device:
ndis0@pci0:10:0:        class=3D0x020000 card=3D0x3a131186 chip=3D0x0013168c
rev=3D0x01 hdr=3D0x00
    vendor   =3D 'Atheros Communications Inc.'
    device   =3D 'AR5213 802.11a/b/g Wireless Adapter'
    class    =3D network
    subclass =3D ethernet

ifconfig ndis0:
ndis0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
        inet6 fe80::211:95ff:fe8d:1379%ndis0 prefixlen 64 scopeid 0x1
        ether 00:11:95:8d:13:79
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps
<adhoc>)
        status: associated
        ssid deutschland 1:deutschland
        channel 6 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1

available sysctls for dev.ndis.0:
dev.ndis.0.%desc: D-Link AirPlus DWL-G520 Wireless PCI Adapter(rev.B)
dev.ndis.0.%driver: ndis
dev.ndis.0.%location: slot=3D10 function=3D0
dev.ndis.0.%pnpinfo: vendor=3D0x168c device=3D0x0013 subvendor=3D0x1186
subdevice=3D0x3a13 class=3D0x020000
dev.ndis.0.%parent: pci0
dev.ndis.0.InitFile: A3AB.ini
dev.ndis.0.aifs: 2
dev.ndis.0.cwmin: 15
dev.ndis.0.MapRegisters: 256
dev.ndis.0.NetworkAddress:
dev.ndis.0.sleepMode: 0
dev.ndis.0.tpc: 0
dev.ndis.0.shortPreamble: 1
dev.ndis.0.radioEnable: 1
dev.ndis.0.BusType: 5
dev.ndis.0.AdHocChannel: 2437
dev.ndis.0.AwakeTimePerf: 200
dev.ndis.0.beaconInterval: 100
dev.ndis.0.bkScanEnable: 1
dev.ndis.0.bssType: 1
dev.ndis.0.ccode: US
dev.ndis.0.clist:
dev.ndis.0.defaultKey: 0
dev.ndis.0.EncryptionAlg: 2
dev.ndis.0.FragThreshold: 2346
dev.ndis.0.HwTxRetries: 4
dev.ndis.0.privacyInvoked: 0
dev.ndis.0.QoS: 0
dev.ndis.0.rateCtrlEnable: 1
dev.ndis.0.RTSThreshold: 2346
dev.ndis.0.scanType: 2
dev.ndis.0.SwTxRetryScale: 6
dev.ndis.0.SSID: default
dev.ndis.0.NetBand: 28
dev.ndis.0.AdHocBand: 0
dev.ndis.0.NicType: 0
dev.ndis.0.p24GAG: 2
dev.ndis.0.p5GAG: 4
dev.ndis.0.abolt: 255
dev.ndis.0.Environment: 1
dev.ndis.0.NdisVersion: 0x00050001
dev.ndis.0.InterruptNumber: 5
dev.ndis.0.DriverDesc: UNSET
dev.ndis.0.BusConfig: UNSET
dev.ndis.0.TriggerAdj: UNSET
dev.ndis.0.CalibrationTime: UNSET
dev.ndis.0.gpioPinFunc0: UNSET
dev.ndis.0.gpioPinFunc1: UNSET
dev.ndis.0.TransmitRate11a: UNSET
dev.ndis.0.TransmitRate11b: UNSET
dev.ndis.0.TransmitRate11g: UNSET
dev.ndis.0.TransmitRate108g: UNSET
dev.ndis.0.TransmitRateTurbo: UNSET
dev.ndis.0.TransmitRate11Xr: UNSET
dev.ndis.0.antennaSwitch: UNSET
dev.ndis.0.writeBlockSize: UNSET
dev.ndis.0.MinimumRate11a: UNSET
dev.ndis.0.MinimumRate11b: UNSET
dev.ndis.0.MinimumRate11g: UNSET
dev.ndis.0.MinimumRate108g: UNSET
dev.ndis.0.MinimumRateTurbo: UNSET
dev.ndis.0.MinimumRate11Xr: UNSET
dev.ndis.0.iqOverride: UNSET
dev.ndis.0.iqLogCountMax: UNSET
dev.ndis.0.iCoff: UNSET
dev.ndis.0.qCoff: UNSET
dev.ndis.0.modeCTS: UNSET
dev.ndis.0.rateCTS: UNSET
dev.ndis.0.shortSlotTime: UNSET
dev.ndis.0.gdraft5: UNSET
dev.ndis.0.protectionType: UNSET
dev.ndis.0.Ssid2: UNSET
dev.ndis.0.Ssid3: UNSET
dev.ndis.0.XrFragThreshold: UNSET
dev.ndis.0.atimWindow: UNSET
dev.ndis.0.cfpDuration: UNSET
dev.ndis.0.RD: UNSET
dev.ndis.0.ignore11dBeacon: UNSET
dev.ndis.0.quietDuration: UNSET
dev.ndis.0.quietOffset: UNSET
dev.ndis.0.quietAckCtsAllow: UNSET
dev.ndis.0.extendedChanMode: UNSET
dev.ndis.0.overRideTxPower: UNSET
dev.ndis.0.enableFCC3: UNSET
dev.ndis.0.capLinkSp: UNSET
dev.ndis.0.keyLength0: UNSET
dev.ndis.0.key0: UNSET
dev.ndis.0.keyLength1: UNSET
dev.ndis.0.key1: UNSET
dev.ndis.0.keyLength2: UNSET
dev.ndis.0.key2: UNSET
dev.ndis.0.keyLength3: UNSET
dev.ndis.0.key3: UNSET
dev.ndis.0.uniqKeyLength: UNSET
dev.ndis.0.uniqKey: UNSET
dev.ndis.0.leapEnabled: UNSET
dev.ndis.0.leapUserName: UNSET
dev.ndis.0.leapUserPasswdLen: UNSET
dev.ndis.0.leapUserPasswd: UNSET
dev.ndis.0.leapTimeout: UNSET
dev.ndis.0.CardCfgId: UNSET
dev.ndis.0.authType: UNSET
dev.ndis.0.authTypeUseOnly: UNSET
dev.ndis.0.wpaEnabled: UNSET
dev.ndis.0.mixedPrivacyAllow: UNSET
dev.ndis.0.roamRssiA: UNSET
dev.ndis.0.roamRssiB: UNSET
dev.ndis.0.roamRssiBOnly: UNSET
dev.ndis.0.roamRateA: UNSET
dev.ndis.0.roamRateB: UNSET
dev.ndis.0.roamRateBOnly: UNSET
dev.ndis.0.bssAgingPeriod: UNSET
dev.ndis.0.clearListOnScan: UNSET
dev.ndis.0.scanTimePreSleep: UNSET
dev.ndis.0.scanTimeValid: UNSET
dev.ndis.0.sleepTimePostScan: UNSET
dev.ndis.0.noBeaconTimeout: UNSET
dev.ndis.0.reAssocEnable: UNSET
dev.ndis.0.prefBssid1: UNSET
dev.ndis.0.prefBssid2: UNSET
dev.ndis.0.prefBssid3: UNSET
dev.ndis.0.prefBssid4: UNSET
dev.ndis.0.SleepTimePwrSave: UNSET
dev.ndis.0.SleepTimePerf: UNSET
dev.ndis.0.AwakeTimePwrSave: UNSET
dev.ndis.0.SleepLogEnable: UNSET
dev.ndis.0.SleepSampleTime: UNSET
dev.ndis.0.RollingAvgPeriod: UNSET
dev.ndis.0.overrideACstatus: UNSET
dev.ndis.0.enable32KHzClock: UNSET
dev.ndis.0.translateNullSsid: UNSET
dev.ndis.0.disableTurboG: UNSET
dev.ndis.0.removeNoGSubId: UNSET
dev.ndis.0.compProc: UNSET
dev.ndis.0.compWinSize: UNSET
dev.ndis.0.burstTime: UNSET
dev.ndis.0.burstSeqThreshold: UNSET
dev.ndis.0.clientName: UNSET
dev.ndis.0.pktLogEnable: UNSET
dev.ndis.0.pciDetectEnable: UNSET
dev.ndis.0.xrQueueFrameLimit: UNSET
dev.ndis.0.rmEnable: UNSET
dev.ndis.0.rmMaxOffChanTime: UNSET
dev.ndis.0.rmMinOnChanTime: UNSET
dev.ndis.0.rmOffChanTimeWhenBusy: UNSET
dev.ndis.0.ofdmTrigLow: UNSET
dev.ndis.0.ofdmTrigHigh: UNSET
dev.ndis.0.cckTrigLow: UNSET
dev.ndis.0.cckTrigHigh: UNSET
dev.ndis.0.enableANI: UNSET
dev.ndis.0.noiseImmunityLvl: UNSET
dev.ndis.0.ofdmWeakSigDet: UNSET
dev.ndis.0.cckWeakSigThr: UNSET
dev.ndis.0.spurImmunityLvl: UNSET
dev.ndis.0.firStepLvl: UNSET
dev.ndis.0.rssiThrHigh: UNSET
dev.ndis.0.rssiThrLow: UNSET
dev.ndis.0.aniPeriod: UNSET
dev.ndis.0.noBeaconT: UNSET



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050124042356.3DD98A0641>