summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsom <somashekhar.puttagangaiah@intel.com>2022-11-02 11:34:23 +0530
committerAleksander Morgado <aleksander@aleksander.es>2023-02-17 10:43:20 +0000
commite8d63c1743e80e2da7647d79c41d7f0a7253ba6f (patch)
tree5e740123dc61c4a8483030b7791bc87e97e31447 /include
parentfe7008e414969db60b86491b263bf39bf055823b (diff)
downloadModemManager-e8d63c1743e80e2da7647d79c41d7f0a7253ba6f.tar.gz
modem-cellinfo: adding bandwidth and serving cell type
adding bandwidth information in mm-dbus interface for the serving cell. In serving cell, the details on whether the pcell/scell are from MCS or SCG is also updated. Co-author: Shilpa Shivakumar
Diffstat (limited to 'include')
-rw-r--r--include/ModemManager-enums.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h
index 914a820c1..240c13965 100644
--- a/include/ModemManager-enums.h
+++ b/include/ModemManager-enums.h
@@ -1924,4 +1924,29 @@ typedef enum { /*< underscore_name=mm_bearer_profile_source >*/
MM_BEARER_PROFILE_SOURCE_DEVICE = 5,
} MMBearerProfileSource;
+/*****************************************************************************/
+/* 'RF' enums */
+
+/**
+ * MMServingCellType:
+ * @MM_SERVING_CELL_TYPE_UNKNOWN: Unknown.
+ * @MM_SERVING_CELL_TYPE_PCELL: In LTE CA, this refers to the primary cell. In ENDC case, this is the primary cell of MCS. In 5G SA, this refers to primary cell of NR.
+ * @MM_SERVING_CELL_TYPE_SCELL: In LTE CA, this refers to the secondary cell. In ENDC case, this is the secondary cell of MCS. In 5G SA, this refers to secondary cell of NR.
+ * @MM_SERVING_CELL_TYPE_PSCELL: Refers to primary cell of secondary cell group (SCG).
+ * @MM_SERVING_CELL_TYPE_SSCELL: Refers to secondary cell of secondary cell group (SCG).
+ * @MM_SERVING_CELL_TYPE_INVALID: Indicates that the radio is off, all other values are invalid.
+ *
+ * Indicates the frequency information provided belongs to which serving cell.
+ *
+ * Since: 1.22
+ */
+typedef enum { /*< underscore_name=mm_serving_cell_type >*/
+ MM_SERVING_CELL_TYPE_UNKNOWN = 0,
+ MM_SERVING_CELL_TYPE_PCELL = 1,
+ MM_SERVING_CELL_TYPE_SCELL = 2,
+ MM_SERVING_CELL_TYPE_PSCELL = 3,
+ MM_SERVING_CELL_TYPE_SSCELL = 4,
+ MM_SERVING_CELL_TYPE_INVALID = 0xFFFFFFFF
+} MMServingCellType;
+
#endif /* _MODEMMANAGER_ENUMS_H_ */