1 Sep 2009 16:02
Re: Accurate timers with polling Tasks: Help a newbie?
Javier Sánchez <javier.recacha <at> gmail.com>
2009-09-01 14:02:00 GMT
2009-09-01 14:02:00 GMT
Hi Kevin, I think click is not the correct way to implement TDM over wireless. You have to face multiple software delays per packet, and the worse, they are variable. receive : hardware - drivers (monitor mode) - linux kernel - click router. send: the inverse. May be there is 200-500 us variablility (not really sure). Anyway, I think current click timers can have more than 1 ms resolution. But the real problem i see is this "variable" delay packets would have. For example, if u send a control beacon that orders STA1 use slot 1 , STA2 use slot 2, may be STA1 sees this control beacon 200 us after sta2 does. If u decide to implement, maybe u can try to begin with something like this: define ($IP_ADR, 6.0.0.1/8) define ($MAC_ADR, 00:00:00:00:00:00) //use u real hw mac define ($STA, NODE1) FromHost(fake, $IP_ADR, ETHER $MAC_ADR) ->Queue() ->[1]Custom_Unqueue[1] //unqueue when a beacon is received on input port 2 ->[1]Custom_Delay_Unqueue[1] //read my timeslot from(Continue reading)
Gratefully,
- Kevin
PING 192.168.1.31 (192.168.1.31) 56(84) bytes of data.
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=1.68 ms
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=2.41 ms (DUP!)
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=3.18 ms (DUP!)
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=5.80 ms (DUP!)
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=6.58 ms (DUP!)
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=7.80 ms (DUP!)
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=9.33 ms (DUP!)
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=10.4 ms (DUP!)
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=11.5 ms (DUP!)
RSS Feed