Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/
Dfriend.c948 #define RSSI_FACT(crit) (((crit) >> 5) & (uint8_t)BIT_MASK(2)) argument
949 #define RECV_WIN_FACT(crit) (((crit) >> 3) & (uint8_t)BIT_MASK(2)) argument
950 #define MIN_QUEUE_SIZE_LOG(crit) ((crit) & (uint8_t)BIT_MASK(3)) argument
951 #define MIN_QUEUE_SIZE(crit) ((uint32_t)BIT(MIN_QUEUE_SIZE_LOG(crit))) argument
953 static int32_t offer_delay(struct bt_mesh_friend *frnd, int8_t rssi, uint8_t crit) in offer_delay() argument
962 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()