Timing synchronization function (TSF) is specified in IEEE 802.11 wireless local area network (WLAN) standard to fulfill timing synchronization among users. A TSF keeps the timers for all stations in the same basic service set (BSS) synchronized. All stations shall maintain a local TSF timer. Each mobile host maintains a TSF timer with modulus
264
Timing synchronization is achieved by stations periodically exchanging timing information through beacon frames. In (intra) BSS, the AP sends the TSF information in the beacons. In Independent Basic Service Set (IBSS, ad-hoc), each station competes to send the beacon.
Each station maintains a TSF timer counting in increments of microseconds (μs). Stations adopt a received timing if it is later than the station’s own TSF timer.
All stations in the IBSS adopt a common value, aBeaconPeriod, that defines the length of beacon intervals or periods. This value, established by the station that initiates the IBSS, defines a series of Target Beacon Transmission Times (TBTTs) exactly aBeaconPeriod time units apart. Time zero is defined to be a TBTT.
All stations in the IBSS compete for beacon transmission every aBeaconPeriod time units. This time period is called a beacon period (BP). At the beginning of each BP, there is a beacon generation window consisting of
w+1
[0,w]