aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-02-11[paging] factor out list iteration... move to the next itemHolger Freyther1-4/+9
2009-02-11[paging] Send paging requests as response to the PAGING LOAD indicatorHolger Freyther1-10/+4
Kill the paging timer and send paging upon paging load notifications.
2009-02-11[paging] Stop the timer when the paging was successfulHolger Freyther1-0/+1
2009-02-11[paging] Stop counting the requests... harald implemented sepc conform timer ↵Holger Freyther1-10/+5
support We do have a dispose timer, there is no need to discard the paging request this way... remove the code.
2009-02-11[ccch load] Enable notifications for CCCH/PAGING LOAD againHolger Freyther2-6/+2
Set the threshold to 0% for the load indication. The paging buffer space will be used by the paging notifications and we will ignore the racch usage notification for now.
2009-02-10* make sure we start sending B channel data on channel activationHolger Freyther1-0/+2
2009-02-10mISDN doesn't support select-writefd's but rather sends PH_DATA_CNFHarald Welte1-34/+47
indications which should trigger us sending a new data packet on the B channel
2009-02-10* decrease subscriber refcount when free()ing a paging requestHarald Welte1-0/+15
* use a new timer that stops paging requests after some time, rather than sending them indefinitely
2009-02-10* fill the e1_link member of every bts_trx_ts structureHarald Welte2-1/+21
* introduce new timer as part of every paging request
2009-02-10set up a static TRAU mux mapping between on-air TS1 and TS2 Harald Welte1-3/+14
2009-02-10prettier debug prints in mISDN driverHolger Freyther1-6/+8
2009-02-10[paging] Introduce a variable containing the free paging slotsHolger Freyther2-0/+10
Start with a large number of available slots. It is guranteed that we will - at some point - get a paging load and will properly update the counter and keep it updated.
2009-02-09[paging] Cleanup page -> paging in function namesHolger Freyther4-17/+17
2009-02-09introduce lookup of subscribers based on their extension numberHolger Freyther2-0/+22
2009-02-09some more primitive names for improved debug readabilityHolger Freyther1-0/+3
2009-02-09* always use bts->c0 as msg->trx for OML messagesHolger Freyther1-0/+2
2009-02-09* correctly initialize link->tei and link->sapiHolger Freyther1-3/+4
* fix debug printf
2009-02-09fix segfault when trying to dequeue list head as list elementHolger Freyther1-3/+3
2009-02-09remove old misdn driver; the code is now using e1_input.c in combinationHarald Welte1-611/+0
with src/input/misdn.c
2009-02-09* add trau_mux implementation to relay from one incoming TRAUHarald Welte9-21/+1294
channel to another one (simple voice call switching) * add a way more generic E1 input layer, abstracting out the misdn low-level interface. This also adds infrastructure for multiple TRX in one BTS, as well as multiple BTS on one E1 link * add a E1 subchannel multiplexer for sending multiple 16kbit sub-channels one one 64kBps E1 channel * add TRAU IDLE frame generation * terminate bsc_hack in case there is a E1 / mISDN init error * introduce 'e1_config.c' file with static configuration of our E1 setup (which TRX/BTS is configured for which TEI/SAPI/E1). This should later become a config file rather than a compiled C file. WARNING: all this compiles but is not tested yet. Expect fix-up committs over the next hours or so
2009-02-09fix compiler warning about undeclared function by adding include fileHarald Welte1-0/+1
2009-02-09* remove excessive debug output during software loadHarald Welte1-3/+0
* fix compiler warning about unused variable
2009-02-07make sure certain functions are per TRX, not per BTS, such asHarald Welte2-12/+16
* rsl_chan_activate() * rsl_bcch_info() * rsl_sacch_filling()
2009-02-06[paging] Move the code to send the command into a separate functionHolger Freyther1-12/+17
Mostly cosmetic and in preparation for proper page load indicator handling.
2009-02-06[rr] Send a Channel Release before deactivating the channelHolger Freyther2-1/+26
After auto releasing a channel the next paging request will not be immediately answered. The hypothesis was that we do not release the channel properly. Implementing Channel Release of GSM 04.08 should have fixed it, but it didn't. According to the wireshark dissectors the message is correct though. - Add the RR cause values to gsm_04_08. - Implement the Channel Release message - Invoke the release channel function before deallocating the lchan.
2009-02-06[paging] Move the paging state into struct gsm_btsHolger Freyther2-59/+33
There is a 1:1 relationship between gsm_bts and the paging operation. Move the paging state into the gsm_bts which is simplfying the code a lot. This was hinted by LaF0rge. (I'm not happy with the names of the structs)
2009-02-06[paging] Use paging_request_remove to update last_request and free memoryHolger Freyther1-9/+16
Update the last_request when stopping the paging operation and also free the associated memory of the request.
2009-02-06[bs11-config] Really force the software uploadHolger Freyther1-6/+16
When we get a NM_MT_LOAD_END_NACK and we are supposed to force the load we will just send data. This was already done with NM_MT_LOAD_INIT_NACK.
2009-02-06* implement some simplistic OML EVENT STATE CHANGE REPORT parsingHarald Welte1-6/+50
* make sure we don't call a user_cb() function if it is NULL
2009-02-06stop paging a particular subscriber after we have received a PAGING RESPONSEHarald Welte1-0/+1
2009-02-06add new routine to stop pagingHarald Welte1-0/+20
2009-02-06add some initial simplistic TLV parserHarald Welte1-0/+25
2009-02-06increase CCCH LOAD indication threshold to 50% to remove lots of noiseHarald Welte1-2/+2
2009-02-06introduce new "DEBUGPC" macro for continuing on the same line without prefix ↵Harald Welte1-7/+11
of file/line/time
2009-02-06add DMI and DMIB debug= commandline option parsingHarald Welte1-0/+2
2009-02-06implement parsing of PAGING RESPONSEHarald Welte1-3/+40
2009-02-05* introduce a new '--restart' parameter to reboot BTSHarald Welte1-36/+45
* unconditionally create TRX1 objects * wait for '3 Normal' before issuing disconnect * MBCCU0/MBCCU1 state were accidentially switched
2009-02-05introduce abis_nm_bs11_restart() functionHarald Welte1-0/+6
2009-02-04[paging] Use the number of different paging subchannels...Holger Freyther1-1/+1
In our setup (1xCCCH combined, BS_AG_BLKS_RES=0, BS_PA_MFRMS=0x3 -> 5) we have MAX(1,3-0) * 5 paging sub-channels. Using this 15 I was able to successfully page my phone/IMSI (934%15 -> 4). My confusion is coming from the terms used for paging throughout the documentation. GSM05.02 6.5.2 talks about "N = number of paging blocks 'available' on one CCCH = (number of paging blocks 'available' in a 51-multiframe on one CCCH)xBS_PA_MFRMS" which is already misguiding and GSM04.08 is talking about number of different paging subchannels on the CCCH and is providing a formula. I deduct that N == number of different paging subchannels on the CCCH as of GSM04.08 and will simply test this with different IMSIs and see if I can page them as well.
2009-02-04[paging] This is paging my phone but it looks completely wrong...Holger Freyther2-3/+22
- The paging block calculation is wrong but I have a hard time finding the right information. The table of 05.02 (Table 5 of 9) looks good but my phone is not happy with that group...
2009-02-04[paging] Implement the three Control Channel Descriptor methods...Holger Freyther1-0/+52
This comes from GSM 05.02 and GSM 04.08
2009-02-04[paging] Keep a copy of the Control Channel Description in the bts structHolger Freyther1-0/+11
- Initialize Control Channel Description of SI3 - Patch the table - Setting ATT now is easy - Paging can now extract all required information... to determine the right paging group.
2009-02-03[paging] some minor cleanups. put the current request into a temporaryHolger Freyther1-6/+9
2009-02-03[paging] Cosmetic changes on the timer handling and max requestsHolger Freyther1-2/+3
2009-02-03[telnet] use SO_REUSEADDR on the telnet socketHolger Freyther1-1/+3
2009-02-03[rsl] Decode RACH Load as wellHolger Freyther1-1/+10
Print the common field and ignore the Supplementary Information. Initialize the fields to 0xffffffff in case the payload is malformed
2009-02-03cosmetic fixes / more commentsHarald Welte1-8/+8
2009-02-03cosmetic fixesHarald Welte1-10/+10
2009-02-03cosmetic/coding style fixesHarald Welte1-13/+23
2009-02-03make bs11_config status lines shorterHarald Welte1-2/+2