Lines Matching refs:window
684 /* Timer3 marks the end of our ATIM window
685 * a zero length window is not allowed because
728 * ath5k_check_timer_win() - Check if timer B is timer A + window
731 * @window: difference between a and b
734 * This helper function checks if timer B is timer A + window and covers
741 ath5k_check_timer_win(int a, int b, int window, int intval)
744 * 1.) usually B should be A + window
749 if ((b - a == window) || /* 1.) */
750 (a - b == intval - window) || /* 2.) */
751 ((a | 0x10000) - b == intval - window) || /* 3.) */
752 ((b | 0x10000) - a == window)) /* 4.) */
778 * that they define a time "window". When the TSF jumps between two timers
781 * interval. This causes the window to get larger, until the TSF wraps
784 * divisor of the size of the timers (16 bit), an unwanted "window" between
787 * This is especially important with the ATIM window, because during
788 * the ATIM window only ATIM frames and no data frames are allowed to be
791 * for some time and then drop down again. A wrong window on the DMA beacon
805 /* NOTE: SWBA is different. Having a wrong window there does not