Searched refs:ARITH_SHIFT (Results 1 – 1 of 1) sorted by relevance
18 #define ARITH_SHIFT 8 macro322 int device_constant = 1 << ARITH_SHIFT; in airtime_link_metric_get()323 int test_frame_len = TEST_FRAME_LEN << ARITH_SHIFT; in airtime_link_metric_get()324 int s_unit = 1 << ARITH_SHIFT; in airtime_link_metric_get()337 err = (sta->mesh->fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get()343 estimated_retx = ((1 << (2 * ARITH_SHIFT)) / (s_unit - err)); in airtime_link_metric_get()344 result = (tx_time * estimated_retx) >> (2 * ARITH_SHIFT) ; in airtime_link_metric_get()