TDMA link cannot pass data

Rui Paulo rpaulo at freebsd.org
Mon Jan 4 12:38:11 UTC 2010


On 3 Jan 2010, at 12:23, Kim Culhan wrote:

> Have setup a TDMA link with Atheros hardware but cannot pass any data
> over the link.
> 
> The hardware is:
> 
> ath0: <Atheros 5212> mem 0xfeb90000-0xfeb9ffff irq 17 at device 1.0 on pci5
> ath0: [ITHREAD]
> ath0: AR2413 mac 7.9 RF2413 phy 4.5
> 
> The setup on either end:
> 
> ifconfig wlan create wlandev ath0 wlanmode tdma ssid freebsd-tdma
> tdmaslotcnt 2 tdmaslotlen 2500 tdmaslot 0 up
> ifconfig bridge create
> ifconfig bridge0 addm wlan0 addm em1 192.168.1.17 netmask 255.255.255.0 up
> ifconfig em1 up
> 
> ifconfig wlan create wlandev ath0 wlanmode tdma ssid freebsd-tdma
> tdmaslotcnt 2 tdmaslotlen 2500 tdmaslot 1 up
> ifconfig bridge create
> ifconfig bridge0 addm wlan0 addm em1 192.168.1.18 netmask 255.255.255.0 up
> ifconfig em1 up
> 
>> From machines connected to the bridged em interfaces on either end of
> the link it is not possible to
> ping the opposite end or the bridge0 address on the opposite end.
> 
> Monitoring the traffic on bridge0 it is possible to see arp packets
> from the opposite ends, this is
> the only evidence of the link passing any traffic.
> 
> The radio interfaces:
> 
> wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
> metric 0 mtu 1500
>        ether 00:22:3f:fd:d6:57
>        media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g <flag0,adhoc>
>        status: running
>        ssid freebsd-tdma channel 10 (2457 Mhz 11g) bssid 00:22:3f:fd:d6:57
>        country US ecm authmode OPEN privacy OFF txpower 22.5 ucastrate 24
>        mcastrate 24 scanvalid 60 protmode CTS wme burst tdmaslot 0
>        tdmaslotcnt 2 tdmaslotlen 2500 tdmabintval 5
> 
> wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
> metric 0 mtu 1500
>        ether 00:22:3f:fd:70:ca
>        media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g <flag0,adhoc>
>        status: running
>        ssid freebsd-tdma channel 10 (2457 Mhz 11g) bssid 00:22:3f:fd:d6:57
>        country US ecm authmode OPEN privacy OFF txpower 22 ucastrate 24
>        mcastrate 24 scanvalid 60 protmode CTS wme burst tdmaslot 1
>        tdmaslotcnt 2 tdmaslotlen 2500 tdmabintval 5
> 
> Any help on this is very greatly appreciated.
> 
> Some background on the FreeBSD TDMA work can be found here:
> 
> http://people.freebsd.org/~sam/FreeBSD_TDMA-20090921.pdf
> 

This is odd. What happens without the bridge?

--
Rui Paulo



More information about the freebsd-net mailing list