aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-09-27Fix: Dump correct NSVCI value at debug lineAndreas Eversberg1-1/+1
2012-09-27Set Alpha and Gamma at assingment messages for power controlAndreas Eversberg5-24/+90
The initial power control value Alpha must be set in SI13.
2012-09-24Fix: T3193 is now started with the correct valueAndreas Eversberg1-1/+1
2012-09-23Fix: Send correct QOS profile and DL-UNITDATA IE to SGSNAndreas Eversberg1-3/+7
Be sure to use always two bytes of length information for DL-UNITDATA, even if the length of LLC data is less than 128 bytes. This way the data has always the same offset from a 32 bit boundary.
2012-09-23Fix: Correctly interpret MCC, MNC, CELL ID from BTSAndreas Eversberg2-3/+7
2012-09-23Statefull reset and unblock BVCs and sending flow control messagesAndreas Eversberg4-5/+97
The flow control interval can be set via VTY.
2012-09-23Replace local definitions by header gprs_bssgp_bss.hAndreas Eversberg1-5/+2
2012-08-07Assign TFI to complete TRX, not just one TSAndreas Eversberg4-69/+39
This is required, since we may change slot allocation. In case of a change, we do not want to be unable to change, if the same TFI on one of the other slots is already in use by a different TBF (having same TFI, but on different slot).
2012-08-07Adding single block allocationAndreas Eversberg6-90/+344
It is mandatory to support it because MS may request a single block. In this case the network must assign a single block. It is possible to force single block allocation for all uplink requests on RACH. (VTY option)
2012-08-07Fix: Add timer for downlink TBF in assignment stateAndreas Eversberg2-8/+27
This is required, since the UL TBF which is used to assign downlink TBF may be freed due to timeouts.
2012-08-07Fix: tfi_alloc() has some signed attributesAndreas Eversberg2-2/+2
2012-08-06Adding flags for debugging assignment and polling timeoutAndreas Eversberg3-8/+88
2012-08-06Adding polling for packet control ack at packet downlink/uplink assignmentAndreas Eversberg2-33/+61
2012-07-26Use final_ack_sent and contention_resolution_done to define ongoing UL TBFAndreas Eversberg3-7/+8
Both flags can be used to determine wether assignment must be sent on PCH or on AGCH. Before contention resolution is done, mobile will ignore downlink assinment. When final uplink acknowledge was sent, the mobile will go back to PCH after reception of akcnowledge.
2012-07-26Minor changes on comments of schedulerAndreas Eversberg1-3/+3
2012-07-25Be sure to priorize uplink assignment (PACCH)Andreas Eversberg1-15/+15
This is required because uplink assignment (PACCH) is done on a request by mobile, so the mobile expects that it get this assignment in return. After that we may assign downlink.
2012-07-25misc: Add the libosmocore CFLAGS to the CPPFLAGSHolger Hans Peter Freyther1-1/+1
libosmocore might not be in the standard include path, add the CFLAGS to the preprocessor flags. This is fixing the build on the Osmocom Jenkins.
2012-07-25Fixed two issues found by clang, pointed out by HolgerAndreas Eversberg2-1/+4
2012-07-25Replaced malloc() by talloc_zero() to be able to track memeory leaksAndreas Eversberg2-11/+15
2012-07-25Cleanup by splitting gprs_rlcmac_rcv_rts_block() into seperate methodsAndreas Eversberg1-115/+171
2012-07-24misc: Add the libosmocore CFLAGS to the CPPFLAGSHolger Hans Peter Freyther1-1/+1
libosmocore might not be in the standard include path, add the CFLAGS to the preprocessor flags. This is fixing the build on the Osmocom Jenkins.
2012-07-24misc: Fix typos in the commentsHolger Hans Peter Freyther6-19/+19
ressource -> resorce
2012-07-24Added debugging of downlink bandwidthAndreas Eversberg5-0/+32
2012-07-24Added READMEAndreas Eversberg1-0/+22
2012-07-23Fix: gprs_rlcmac_trigger_downlink_assignment() selects correct channelAndreas Eversberg3-20/+19
In order to select correct channel (PCH or PACCH), a tbf pointer is set in case of PACCH. The tbf pointer points to TBF whose PACCH is used.
2012-07-23Fix: Kill pending downlink TBF, if mobile requests uplink TBF on RACHAndreas Eversberg1-0/+9
If the mobile misses assignment, it changes back to idle mode. In this case we must kill the pending downlink TBF, because it is not used by mobile and we can assign a new downlink TBF for new downlink data. (We may not have two downlink TBF with same TLLI!)
2012-07-23Fix: Send downlink assignment on PCH twice to make reception more safeAndreas Eversberg1-2/+4
If the mobile is not fast enough switching back to CCCH, the second assignment, which is sent later is usefull in this case.
2012-07-23Fix: We don't use timer to define when assignment is complete on PACCHAndreas Eversberg2-5/+26
Instead we use the event of sending assignment message. Then we set the TBF state to 'FLOW'.
2012-07-23VTY: Select timeslot allocation algorithm via VTYAndreas Eversberg2-6/+37
The selections are: single slot or multislot
2012-07-22Makefile.am: Actually install the pcu during 'make install'Harald Welte1-1/+3
2012-07-22Makefile.am: rename executable name from pcu to osmo-pcuHarald Welte1-3/+3
This makes more sense since the entire repository is called this way
2012-07-22import GPLv2 license text to this projectHarald Welte1-0/+339
2012-07-21Add check of lifetime of LLC frameAndreas Eversberg4-4/+131
If lifetime expires of queued LLC frames, they are discarded. The number of discarded frames and the sum of their octets are reported to SGSN via LLC-DISCARDED message. The lifetime can be overridden via VTY. The value can be centi-seconds or "infinite".
2012-07-20VTY: Added option to force given CS and ignore the scheme given by BTSAndreas Eversberg3-25/+79
2012-07-20Fixed Paging RR on PACCHAndreas Eversberg3-20/+34
Addition to 2b91464862270d72800b6dcc5a521f933fbbd489
2012-07-19Added paging for RR connection on PACCH of active TBFsAndreas Eversberg4-27/+282
Untested
2012-07-18Update to version 3 of PCU socket interface (includes version check)Andreas Eversberg2-5/+25
2012-07-16Changed log levels, to indicate abnormal eventsAndreas Eversberg1-15/+16
2012-07-16Check for downlink sequence is out of rangeAndreas Eversberg1-3/+15
This may happen, if Packer Downlink Assignment was not received by MS, so old TBF with old sequence number is still alive. In this case we free TBF.
2012-07-16Change polling interval for Packet Downlink Ack/NackAndreas Eversberg1-13/+17
This lowers the risk for stalling of transmit window.
2012-07-15If we already sent final Packet Uplink Ack/Nack, request DL TBF on PCHAndreas Eversberg1-1/+2
If network does not respond fast enough, the MS might already received final Packet Uplink Ack/Nack, so we need to assign new DL TBF on PCH.
2012-07-15No content resolution is required when UL TBF is requested during DL TBFAndreas Eversberg1-0/+1
2012-07-15Ignore Packet Resource RequestAndreas Eversberg1-6/+2
2012-07-15Only select TLLI, if it is valid (and not unset)Andreas Eversberg1-3/+2
2012-07-15Set coding scheme on Packet Uplink Ack/Nack messageAndreas Eversberg1-1/+2
This way the uplink speeds up too.
2012-07-15Minor fixes of debug output of channel allocationAndreas Eversberg1-4/+10
2012-07-15Fixed contention resolution issueAndreas Eversberg3-11/+24
In order to do downlink assignment during uplink TBF, the content resolution must be completed. It is completed when the first Packet Uplink Ack/Nack message is transmitted to the mobile.
2012-07-15Added missing TA value assignmentAndreas Eversberg1-0/+1
2012-07-15Adding multislot allocation algorithmAndreas Eversberg2-1/+430
2012-07-15Downlink transfer is finished if all packets are acknowlegedAndreas Eversberg1-4/+8
It turned out that the final ack flag may not be set, but all packets have been acknowledged. This patch will finish transfer in case all blocks are acknowledged.