Use define for limit on number of BTS features
Change-Id: Ief81db0b3653fec180e60776ff9bcb0ac1357217 Related: OS#1614
This commit is contained in:
parent
2b6c5407b6
commit
7b62d54b52
|
@ -66,6 +66,8 @@ enum gsm_chreq_reason_t {
|
||||||
|
|
||||||
#define MAX_VERSION_LENGTH 64
|
#define MAX_VERSION_LENGTH 64
|
||||||
|
|
||||||
|
#define MAX_BTS_FEATURES 128
|
||||||
|
|
||||||
enum gsm_hooks {
|
enum gsm_hooks {
|
||||||
GSM_HOOK_NM_SWLOAD,
|
GSM_HOOK_NM_SWLOAD,
|
||||||
GSM_HOOK_RR_PAGING,
|
GSM_HOOK_RR_PAGING,
|
||||||
|
@ -533,7 +535,7 @@ struct gsm_bts_model {
|
||||||
struct tlv_definition nm_att_tlvdef;
|
struct tlv_definition nm_att_tlvdef;
|
||||||
|
|
||||||
struct bitvec features;
|
struct bitvec features;
|
||||||
uint8_t _features_data[128/8];
|
uint8_t _features_data[MAX_BTS_FEATURES/8];
|
||||||
};
|
};
|
||||||
|
|
||||||
enum gsm_bts_features {
|
enum gsm_bts_features {
|
||||||
|
|
Loading…
Reference in New Issue