TDMA up but no data transmit
After that I sometimes get the following message:
If I do not use bridge, still cannot Rx/Tx data accross the WiFi link.
Any help and recommendation are appreciated.
Thanks in advance.
Cloud
Code:
Source: svn.freebsd.org/base/head
Revision: 227494
Card use:
Ubiquiti XR2 (AR5413 chipset) are cabled together (minimize intereference)
Setting
-------
1. Master setting
# ifconfig wlan0 create wlandev ath0 wlanmode tdma
# ifconfig wlan0 ssid freebsd-tdma tdmaslotcnt 2 tdmaslotlen 2500 tdmaslot 0 ucastrate 24 up
# ifconfig bridge0 create
# ifconfig bridge0 addm wlan0
# ifconfig bridge0 inet 192.168.10.5 up
# ifconfig bridge0
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:2c:6f:5e:4d:00
inet 192.168.10.5 netmask 0xffffff00 broadcast 192.168.10.255
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: wlan0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 7 priority 128 path cost 76923
# ifconfig wlan0
wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:02:6f:4a:c2:04
media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g <flag0,adhoc>
status: running
ssid freebsd-tdma channel 10 (2457 MHz 11g) bssid 00:02:6f:4a:c2:04
country US ecm authmode OPEN privacy OFF txpower 19 ucastrate 24
mcastrate 24 scanvalid 60 protmode CTS wme burst tdmaslot 0
tdmaslotcnt 2 tdmaslotlen 2500 tdmabintval 5
#
2. Slave
--------
# ifconfig wlan create wlandev ath0 wlanmode tdma
# ifconfig create bridge0
# ifconfig bridge0 inet 192.168.10.10
# ifconfig bridge0 create
# ifconfig bridge0 addm wlan0
# ifconfig wlan0 ssid freebsd-tdma up
# ifconfig bridge0 up
# ifconfig wlan0
wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:02:6f:4a:c2:10
media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g <flag0,adhoc>
status: running
ssid freebsd-tdma channel 10 (2457 MHz 11g) bssid 00:02:6f:4a:c2:04
country US ecm authmode OPEN privacy OFF txpower 20 ucastrate 24
mcastrate 24 scanvalid 60 protmode CTS wme burst tdmaslot 1
tdmaslotcnt 2 tdmaslotlen 2500 tdmabintval 5
#
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:2c:6f:5e:4d:00
inet 192.168.10.10 netmask 0xffffff00 broadcast 192.168.10.255
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: wlan0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
-------
3. At Master
-----------
# ifconfig wlan0 list sta
ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG
00:02:6f:4a:c2:04 0 10 0M 9.0 0 3421 48736 A
00:02:6f:4a:c2:10 0 10 24M 50.0 0 0 9536 S AQE WME TDMA
4. At Slave
------------
# ifconfig wlan0 list ap
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
freebsd-tdma 00:02:6f:4a:c2:04 10 54M -45:-96 100 S WME TDMA
5. Ping slave to master or master to slave, packets do not get throught.
-------
# ping 192.168.10.5
PING 192.168.10.5 (192.168.10.5): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
After that I sometimes get the following message:
Code:
ath0: device timeout
If I do not use bridge, still cannot Rx/Tx data accross the WiFi link.
Any help and recommendation are appreciated.
Thanks in advance.
Cloud