Home
last modified time | relevance | path

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

/linux-4.1.27/net/mac80211/
Dmesh_hwmp.c18 #define ARITH_SHIFT 8 macro
329 int device_constant = 1 << ARITH_SHIFT; in airtime_link_metric_get()
330 int test_frame_len = TEST_FRAME_LEN << ARITH_SHIFT; in airtime_link_metric_get()
331 int s_unit = 1 << ARITH_SHIFT; in airtime_link_metric_get()
344 err = (sta->fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get()
350 estimated_retx = ((1 << (2 * ARITH_SHIFT)) / (s_unit - err)); in airtime_link_metric_get()
351 result = (tx_time * estimated_retx) >> (2 * ARITH_SHIFT) ; in airtime_link_metric_get()