On 2016年12月07日 22:33, Bob Copeland wrote:
This mesh_sync_offset_adjust_tbtt is definitely doing offset synchronization, so probably "tbtt" should be renamed "tsf" here.
Right. I will send a patch for this.
Actually, looking at the code now it doesn't make a lot of sense to set this flag for offset sync because TOFFSET_KNOWN flag is completely cleared whenever that is set, so we have to be forgetting the current t_offset all the time?
Right, TOFFSET_KNOWN flag looks not need to be cleared when TBTT_ADJUSTING flag is on. Because the t_offset is received when TBTT_ADJUSTING flag is off. The t_offset is expected to have valid value. I will remove the code by next patch.
Masashi Honma.