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

Function decodeUSF

GPRS/FEC.cpp:49–54  ·  view source on GitHub ↗

Do the reverse encoding on usf, and return the reversed usf, ie, the returned usf is byte-swapped.

Source from the content-addressed store, hash-verified

47// Do the reverse encoding on usf, and return the reversed usf,
48// ie, the returned usf is byte-swapped.
49static int decodeUSF(SoftVector &mC)
50{
51 // TODO: Make this more robust.
52 // Update: No dont bother, should always be zero anyway.
53 return (mC.bit(0)<<2) | (mC.bit(6)<<1) | mC.bit(4);
54}
55
56ARFCNManager *PDCHCommon::getRadio() { return mchParent->mchOldFec->getRadio(); }
57unsigned PDCHCommon::ARFCN() { return mchParent->mchOldFec->ARFCN(); }

Callers 2

decodeCS4Method · 0.85
writeLowSideRxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected