Hi all, today I enabled the option do print mesh synchronization debug messages (CONFIG_MAC80211_MESH_SYNC_DEBUG).
I set up a mesh network with only 2 nodes (usb adapter with ath9k_htc) and recognized that the mesh synchronisation seems to fail. It says the clockdrift is too large. In the source code the TOFFSET_MAXIMUM_ADJUSTMENT is defined as 30000, but my clockdrift is sometimes around 90000. Why is my clockdrift so high? Or is it mandatory to synchronize the nodes? Thanks, Lukas OS Log: Jun 3 11:50:01 debug kern kernel: [ 810.423000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5336929 Jun 3 11:50:00 debug kern kernel: [ 809.399000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=-98286 too large, setpoint reset Jun 3 11:50:00 debug kern kernel: [ 809.399000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5238673, sta->t_offset_setpoint=5336959, t_clockdrift=-98286 Jun 3 11:49:59 debug kern kernel: [ 808.375000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5107556 Jun 3 11:49:58 debug kern kernel: [ 807.351000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=-32786 too large, setpoint reset Jun 3 11:49:58 debug kern kernel: [ 807.351000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5336934, sta->t_offset_setpoint=5304148, t_clockdrift=-32786 Jun 3 11:49:57 debug kern kernel: [ 806.327000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5304168 Jun 3 11:49:56 debug kern kernel: [ 805.303000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=32750 too large, setpoint reset Jun 3 11:49:56 debug kern kernel: [ 805.303000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5304168, sta->t_offset_setpoint=5336918, t_clockdrift=32750 Jun 3 11:49:55 debug kern kernel: [ 804.279000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5336938 Jun 3 11:49:54 debug kern kernel: [ 803.255000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=98286 too large, setpoint reset Jun 3 11:49:54 debug kern kernel: [ 803.255000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5238636, sta->t_offset_setpoint=5336922, t_clockdrift=98286 Jun 3 11:49:53 debug kern kernel: [ 802.236000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5336942 Jun 3 11:49:52 debug kern kernel: [ 801.207000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=-32786 too large, setpoint reset Jun 3 11:49:52 debug kern kernel: [ 801.207000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5336944, sta->t_offset_setpoint=5304158, t_clockdrift=-32786 Jun 3 11:49:51 debug kern kernel: [ 800.183000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5304178 Jun 3 11:49:50 debug kern kernel: [ 799.159000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=-1015826 too large, setpoint reset Jun 3 11:49:50 debug kern kernel: [ 799.159000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5336947, sta->t_offset_setpoint=4321121, t_clockdrift=-1015826 Jun 3 11:49:49 debug kern kernel: [ 798.135000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=4321141 Jun 3 11:49:47 debug kern kernel: [ 797.112000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=2064365 too large, setpoint reset Jun 3 11:49:47 debug kern kernel: [ 797.112000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=3272566, sta->t_offset_setpoint=5336931, t_clockdrift=2064365 Jun 3 11:49:46 debug kern kernel: [ 796.087000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5336951 Jun 3 11:49:45 debug kern kernel: [ 795.064000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=32750 too large, setpoint reset Jun 3 11:49:45 debug kern kernel: [ 795.064000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5304185, sta->t_offset_setpoint=5336935, t_clockdrift=32750 Jun 3 11:49:44 debug kern kernel: [ 794.039000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5336955 Jun 3 11:49:43 debug kern kernel: [ 793.015000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=-98321 too large, setpoint reset Jun 3 11:49:43 debug kern kernel: [ 793.015000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5336956, sta->t_offset_setpoint=5238635, t_clockdrift=-98321 Jun 3 11:49:42 debug kern kernel: [ 791.991000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5238655 Jun 3 11:49:41 debug kern kernel: [ 790.967000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=-32787 too large, setpoint reset Jun 3 11:49:41 debug kern kernel: [ 790.967000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5336961, sta->t_offset_setpoint=5304174, t_clockdrift=-32787 Jun 3 11:49:40 debug kern kernel: [ 789.943000] wlan0: STA bc:30:7d:97:9c:33 : offset was invalid, sta->t_offset=5304194 Jun 3 11:49:39 debug kern kernel: [ 788.920000] wlan0: STA bc:30:7d:97:9c:33 : t_clockdrift=32749 too large, setpoint reset Jun 3 11:49:39 debug kern kernel: [ 788.920000] wlan0: STA bc:30:7d:97:9c:33 : sta->t_offset=5304196, sta->t_offset_setpoint=5336945, t_clockdrift=32749
_______________________________________________ Devel mailing list [email protected] http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
