mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-10 08:55:48 +00:00
GPRS: enhance msgb headroom/tailroom for SGSN (GMM)
In the GPRS NS protocol stack, the amount of NS/BSSGP headers like MS RADIO CAPA INFO can be quite long. In order to fit the full user message and those headers, we have to enlarge the head/tailroom of the msgb allocations.
This commit is contained in:
@@ -13,8 +13,8 @@ struct gsm_network;
|
|||||||
struct gsm_trans;
|
struct gsm_trans;
|
||||||
struct gsm_subscriber_connection;
|
struct gsm_subscriber_connection;
|
||||||
|
|
||||||
#define GSM48_ALLOC_SIZE 1024
|
#define GSM48_ALLOC_SIZE 2048
|
||||||
#define GSM48_ALLOC_HEADROOM 128
|
#define GSM48_ALLOC_HEADROOM 256
|
||||||
|
|
||||||
static inline struct msgb *gsm48_msgb_alloc(void)
|
static inline struct msgb *gsm48_msgb_alloc(void)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user