Searched refs:RATE_MAX_WINDOW (Results 1 – 2 of 2) sorted by relevance
73 #define RATE_MAX_WINDOW 62 macro264 if (win->counter >= RATE_MAX_WINDOW) { in il3945_collect_tx_data()267 win->counter = RATE_MAX_WINDOW - 1; in il3945_collect_tx_data()269 if (win->data & (1ULL << (RATE_MAX_WINDOW - 1))) { in il3945_collect_tx_data()270 win->data &= ~(1ULL << (RATE_MAX_WINDOW - 1)); in il3945_collect_tx_data()
31 #define RATE_MAX_WINDOW 62 /* # tx in history win */ macro408 static const u64 mask = (((u64) 1) << (RATE_MAX_WINDOW - 1)); in il4965_rs_collect_tx_data()429 if (win->counter >= RATE_MAX_WINDOW) { in il4965_rs_collect_tx_data()432 win->counter = RATE_MAX_WINDOW - 1; in il4965_rs_collect_tx_data()