Home
last modified time | relevance | path

Searched refs:RATE_MAX_WINDOW (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945-rs.c73 #define RATE_MAX_WINDOW 62 macro
264 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()
H A D4965-rs.c31 #define RATE_MAX_WINDOW 62 /* # tx in history win */ macro
408 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()