diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2012-09-27 07:42:36 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-09-29 20:31:40 +0200 |
commit | c1ad2ac20f4066aacbbb8e6482a10fe64edddbbb (patch) | |
tree | 21035625f6e5d48852565bc5183e3b2d7f1758be /src/common/paging.c | |
parent | 0efca9a1f99462326aea321d1660723c8ff64db1 (diff) |
PCU: Add PCH confirm, raise PCU interface version to 4
The confirm is required, so PCU knows when an IMMEDIATE ASSIGN message has
has been sent on PCH. The PCU will start packet flow after that confirm.
Diffstat (limited to 'src/common/paging.c')
-rw-r--r-- | src/common/paging.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/paging.c b/src/common/paging.c index b71b7bb7..a4514de7 100644 --- a/src/common/paging.c +++ b/src/common/paging.c @@ -41,6 +41,7 @@ #include <osmo-bts/logging.h> #include <osmo-bts/paging.h> #include <osmo-bts/signal.h> +#include <osmo-bts/pcu_if.h> #define MAX_PAGING_BLOCKS_CCCH 9 #define MAX_BS_PA_MFRMS 9 @@ -414,6 +415,8 @@ int paging_gen_msg(struct paging_state *ps, uint8_t *out_buf, struct gsm_time *g /* get message and free record */ memcpy(out_buf, pr[num_pr]->u.imm_ass.msg, GSM_MACBLOCK_LEN); + pcu_tx_pch_data_cnf(gt->fn, pr[num_pr]->u.imm_ass.msg, + GSM_MACBLOCK_LEN); talloc_free(pr[num_pr]); return GSM_MACBLOCK_LEN; } |