aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty_interface.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-19[vty] Remove tab to make the cell_identity nicely indentHolger Hans Peter Freyther1-1/+1
2009-11-19[vty] Write out the neci configurationHolger Hans Peter Freyther1-0/+1
2009-11-18Merge remote branch 'origin/master'Harald Welte1-1/+13
2009-11-18max_power_limit: the limit is 24 dB !Harald Welte1-1/+1
2009-11-17Fix configuration file generationAndreas.Eversberg1-1/+1
Assign the encryption status to the right variable. Signed-off-by: Holger Freyther <zecke@selfish.org>
2009-11-17[si] Make it possible to set the NECI value...Holger Hans Peter Freyther1-0/+12
Allow to configure the NECI value... and change code that is relying on the NECI value.
2009-11-17fix some more compiler warningsHarald Welte1-1/+1
2009-10-20ip.access: Support multi-TRX / RSL stream IDHarald Welte1-8/+41
In order to support multi-TRX configurations, we need to be able to cope with multiple RSL streams (each with their own stream identifier) inside one ip.access TCP connection. Since this is very similar to using the TEI on a E1 line, we simply recycle the logic and data fields that are used for the TEI.
2009-10-01[lac] Do not use the reserved LAC 0x0 for two different thingsHolger Hans Peter Freyther1-0/+7
We are using LAC=0 for remembering that a GSM subscriber is detached. I recently added code to gsm_bts_by_lac that will return every BTS in case the lac is 0. Harald highlightes that we would now search for detached subscribers at every BTS of our network which is clearly not what we want. Introduce two defines for the two reserved LAC, add a pointer to the specification, check that our config files do not contain these reserved values, use the define and change gsm_bts_by_lac to use the other define.
2009-09-30[lac] The lac must be 16 bit. Change it in gsm_bts and vty parsingHolger Hans Peter Freyther1-3/+3
The LAC can be 16bit of size. the generation of the LAI, struct gsm_subsriber and the BSC<->MSC was already using it as a 16bit (short) value. Change struct gsm_bts to parse 16bit and change the vty configuration parsing code to deal with a short too.
2009-09-28[bsc] Store the cell_identity in gsm_bts and set it on the SI3 and SI6Holger Hans Peter Freyther1-1/+22
Transfering the cell_identity from BSC to MSC is required for the on-waves.com support. Allow to set the cell_identity in the cfg file and patch the system information tables to set it.
2009-09-28[tmsi] Make the tmsi a 4 octet numberHolger Hans Peter Freyther1-2/+2
tmsi is four octets long, there is no need to make it a string and then jump through hoops to convert it to a number. Keep the database using it as a string to benefit from the NULL handling of the db. Introduce the reserved tmsi which has all bits set to 1 according to GSM 03.03 ยง2.4 and start checking for it and make sure the db code will never allocate such a tmsi.
2009-08-30add VTY/configfile command for setting encryption (A5) levelHarald Welte1-0/+14
This is just configuring the gsm_network property, nobody uses it yet
2009-08-17[vty] Move layer3+ functionality to vty_interface_layer3.cHolger Hans Peter Freyther1-258/+2
Move everything that is policy, requires access to a DB or is generally in the domain of the MSC to vty_interface_layer3.c.
2009-08-15sms_from_text needs to return struct gsm_sms *Harald Welte1-3/+3
2009-08-15fix printing of TMSI on VTYHarald Welte1-1/+2
2009-08-14allow vty to set periodic location updating timer t3212Harald Welte (local)1-0/+15
2009-08-14display TMSI in 8 digit hexHarald Welte (local)1-1/+1
2009-08-14add 'show subscriber cache' vty command to debug subscriber refcount leaksHarald Welte (local)1-0/+17
2009-08-14sms send pending now sends _all_ pending at the same timeHarald Welte (local)1-8/+11
2009-08-13fix segfault in vty sms sending codeHarald Welte (local)1-3/+2
2009-08-13add 'ms max power' vty command to set the maximum MS power in dBmHarald Welte (local)1-0/+13
2009-08-13factor out the function to generate struct gsm_sms from a stringHarald Welte1-3/+12
2009-08-12implement bts->cell_barred feature, configurable in VTYHarald Welte (local)1-0/+16
2009-08-12add a authorization policy field to the network and VTYHarald Welte (local)1-0/+16
this is not being used yet
2009-08-12vty_interface: Remove bogus checks for Site ID and BTS ID.Stefan Schmidt1-11/+0
2009-08-10add "channel allocator (ascending|descending)" command to VTYHarald Welte1-0/+20
2009-08-10misc: Add prototypes to header files, include more header filesHolger Hans Peter Freyther1-0/+1
Fix various warnings about implicit declarations of functions.
2009-08-09Merge branch 'master' into config_fileHarald Welte1-8/+74
Conflicts: openbsc/src/vty_interface.c
2009-08-09Merge commit 'origin/master'Harald Welte1-0/+118
Conflicts: openbsc/src/vty_interface.c
2009-08-09add SMS sending commands to vtyHarald Welte1-8/+74
You can now type commands like 'sms send extentsion 1003 This is a test message' to trigger paging and delivery of the message 'This is a test message' to the subscriber with extension 1003. There's also a variant that uses the IMSI of the subscriber. Messages sent this way are only attempted to deliver immediately. If immediate delivery fails, there is no attempt to store it in the database.
2009-08-08the actual config file code (not just config files)Harald Welte1-17/+107
this was missing from commit a08a9acdb6bff0ee4fdf0f58b78b6525017a1f9f
2009-08-08Merge branch 'master' into config_fileHarald Welte1-0/+52
Conflicts: openbsc/src/vty_interface.c
2009-08-08first 'working' SMS implementationHarald Welte1-0/+52
we now have the full path from the MS into the database (SUBMIT), as well as back from the database to the MS (DELIVER). The database gets correctly updated once a SMS has been successfully delivered. What's still missing is the periodic scan over all undelivered messages, trying to deliver them to the respective MS. So far, you have to manually trigger this on the telnet interface with 'sms send pending 1'
2009-08-07introduce new GSMNET node for the GSM networkHarald Welte1-14/+95
2009-08-07only allow setting of unit_id on ip.access BTSHarald Welte1-2/+8
2009-08-07add telnet/vty commands for TS pchan and e1_subslotHarald Welte1-4/+37
2009-08-06add code to save BTS/TRX/TS config to config fileHarald Welte1-1/+52
we don't yet have the parser to fully re-read it. So this has not mcuh use so far.
2009-07-23make sure subscr->net is always setHarald Welte1-2/+2
since a subscriber is an element of the gsm_network, we have to ensure subscr->net is always set correctly. We do this by using gsm_network as an argument to all functions that resolve or create a subscriber.
2009-07-12rename ip.access structure field members and variablesHarald Welte1-2/+2
to reflect that we now know their true names/meanings
2009-06-21switch to dynamically allocated BTS and TRX data structuresHarald Welte1-33/+40
This makes it much easier to do run-time configuration using the vty interface.
2009-06-20fix setfault during registration of VTY TRX functionHarald Welte1-1/+1
2009-06-20Introduce BS and MS power control related functionsHarald Welte1-4/+60
* add bts->band field plus corresponding VTY and commandline argument * add trx->nominal_power and trx->max_power_red fields * add rsl_chan_bs_power_ctrl() to control TRX RF power for a given TS * add rsl_chan_ms_power_ctrl() to control MS RF power for a given lchan.
2009-06-10reworked MNCC codebaseHarald Welte1-0/+3
This is Harald's reworked MNCC base, slowly heading towards integration into master. The key changes are: * provide much more structure to the data in gsm_mncc * encode_* and decode_* functions now take a structure rather than tons of individual arguments (whose order nobody can remember) * make sure we don't have copies of the same code everywhere by introducing mncc_set_cause() and mncc_release_ind() * save horizontal screen space if possible * make sure we break lines > 80 characters
2009-06-10move openbsc into its own subdirectoryHarald Welte1-0/+905