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

Function getPreferredA5Algorithm

Control/TMSITable.cpp:919–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

917
918
919unsigned getPreferredA5Algorithm(unsigned A5Bits)
920{
921 if (A5Bits&1) return 3;
922 // if (A5Bits&2) return 2; not supported
923 if (A5Bits&4) return 1;
924 return 0;
925}
926
927int TMSITable::tmsiTabGetPreferredA5Algorithm(const char* IMSI)
928{

Callers 2

machineRunStateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected