summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/gsm48_rr.h
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-06-12 18:16:54 +0200
committerAndreas.Eversberg2010-06-12 18:16:54 +0200
commit247ec7acf3a2f73ed203565af1cfd604fc1ebdac (patch)
treeb5316d1ab3b24fd20dc0c0d459bf2e9f40e7b09e /src/host/layer23/include/osmocom/gsm48_rr.h
parentFixed CM SERVICE REQUEST message. (diff)
downloadosmocom-247ec7acf3a2f73ed203565af1cfd604fc1ebdac.tar.gz
osmocom-247ec7acf3a2f73ed203565af1cfd604fc1ebdac.tar.xz
osmocom-247ec7acf3a2f73ed203565af1cfd604fc1ebdac.zip
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...
Diffstat (limited to 'src/host/layer23/include/osmocom/gsm48_rr.h')
-rw-r--r--src/host/layer23/include/osmocom/gsm48_rr.h8
1 files changed, 8 insertions, 0 deletions
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 */