I'm trying to set up a rather unusual long-term link using two Atheros
7xxx devices: a Ubiquiti PicoStation M2HP Access Point and a Ubiquiti
AirGrid M2HP configured as a station using relayd. The tests were done
in a very "radio quiet" location, with the AP sitting on top of one hill
and the testing locations on hills along the road.
At 2 miles, the AirGrid connects immediately (-53 dBm signal strength
and 17-18 Mbps throughput per iperf)
At 3.9 miles, the AirGrid connects just fine (-56 dBm signal strength)
but only provides about 2-3 Mbps throughput.
At 5 miles, however, the AirGrid appears to connect (signal strength
varying from -56 to -79 dBm - moving the antenna around to check
different signal strengths) but won't pull an IP address via DHCP and
won't pass any data.
It's clear that SOMETHING is getting time-limited, but I have distance=0
and dissassoc_low_ack=0 on both the AP and the station, and I'm not sure
what else I can tweak.
At 5 miles on the station, I'm seeing the following
# iw wlan0 station dump
Station 00:15:6d:4c:45:09 (on wlan0)
inactive time: 5980 ms
rx bytes: 8282
rx packets: 90
tx bytes: 154
tx packets: 2
tx retries: 20
tx failed: 2
signal: -79 [-79] dBm
signal avg: -78 [-78] dBm
tx bitrate: 1.0 MBit/s
rx bitrate: 1.0 MBit/s
authorized: no
authenticated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
(What does authenticated: yes but authorized: no mean???)
# iw wlan0 scan
BSS 00:15:6d:4c:45:09 (on wlan0)
TSF: 7337482955 usec (0d, 02:02:17)
freq: 2437
beacon interval: 100
capability: ESS Privacy ShortSlotTime (0x0411)
signal: -56.00 dBm
last seen: 300 ms ago
Information elements from Probe Response frame:
SSID: FrogFace
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
DS Parameter set: channel 6
ERP: Barker_Preamble_Mode
Extended supported rates: 24.0 36.0 48.0 54.0
RSN: * Version: 1
* Group cipher: TKIP
* Pairwise ciphers: CCMP TKIP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC (0x000c)
WPA: * Version: 1
* Group cipher: TKIP
* Pairwise ciphers: CCMP TKIP
* Authentication suites: PSK
HT capabilities:
Capabilities: 0x11cc
HT20
SM Power Save disabled
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-7
HT operation:
* primary channel: 6
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 0
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
WMM: * Parameter version 1
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
And the log shows this (a good sample):
Jan 1 00:43:03 TestUnit daemon.notice netifd: wwan (32629): udhcpc (v1.19.4)
started
Jan 1 00:43:03 TestUnit daemon.notice netifd: wwan (32629): Sending discover...
Jan 1 00:43:06 TestUnit daemon.notice netifd: wwan (32629): Sending discover...
Jan 1 00:43:07 TestUnit kern.info kernel: [ 2587.790000] wlan0: authenticate
with 00:15:6d:4c:45:09
Jan 1 00:43:07 TestUnit kern.info kernel: [ 2587.820000] wlan0: send auth to
00:15:6d:4c:45:09 (try 1/3)
Jan 1 00:43:07 TestUnit kern.info kernel: [ 2587.830000] wlan0: authenticated
Jan 1 00:43:07 TestUnit kern.info kernel: [ 2587.840000] wlan0: associate with
00:15:6d:4c:45:09 (try 1/3)
Jan 1 00:43:07 TestUnit kern.info kernel: [ 2587.930000] wlan0: RX AssocResp
from 00:15:6d:4c:45:09 (capab=0x411 status=0 aid=1)
Jan 1 00:43:07 TestUnit kern.info kernel: [ 2587.940000] wlan0: associated
Jan 1 00:43:09 TestUnit daemon.notice netifd: wwan (32629): Sending discover...
Jan 1 00:43:10 TestUnit kern.info kernel: [ 2590.790000] wlan0: authenticate
with 00:15:6d:4c:45:09
Jan 1 00:43:10 TestUnit kern.info kernel: [ 2590.820000] wlan0: send auth to
00:15:6d:4c:45:09 (try 1/3)
Jan 1 00:43:10 TestUnit kern.info kernel: [ 2590.830000] wlan0: authenticated
Jan 1 00:43:10 TestUnit kern.info kernel: [ 2590.840000] wlan0: associate with
00:15:6d:4c:45:09 (try 1/3)
Jan 1 00:43:10 TestUnit kern.info kernel: [ 2590.950000] wlan0: RX AssocResp
from 00:15:6d:4c:45:09 (capab=0x411 status=0 aid=1)
Jan 1 00:43:10 TestUnit kern.info kernel: [ 2590.960000] wlan0: associated
Jan 1 00:43:11 TestUnit kern.info kernel: [ 2592.000000] wlan0: disassociated
from 00:15:6d:4c:45:09 (Reason: 7)
Jan 1 00:43:12 TestUnit kern.info kernel: [ 2592.020000] wlan0:
deauthenticating from 00:15:6d:4c:45:09 by local choice (reason=3)
Jan 1 00:43:12 TestUnit kern.info kernel: [ 2592.800000] wlan0: authenticate
with 00:15:6d:4c:45:09
Jan 1 00:43:12 TestUnit kern.info kernel: [ 2592.830000] wlan0: send auth to
00:15:6d:4c:45:09 (try 1/3)
Jan 1 00:43:12 TestUnit kern.info kernel: [ 2592.840000] wlan0: authenticated
Jan 1 00:43:12 TestUnit kern.info kernel: [ 2592.860000] wlan0: associate with
00:15:6d:4c:45:09 (try 1/3)
Jan 1 00:43:12 TestUnit kern.info kernel: [ 2592.910000] wlan0: RX AssocResp
from 00:15:6d:4c:45:09 (capab=0x411 status=0 aid=1)
Jan 1 00:43:12 TestUnit kern.info kernel: [ 2592.920000] wlan0: associated
It strongly smells like I'm having trouble with hostapd and/or
wpa-supplicant, but I'm not sure even where to look for more information
at this point.
All help gratefully accepted...
--
Bill Moffitt
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel