Searched refs:ARITH_SHIFT (Results 1 – 1 of 1) sorted by relevance
18 #define ARITH_SHIFT 8 macro320 int device_constant = 1 << ARITH_SHIFT; in airtime_link_metric_get()321 int test_frame_len = TEST_FRAME_LEN << ARITH_SHIFT; in airtime_link_metric_get()322 int s_unit = 1 << ARITH_SHIFT; in airtime_link_metric_get()347 err = (fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get()354 estimated_retx = ((1 << (2 * ARITH_SHIFT)) / (s_unit - err)); in airtime_link_metric_get()355 result = (tx_time * estimated_retx) >> (2 * ARITH_SHIFT); in airtime_link_metric_get()