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

Method getCS

GPRS/FEC.cpp:473–482  ·  view source on GitHub ↗

Determine CS from the qbits.

Source from the content-addressed store, hash-verified

471
472// Determine CS from the qbits.
473ChannelCodingType GprsDecoder::getCS()
474{
475 // TODO: Make this more robust.
476 // Currently we only support CS1 or CS4, so just look at the first bit.
477 if (qbits[0]) {
478 return ChannelCodingCS1;
479 } else {
480 return ChannelCodingCS4;
481 }
482}
483
484BitVector *GprsDecoder::getResult()
485{

Callers 2

send1DataFrameMethod · 0.80
decodeLowSideFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected