mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-10-24 16:43:58 +00:00
alexander's patch #2: A few typos in comments
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4460 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -127,7 +127,7 @@ void DCCHDispatcher(GSM::LogicalChannel *DCCH);
|
||||
@param sameLAI True if the mobileID is known to have come from this LAI.
|
||||
@param mobID A mobile ID, that may be modified by the function.
|
||||
@param LCH The Dm channel to the mobile.
|
||||
@return A TMSI value from the TMSITable or zero if non found.
|
||||
@return A TMSI value from the TMSITable or zero if not found.
|
||||
*/
|
||||
unsigned resolveIMSI(bool sameLAI, GSM::L3MobileIdentity& mobID, GSM::LogicalChannel* LCH);
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ void Control::LocationUpdatingController(const L3LocationUpdatingRequest* lur, L
|
||||
// registration with the Asterisk server.
|
||||
|
||||
// We also allocate a new TMSI for every handset we encounter.
|
||||
// If the handset is allow to register it may receive a TMSI reassignment.
|
||||
// If the handset is allowed to register it may receive a TMSI reassignment.
|
||||
|
||||
// Resolve an IMSI and see if there's a pre-existing IMSI-TMSI mapping.
|
||||
// This operation will throw an exception, caught in a higher scope,
|
||||
|
||||
@@ -246,7 +246,7 @@ unsigned TMSITable::nextL3TI(const char* IMSI)
|
||||
// FIXME -- This should be a single atomic operation.
|
||||
unsigned l3ti;
|
||||
if (!sqlite3_single_lookup(mDB,"TMSI_TABLE","IMSI",IMSI,"L3TI",l3ti)) {
|
||||
LOG(ERR) << "cannot read L3TI from TMSI_TABLE, using randon L3TI";
|
||||
LOG(ERR) << "cannot read L3TI from TMSI_TABLE, using random L3TI";
|
||||
return random() % 8;
|
||||
}
|
||||
// Note that TI=7 is a reserved value, so value values are 0-6. See GSM 04.07 11.2.3.1.3.
|
||||
|
||||
Reference in New Issue
Block a user