Go back –> ath5k kerneldoc
If you see nothing its because there is no kdoc yet for this file.
ath5k_beacon_update_timers - update beacon timers
void ath5k_beacon_update_timers (struct ath5k_softc * sc, u64 bc_tsf)Arguments
- sc
- struct ath5k_softc pointer we are operating on
- bc_tsf
- the timestamp of the beacon. 0 to reset the TSF. -1 to perform a beacon timer update based on the current HW TSF.
Description
Calculate the next target beacon transmit time (TBTT) based on the timestamp of a received beacon or the current local hardware TSF and write it to the beacon timer registers.This is called in a variety of situations, e.g. when a beacon is received, when a TSF update has been detected, but also when an new IBSS is created or when we otherwise know we have to update the timers, but we keep it in this function to have it all together in one place.
ath5k_beacon_config - Configure the beacon queues and interrupts
void ath5k_beacon_config (struct ath5k_softc * sc)Arguments
- sc
- struct ath5k_softc pointer we are operating on
Description
In IBSS mode we use a self-linked tx descriptor if possible. We enable SWBA interrupts to detect TSF updates only.