summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-ganc/ganc_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/osmo-ganc/ganc_data.h')
-rw-r--r--openbsc/src/osmo-ganc/ganc_data.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/openbsc/src/osmo-ganc/ganc_data.h b/openbsc/src/osmo-ganc/ganc_data.h
index 1c4a4c5e3..9795964b7 100644
--- a/openbsc/src/osmo-ganc/ganc_data.h
+++ b/openbsc/src/osmo-ganc/ganc_data.h
@@ -6,13 +6,6 @@
struct ganc_bts;
-struct gan_peer {
- struct llist_head list;
- struct osmo_conn *conn;
- struct ganc_bts *bts;
- uint8_t gan_release;
-};
-
enum ganc_net_timer {
T3212,
TU3901,
@@ -32,6 +25,19 @@ enum ganc_net_timer {
_NUM_GANC_TIMER
};
+enum ganc_state {
+ GA_S_CSR_IDLE,
+ GA_S_CSR_DEDICATED,
+};
+
+struct gan_peer {
+ struct llist_head list;
+ struct osmo_conn *conn;
+ struct ganc_bts *bts;
+ uint8_t gan_release;
+ enum ganc_state csr_state;
+};
+
struct ganc_net {
uint8_t country_code;
uint8_t network_code;