mirror of git://git.sysmocom.de/ofono
include: No need for OFONO_FLAG* defines
This commit is contained in:
parent
e1cbc5c5ea
commit
b899f4aca2
|
@ -29,19 +29,12 @@ extern "C" {
|
||||||
#include <ofono/types.h>
|
#include <ofono/types.h>
|
||||||
|
|
||||||
enum ofono_radio_access_mode {
|
enum ofono_radio_access_mode {
|
||||||
OFONO_RADIO_ACCESS_MODE_ANY = 0,
|
OFONO_RADIO_ACCESS_MODE_ANY = 0x0,
|
||||||
OFONO_RADIO_ACCESS_MODE_GSM = 1,
|
OFONO_RADIO_ACCESS_MODE_GSM = 0x1,
|
||||||
OFONO_RADIO_ACCESS_MODE_UMTS = 2,
|
OFONO_RADIO_ACCESS_MODE_UMTS = 0x2,
|
||||||
OFONO_RADIO_ACCESS_MODE_LTE = 3,
|
OFONO_RADIO_ACCESS_MODE_LTE = 0x4,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define OFONO_FLAG_RADIO_ACCESS_MODE_GSM \
|
|
||||||
(1 << (OFONO_RADIO_ACCESS_MODE_GSM - 1))
|
|
||||||
#define OFONO_FLAG_RADIO_ACCESS_MODE_UMTS \
|
|
||||||
(1 << (OFONO_RADIO_ACCESS_MODE_UMTS - 1))
|
|
||||||
#define OFONO_FLAG_RADIO_ACCESS_MODE_LTE \
|
|
||||||
(1 << (OFONO_RADIO_ACCESS_MODE_LTE - 1))
|
|
||||||
|
|
||||||
enum ofono_radio_band_gsm {
|
enum ofono_radio_band_gsm {
|
||||||
OFONO_RADIO_BAND_GSM_ANY,
|
OFONO_RADIO_BAND_GSM_ANY,
|
||||||
OFONO_RADIO_BAND_GSM_850,
|
OFONO_RADIO_BAND_GSM_850,
|
||||||
|
|
Loading…
Reference in New Issue