summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/gsm48_cc.c
AgeCommit message (Collapse)AuthorFilesLines
2018-10-03(WIP) mobile: add RTP related primitivesfixeria/mnccVadim Yanitskiy1-0/+6
Change-Id: I61c058eb1c6a5d2a8acc295367eea51391ec6640
2018-10-03(WIP) mobile/gsm48_cc.c: ignore MNCC_FRAME_{RECV|DROP} messagesVadim Yanitskiy1-8/+4
Using both MNCC_FRAME RECV/DROP messages, an external MNCC application could enable / disable forwarding of the traffic frames from L1 through MNCC-socket. Now it can be done by user from the VTY configuration (see 'io-target' of 'audio' section), so there is no need to control this from outside. Change-Id: I41a0c9bc44b3ca6784f4190931773637f9fab40c
2018-10-03mobile/gsm48_cc.c: handle more GSM_TCH* messagesVadim Yanitskiy1-0/+3
Change-Id: I173ca8df6ca3bb8b462b54b4893e382ef0f7d723
2018-10-03mobile/voice.c: abstract gsm_send_voice() from MNCCVadim Yanitskiy1-1/+1
Change-Id: I37241555cd648a8e2b57fa072c708f93cd1ba5a9
2017-11-27mobile: Instead of putting semantic in a comment, use an enumHolger Hans Peter Freyther1-1/+1
The enum was created to understand the different states during the shutdown and find places where it is used. The normal transitions are like. Idle -> Imsi Detach -> L1 Reset -> Done Idle -> L1 Reset -> Done The shutdown can get stuck in case: * Out of memory situation while handling IMSI detach (timeout) * Never receiving l1 reset acknnowledgment. The code could benefit from the move to osmo fsm to deal with proper timeouts. Change-Id: Iee1140e4848923c7270495c381bf87b7e3fddee1
2017-11-08host/mobile: use osmocom_ms as talloc contextVadim Yanitskiy1-2/+0
As we use talloc, it's absurdly not to use the main feature of the library - hierarchical memory management. This change sets talloc context of all sub-allocated objects to related osmocom_ms instance. So, as soon as osmocom_ms instance is destroyed, all sub-allocated chunks are getting destroyed too. Change-Id: I6e3467ff739f3e6dc8dd60cc6d1fcd3f8e490ce9
2011-11-13host/mobile/sms: Adding SAPI 3 support to MM and RR layersAndreas Eversberg1-3/+4
RR now handles SAPI 3 datalink. MM connections now have and individual sapi, so MM can use right SAPI for communication with other layers, as well as releasing the right MM connections in case of link release. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-13host/mobile: Whitespace fixes, no functional changesSylvain Munaut1-8/+8
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-13host/mobile: Fix indentation in gsm48_cc, no functional changeAndreas Eversberg1-5/+5
Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-06misc: u_intX -> uintX in the host directoryHolger Hans Peter Freyther1-4/+4
Use C99 stdint.h for the inttypes.
2011-09-04[mobile] Using socket application interface with mobile applicationAndreas Eversberg1-2/+43
Use "-m" with mobile app, to use it in conjunction with LCR or other applications.
2011-07-28layer23: Add mobile support for sending / receiving voice frame through MNCCAndreas.Eversberg1-7/+27
Support GSM FR codec only so far. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-15src: use namespace prefix osmo_timer*Pablo Neira Ayuso1-3/+3
Summary of changes: s/struct timer_list/struct osmo_timer_list/g s/bsc_add_timer/osmo_timer_add/g s/bsc_schedule_timer/osmo_timer_schedule/g s/bsc_del_timer/osmo_timer_del/g s/bsc_timer_pending/osmo_timer_pending/g s/bsc_nearest_timer/osmo_timers_nearest/g s/bsc_prepare_timers/osmo_timers_prepare/g s/bsc_update_timers/osmo_timers_update/g s/bsc_timer_check/osmo_timers_check/g
2011-04-26src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso1-4/+4
This patch changes include paths to get osmocom-bb working with the current libosmocore tree. Among all these renames, you can notice several tweaks that I added on purpose, and that require some explanation, they are: * hexdump() in osmocon.c and osmoload.c has been renamed to avoid clashing with hexdump() defined in libosmocore. * gsmmap now depends on libosmogsm. Actually I had to cleanup Makefile.am because I was experiencing weird linking problems, probably due to a bug in the autotools. With the change included in this patch, I got it compiled and linked here correctly. This patch has been tested with the phone Motorola C123 and the following images files: * firmware/board/compal_e88/hello_world.compalram.bin * firmware/board/compal_e88/layer1.compalram.bin Using the osmocon, bcch_scan and mobile tools. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2010-10-15[layer23] Support of receiving STATUS at call controlAndreas.Eversberg1-0/+21
2010-10-13[layer23] Minor fix of debugging message in call controlAndreas.Eversberg1-2/+1
2010-10-12[layer23] Fixed CAUSE information elementAndreas.Eversberg1-0/+1
Coding standard must be 0x3 = GSM. Otherwise it may generate a protocol error at the network.
2010-09-26[layer23] Speech codec selection and negotiation with networkAndreas.Eversberg1-2/+3
2010-09-19[layer23] Fixed typo in Call ControlAndreas.Eversberg1-1/+1
2010-08-10Added sequence number to L3 messages (see GSM 04.08 Clause 3.1.4.3)Andreas.Eversberg1-1/+1
This is required to detect duplicated messages during assignment or handover. Each PDISC uses its own sequence number, but MM+CC+SS share the same. The sequence number is only required in uplink direction. Dieter: Please check, if your tester eats it now. Also try to trace if the sequence number is set correctly.
2010-07-27layer23: Split [2/2] -> The header filesSylvain Munaut1-5/+5
This split the headers and adapt the source. We use osmocom/bb as a prefix because libosomore also uses osmocom and generic names such as misc & common could conflict in the future. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-27layer23: Split [1/2] -> The source codeSylvain Munaut1-0/+2139
We split into : - common: Everything that can be shared - mobile: The real spec compliant mobile phones - misc: Different test stuff Signed-off-by: Sylvain Munaut <tnt@246tNt.com>