Searched refs:crit (Results 1 – 1 of 1) sorted by relevance
948 #define RSSI_FACT(crit) (((crit) >> 5) & (uint8_t)BIT_MASK(2)) argument949 #define RECV_WIN_FACT(crit) (((crit) >> 3) & (uint8_t)BIT_MASK(2)) argument950 #define MIN_QUEUE_SIZE_LOG(crit) ((crit) & (uint8_t)BIT_MASK(3)) argument951 #define MIN_QUEUE_SIZE(crit) ((uint32_t)BIT(MIN_QUEUE_SIZE_LOG(crit))) argument953 static int32_t offer_delay(struct bt_mesh_friend *frnd, int8_t rssi, uint8_t crit) in offer_delay() argument962 fact[RECV_WIN_FACT(crit)], RECV_WIN, fact[RSSI_FACT(crit)], rssi); in offer_delay()965 delay = (int32_t)fact[RECV_WIN_FACT(crit)] * RECV_WIN; in offer_delay()966 delay -= (int32_t)fact[RSSI_FACT(crit)] * rssi; in offer_delay()