mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-02 04:43:16 +00:00
Sylvian's patch #1: Changing SETTSC into SETBSIC in the transceiver interfaceInbox
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4628 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -438,6 +438,18 @@ bool ::ARFCNManager::setTSC(unsigned TSC)
|
||||
}
|
||||
|
||||
|
||||
bool ::ARFCNManager::setBSIC(unsigned BSIC)
|
||||
{
|
||||
assert(BSIC < 64);
|
||||
int status = sendCommand("SETBSIC",BSIC);
|
||||
if (status!=0) {
|
||||
LOG(ALERT) << "SETBSIC failed with status " << status;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool ::ARFCNManager::setSlot(unsigned TN, unsigned combination)
|
||||
{
|
||||
assert(TN<8);
|
||||
|
||||
@@ -209,6 +209,13 @@ class ARFCNManager {
|
||||
*/
|
||||
bool setTSC(unsigned TSC);
|
||||
|
||||
/**
|
||||
Set the BSIC (including setting TSC for all slots on the ARFCN).
|
||||
@param BSIC BSIC to use.
|
||||
@return true on success.
|
||||
*/
|
||||
bool setBSIC(unsigned BSIC);
|
||||
|
||||
/**
|
||||
Describe the channel combination on a given slot.
|
||||
@param TN The timeslot number 0..7.
|
||||
|
||||
@@ -364,8 +364,14 @@ int main(int argc, char *argv[])
|
||||
radio->tune(ARFCN);
|
||||
}
|
||||
|
||||
// Set TSC same as BCC everywhere.
|
||||
C0radio->setTSC(gBTS.BCC());
|
||||
// Send either TSC or full BSIC depending on radio need
|
||||
if (gConfig.getBool("GSM.Radio.NeedBSIC")) {
|
||||
// Send BSIC to
|
||||
C0radio->setBSIC(gBTS.BSIC());
|
||||
} else {
|
||||
// Set TSC same as BCC everywhere.
|
||||
C0radio->setTSC(gBTS.BCC());
|
||||
}
|
||||
|
||||
// Set maximum expected delay spread.
|
||||
C0radio->setMaxDelay(gConfig.getNum("GSM.Radio.MaxExpectedDelaySpread"));
|
||||
|
||||
@@ -81,6 +81,7 @@ INSERT INTO "CONFIG" VALUES('GSM.Radio.PowerManager.SamplePeriod','2000',0,0,'Sa
|
||||
INSERT INTO "CONFIG" VALUES('GSM.Radio.PowerManager.TargetT3122','5000',0,0,'Target value for T3122, the random access hold-off timer, for the power control loop.');
|
||||
INSERT INTO "CONFIG" VALUES('GSM.Radio.RxGain','47',1,0,'Receiver gain setting in dB. Ideal value is dictacted by the hardware. This database parameter is static but the receiver gain can be modified in real time with the CLI rxgain command. Static.');
|
||||
INSERT INTO "CONFIG" VALUES('GSM.Radio.RSSITarget','-50',0,0,'Target uplink RSSI for MS power control loop, in dB wrt to A/D full scale. Should be 6-10 dB above the noise floor.');
|
||||
INSERT INTO "CONFIG" VALUES('GSM.Radio.NeedBSIC','0',0,0,'Does the Radio type require the full BSIC');
|
||||
INSERT INTO "CONFIG" VALUES('GSM.Timer.T3113','10000',0,0,'Paging timer T3113 in ms. This is the timeout for a handset to respond to a paging request. This should usually be the same as SIP.Timer.B in your VoIP network.');
|
||||
INSERT INTO "CONFIG" VALUES('GSM.Timer.T3122Max','255000',0,0,'Maximum allowed value for T3122, the RACH holdoff timer, in milliseconds.');
|
||||
INSERT INTO "CONFIG" VALUES('GSM.Timer.T3122Min','2000',0,0,'Minimum allowed value for T3122, the RACH holdoff timer, in milliseconds.');
|
||||
|
||||
Reference in New Issue
Block a user