Commit d7961d2f authored by Navid Nikaein's avatar Navid Nikaein

change rrh_gw_config naming in enb config file

parent 8e04f9f5
......@@ -380,3 +380,21 @@ done
}
# get from http://www.linuxjournal.com/content/validating-ip-address-bash-script
validate_ip() {
local ip=$1
local stat=1
if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
OIFS=$IFS
IFS='.'
ip=($ip)
IFS=$OIFS
[[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
&& ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
stat=$?
fi
return $stat
}
\ No newline at end of file
......@@ -176,7 +176,7 @@
#define ENB_CONFIG_STRING_RRH_GW_REMOTE_ADDRESS "remote_address"
#define ENB_CONFIG_STRING_RRH_GW_LOCAL_PORT "local_port"
#define ENB_CONFIG_STRING_RRH_GW_REMOTE_PORT "remote_port"
#define ENB_CONFIG_STRING_RRH_GW_ACTIVE "active"
#define ENB_CONFIG_STRING_RRH_GW_ACTIVE "rrh_gw_active"
#define ENB_CONFIG_STRING_RRH_GW_TRANSPORT_PREFERENCE "tr_preference"
#define ENB_CONFIG_STRING_RRH_GW_RF_TARGET_PREFERENCE "rf_preference"
#define ENB_CONFIG_STRING_RRH_GW_IQ_TXSHIFT "iq_txshift"
......
......@@ -149,7 +149,7 @@ rrh_gw_config = (
local_address = "d4:be:d9:22:0a:ac";
local_port = 50000; #for raw option local port must be the same to remote
remote_port = 50000;
active = "yes";
rrh_gw_active = "yes";
tr_preference = "raw";
rf_preference = "lmssdr";
iq_txshift = 0;
......
......@@ -147,7 +147,7 @@ rrh_gw_config = (
local_address = "98:90:96:df:66:07";
local_port = 50000; #for raw option local port must be the same to remote
remote_port = 50000;
active = "yes";
rrh_gw_active = "yes";
tr_preference = "raw";
rf_preference = "usrp_b200";
iq_txshift = 5;
......
......@@ -149,7 +149,7 @@ rrh_gw_config = (
local_address = "d4:be:d9:22:0a:ac";
local_port = 50000; #for raw option local port must be the same to remote
remote_port = 50000;
active = "yes";
rrh_gw_active = "yes";
tr_preference = "raw";
rf_preference = "lmssdr";
iq_txshift = 0;
......
......@@ -149,7 +149,7 @@ rrh_gw_config = (
local_address = "98:90:96:df:66:07";
local_port = 50000; #for raw option local port must be the same to remote
remote_port = 50000;
active = "yes";
rrh_gw_active = "yes";
tr_preference = "raw";
rf_preference = "usrp_b200";
iq_txshift = 5;
......
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