Commit 664d9f94 authored by yankuo's avatar yankuo

fix Bug:oxgrf_lib.c and modify config

parent be4e664e
...@@ -589,7 +589,7 @@ int device_init(openair0_device *device, openair0_config_t *openair0_cfg) { ...@@ -589,7 +589,7 @@ int device_init(openair0_device *device, openair0_config_t *openair0_cfg) {
LOG_I(HW, "[oxgrf] device type: IQX%d(Split Mode)\n", model - 2); LOG_I(HW, "[oxgrf] device type: IQX%d(Split Mode)\n", model - 2);
} else if(model == 6000 || model == 7000 || model == 7100) { } else if(model == 6000 || model == 7000 || model == 7100) {
oxgrf->BoardType = IQX7000; oxgrf->BoardType = IQX7000;
shift = 4; shift = 2;
LOG_I(HW, "[oxgrf] device type: IQX%d\n", model); LOG_I(HW, "[oxgrf] device type: IQX%d\n", model);
} else { } else {
oxgrf->BoardType = UNKNOWN; oxgrf->BoardType = UNKNOWN;
......
...@@ -11,7 +11,7 @@ gNBs = ...@@ -11,7 +11,7 @@ gNBs =
// Tracking area code, 0x0000 and 0xfffe are reserved values // Tracking area code, 0x0000 and 0xfffe are reserved values
tracking_area_code = 100; tracking_area_code = 100;
plmn_list = ({ mcc = 466; mnc = 92; mnc_length = 2; snssaiList = ({ sst = 1; sd = 0;}); }); plmn_list = ({ mcc = 466; mnc = 92; mnc_length = 2; snssaiList = ({ sst = 1; }); });
nr_cellid = 12345678L; nr_cellid = 12345678L;
......
...@@ -11,7 +11,7 @@ gNBs = ...@@ -11,7 +11,7 @@ gNBs =
// Tracking area code, 0x0000 and 0xfffe are reserved values // Tracking area code, 0x0000 and 0xfffe are reserved values
tracking_area_code = 100; tracking_area_code = 100;
plmn_list = ({ mcc = 466; mnc = 92; mnc_length = 2; snssaiList = ({ sst = 1; sd = 0; }) }); plmn_list = ({ mcc = 466; mnc = 92; mnc_length = 2; snssaiList = ({ sst = 1; }) });
nr_cellid = 12345678L; nr_cellid = 12345678L;
......
...@@ -11,7 +11,7 @@ gNBs = ...@@ -11,7 +11,7 @@ gNBs =
// Tracking area code, 0x0000 and 0xfffe are reserved values // Tracking area code, 0x0000 and 0xfffe are reserved values
tracking_area_code = 100; tracking_area_code = 100;
plmn_list = ({ mcc = 466; mnc = 92; mnc_length = 2; snssaiList = ({ sst = 1; sd = 0; }); }); plmn_list = ({ mcc = 466; mnc = 92; mnc_length = 2; snssaiList = ({ sst = 1; }); });
nr_cellid = 12345678L; nr_cellid = 12345678L;
...@@ -218,7 +218,7 @@ RUs = ( ...@@ -218,7 +218,7 @@ RUs = (
##beamforming 1x2 matrix: 1 layer x 2 antennas ##beamforming 1x2 matrix: 1 layer x 2 antennas
bf_weights = [0x00007fff, 0x0000]; bf_weights = [0x00007fff, 0x0000];
#clock_src = "internal"; #clock_src = "internal";
sdr_addrs = "dev=pciex:0,auxdac1=1508"; sdr_addrs = "dev=pciex:0,auxdac1=340";
} }
); );
......
...@@ -10,7 +10,7 @@ gNBs = ( ...@@ -10,7 +10,7 @@ gNBs = (
// Tracking area code, 0x0000 and 0xfffe are reserved values // Tracking area code, 0x0000 and 0xfffe are reserved values
tracking_area_code = 100; tracking_area_code = 100;
plmn_list = ({ mcc = 466; mnc = 92; mnc_length = 2; snssaiList = ({ sst = 1; sd = 0; }); }); plmn_list = ({ mcc = 466; mnc = 92; mnc_length = 2; snssaiList = ({ sst = 1; }); });
nr_cellid = 12345678L; nr_cellid = 12345678L;
...@@ -217,7 +217,7 @@ RUs = ( ...@@ -217,7 +217,7 @@ RUs = (
eNB_instances = [0]; eNB_instances = [0];
#beamforming 1x4 matrix: #beamforming 1x4 matrix:
bf_weights = [0x00007fff, 0x0000, 0x0000, 0x0000]; bf_weights = [0x00007fff, 0x0000, 0x0000, 0x0000];
sdr_addrs = "dev=pciex:0,auxdac1=1508"; sdr_addrs = "dev=pciex:0,auxdac1=340";
clock_src = "internal"; clock_src = "internal";
} }
); );
......
...@@ -4,5 +4,5 @@ key = "00112233445566778899aabbccddeeff"; ...@@ -4,5 +4,5 @@ key = "00112233445566778899aabbccddeeff";
opc= "000102030405060708090a0b0c0d0e0f"; opc= "000102030405060708090a0b0c0d0e0f";
dnn= "internet"; dnn= "internet";
nssai_sst=1; nssai_sst=1;
nssai_sd=0; nssai_sd=0xFFFFFF;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment