summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilippe De Swert <philippe.deswert@digitalistgroup.com>2019-02-15 14:11:41 +0200
committerDenis Kenzior <denkenz@gmail.com>2019-02-17 21:18:54 -0600
commit45efc2354ed0d93d7ffba35beb3bb76e70e49e0d (patch)
treef1ad192e531448d80b70563a2e2ef331f58f5234 /src
parent34225d268160fba9690b04b4ebb17f7fabd98eae (diff)
downloadofono-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.c4
-rw-r--r--src/common.h2
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> */