Searched refs:ARITH_SHIFT (Results 1 – 1 of 1) sorted by relevance
16 #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()351 err = (fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get()358 estimated_retx = ((1 << (2 * ARITH_SHIFT)) / (s_unit - err)); in airtime_link_metric_get()359 result = ((u64)tx_time * estimated_retx) >> (2 * ARITH_SHIFT); in airtime_link_metric_get()