osmo-bts/include
Philipp Maier 339b9329ff l1sap: fix rach reason (ra) parsing
The ra parameter indicates the reason for the received rach
request. osmo-bts uses the ra parameter to determine if the
received rach request is packet access related. If yes,
osmo-bts will forward the request to the PCU.

In order to determine if the ra is packet related or not,
the higher 4 bits must be equel to 0x7 and at least one of
the lower 4 bits must be zero.

The current method lacks checking of the lower 4 bits. It
would also accept 0b01111111, which is reserved for future
use. This commit extends the check to take also the last
4 bits into accound.

See also: 3GPP TS 04.08, Table 9.9

Change-Id: I5eb88c42a91e158d9bfa4105ec9636035baf8959
2017-03-15 13:37:55 +00:00
..
openbsc re-work original osmo-bts with support for sysmocom femtobts 2011-06-27 11:25:35 +02:00
osmo-bts l1sap: fix rach reason (ra) parsing 2017-03-15 13:37:55 +00:00
Makefile.am misc: Package our version of the gsm_data.h to make the code compilable 2012-12-22 16:02:05 +01:00