Commit c64f188d authored by Fang-WANG's avatar Fang-WANG

set txgain

parent 1ce2154d
......@@ -465,6 +465,7 @@ void nwdaf_app::handler_polling_get_information() {
if (service_bad_counter > nwdaf_cfg.app.SERVICE_BAD_TIME_THRESHOLD)
{
set_gain_from_gNB("\"message\": \"rf\",\"tx_gain\":90");
gnb_gains_txgain = 90;
Logger::nwdaf_app().info("service_bad_counter [%d] service_bad_time_threshold [%d] set txgain 90", service_bad_counter, nwdaf_cfg.app.SERVICE_BAD_TIME_THRESHOLD);
service_bad_counter=0;
}
......@@ -482,6 +483,7 @@ void nwdaf_app::handler_polling_get_information() {
if (service_no_counter > nwdaf_cfg.app.SERVICE_NO_TIME_THRESHOLD)
{
set_gain_from_gNB("\"message\": \"rf\",\"tx_gain\":75");
gnb_gains_txgain = 75;
Logger::nwdaf_app().info("service_no_counter [%d] service_no_time_threshold [%d] set txgain 75", service_no_counter, nwdaf_cfg.app.SERVICE_NO_TIME_THRESHOLD);
service_no_counter=0;
service_mode = false;
......
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