MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / PowerManager

Method PowerManager

GSM/PowerManager.cpp:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82PowerManager::PowerManager()
83 : mAveragedT3122(gConfig.getNum("GSM.Radio.PowerManager.TargetT3122"))
84 , mAtten(gConfig.getNum("GSM.Radio.PowerManager.MaxAttenDB"))
85 , mNextSampleIndex(0)
86{
87 // We don't actually set any power here, since the radio may not exist yet.
88 assert(gConfig.getNum("GSM.Radio.PowerManager.NumSamples")<100);
89 bzero(mSamples,sizeof(mSamples));
90 LOG(INFO) << "setting initial power to -" << mAtten << " dB";
91}
92
93
94

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected