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

Function channelNeededCode

GSM/GSML3RRMessages.cpp:196–205  ·  view source on GitHub ↗

This is a local function to map the GSM::ChannelType enum to one of the codes from GMS 04.08 10.5.2.8. */

Source from the content-addressed store, hash-verified

194to one of the codes from GMS 04.08 10.5.2.8.
195*/
196unsigned channelNeededCode(ChannelType wType)
197{
198 switch (wType) {
199 case AnyDCCHType: return 0;
200 case SDCCHType: return 1;
201 case TCHFType: return 2;
202 case AnyTCHType: return 3;
203 default: assert(0);
204 }
205}
206
207
208

Callers 1

writeBodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected