Home
last modified time | relevance | path

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

/openbmc/linux/net/mac80211/
H A Dmesh_hwmp.c16 #define ARITH_SHIFT 8 macro
327 int device_constant = 1 << ARITH_SHIFT; in airtime_link_metric_get()
328 int test_frame_len = TEST_FRAME_LEN << ARITH_SHIFT; in airtime_link_metric_get()
329 int s_unit = 1 << ARITH_SHIFT; in airtime_link_metric_get()
356 err = (fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get()
363 estimated_retx = ((1 << (2 * ARITH_SHIFT)) / (s_unit - err)); in airtime_link_metric_get()
364 result = ((u64)tx_time * estimated_retx) >> (2 * ARITH_SHIFT); in airtime_link_metric_get()