Date: Sat, 25 Nov 2000 22:42:56 -0800 (PST) From: Scott Hazen Mueller <scott@zorch.sf-bay.org> To: dmlb@ragnet.demon.co.uk, freebsd-mobile@freebsd.org Subject: Re: Aviator 2.4 Message-ID: <200011260642.eAQ6gu602080@zorba.sf-bay.org>
next in thread | raw e-mail | index | archive | help
>Certainly, this is how I tested on 3.x, 4.1 and -current!
I suspected as much.
>I note that your raycontrol dump shows that the hopset is 0x03 and not 0x1d.
>Did you change it? I'm not sure that the hopset code selection actually works
>well on rev4 cards (conflicting information in docs etc.)
Is the hopset 'HOP_SEQ'? It seems to change itself in between power-up and
configure, see below. I did observe some odd behavior when issuing the
command 'raycontrol -i ray0 -f 1' repeatedly - the HOP_SEQ value seemed to go
through random bytes ranging from 0x02 to 0x4-something.
>Hmm, this means that the cards aren't seeing each other at all. The seperated
>BSSIDs and INITED flag, mean that the cards have set up seperate networks.
OK, that confirms what I was thinking.
>Things to try -
> plug one card in and wait a couple of minutes before plugging in the next
Tried that, to no avail.
> check the hopsets
I've issued the -f 1 command against both cards. As I've noted, HOP_SEQ is
all over the map, don't know if that's good or bad.
>I don't think that the W98 will change anything on the cards in a permanant
>fashion.
I may try it as a last resort...
>Try moving them away from the monitor - the scan coils may be interfering
>with the radio.
Tried that as well as I can, given the available space in my office. The
'base' station is about 4 feet above the nearest monitor. I did my last set
of tests with the remote about 5 feet away from the nearest monitor. Of
course, if the radios are sensitive to noise within these ranges, I can hardly
use them anyway... :-(
Other info...
www.webgear.com is now offering a flash upgrade from plain 2.4 (& rev 4) to
2.4 Pro (& rev 5) firmware. Visit the site and find the Win2K upgrade - it
includes most of a flash floppy in the kit, just add one bootable DOS floppy
and run. I've applied this upgrade to my cards, no additional luck. But, as
I understand it, rev 5 is worth having anyway.
I ran a still more careful test tonight. I started with both systems (zork
and zorba) powered down, with the ray cards inserted. I powered zork (the
base station) up first. The raycontrol output, before issuing any networking
commands, was
(zork)
Firmware version 5
Network type 0x01 0 Ad hoc, 1 Infrastructure
AP status 0x00 0 Station, 1 Access Point
SSID ESSID1
Scan mode 0x01 0 Passive, 1 Active
APM mode 0x00 0 Off, 1 On
MAC address 00:00:8f:48:e8:f8
Fragmentation threshold 0x7fff Bytes
Dwell time 0x0080 DWELL_TIME
Beacon period 0x0100 BEACON_PERIOD
DTIM_INTERVAL 0x01 DTIM_INTERVAL
MAX_RETRY 0x1f MAX_RETRY
ACK_TIMO 0x86 ACK_TIMO
SIFS 0x1c SIFS
DIFS 0x82 DIFS
PIFS 0x4e PIFS
RTS_THRESH 0x7fff RTS_THRESH
SCAN_DWELL 0x04e2 SCAN_DWELL
SCAN_MAX_DWELL 0x38a4 SCAN_MAX_DWELL
ASSOC_TIMO 0x05 ASSOC_TIMO
ADHOC_SCAN_CYCLE 0x08 ADHOC_SCAN_CYCLE
INFRA_SCAN_CYCLE 0x02 INFRA_SCAN_CYCLE
INFRA_SUPER_SCAN_CYCLE 0x08 INFRA_SUPER_SCAN_CYCLE
PROMISC 0x00 PROMISC
UNIQ_WORD 0x0cbd UNIQ_WORD
SLOT_TIME 0x32 SLOT_TIME
ROAM_LOW_SNR_THRESH 0xff ROAM_LOW_SNR_THRESH
LOW_SNR_COUNT 0xff LOW_SNR_COUNT
INFRA_MISSED_BEACON_COUNT 0x02 INFRA_MISSED_BEACON_COUNT
ADHOC_MISSED_BEACON_COUNT 0xff ADHOC_MISSED_BEACON_COUNT
COUNTRY_CODE 0x01 COUNTRY_CODE
HOP_SEQ 0x0b HOP_SEQ
HOP_SEQ_LEN 0x55 HOP_SEQ_LEN
CW_MAX 0x003f CW_MAX
CW_MIN 0x000f CW_MIN
NOISE_FILTER_GAIN 0x04 NOISE_FILTER_GAIN
NOISE_LIMIT_OFFSET 0x08 NOISE_LIMIT_OFFSET
RSSI_THRESH_OFFSET 0x28 RSSI_THRESH_OFFSET
BUSY_THRESH_OFFSET 0x28 BUSY_THRESH_OFFSET
SYNC_THRESH 0x07 SYNC_THRESH
TEST_MODE 0x00 TEST_MODE
TEST_MIN_CHAN 0x02 TEST_MIN_CHAN
TEST_MAX_CHAN 0x02 TEST_MAX_CHAN
ALLOW_PROBE_RESP 0x00 ALLOW_PROBE_RESP
PRIVACY_MUST_START 0x00 PRIVACY_MUST_START
PRIVACY_CAN_JOIN 0x00 PRIVACY_CAN_JOIN
BASIC_RATE_SET 0x02 BASIC_RATE_SET
Current BSS Id 00:00:00:00:00:00
Current INITED 0x00 0 Joined a net, 1 Created a net
Current DEF_TXRATE 0x00 Current DEF_TXRATE
Current ENCRYPT 0x00 Current ENCRYPT
Current NET_TYPE 0x00 Current NET_TYPE
Current SSID
Current PRIV_START 0x00 Current PRIV_START
Current PRIV_JOIN 0x00 Current PRIV_JOIN
Desired BSSID 00:00:00:00:00:00
Desired INITED 0x00 N/A
Desired DEF_TXRATE 0x00 Desired DEF_TXRATE
Desired ENCRYPT 0x00 Desired ENCRYPT
Desired NET_TYPE 0x00 Desired NET_TYPE
Desired SSID
Desired PRIV_START 0x00 Desired PRIV_START
Desired PRIV_JOIN 0x00 Desired PRIV_JOIN
Current AP_STATUS 0x00 Current AP_STATUS
Current PROMISC 0x00 Current PROMISC
Desired AP_STATUS 0x00 Desired AP_STATUS
I then issued:
ifconfig ray0 inet 10.1.1.1 netmask 0xffffff00 broadcast 10.1.1.255 up
and reran raycontrol
(zork)
Firmware version 5
Network type 0x00 0 Ad hoc, 1 Infrastructure
AP status 0x00 0 Station, 1 Access Point
SSID NETWORK_NAME
Scan mode 0x01 0 Passive, 1 Active
APM mode 0x00 0 Off, 1 On
MAC address 00:00:8f:48:e8:f8
Fragmentation threshold 0x7fff Bytes
Dwell time 0x0080 DWELL_TIME
Beacon period 0x0080 BEACON_PERIOD
DTIM_INTERVAL 0x01 DTIM_INTERVAL
MAX_RETRY 0x07 MAX_RETRY
ACK_TIMO 0xa3 ACK_TIMO
SIFS 0x1d SIFS
DIFS 0x82 DIFS
PIFS 0x4e PIFS
RTS_THRESH 0x7fff RTS_THRESH
SCAN_DWELL 0x04e2 SCAN_DWELL
SCAN_MAX_DWELL 0x38a4 SCAN_MAX_DWELL
ASSOC_TIMO 0x05 ASSOC_TIMO
ADHOC_SCAN_CYCLE 0x08 ADHOC_SCAN_CYCLE
INFRA_SCAN_CYCLE 0x02 INFRA_SCAN_CYCLE
INFRA_SUPER_SCAN_CYCLE 0x08 INFRA_SUPER_SCAN_CYCLE
PROMISC 0x00 PROMISC
UNIQ_WORD 0x0cbd UNIQ_WORD
SLOT_TIME 0x32 SLOT_TIME
ROAM_LOW_SNR_THRESH 0xff ROAM_LOW_SNR_THRESH
LOW_SNR_COUNT 0xff LOW_SNR_COUNT
INFRA_MISSED_BEACON_COUNT 0x05 INFRA_MISSED_BEACON_COUNT
ADHOC_MISSED_BEACON_COUNT 0xff ADHOC_MISSED_BEACON_COUNT
COUNTRY_CODE 0x01 COUNTRY_CODE
HOP_SEQ 0x06 HOP_SEQ
HOP_SEQ_LEN 0x4f HOP_SEQ_LEN
CW_MAX 0x003f CW_MAX
CW_MIN 0x000f CW_MIN
NOISE_FILTER_GAIN 0x04 NOISE_FILTER_GAIN
NOISE_LIMIT_OFFSET 0x08 NOISE_LIMIT_OFFSET
RSSI_THRESH_OFFSET 0x28 RSSI_THRESH_OFFSET
BUSY_THRESH_OFFSET 0x28 BUSY_THRESH_OFFSET
SYNC_THRESH 0x07 SYNC_THRESH
TEST_MODE 0x00 TEST_MODE
TEST_MIN_CHAN 0x02 TEST_MIN_CHAN
TEST_MAX_CHAN 0x02 TEST_MAX_CHAN
ALLOW_PROBE_RESP 0x00 ALLOW_PROBE_RESP
PRIVACY_MUST_START 0x00 PRIVACY_MUST_START
PRIVACY_CAN_JOIN 0x00 PRIVACY_CAN_JOIN
BASIC_RATE_SET 0x04 BASIC_RATE_SET
Current BSS Id f6:00:6b:bd:bf:68
Current INITED 0x01 0 Joined a net, 1 Created a net
Current DEF_TXRATE 0x00 Current DEF_TXRATE
Current ENCRYPT 0x00 Current ENCRYPT
Current NET_TYPE 0x00 Current NET_TYPE
Current SSID NETWORK_NAME
Current PRIV_START 0x00 Current PRIV_START
Current PRIV_JOIN 0x00 Current PRIV_JOIN
Desired BSSID 00:00:00:00:00:00
Desired INITED 0x00 N/A
Desired DEF_TXRATE 0x04 Desired DEF_TXRATE
Desired ENCRYPT 0x00 Desired ENCRYPT
Desired NET_TYPE 0x00 Desired NET_TYPE
Desired SSID NETWORK_NAME
Desired PRIV_START 0x00 Desired PRIV_START
Desired PRIV_JOIN 0x00 Desired PRIV_JOIN
Current AP_STATUS 0x00 Current AP_STATUS
Current PROMISC 0x00 Current PROMISC
Desired AP_STATUS 0x00 Desired AP_STATUS
Differences found -
2c2
< Network type 0x01 0 Ad hoc, 1 Infrastructure
---
> Network type 0x00 0 Ad hoc, 1 Infrastructure
4c4
< SSID ESSID1
---
> SSID NETWORK_NAME
10c10
< Beacon period 0x0100 BEACON_PERIOD
---
> Beacon period 0x0080 BEACON_PERIOD
12,14c12,14
< MAX_RETRY 0x1f MAX_RETRY
< ACK_TIMO 0x86 ACK_TIMO
< SIFS 0x1c SIFS
---
> MAX_RETRY 0x07 MAX_RETRY
> ACK_TIMO 0xa3 ACK_TIMO
> SIFS 0x1d SIFS
29c29
< INFRA_MISSED_BEACON_COUNT 0x02 INFRA_MISSED_BEACON_COUNT
---
> INFRA_MISSED_BEACON_COUNT 0x05 INFRA_MISSED_BEACON_COUNT
32,33c32,33
< HOP_SEQ 0x0b HOP_SEQ
< HOP_SEQ_LEN 0x55 HOP_SEQ_LEN
---
> HOP_SEQ 0x06 HOP_SEQ
> HOP_SEQ_LEN 0x4f HOP_SEQ_LEN
47,49c47,49
< BASIC_RATE_SET 0x02 BASIC_RATE_SET
< Current BSS Id 00:00:00:00:00:00
< Current INITED 0x00 0 Joined a net, 1 Created a net
---
> BASIC_RATE_SET 0x04 BASIC_RATE_SET
> Current BSS Id f6:00:6b:bd:bf:68
> Current INITED 0x01 0 Joined a net, 1 Created a net
53c53
< Current SSID
---
> Current SSID NETWORK_NAME
58c58
< Desired DEF_TXRATE 0x00 Desired DEF_TXRATE
---
> Desired DEF_TXRATE 0x04 Desired DEF_TXRATE
61c61
< Desired SSID
---
> Desired SSID NETWORK_NAME
I then powered up zorba and waited for it to boot. Upon startup, I ran
raycontrol:
(zorba)
Firmware version 5
Network type 0x01 0 Ad hoc, 1 Infrastructure
AP status 0x00 0 Station, 1 Access Point
SSID ESSID1
Scan mode 0x01 0 Passive, 1 Active
APM mode 0x00 0 Off, 1 On
MAC address 00:00:8f:48:e8:d2
Fragmentation threshold 0x7fff Bytes
Dwell time 0x0080 DWELL_TIME
Beacon period 0x0100 BEACON_PERIOD
DTIM_INTERVAL 0x01 DTIM_INTERVAL
MAX_RETRY 0x1f MAX_RETRY
ACK_TIMO 0x86 ACK_TIMO
SIFS 0x1c SIFS
DIFS 0x82 DIFS
PIFS 0x4e PIFS
RTS_THRESH 0x7fff RTS_THRESH
SCAN_DWELL 0x04e2 SCAN_DWELL
SCAN_MAX_DWELL 0x38a4 SCAN_MAX_DWELL
ASSOC_TIMO 0x05 ASSOC_TIMO
ADHOC_SCAN_CYCLE 0x08 ADHOC_SCAN_CYCLE
INFRA_SCAN_CYCLE 0x02 INFRA_SCAN_CYCLE
INFRA_SUPER_SCAN_CYCLE 0x08 INFRA_SUPER_SCAN_CYCLE
PROMISC 0x00 PROMISC
UNIQ_WORD 0x0cbd UNIQ_WORD
SLOT_TIME 0x32 SLOT_TIME
ROAM_LOW_SNR_THRESH 0xff ROAM_LOW_SNR_THRESH
LOW_SNR_COUNT 0xff LOW_SNR_COUNT
INFRA_MISSED_BEACON_COUNT 0x02 INFRA_MISSED_BEACON_COUNT
ADHOC_MISSED_BEACON_COUNT 0xff ADHOC_MISSED_BEACON_COUNT
COUNTRY_CODE 0x01 COUNTRY_CODE
HOP_SEQ 0x0b HOP_SEQ
HOP_SEQ_LEN 0x55 HOP_SEQ_LEN
CW_MAX 0x003f CW_MAX
CW_MIN 0x000f CW_MIN
NOISE_FILTER_GAIN 0x04 NOISE_FILTER_GAIN
NOISE_LIMIT_OFFSET 0x08 NOISE_LIMIT_OFFSET
RSSI_THRESH_OFFSET 0x28 RSSI_THRESH_OFFSET
BUSY_THRESH_OFFSET 0x28 BUSY_THRESH_OFFSET
SYNC_THRESH 0x07 SYNC_THRESH
TEST_MODE 0x00 TEST_MODE
TEST_MIN_CHAN 0x02 TEST_MIN_CHAN
TEST_MAX_CHAN 0x02 TEST_MAX_CHAN
ALLOW_PROBE_RESP 0x00 ALLOW_PROBE_RESP
PRIVACY_MUST_START 0x00 PRIVACY_MUST_START
PRIVACY_CAN_JOIN 0x00 PRIVACY_CAN_JOIN
BASIC_RATE_SET 0x02 BASIC_RATE_SET
Current BSS Id 00:00:00:00:00:00
Current INITED 0x00 0 Joined a net, 1 Created a net
Current DEF_TXRATE 0x00 Current DEF_TXRATE
Current ENCRYPT 0x00 Current ENCRYPT
Current NET_TYPE 0x00 Current NET_TYPE
Current SSID
Current PRIV_START 0x00 Current PRIV_START
Current PRIV_JOIN 0x00 Current PRIV_JOIN
Desired BSSID 00:00:00:00:00:00
Desired INITED 0x00 N/A
Desired DEF_TXRATE 0x00 Desired DEF_TXRATE
Desired ENCRYPT 0x00 Desired ENCRYPT
Desired NET_TYPE 0x00 Desired NET_TYPE
Desired SSID
Desired PRIV_START 0x00 Desired PRIV_START
Desired PRIV_JOIN 0x00 Desired PRIV_JOIN
Current AP_STATUS 0x00 Current AP_STATUS
Current PROMISC 0x00 Current PROMISC
Desired AP_STATUS 0x00 Desired AP_STATUS
The ifconfig -
ifconfig ray0 inet 10.1.1.2 netmask 0xffffff00 broadcast 10.1.1.255 up
The raycontrol output
(zorba)
Firmware version 5
Network type 0x00 0 Ad hoc, 1 Infrastructure
AP status 0x00 0 Station, 1 Access Point
SSID NETWORK_NAME
Scan mode 0x01 0 Passive, 1 Active
APM mode 0x00 0 Off, 1 On
MAC address 00:00:8f:48:e8:d2
Fragmentation threshold 0x7fff Bytes
Dwell time 0x0080 DWELL_TIME
Beacon period 0x0080 BEACON_PERIOD
DTIM_INTERVAL 0x01 DTIM_INTERVAL
MAX_RETRY 0x07 MAX_RETRY
ACK_TIMO 0xa3 ACK_TIMO
SIFS 0x1d SIFS
DIFS 0x82 DIFS
PIFS 0x4e PIFS
RTS_THRESH 0x7fff RTS_THRESH
SCAN_DWELL 0x04e2 SCAN_DWELL
SCAN_MAX_DWELL 0x38a4 SCAN_MAX_DWELL
ASSOC_TIMO 0x05 ASSOC_TIMO
ADHOC_SCAN_CYCLE 0x08 ADHOC_SCAN_CYCLE
INFRA_SCAN_CYCLE 0x02 INFRA_SCAN_CYCLE
INFRA_SUPER_SCAN_CYCLE 0x08 INFRA_SUPER_SCAN_CYCLE
PROMISC 0x00 PROMISC
UNIQ_WORD 0x0cbd UNIQ_WORD
SLOT_TIME 0x32 SLOT_TIME
ROAM_LOW_SNR_THRESH 0xff ROAM_LOW_SNR_THRESH
LOW_SNR_COUNT 0xff LOW_SNR_COUNT
INFRA_MISSED_BEACON_COUNT 0x05 INFRA_MISSED_BEACON_COUNT
ADHOC_MISSED_BEACON_COUNT 0xff ADHOC_MISSED_BEACON_COUNT
COUNTRY_CODE 0x01 COUNTRY_CODE
HOP_SEQ 0x07 HOP_SEQ
HOP_SEQ_LEN 0x4f HOP_SEQ_LEN
CW_MAX 0x003f CW_MAX
CW_MIN 0x000f CW_MIN
NOISE_FILTER_GAIN 0x04 NOISE_FILTER_GAIN
NOISE_LIMIT_OFFSET 0x08 NOISE_LIMIT_OFFSET
RSSI_THRESH_OFFSET 0x28 RSSI_THRESH_OFFSET
BUSY_THRESH_OFFSET 0x28 BUSY_THRESH_OFFSET
SYNC_THRESH 0x07 SYNC_THRESH
TEST_MODE 0x00 TEST_MODE
TEST_MIN_CHAN 0x02 TEST_MIN_CHAN
TEST_MAX_CHAN 0x02 TEST_MAX_CHAN
ALLOW_PROBE_RESP 0x00 ALLOW_PROBE_RESP
PRIVACY_MUST_START 0x00 PRIVACY_MUST_START
PRIVACY_CAN_JOIN 0x00 PRIVACY_CAN_JOIN
BASIC_RATE_SET 0x04 BASIC_RATE_SET
Current BSS Id ee:1a:55:55:55:55
Current INITED 0x01 0 Joined a net, 1 Created a net
Current DEF_TXRATE 0x00 Current DEF_TXRATE
Current ENCRYPT 0x00 Current ENCRYPT
Current NET_TYPE 0x00 Current NET_TYPE
Current SSID NETWORK_NAME
Current PRIV_START 0x00 Current PRIV_START
Current PRIV_JOIN 0x00 Current PRIV_JOIN
Desired BSSID 00:00:00:00:00:00
Desired INITED 0x00 N/A
Desired DEF_TXRATE 0x04 Desired DEF_TXRATE
Desired ENCRYPT 0x00 Desired ENCRYPT
Desired NET_TYPE 0x00 Desired NET_TYPE
Desired SSID NETWORK_NAME
Desired PRIV_START 0x00 Desired PRIV_START
Desired PRIV_JOIN 0x00 Desired PRIV_JOIN
Current AP_STATUS 0x00 Current AP_STATUS
Current PROMISC 0x00 Current PROMISC
Desired AP_STATUS 0x00 Desired AP_STATUS
More differences -
2c2
< Network type 0x01 0 Ad hoc, 1 Infrastructure
---
> Network type 0x00 0 Ad hoc, 1 Infrastructure
4c4
< SSID ESSID1
---
> SSID NETWORK_NAME
10c10
< Beacon period 0x0100 BEACON_PERIOD
---
> Beacon period 0x0080 BEACON_PERIOD
12,14c12,14
< MAX_RETRY 0x1f MAX_RETRY
< ACK_TIMO 0x86 ACK_TIMO
< SIFS 0x1c SIFS
---
> MAX_RETRY 0x07 MAX_RETRY
> ACK_TIMO 0xa3 ACK_TIMO
> SIFS 0x1d SIFS
29c29
< INFRA_MISSED_BEACON_COUNT 0x02 INFRA_MISSED_BEACON_COUNT
---
> INFRA_MISSED_BEACON_COUNT 0x05 INFRA_MISSED_BEACON_COUNT
32,33c32,33
< HOP_SEQ 0x0b HOP_SEQ
< HOP_SEQ_LEN 0x55 HOP_SEQ_LEN
---
> HOP_SEQ 0x07 HOP_SEQ
> HOP_SEQ_LEN 0x4f HOP_SEQ_LEN
47,49c47,49
< BASIC_RATE_SET 0x02 BASIC_RATE_SET
< Current BSS Id 00:00:00:00:00:00
< Current INITED 0x00 0 Joined a net, 1 Created a net
---
> BASIC_RATE_SET 0x04 BASIC_RATE_SET
> Current BSS Id ee:1a:55:55:55:55
> Current INITED 0x01 0 Joined a net, 1 Created a net
53c53
< Current SSID
---
> Current SSID NETWORK_NAME
58c58
< Desired DEF_TXRATE 0x00 Desired DEF_TXRATE
---
> Desired DEF_TXRATE 0x04 Desired DEF_TXRATE
61c61
< Desired SSID
---
> Desired SSID NETWORK_NAME
For completeness' sake
FreeBSD zorba.sf-bay.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Mon Nov 13 22:02:00 PST 2000 scott@zorba.sf-bay.org:/export/obj/export/src/sys/ZORBA i386
FreeBSD zork.sf-bay.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Nov 17 09:23:42 GMT 2000 root@zork.sf-bay.org:/usr/obj/export/src/sys/ZORK i386
Suggestions more than welcome.
\scott
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011260642.eAQ6gu602080>
