Dell (Agere) orinoco gets excessive retries and other probs

Jim Carter jimc at math.ucla.edu
Tue Feb 19 07:01:13 EST 2002


Problem summary: the card gets Tx status 1 (excessive retries) on every
packet and says it's at 2 Mb/s however you set it.  It also gets into
a mode where you ask for one RID and it gives you a different one.

I have the Dell (Agere ORiNOCO) ``TrueMobile 1150'' internal 802.11b
wireless NIC (mini-PCI) in my laptop.  (For complete setup details, see
http://www.math.ucla.edu/~jimc/insp4100/index.html, and under that,
wireless.html).  It has Agere firmware v6.16.  It behaves as if in a
third PCMCIA slot, and uses orinoco_cs.o.

In the server machine is a Linksys WPC11 Network PC Card version 2.5,
with Intersil firmware v1.00.  It's in their WDT11 PCI adapter, which
has a PLX PCI9052 PCMCIA bridge chip.  orinoco_plx.o works for it.

Software on both machines is SuSE 7.3, kernel 2.4.16, ORiNOCO drivers
0.09b (taken from 2.4.18pre9 sources but compiled in 2.4.16 background),
and wireless tools v22 (wireless extensions v12).

When using driver v0.07, the Linksys card would often get in a mode
where it got "eth2: Error -110 writing packet header to BAP" (ETIMEDOUT)
on most packets.  With driver v0.09b this error rarely appears, and the
Linksys card gives the impression of functioning optimally.  However, in
file transfer tests with v0.09b, several tests showed a sequence, all
with the same timestamp, likely during uploads (transfers from the Dell
card to the Linksys card), where it reset the Linksys card for no
obvious reason, then got about 5 timeouts, then "eth2: Tx error, status
4 (FID=010E)" or 0135 or both (only those values), then sometimes "eth2:
Unknown Rx error (0x3). Frame dropped."

When using driver v0.07, the Dell card gave the impression of
functioning perfectly.  It would associate with the Linksys card and
with various Cisco (Aironet) access points, and would transfer data with
either one at 11 Mb/s (more like 5 Mb/s judging from timing file
transfers, which I understand is typical for 802.11b).  It never (?) got
ETIMEDOUT.  (This error was seen twice, over many days experience, with
driver 0.09b.)

Using driver v0.09b, the Dell card now has three problems.  First, it
will only associate at 2 Mb/s with the Linksys card and the AP's (per
CURRENTTXRATE and verified by remote -> Dell file transfers).  Setting
TXRATECONTROL on the Dell and Linksys cards to all combinations of legal
values leads to the Dell card claiming to be at 2 Mb/s and the Linksys
card being at whatever you set it to, except not 11 Mb/s.  Here are some
samples; all rates are in Mb/s.  The file transferred was 1.25 Mb (10^7
bits).  "Download" means Linksys -> Dell.  SNR = 29 dB and there were no
competing stations.

Dell rate	Linksys rate	File Xfr (sec)	Rate	Ping
Set	Says	Set	Says	Upload	Downld	Downld	RTT (msec)
1	2	1	1	51	16	0.6	0.550, 3.8 alternating
1	2	2	2	50	11	0.9	4.0-5.6
1	2	5.5	5.5	50	7	1.4	3.0-6.1
1	2	11	5.5	(not tested)
2	2	11	5.5	29	6	1.7	2.6-4.0
5.5	2	11	5.5	15	6	1.7	2.3-3.9
11	2	11	5.5	11	6	1.7	2.4-3.8

A file transfer test from a Cisco access point gave a download rate of
2.2 Mb/s, but the rate was likely overestimated and 1.4 to 1.7 Mb/s is
probably closer to reality.  A file transfer from the Linksys card
(under Linux) to the Dell card under WinXP gave a download rate of 1.2
Mb/s, claiming the card was at 1 Mb/s.  Uploads were similarly slow as
in the above table.

Evidently the Linksys card is sending data at the rate to which it was
set (up to 5.5 Mb/s).  So why is the Dell card ignoring TXRATECONTROL
entirely?

