Fix band config for SA
Change-Id: I9702403827b5a9f9507ab48b4868a0b3b74118b9
diff --git a/mbtk/mbtk_utils_linux/device_info_generate.c b/mbtk/mbtk_utils_linux/device_info_generate.c
index 0102031..b44ea1d 100755
--- a/mbtk/mbtk_utils_linux/device_info_generate.c
+++ b/mbtk/mbtk_utils_linux/device_info_generate.c
@@ -47,7 +47,7 @@
.band_wcdma = MBTK_BAND_ALL_WCDMA_DEFAULT,
.band_tdlte = MBTK_BAND_ALL_TDLTE_DEFAULT,
.band_fddlte = MBTK_BAND_ALL_FDDLTE_DEFAULT,
- .band_lte_ext = 0
+ .band_lte_ext = MBTK_BAND_ALL_EXT_LTE_DEFAULT
};
static mbtk_device_info_log_t item_log = {
@@ -161,24 +161,28 @@
item_modem.band_wcdma = MBTK_BAND_CN_WCDMA_DEFAULT;
item_modem.band_tdlte = MBTK_BAND_CN_TDLTE_DEFAULT;
item_modem.band_fddlte = MBTK_BAND_CN_FDDLTE_DEFAULT;
+ item_modem.band_lte_ext = MBTK_BAND_CN_EXT_LTE_DEFAULT;
} else if(strcmp(optarg, "eu") == 0) {
item_modem.band_area = MBTK_MODEM_BAND_AREA_EU;
item_modem.band_gsm = MBTK_BAND_EU_GSM_DEFAULT;
item_modem.band_wcdma = MBTK_BAND_EU_WCDMA_DEFAULT;
item_modem.band_tdlte = MBTK_BAND_EU_TDLTE_DEFAULT;
item_modem.band_fddlte = MBTK_BAND_EU_FDDLTE_DEFAULT;
+ item_modem.band_lte_ext = MBTK_BAND_EU_EXT_LTE_DEFAULT;
} else if(strcmp(optarg, "sa") == 0) {
item_modem.band_area = MBTK_MODEM_BAND_AREA_SA;
item_modem.band_gsm = MBTK_BAND_SA_GSM_DEFAULT;
item_modem.band_wcdma = MBTK_BAND_SA_WCDMA_DEFAULT;
item_modem.band_tdlte = MBTK_BAND_SA_TDLTE_DEFAULT;
item_modem.band_fddlte = MBTK_BAND_SA_FDDLTE_DEFAULT;
+ item_modem.band_lte_ext = MBTK_BAND_SA_EXT_LTE_DEFAULT;
} else {
item_modem.band_area = MBTK_MODEM_BAND_AREA_ALL;
item_modem.band_gsm = MBTK_BAND_ALL_GSM_DEFAULT;
item_modem.band_wcdma = MBTK_BAND_ALL_WCDMA_DEFAULT;
item_modem.band_tdlte = MBTK_BAND_ALL_TDLTE_DEFAULT;
item_modem.band_fddlte = MBTK_BAND_ALL_FDDLTE_DEFAULT;
+ item_modem.band_lte_ext = MBTK_BAND_ALL_EXT_LTE_DEFAULT;
printf("Set to default band.\n");
}
break;