AgeCommit message (Collapse)AuthorFilesLines
2018-02-08enable and disable ACC ramping when link comes up / goes downstsp/acc_rampStefan Sperling2-2/+10
Change-Id: I07930f25e8ff25ee0e3b0d0a561693140ba3dc56
2018-02-08move ramp_init() call to bootstrap_bts()Stefan Sperling1-0/+2
Change-Id: Id3c72a69c41db61ef051a7e122739e8e93eb710b
2018-02-08add a VTY command for acc ramp step sizeStefan Sperling1-2/+26
Change-Id: I6759f5b2a0b68e4d797e6309c2a046a1f2538d50
2018-02-08show complete ACC config in VTYStefan Sperling1-1/+11
Change-Id: I4115c7b98373d199cf2a46f7d840f2e77de51e80
2018-02-08add VTY command to configure ramping step intervalStefan Sperling3-13/+47
Change-Id: I6a296afb9be58a1528f19993251a975caee0855b
2018-02-08don't read barred bitmasks directly where it isn't neededStefan Sperling1-2/+2
Change-Id: Ida05eef654a8762cdc8fee2eb0b9df7abcc6a492
2018-02-08remove default step interval; it doesn't make sense to have thisStefan Sperling2-13/+9
Change-Id: I8e432649cbdd4f164e08e2897c5191f8c421fdf4
2018-02-08improve commentStefan Sperling1-1/+1
Change-Id: I3e74dfb445bf6dbcccb3aba0aba6f0a6b347f04b
2018-02-08improve commentsStefan Sperling1-2/+2
Change-Id: I215e14b44d2e6c75dc245bbb9bef72dfe22fa2ac
2018-02-08notify BTS also in short-cut ramping step caseStefan Sperling1-0/+1
Change-Id: I5887218d49c4d09070ce820e16ae3c49c4b7b968
2018-02-08improve a debug log messageStefan Sperling1-1/+1
Change-Id: I17589a342bae644fb1d3a271e168e99823295ada
2018-02-08use default step interval if load cannot be determinedStefan Sperling1-1/+1
Change-Id: I298b40426a46062cbd77f0f5dc195a3b9f4d82bb
2018-02-08document a helper functionStefan Sperling1-0/+4
Change-Id: I3d9c926a616ba3398c3f0982e10697e7a02d3108
2018-02-08rename another helper functionStefan Sperling1-4/+4
Change-Id: If2a102f37faf670207555952b57ebe262d7c0ae5
2018-02-08rename a helper functionStefan Sperling1-2/+2
Change-Id: Ifcef5c9b0ff633935adcfac9c584c987add482db
2018-02-08slight improvements to docsStefan Sperling1-8/+6
Change-Id: I444f04762446bd122cf769ac285a3166eaab639e
2018-02-06increase min intervalStefan Sperling1-1/+1
Change-Id: I691d0232bf7e882502ecfcd65217274afb96204d
2018-02-06rename vty commandStefan Sperling1-2/+2
Change-Id: I81ea6183bbef94de5031fc84706154fe04f352da
2018-02-06do not conflict with the 'rach access-control-class' vty commandStefan Sperling3-35/+69
Change-Id: If46a01e5a43de38cbaeeeb2d5b91c4879cfc0e15
2018-02-06show 'acc-ramping' in bts configStefan Sperling1-0/+2
Change-Id: Ie3ad2399b11ad6df03d3c7fdd53e7699fb134c3e
2018-02-06add a VTY option to enable/disable acc ramdingStefan Sperling5-8/+37
Change-Id: I1cb10ccf56eed5daf8bd224011491061e15dad8f
2018-02-06make it possible to enable/disable rumping at startupStefan Sperling2-8/+23
Change-Id: If72dd56d376d4ce0a362896e44b350d3b251b507
2018-02-06move acc_ramp.c to libbscStefan Sperling4-4/+1
Change-Id: I179ec309f772d1cdb9f34b3afbca4d705eac9652
2018-02-06update rach control parametersStefan Sperling1-0/+18
Change-Id: I70c8d1bc5aa161d30d71921346d252e577c54e1a
2018-02-06reformat loop for better readabilityStefan Sperling1-4/+4
Change-Id: I8592d5ebb24d6d6a0e88c50dd39279c0ee737d07
2018-02-06formatting tweakStefan Sperling1-5/+10
Change-Id: I0dcf45e587f6b9d35fb2caca7a081721a537dfad
2018-02-06rename a variable and improve commentsStefan Sperling1-6/+6
Change-Id: I8f14eecd0b7e2e76547804da665cd254628fee2b
2018-02-06rename a function againStefan Sperling1-3/+3
Change-Id: I7d5e1e3d4963aebd9e314b03dee9148bb1e8e3a2
2018-02-06fix previousStefan Sperling1-1/+1
Change-Id: Ia2f71fbfa9429634fe9dd63dbd50ca962a68e921
2018-02-06only set lower 2 bits of t2Stefan Sperling1-1/+1
Change-Id: I96d85ab8964db630dffc303d7d71d2d69306854d
2018-02-06clear bits in bitmask correctlyStefan Sperling1-2/+2
Change-Id: I327003a61be18ae74fc5440794cabc5958e54d18
2018-02-06fix logging for ACC 8 and 9Stefan Sperling1-5/+10
Change-Id: I54ebb1330ea783af1fe48eb999cecbb71aa8857a
2018-02-06add more logging and fix step loop termination conditionStefan Sperling1-10/+19
Change-Id: I00a47d825a7b1b3b66f6df654c19676a86ae8b9f
2018-02-06rename a functionStefan Sperling1-3/+3
Change-Id: Ib99996834ee668f7c998bb846b1a45efa2d7bcf8
2018-02-06initial acc ramping implementation (untested)Stefan Sperling6-17/+163
Change-Id: I2b1868765346c7aba966cecd7b8db9aae9b047bb
2018-02-06Add skeleton for an acc ramp implementation.Stefan Sperling4-0/+57
Change-Id: I49bd1bf6c0ef0441b6d5d3dec6b7c39545eedeec
2018-02-06Move ACC data structures to their own header file.Stefan Sperling2-51/+78
Change-Id: I6bdcac5d8c358320f953a0a3cd06876ae571be23
2018-02-06Add data structure definitions for Access Control Class ramping.Stefan Sperling1-0/+53
Change-Id: I0a5ac3a08f992f326435944f17e0a9171911afb0
2018-02-05Add stat items for the BTS's channel load average and T3122.Stefan Sperling4-2/+28
In addition to logging the current values of a BTS's channel load average and T3122 override, maintain stat items for these values. This allows for plotting these values over time, for instance. These values show up in the VTY under 'show stats' like this: base transceiver station: Channel load average.: 25 % T3122 IMMEDIATE ASSIGNMENT REJECT wait indicator.: 32 s Change-Id: Icace0176e8b1d23d7c7b4816f7c67c65312844fa Suggested-by: laforge
2018-02-05vty: print RTP IP of lchan if actually bound; print remote (mgw) IPHarald Welte1-5/+15
Change-Id: I87840aa0f5b9c04d7736bf5f649142219853711a
2018-02-05gsm_data_shared.h: Remove unused sacch_deact member fieldHarald Welte1-1/+0
Change-Id: I806b957b7f6fbbb1206d29ceeccd401c98c26990
2018-02-05Make "waiting indicator" of IMMEDIATE ASSIGN REJECT dynamic.Stefan Sperling11-30/+143
The IMMEDIATE ASSIGN REJECT message contains a wait indicator which tells an MS requesting a channel to wait for a specified amount of time before trying to request a channel again, i.e. the wait indicator controls the T3122 timeout value in the MS. Previously, the wait indicator was fixed to 10 seconds. This is not sufficient if there are a lot of MS requesting channels because the MS will retry too soon. Instead of using a fixed value, maintain a dynamic wait indicator value based on average channel load. The load (used vs. available channels on a BTS) is sampled once per second, and once 8 samples have been collected we update a BTS-specific T3122 wait indicator based on the measured load. While the wait indicator could go up to 255 seconds, this initial implementation keeps it in the range from 10 to 128 seconds. Further experimentation and testing will show whether higher wait indicator values are desirable, if the sampling rate needs to change, or if the function mapping the load measurement to a wait indicator value should change (currently we map the load average linearly into the range [10, 128] inclusive). Change-Id: I57e38f6d6ba3b23cc6e1f9520b90261dbb1f1cec Related: OS#2592
2018-01-28update.gitignore with 'tags' files and 'deps' directoryHarald Welte1-0/+2
Change-Id: I2b51bbb4dce9757be7f2430b83b7879e24aa0df1
2018-01-28remove obsolete gsm_subscriber_connection.bts memberHarald Welte4-11/+5
This member was merely a cache for conn->lchan->ts->trx->bts, so let's avoid having to keep copies of the same data (which needs to be kept up to date). Change-Id: Id3bff8b18425ef5d45eb460ac9eb620023013ba0
2018-01-28bssmap_handle_assignm_req(): Decode channel type as first stepHarald Welte1-17/+16
The decision on how to further process the request depends significantly on the contents of the only mandatory IE of the ASSIGNMENT REQ. Let's decode it first. Change-Id: I030b5ad6f4fc33da9155c8a6061fd982312b20fb
2018-01-28cosmetic: Remove data/len variables in bssmap_handle_assignm_req()Harald Welte1-11/+6
There's nothing wrong with passing the TLVP_VAL/TLVP_LEN directly into the gsm0808 decoder functions, let's avoid variables that get assigned and used only once - particularly with such generic names. Change-Id: I8557b4a9ff4de28b76c7d618631a4700176a8669
2018-01-26Improve an error message in page_lai_and_lac()Stefan Sperling2-2/+2
This error message is now contained in a loop, and the current iteration does not know whether paging will fail entirely or if later iterations will succeed. Update the error message accordingly. This also makes the error message consistent with the one in page_cgi(). Change-Id: I8ec229702343343dedcbb242b6d0ed170c858511
2018-01-25Remove an unused variable.Stefan Sperling1-7/+0
Local variable is_lu in rsl_rx_chan_rqd() has been unused since commit 6082a377f57901302816a2e57e75a3f262b7b7e6. Change-Id: I67594afcfa4104e91352d50f40ae9f2bc20f4cd1
2018-01-24cosmetic: log prim operation as textMax1-1/+2
When logging SCCP error, log failed primitive operation as text. Change-Id: I91f739cea9f518a24fff6870f7dceab8175c9646 Related: OS#2851
2018-01-22HO: Add a penalty timer list to the subscriber connection entityAndreas Eversberg2-0/+20
This penalty timer is used to temporarily block cells where handover or assignment failed or where handover is not allowed. This is usefull to prevent repeated handover attempts to broken cells or cells that have limited allowed distance. Change-Id: I95cb7e3211b2470b773965e7aa94d8eb6c8c1a3a