The second problem, probably the cause of the first, is that every
packet sent from the Dell card gets "Tx error, status 1" which is
"excessive retries".  (If one or two packets escaped the error, I
couldn't tell, but over 99% of the packets are affected.)  Every (?)
packet arrived, only once, at the Linksys card.  I can't prove that
there were no duplicates, but ping doesn't show any, and also shows no
lost packets.  Occasional packets during file transfers arrived trashed
at the Linksys card, e.g. it says "undecryptable" or "misc error" --
less than 0.1%.  The behavior is identical with 104-bit WEP, 40-bit WEP,
or no WEP.

So, judging from the results above, the Dell card sends data at the speed
to which it was set, and the data arrives, but the card believes it has to
resend, possibly falling back to lower speeds, which takes time.  Why is
this happening, specifically on the 0.09b driver?  My solution to the
problem is selective denial: I skip the error message for status 1.  With
this "fix" the wireless link is useable, whereas the timeouts under v0.07
made it unuseable, even if it would do 11 Mb/s until it broke.

During the file transfer tests, the driver at the Dell end reported
"eth1: Tx error, status 4 (FID=00BF)", 7 times out of about 11000
packets.  From hermes.h this seems to be "disconnect".  FID was always
the same, 00BF.  The errors happened on separate tests, and not on every
test.

The third problem is that when a lot of data comes in to the Dell card,
it invariably gets into a mode where hermes_read_ltv reads a
configuration or information record, but the card gives it a different
RID than it asked for.  Possibly it gets the numerically previous RID
(e.g. ask for OWNMACADDR but get PORTTYPE), but I have the distinct
impression that the delivered data is the RID previously asked for.  (In
orinoco_proc_get_hermes_recs the RIDs are read in numerical order.)

If the Linksys card is doing the same thing, I might not notice, because
I'm running a link quality monitor on the laptop but not on the server.

I do have a fix for this (in a separate message), based on the old
dormitory adage, "flush twice, it's a long way to the kitchen".  If
hermes_read_ltv gets an unasked RID, if it repeats the seek and read, it
will almost always get the right one the second time.  Except, on the
Linksys card, in the midst of a file download if you "grep" for a record
in /proc/hermes/eth2/recs, the value will usually but not always be for
a different RID, even with two seek-reads, and several "rid does not
match type" errors were syslogged despite two seek-reads.  So I'm trying
up to 8 retries. Fortunately critical uses of hermes_read_ltv only
appear in determine_firmware and orinoco_init.

I did a "diff" comparing orinoco.c for v0.09b vs v0.07.  Substantive
changes are these:

    ieee802_11.h was created.  The layout and constants look unchanged.

    Alternate_encaps was added and the old encapsulation was removed in
    0.08b.l

    The bitrate is set in a separate subroutine.  I can't see any
    substantive difference from the old code, and TXRATECONTROL is set
    correctly.

    Only the new version has hermes_write_regn(hw, TXCOMPLFID, DUMMY_FID).
    Commenting it out had no apparent effect, did not help.

    The new version does this:
	hdr.desc.tx_control = cpu_to_le16(HERMES_TXCTRL_TX_EX |
						HERMES_TXCTRL_TX_OK);
    I'm sure the equivalent is also in 0.07 but I missed it in scanning
    the diff.

    Only the new version does atomic_inc(&priv->queue_length)

    In hermes.c, the new version actually waits for the command register
    to be not busy, whereas the old version checked once and gave an
    error message (never seen by me).

    In orinoco_cs.c, resetting the card was reconditionalized, and there
    was a comment in 0.07 about messing up old Lucent firmware.  I
    commented out that reset (in 0.09b) but it had no apparent effect,
    did not help.

Several of these are not obviously without blame, but not obviously with
blame either.  If you could give me some ideas what to try next, I would
be very grateful.

And thank you for getting 104-bit WEP enabled on Intersil, and for
making the timeouts in orinoco_plx go away, and for fixing whatever made
modprobe get a seg fault when trying to unload orinoco_plx v0.07.

James F. Carter          Voice 310 825 2897    FAX 310 206 6673
UCLA-Mathnet;  6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA  90095-1555
Email: jimc at math.ucla.edu    http://www.math.ucla.edu/~jimc (q.v. for PGP key)


RID dumps in various conditions, also iwconfig output etc:

/proc/hermes/eth1/recs for Dell (Agere) card, with no partner.  Says
it's at 11 Mb/s.

PORTTYPE        (0xfc00): length=2 (2 bytes)	value=0001
OWNMACADDR      (0xfc01): length=4 (6 bytes)	value=00:02:2D:35:33:27
DESIREDSSID     (0xfc02): length=18 (34 bytes)	value="CFT"
OWNCHANNEL      (0xfc03): length=2 (2 bytes)	value=0003
OWNSSID         (0xfc04): length=18 (34 bytes)	value="CFT"
OWNATIMWINDOW   (0xfc05): length=2 (2 bytes)	value=0000
SYSTEMSCALE     (0xfc06): length=2 (2 bytes)	value=0001
MAXDATALEN      (0xfc07): length=2 (2 bytes)	value=0900
PMENABLED       (0xfc09): length=2 (2 bytes)	value=0001
PMEPS           (0xfc0a): length=2 (2 bytes)	value=0000
MULTICASTRECEIVE (0xfc0b): length=2 (2 bytes)	value=0001
MAXSLEEPDURATION (0xfc0c): length=2 (2 bytes)	value=0064
PMHOLDOVERDURATION (0xfc0d): length=2 (2 bytes)	value=0064
OWNNAME         (0xfc0e): length=18 (34 bytes)	value="xena"
WEPENABLED_AGERE (0xfc20): length=2 (2 bytes)	value=0001
MANDATORYBSSID_SYMBOL (0xfc21): length=2 (2 bytes)	value=0001
WEPDEFAULTKEYID (0xfc23): length=2 (2 bytes)	value=0002
DEFAULTKEY1     (0xfc25): length=2 (2 bytes)	value=00:00
MWOROBUST_AGERE (0xfc25): length=2 (2 bytes)	value=0000
GROUPADDRESSES  (0xfc80): length=4 (6 bytes)	value=01:00:5E:00:00:01
CREATEIBSS      (0xfc81): length=2 (2 bytes)	value=0001
RTSTHRESHOLD    (0xfc83): length=2 (2 bytes)	value=092B
TXRATECONTROL   (0xfc84): length=2 (2 bytes)	value=0003
PROMISCUOUSMODE (0xfc85): length=2 (2 bytes)	value=0000
EXCLUDELONGPREAMBLE (0xfcb1): length=2 (2 bytes)	value=0000
TXKEY_AGERE     (0xfcb1): length=2 (2 bytes)	value=0000
TICKTIME        (0xfce0): length=2 (2 bytes)	value=000A
MAXLOADTIME     (0xfd00): length=2 (2 bytes)	value=1388
DOWNLOADBUFFER  (0xfd01): length=4 (6 bytes)	value=0060-0000-2000
PRIID           (0xfd02): length=5 (8 bytes)	value=0015-0001-0004-0004
PRISUPRANGE     (0xfd03): length=6 (10 bytes)	value=0000-0003-0002-0001-0001
CFIACTRANGES    (0xfd04): length=6 (10 bytes)	value=0001-0002-0001-0001-0006
NICSERNUM       (0xfd0a): length=7 (12 bytes)	value=3530-3844-3436-4131-304F-3130
NICID           (0xfd0b): length=5 (8 bytes)	value=0005-0002-0001-0002
MFISUPRANGE     (0xfd0c): length=6 (10 bytes)	value=0000-0001-0002-0004-0004
CFISUPRANGE     (0xfd0d): length=6 (10 bytes)	value=0000-0002-0001-0006-0006
CHANNELLIST     (0xfd10): length=2 (2 bytes)	value=07FF
REGULATORYDOMAINS (0xfd11): length=7 (12 bytes)	value=0006-2010-3130-4132-0000-0000
TEMPTYPE        (0xfd12): length=2 (2 bytes)	value=0001
STAID           (0xfd20): length=5 (8 bytes)	value=001F-0001-0006-0010
CURRENTSSID     (0xfd41): length=18 (34 bytes)	value="CFT"
CURRENTBSSID    (0xfd42): length=4 (6 bytes)	value=02:02:2D:35:33:27
COMMSQUALITY    (0xfd43): length=4 (6 bytes)	value=0000-001B-001B
CURRENTTXRATE   (0xfd44): length=2 (2 bytes)	value=0002
CURRENTBEACONINTERVAL (0xfd45): length=2 (2 bytes)	value=0064
CURRENTSCALETHRESHOLDS (0xfd46): length=7 (12 bytes)	value=0040-0032-0036-000A-0002-0006
PROTOCOLRSPTIME (0xfd47): length=2 (2 bytes)	value=0064
SHORTRETRYLIMIT (0xfd48): length=2 (2 bytes)	value=0004
LONGRETRYLIMIT  (0xfd49): length=2 (2 bytes)	value=0004
MAXTRANSMITLIFETIME (0xfd4a): length=2 (2 bytes)	value=0200
MAXRECEIVELIFETIME (0xfd4b): length=2 (2 bytes)	value=0200
CFPOLLABLE      (0xfd4c): length=2 (2 bytes)	value=0000
AUTHENTICATIONALGORITHMS (0xfd4d): length=3 (4 bytes)	value=0001-0001
PRIVACYOPTIONIMPLEMENTED (0xfd4f): length=2 (2 bytes)	value=0001
SCANRESULTSTABLE (0xfd88): length=2 (2 bytes)	value=0014
PHYTYPE         (0xfdc0): length=2 (2 bytes)	value=0002
CURRENTCHANNEL  (0xfdc1): length=2 (2 bytes)	value=0003
CURRENTPOWERSTATE (0xfdc2): length=2 (2 bytes)	value=0001
CCAMODE         (0xfdc3): length=2 (2 bytes)	value=0002
SUPPORTEDDATARATES (0xfdc6): length=6 (10 bytes)	value=0004-0402-160B-0000-0000
FWID            (0xffff): length=15 (28 bytes)	value='Primary F's  '
SPYMAC0         (0x0000): length=4 (6 bytes)	value=ff:ff:ff:ff:ff:ff
SPYQUAL0        (0x0000): length=4 (6 bytes)	value=0000-0000-0000


/proc/hermes/eth2/recs for Linksys (Intersil) card, with no partner.
Says it's at 11 Mb/s.

PORTTYPE        (0xfc00): length=2 (2 bytes)	value=0000
OWNMACADDR      (0xfc01): length=4 (6 bytes)	value=00:06:25:01:9E:C0
DESIREDSSID     (0xfc02): length=18 (34 bytes)	value="CFT"
OWNCHANNEL      (0xfc03): length=2 (2 bytes)	value=0003
OWNSSID         (0xfc04): length=18 (34 bytes)	value="non-spec" (before patch)
OWNATIMWINDOW   (0xfc05): length=2 (2 bytes)	value=0000
SYSTEMSCALE     (0xfc06): length=2 (2 bytes)	value=0001
MAXDATALEN      (0xfc07): length=2 (2 bytes)	value=0900
PMENABLED       (0xfc09): length=2 (2 bytes)	value=0000
PMEPS           (0xfc0a): length=2 (2 bytes)	value=0000
MULTICASTRECEIVE (0xfc0b): length=2 (2 bytes)	value=0001
MAXSLEEPDURATION (0xfc0c): length=2 (2 bytes)	value=0064
PMHOLDOVERDURATION (0xfc0d): length=2 (2 bytes)	value=0064
OWNNAME         (0xfc0e): length=18 (34 bytes)	value="FAFNIR"
OWNDTIMPERIOD   (0xfc10): length=2 (2 bytes)	value=0001
WEPENABLED_AGERE (0xfc20): length=2 (2 bytes)	value=00F9
MANDATORYBSSID_SYMBOL (0xfc21): length=2 (2 bytes)	value=00F9
WEPDEFAULTKEYID (0xfc23): length=2 (2 bytes)	value=0000
DEFAULTKEY0     (0xfc24): length=4 (6 bytes)	value=its value
DEFAULTKEY1     (0xfc25): length=4 (6 bytes)	value=same value
MWOROBUST_AGERE (0xfc25): length=4 (6 bytes)	value=00F9-0DF9-0E12
DEFAULTKEY2     (0xfc26): length=4 (6 bytes)	value=same value
DEFAULTKEY3     (0xfc27): length=4 (6 bytes)	value=same value
WEPFLAGS_INTERSIL (0xfc28): length=2 (2 bytes)	value=0001
AUTHENTICATION  (0xfc2a): length=2 (2 bytes)	value=0001
TXCONTROL       (0xfc2c): length=2 (2 bytes)	value=0200
ROAMINGMODE     (0xfc2d): length=2 (2 bytes)	value=0001
RCVCRCERROR     (0xfc30): length=2 (2 bytes)	value=0000
MMLIFE          (0xfc31): length=2 (2 bytes)	value=FDE8
ALTRETRYCOUNT   (0xfc32): length=2 (2 bytes)	value=0007
BEACONINT       (0xfc33): length=2 (2 bytes)	value=0064
STAPCFINFO      (0xfc35): length=2 (2 bytes)	value=0001
TIMCTRL         (0xfc40): length=2 (2 bytes)	value=0001
THIRTY2TALLY    (0xfc42): length=2 (2 bytes)	value=0000
GROUPADDRESSES  (0xfc80): length=1 (0 bytes)	value
CREATEIBSS      (0xfc81): length=2 (2 bytes)	value=0001
FRAGMENTATIONTHRESHOLD (0xfc82): length=2 (2 bytes)	value=092A
RTSTHRESHOLD    (0xfc83): length=2 (2 bytes)	value=092B
TXRATECONTROL   (0xfc84): length=2 (2 bytes)	value=000F
PROMISCUOUSMODE (0xfc85): length=2 (2 bytes)	value=0001
SHORTPREAMBLE   (0xfcb0): length=2 (2 bytes)	value=0000
WEPKEYS_AGERE   (0xfcb0): length=2 (2 bytes)	value=00:00
BASICRATES      (0xfcb3): length=2 (2 bytes)	value=000F
SUPPORTEDRATES  (0xfcb4): length=2 (2 bytes)	value=000F
TICKTIME        (0xfce0): length=2 (2 bytes)	value=000A
SCANREQUEST     (0xfce1): length=3 (4 bytes)	value=3FFF-0020
JOINREQUEST     (0xfce2): length=5 (8 bytes)	value=00F9-0DF9-0E12-0EBB
MAXLOADTIME     (0xfd00): length=2 (2 bytes)	value=EA60
DOWNLOADBUFFER  (0xfd01): length=4 (6 bytes)	value=0060-0000-1000
PRIID           (0xfd02): length=5 (8 bytes)	value=0015-0004-0001-0000
PRISUPRANGE     (0xfd03): length=6 (10 bytes)	value=0000-0003-0001-0001-0003
CFIACTRANGES    (0xfd04): length=6 (10 bytes)	value=0001-0002-0002-0001-0001
NICSERNUM       (0xfd0a): length=7 (12 bytes)	value=3939-4153-3130-3030-3030-3030
NICID           (0xfd0b): length=5 (8 bytes)	value=800C-0000-0001-0000
MFISUPRANGE     (0xfd0c): length=6 (10 bytes)	value=0000-0001-0001-0001-0001
CFISUPRANGE     (0xfd0d): length=6 (10 bytes)	value=0000-0002-0002-0001-0001
CHANNELLIST     (0xfd10): length=2 (2 bytes)	value=07FF
REGULATORYDOMAINS (0xfd11): length=7 (12 bytes)	value=0002-2010-0000-0000-0000-0000
TEMPTYPE        (0xfd12): length=2 (2 bytes)	value=0001
STAID           (0xfd20): length=5 (8 bytes)	value=001F-0003-0001-0000
CURRENTSSID     (0xfd41): length=18 (34 bytes)	value="non-spec"
CURRENTBSSID    (0xfd42): length=4 (6 bytes)	value=02:23:8B:24:9E:C0
COMMSQUALITY    (0xfd43): length=4 (6 bytes)	value=0000-001B-001B
CURRENTTXRATE   (0xfd44): length=2 (2 bytes)	value=0008
CURRENTBEACONINTERVAL (0xfd45): length=2 (2 bytes)	value=0064
CURRENTSCALETHRESHOLDS (0xfd46): length=7 (12 bytes)	value=0036-0036-0036-000A-0002-0006
PROTOCOLRSPTIME (0xfd47): length=2 (2 bytes)	value=0064
SHORTRETRYLIMIT (0xfd48): length=2 (2 bytes)	value=0008
LONGRETRYLIMIT  (0xfd49): length=2 (2 bytes)	value=0005
MAXTRANSMITLIFETIME (0xfd4a): length=2 (2 bytes)	value=0200
MAXRECEIVELIFETIME (0xfd4b): length=2 (2 bytes)	value=0200
CFPOLLABLE      (0xfd4c): length=2 (2 bytes)	value=0000
AUTHENTICATIONALGORITHMS (0xfd4d): length=3 (4 bytes)	value=0001-0001
PRIVACYOPTIONIMPLEMENTED (0xfd4f): length=2 (2 bytes)	value=0001
SCANRESULTSTABLE (0xfd88): length=3 (4 bytes)	value=0001-0003
PHYTYPE         (0xfdc0): length=2 (2 bytes)	value=0002
CURRENTCHANNEL  (0xfdc1): length=2 (2 bytes)	value=0003
CURRENTPOWERSTATE (0xfdc2): length=2 (2 bytes)	value=0001
CCAMODE         (0xfdc3): length=2 (2 bytes)	value=0002
SUPPORTEDDATARATES (0xfdc6): length=6 (10 bytes)	value=0004-0402-160B-0000-0000
BUILDSEQ        (0xfffe): length=3 (4 bytes)	value=00:00:00:00
FWID            (0xffff): length=15 (28 bytes)	value='PK010004.HEX'


/proc/hermes/eth1/recs for Dell (Agere) card, after association.
Says it's at 2 Mb/s.  Note the 44 excessive retries; later after file
transfer tests this count went up to 11258.

PORTTYPE        (0xfc00): length=2 (2 bytes)	value=0001
OWNMACADDR      (0xfc01): length=4 (6 bytes)	value=00:02:2D:35:33:27
DESIREDSSID     (0xfc02): length=18 (34 bytes)	value="CFT"
OWNCHANNEL      (0xfc03): length=2 (2 bytes)	value=0003
OWNSSID         (0xfc04): length=18 (34 bytes)	value="CFT"
OWNATIMWINDOW   (0xfc05): length=2 (2 bytes)	value=0000
SYSTEMSCALE     (0xfc06): length=2 (2 bytes)	value=0001
MAXDATALEN      (0xfc07): length=2 (2 bytes)	value=0900
PMENABLED       (0xfc09): length=2 (2 bytes)	value=0001
PMEPS           (0xfc0a): length=2 (2 bytes)	value=0000
MULTICASTRECEIVE (0xfc0b): length=2 (2 bytes)	value=0001
MAXSLEEPDURATION (0xfc0c): length=2 (2 bytes)	value=0064
PMHOLDOVERDURATION (0xfc0d): length=2 (2 bytes)	value=0064
OWNNAME         (0xfc0e): length=18 (34 bytes)	value="xena"
WEPENABLED_AGERE (0xfc20): length=2 (2 bytes)	value=0001
MANDATORYBSSID_SYMBOL (0xfc21): length=2 (2 bytes)	value=0001
WEPDEFAULTKEYID (0xfc23): length=2 (2 bytes)	value=0002
DEFAULTKEY1     (0xfc25): length=2 (2 bytes)	value=00:00
MWOROBUST_AGERE (0xfc25): length=2 (2 bytes)	value=0000
GROUPADDRESSES  (0xfc80): length=4 (6 bytes)	value=01:00:5E:00:00:01
CREATEIBSS      (0xfc81): length=2 (2 bytes)	value=0001
RTSTHRESHOLD    (0xfc83): length=2 (2 bytes)	value=092B
TXRATECONTROL   (0xfc84): length=2 (2 bytes)	value=0003
PROMISCUOUSMODE (0xfc85): length=2 (2 bytes)	value=0000
EXCLUDELONGPREAMBLE (0xfcb1): length=2 (2 bytes)	value=0000
TXKEY_AGERE     (0xfcb1): length=2 (2 bytes)	value=0000
TICKTIME        (0xfce0): length=2 (2 bytes)	value=000A
MAXLOADTIME     (0xfd00): length=2 (2 bytes)	value=1388
DOWNLOADBUFFER  (0xfd01): length=4 (6 bytes)	value=0060-0000-2000
PRIID           (0xfd02): length=5 (8 bytes)	value=0015-0001-0004-0004
PRISUPRANGE     (0xfd03): length=6 (10 bytes)	value=0000-0003-0002-0001-0001
CFIACTRANGES    (0xfd04): length=6 (10 bytes)	value=0001-0002-0001-0001-0006
NICSERNUM       (0xfd0a): length=7 (12 bytes)	value=3530-3844-3436-4131-304F-3130
NICID           (0xfd0b): length=5 (8 bytes)	value=0005-0002-0001-0002
MFISUPRANGE     (0xfd0c): length=6 (10 bytes)	value=0000-0001-0002-0004-0004
CFISUPRANGE     (0xfd0d): length=6 (10 bytes)	value=0000-0002-0001-0006-0006
CHANNELLIST     (0xfd10): length=2 (2 bytes)	value=07FF
REGULATORYDOMAINS (0xfd11): length=7 (12 bytes)	value=0006-2010-3130-4132-0000-0000
TEMPTYPE        (0xfd12): length=2 (2 bytes)	value=0001
STAID           (0xfd20): length=5 (8 bytes)	value=001F-0001-0006-0010
CURRENTSSID     (0xfd41): length=18 (34 bytes)	value="CFT"
CURRENTBSSID    (0xfd42): length=4 (6 bytes)	value=02:02:2D:35:33:27
COMMSQUALITY    (0xfd43): length=4 (6 bytes)	value=0000-001B-001B
CURRENTTXRATE   (0xfd44): length=2 (2 bytes)	value=0002
CURRENTBEACONINTERVAL (0xfd45): length=2 (2 bytes)	value=0064
CURRENTSCALETHRESHOLDS (0xfd46): length=7 (12 bytes)	value=0040-0032-0036-000A-0002-0006
PROTOCOLRSPTIME (0xfd47): length=2 (2 bytes)	value=0064
SHORTRETRYLIMIT (0xfd48): length=2 (2 bytes)	value=0004
LONGRETRYLIMIT  (0xfd49): length=2 (2 bytes)	value=0004
MAXTRANSMITLIFETIME (0xfd4a): length=2 (2 bytes)	value=0200
MAXRECEIVELIFETIME (0xfd4b): length=2 (2 bytes)	value=0200
CFPOLLABLE      (0xfd4c): length=2 (2 bytes)	value=0000
AUTHENTICATIONALGORITHMS (0xfd4d): length=3 (4 bytes)	value=0001-0001
PRIVACYOPTIONIMPLEMENTED (0xfd4f): length=2 (2 bytes)	value=0001
SCANRESULTSTABLE (0xfd88): length=2 (2 bytes)	value=0014
PHYTYPE         (0xfdc0): length=2 (2 bytes)	value=0002
CURRENTCHANNEL  (0xfdc1): length=2 (2 bytes)	value=0003
CURRENTPOWERSTATE (0xfdc2): length=2 (2 bytes)	value=0001
CCAMODE         (0xfdc3): length=2 (2 bytes)	value=0002
SUPPORTEDDATARATES (0xfdc6): length=6 (10 bytes)	value=0004-0402-160B-0000-0000
FWID            (0xffff): length=15 (28 bytes)	value='Primary F's  '
SPYMAC0         (0x0000): length=4 (6 bytes)	value=00:06:25:01:9e:c0
SPYQUAL0        (0x0000): length=4 (6 bytes)	value=0013-00b5-00a2

iwconfig:
eth1      IEEE 802.11-DS  ESSID:"CFT"  Nickname:"xena"
          Mode:Ad-Hoc  Frequency:2.422GHz  Cell: 02:02:2D:35:33:27
          Bit Rate:2Mb/s   Tx-Power=15 dBm   Sensitivity:1/3
          Retry limit:4   RTS thr:off   Fragment thr:off
          Power Management period:100ms   mode:All packets received
          Link Quality:19/92  Signal level:-75 dBm  Noise level:-94 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:44  Invalid misc:0   Missed beacon:0

ifconfig (a different instance):
eth1      Link encap:Ethernet  HWaddr 00:02:2D:35:33:27
          inet addr:192.9.200.67  Bcast:192.9.200.127  Mask:255.255.255.192
          UP BROADCAST NOTRAILERS RUNNING  MTU:1500  Metric:1
          RX packets:1923 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:1959 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1574478 (1.5 Mb)  TX bytes:1573225 (1.5 Mb)
          Interrupt:11 Base address:0x100

syslog when card was loaded (minus timestamp and cardmgr chatter):
hermes.c: 16 Jan 2002 David Gibson <hermes at gibson.dropbear.id.au>

orinoco.c 0.09b (David Gibson <hermes at gibson.dropbear.id.au> and others)

orinoco_cs.c 0.09b (David Gibson <hermes at gibson.dropbear.id.au> and others)
eth1: Station identity 001f:0001:0006:0010
eth1: Looks like a Lucent/Agere firmware version 6.16
eth1: Ad-hoc demo mode supported
eth1: IEEE standard IBSS ad-hoc mode supported
eth1: WEP supported, 104-bit key
eth1: MAC address 00:02:2D:35:33:27
eth1: Station name "HERMES I"
eth1: ready
eth1: index 0x01: Vcc 3.3, irq 11, io 0x0100-0x013f


/proc/hermes/eth2/recs for Linksys (Intersil) card, after association.
Says it's at 11 Mb/s, later got stuck at 5.5 Mb/s.  Also iwconfig etc.

PORTTYPE        (0xfc00): length=2 (2 bytes)	value=0000
OWNMACADDR      (0xfc01): length=4 (6 bytes)	value=00:06:25:01:9E:C0
DESIREDSSID     (0xfc02): length=18 (34 bytes)	value="CFT"
OWNCHANNEL      (0xfc03): length=2 (2 bytes)	value=0003
OWNSSID         (0xfc04): length=18 (34 bytes)	value="non-spec"
OWNATIMWINDOW   (0xfc05): length=2 (2 bytes)	value=0000
SYSTEMSCALE     (0xfc06): length=2 (2 bytes)	value=0001
MAXDATALEN      (0xfc07): length=2 (2 bytes)	value=0900
PMENABLED       (0xfc09): length=2 (2 bytes)	value=0000
PMEPS           (0xfc0a): length=2 (2 bytes)	value=0000
MULTICASTRECEIVE (0xfc0b): length=2 (2 bytes)	value=0001
MAXSLEEPDURATION (0xfc0c): length=2 (2 bytes)	value=0064
PMHOLDOVERDURATION (0xfc0d): length=2 (2 bytes)	value=0064
OWNNAME         (0xfc0e): length=18 (34 bytes)	value="FAFNIR"
OWNDTIMPERIOD   (0xfc10): length=2 (2 bytes)	value=0001
WEPENABLED_AGERE (0xfc20): length=2 (2 bytes)	value=00F9
MANDATORYBSSID_SYMBOL (0xfc21): length=2 (2 bytes)	value=00F9
WEPDEFAULTKEYID (0xfc23): length=2 (2 bytes)	value=0000
DEFAULTKEY0     (0xfc24): length=4 (6 bytes)	value=its value
DEFAULTKEY1     (0xfc25): length=4 (6 bytes)	value=same value
MWOROBUST_AGERE (0xfc25): length=4 (6 bytes)	value=00F9-0DF9-0E12
DEFAULTKEY2     (0xfc26): length=4 (6 bytes)	value=same value
DEFAULTKEY3     (0xfc27): length=4 (6 bytes)	value=same value
WEPFLAGS_INTERSIL (0xfc28): length=2 (2 bytes)	value=0001
AUTHENTICATION  (0xfc2a): length=2 (2 bytes)	value=0001
TXCONTROL       (0xfc2c): length=2 (2 bytes)	value=0200
ROAMINGMODE     (0xfc2d): length=2 (2 bytes)	value=0001
RCVCRCERROR     (0xfc30): length=2 (2 bytes)	value=0000
MMLIFE          (0xfc31): length=2 (2 bytes)	value=FDE8
ALTRETRYCOUNT   (0xfc32): length=2 (2 bytes)	value=0007
BEACONINT       (0xfc33): length=2 (2 bytes)	value=0064
STAPCFINFO      (0xfc35): length=2 (2 bytes)	value=0001
TIMCTRL         (0xfc40): length=2 (2 bytes)	value=0001
THIRTY2TALLY    (0xfc42): length=2 (2 bytes)	value=0000
GROUPADDRESSES  (0xfc80): length=1 (0 bytes)	value
CREATEIBSS      (0xfc81): length=2 (2 bytes)	value=0001
FRAGMENTATIONTHRESHOLD (0xfc82): length=2 (2 bytes)	value=092A
RTSTHRESHOLD    (0xfc83): length=2 (2 bytes)	value=092B
TXRATECONTROL   (0xfc84): length=2 (2 bytes)	value=000F
PROMISCUOUSMODE (0xfc85): length=2 (2 bytes)	value=0001
SHORTPREAMBLE   (0xfcb0): length=2 (2 bytes)	value=0000
WEPKEYS_AGERE   (0xfcb0): length=2 (2 bytes)	value=00:00
BASICRATES      (0xfcb3): length=2 (2 bytes)	value=000F
SUPPORTEDRATES  (0xfcb4): length=2 (2 bytes)	value=000F
TICKTIME        (0xfce0): length=2 (2 bytes)	value=000A
SCANREQUEST     (0xfce1): length=3 (4 bytes)	value=3FFF-0020
JOINREQUEST     (0xfce2): length=5 (8 bytes)	value=00F9-0DF9-0E12-0EBB
MAXLOADTIME     (0xfd00): length=2 (2 bytes)	value=EA60
DOWNLOADBUFFER  (0xfd01): length=4 (6 bytes)	value=0060-0000-1000
PRIID           (0xfd02): length=5 (8 bytes)	value=0015-0004-0001-0000
PRISUPRANGE     (0xfd03): length=6 (10 bytes)	value=0000-0003-0001-0001-0003
CFIACTRANGES    (0xfd04): length=6 (10 bytes)	value=0001-0002-0002-0001-0001
NICSERNUM       (0xfd0a): length=7 (12 bytes)	value=3939-4153-3130-3030-3030-3030
NICID           (0xfd0b): length=5 (8 bytes)	value=800C-0000-0001-0000
MFISUPRANGE     (0xfd0c): length=6 (10 bytes)	value=0000-0001-0001-0001-0001
CFISUPRANGE     (0xfd0d): length=6 (10 bytes)	value=0000-0002-0002-0001-0001
CHANNELLIST     (0xfd10): length=2 (2 bytes)	value=07FF
REGULATORYDOMAINS (0xfd11): length=7 (12 bytes)	value=0002-2010-0000-0000-0000-0000
TEMPTYPE        (0xfd12): length=2 (2 bytes)	value=0001
STAID           (0xfd20): length=5 (8 bytes)	value=001F-0003-0001-0000
CURRENTSSID     (0xfd41): length=18 (34 bytes)	value="CFT"
CURRENTBSSID    (0xfd42): length=4 (6 bytes)	value=02:02:2D:35:33:27
COMMSQUALITY    (0xfd43): length=4 (6 bytes)	value=0016-004B-0035
CURRENTTXRATE   (0xfd44): length=2 (2 bytes)	value=0008
CURRENTBEACONINTERVAL (0xfd45): length=2 (2 bytes)	value=0064
CURRENTSCALETHRESHOLDS (0xfd46): length=7 (12 bytes)	value=0036-0036-0036-000A-0002-0006
PROTOCOLRSPTIIT (0xfd48): length=2 (2 bytes)	value=0008
LONGRETRYLIMIT  (0xfd49): length=2 (2 bytes)	value=0005
MAXTRANSMITLIFETIME (0xfd4a): length=2 (2 bytes)	value=0200
MAXRECEIVELIFETIME (0xfd4b): length=2 (2 bytes)	value=0200
CFPOLLABLE      (0xfd4c): length=2 (2 bytes)	value=0000
AUTHENTICATIONALGORITHMS (0xfd4d): length=3 (4 bytes)	value=0001-0001
PRIVACYOPTIONIMPLEMENTED (0xfd4f): length=2 (2 bytes)	value=0001
SCANRESULTSTABLE (0xfd88): length=34 (66 bytes)	value=0001-0003-0003-0034-004B-0202-352D-2733-0064-0012-0003-4643-0154-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0402-160B-0000-0000-0000-0014
PHYTYPE         (0xfdc0): length=2 (2 bytes)	value=0002
CURRENTCHANNEL  (0xfdc1): length=2 (2 bytes)	value=0003
CURRENTPOWERSTATE (0xfdc2): length=2 (2 bytes)	value=0001
CCAMODE         (0xfdc3): length=2 (2 bytes)	value=0002
SUPPORTEDDATARATES (0xfdc6): length=6 (10 bytes)	value=0004-0402-160B-0000-0000
BUILDSEQ        (0xfffe): length=3 (4 bytes)	value=00:00:00:00
FWID            (0xffff): length=15 (28 bytes)	value='PK010004.HEX'

eth2      IEEE 802.11-DS  ESSID:"CFT"  Nickname:"FAFNIR"
          Mode:Ad-Hoc  Frequency:2.422GHz  Cell: 02:23:75:24:9E:C0
          Bit Rate:11Mb/s   Tx-Power=15 dBm   Sensitivity:1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:3/92  Signal level:-89 dBm  Noise level:-92 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:38   Missed beacon:0

ifconfig (same instance):
eth2      Link encap:Ethernet  HWaddr 00:06:25:01:9E:C0
          inet addr:192.9.200.65  Bcast:192.9.200.127  Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2123 errors:358 dropped:0 overruns:0 frame:328
          TX packets:2113 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1471929 (1.4 Mb)  TX bytes:1721462 (1.6 Mb)
          Interrupt:9 Base address:0x1480

Syslog when card was initted (minus timestamp):

hermes.c: 16 Jan 2002 David Gibson <hermes at gibson.dropbear.id.au>
orinoco.c 0.09b (David Gibson <hermes at gibson.dropbear.id.au> and others)
orinoco_plx.c 0.09b (Daniel Barlow <dan at telent.net>)
PCI: Found IRQ 9 for device 00:10.0
PCI: Sharing IRQ 9 with 00:07.2
orinoco_plx: CIS: 101:103:100:100:1FF:117:104:167:15A:108:1FF:11D:105:103:167:15A:
orinoco_plx: Local Interrupt already enabled
Detected Orinoco/Prism2 PLX device at 00:10.0 irq:9, io addr:0x1480
eth2: Station identity 001f:0003:0001:0000
eth2: Looks like an Intersil firmware version 1.00
eth2: Ad-hoc demo mode supported
eth2: IEEE standard IBSS ad-hoc mode supported
eth2: WEP supported, 104-bit key
eth2: MAC address 00:06:25:01:9E:C0
eth2: Station name "Prism  I"
eth2: ready
About to write key 0, keylen=13
About to write key 1, keylen=13
About to write key 2, keylen=13
About to write key 3, keylen=13





More information about the wireless mailing list