From 247ec7acf3a2f73ed203565af1cfd604fc1ebdac Mon Sep 17 00:00:00 2001 From: Andreas.Eversberg Date: Sat, 12 Jun 2010 16:16:54 +0000 Subject: Radio ressources now has functions for release of radio link. The "BA range" is used for cell re-selection. Due to layer 1 issues, the process gets stuck very often or looses synchronization. After location update, I can now make a call via VTY on SDCCH: Call control sends SETUP request after requesting an MM connection. My phone on the network side rang!! Call control fails and requires further debugging... --- src/host/layer23/include/osmocom/gsm48_rr.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/host/layer23/include/osmocom/gsm48_rr.h') diff --git a/src/host/layer23/include/osmocom/gsm48_rr.h b/src/host/layer23/include/osmocom/gsm48_rr.h index 88f44f1..dd87ed0 100644 --- a/src/host/layer23/include/osmocom/gsm48_rr.h +++ b/src/host/layer23/include/osmocom/gsm48_rr.h @@ -53,6 +53,7 @@ struct gsm48_rr_hdr { #define GSM48_RR_ST_IDLE 0 #define GSM48_RR_ST_CONN_PEND 1 #define GSM48_RR_ST_DEDICATED 2 +#define GSM48_RR_ST_REL_PEND 3 /* channel description */ struct gsm48_rr_cd { @@ -96,6 +97,8 @@ struct gsm48_rrlayer { struct llist_head downqueue; /* timers */ + struct timer_list t_rel_wait; /* wait for L2 to transmit UA */ + struct timer_list t3110; struct timer_list t3122; struct timer_list t3124; struct timer_list t3126; @@ -131,6 +134,10 @@ struct gsm48_rrlayer { /* measurements */ struct gsm48_rr_meas meas; + + /* BA range */ + uint8_t ba_ranges; + uint32_t ba_range[16]; }; const char *get_rr_name(int value); @@ -144,5 +151,6 @@ int gsm48_decode_lai(struct gsm48_loc_area_id *lai, uint16_t *mcc, uint16_t *mnc, uint16_t *lac); int gsm48_rr_enc_cm2(struct osmocom_ms *ms, struct gsm48_classmark2 *cm); int gsm48_rr_tx_rand_acc(struct osmocom_ms *ms, struct msgb *msg); +int gsm48_rr_los(struct osmocom_ms *ms); #endif /* _GSM48_RR_H */ -- cgit v1.2.3-55-g7522