libosmogsm 1.10.0.9-9764
Osmocom GSM library
|
Go to the source code of this file.
Data Structures | |
struct | rxlev_stats |
Macros | |
#define | NUM_RXLEVS 32 |
#define | NUM_ARFCNS 1024 |
Functions | |
void | rxlev_stat_input (struct rxlev_stats *st, uint16_t arfcn, uint8_t rxlev) |
int16_t | rxlev_stat_get_next (const struct rxlev_stats *st, uint8_t rxlev, int16_t arfcn) |
void | rxlev_stat_reset (struct rxlev_stats *st) |
void | rxlev_stat_dump (const struct rxlev_stats *st) |
#define NUM_ARFCNS 1024 |
#define NUM_RXLEVS 32 |
void rxlev_stat_dump | ( | const struct rxlev_stats * | st | ) |
References arfcn, NUM_RXLEVS, and rxlev_stat_get_next().
int16_t rxlev_stat_get_next | ( | const struct rxlev_stats * | st, |
uint8_t | rxlev, | ||
int16_t | arfcn | ||
) |
References arfcn, bitvec_find_bit_pos(), bitvec::data, bitvec::data_len, NUM_ARFCNS, NUM_RXLEVS, ONE, and rxlev_stats::rxlev_buckets.
Referenced by rxlev_stat_dump().
void rxlev_stat_input | ( | struct rxlev_stats * | st, |
uint16_t | arfcn, | ||
uint8_t | rxlev | ||
) |
References arfcn, bitvec_set_bit_pos(), bitvec::data, bitvec::data_len, NUM_ARFCNS, NUM_RXLEVS, ONE, and rxlev_stats::rxlev_buckets.
void rxlev_stat_reset | ( | struct rxlev_stats * | st | ) |