*/
#define TAPI_NETWORK_LTE_NEIGHBORING_CELL_LIST_MAX 24
+/**
+ * @brief Definition for the maximum New Radio neighboring cell list.
+ * @since_tizen 6.0
+ */
+#define TAPI_NETWORK_NR_NEIGHBORING_CELL_LIST_MAX 24
+
/* This value defines the network mode */
/**
* @brief Definition for the "set network mode to automatic" value.
int base_station_longitude; /**< Longitude of the current base station */
} TelNetworkCdmaCellInfo_t;
+/**
+ * @brief The structure type for New Radio cell info.
+ * @since_tizen 6.0
+ */
+typedef struct {
+ int cell_id; /**< Cell ID (@c -1 indicates that cell ID information is not present) */
+ int lac; /**< Location area code (this field is ignored when @a cell_id is not present) */
+ int pcid; /**< Physical cell id */
+ int nrarfcn; /**< New Radio Absolute Radio Frequency Channel Number */
+ int tac; /**< Tracking area code */
+ int rssi; /**< RSSI in dBm(signed) */
+} TelNetworkNrCellInfo_t;
+
/**
* @brief The structure type for serving cell info.
* @since_tizen 2.3
TelNetworkUmtsCellInfo_t umts; /**< UMTS cell info */
TelNetworkLteCellInfo_t lte; /**< LTE cell info */
TelNetworkCdmaCellInfo_t cdma; /**< CDMA cell info */
+ TelNetworkNrCellInfo_t nr; /**< New Radio cell info */
} cell;
} TelNetworkServingCellInfo_t;
TelNetworkUmtsCellInfo_t umts_list[TAPI_NETWORK_UMTS_NEIGHBORING_CELL_LIST_MAX];/**< UMTS cell info list */
int lte_list_count;/**<LTE cell info list count*/
TelNetworkLteCellInfo_t lte_list[TAPI_NETWORK_LTE_NEIGHBORING_CELL_LIST_MAX];/**<LTE cell info list*/
+ int nr_list_count;/**<New Radio cell info list count*/
+ TelNetworkNrCellInfo_t nr_list[TAPI_NETWORK_NR_NEIGHBORING_CELL_LIST_MAX];/**<New Radio cell info list*/
} TelNetworkNeighboringCellInfo_t;
/**
list.serving.cell.lte.earfcn = v2;
list.serving.cell.lte.tac = v3;
list.serving.cell.lte.rssi = v4;
+ } else if (!g_strcmp0(key, "n_serving")) {
+ g_variant_get(value, "(iiiii)", &v0, &v1, &v2, &v3, &v4);
+ list.serving.cell.nr.cell_id = v0;
+ list.serving.cell.nr.lac = v1;
+ list.serving.cell.nr.nrarfcn= v2;
+ list.serving.cell.nr.tac = v3;
+ list.serving.cell.nr.rssi = v4;
} else if (!g_strcmp0(key, "c_serving")) {
g_variant_get(value, "(uuuuii)", &v0, &v1, &v2, &v3, &v4, &v5);
list.serving.cell.cdma.system_id = v0;