diff options
author | Philippe De Swert <philippe.deswert@digitalistgroup.com> | 2019-02-15 14:11:41 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2019-02-17 21:18:54 -0600 |
commit | 45efc2354ed0d93d7ffba35beb3bb76e70e49e0d (patch) | |
tree | f1ad192e531448d80b70563a2e2ef331f58f5234 /src | |
parent | 34225d268160fba9690b04b4ebb17f7fabd98eae (diff) | |
download | ofono-45efc2354ed0d93d7ffba35beb3bb76e70e49e0d.tar.gz |
common: Add new NB-IoT technologies
Add lte-cat-m1 and lte-cat-nb1 technology identifiers.
Diffstat (limited to 'src')
-rw-r--r-- | src/common.c | 4 | ||||
-rw-r--r-- | src/common.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c index ea7842cc..4dcbc835 100644 --- a/src/common.c +++ b/src/common.c @@ -697,6 +697,10 @@ const char *registration_tech_to_string(int tech) return "hspa"; case ACCESS_TECHNOLOGY_EUTRAN: return "lte"; + case ACCESS_TECHNOLOGY_NB_IOT_M1: + return "lte-cat-m1"; + case ACCESS_TECHNOLOGY_NB_IOT_NB1: + return "lte-cat-nb1"; default: return ""; } diff --git a/src/common.h b/src/common.h index dc618942..8fef4432 100644 --- a/src/common.h +++ b/src/common.h @@ -33,6 +33,8 @@ enum access_technology { ACCESS_TECHNOLOGY_UTRAN_HSUPA = 5, ACCESS_TECHNOLOGY_UTRAN_HSDPA_HSUPA = 6, ACCESS_TECHNOLOGY_EUTRAN = 7, + ACCESS_TECHNOLOGY_NB_IOT_M1 = 8, + ACCESS_TECHNOLOGY_NB_IOT_NB1 = 9, }; /* 27.007 Section 7.2 <stat> */ |