Searched refs:lqi32 (Results 1 – 1 of 1) sorted by relevance
141 uint32_t lqi32 = 0; in b91_convert_rssi_to_lqi() local149 lqi32 = B91_RSSI_TO_LQI_SCALE * (rssi - B91_RSSI_TO_LQI_MIN); in b91_convert_rssi_to_lqi()152 if (lqi32 > 0xFF) { in b91_convert_rssi_to_lqi()153 lqi32 = 0xFF; in b91_convert_rssi_to_lqi()156 return (uint8_t)lqi32; in b91_convert_rssi_to_lqi()