Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Unfinished, so far only meant for testing the kernel side.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
There is no reasonable way for the caller to respond to an error returned
by a -res primitive, the initiator is responsible for resending the
request. Change all CC -res primitives to return void.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
There is no reasonable way for the caller to respond to an error returned
by a -res primitive, the initiator is responsible for resending the
request. Change all MM -res primitives to complete the procedure on error
and return void.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Maintain TPUIs and use for paging PTs.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Maintain LCE location table and use it for determining paging mode
and setup capabilities.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
The functions are already exported, also export the declarations
since they are useful and easier to use than f.i. using libevent
directly.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Already contained in the header files, but never implemented.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Similar to other objects, support a private data area for libdect handles
for applications dealing with multiple handles simultenously.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
This reverts commit d6d3253a5c5a9e1b51a9f957d8cec8a782db3745.
|
|
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Get rid of libdect.h dependency on list.h.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Necessary to make them use dect_assert() instead of the regular assert() macro.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Also rebind the endpoint from the requesting link when an indirect link
establishment is complete.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Fix message types and definitions, only pass messages to clms if protocol
discriminator matches.
With these fixes, CISS appears to be working properly:
LCE: RX: 64 64 05 07 90 a8 00 ba 8a 78 2a 7b 11 81 00 02 |dd.......x*{....|
LCE: RX: 3b 09 03 01 01 07 00 04 02 13 01 5b 01 38 |;..........[.8|
LCE: link 23 (ESTABLISHED): stop SDU timer
LCE: link 23 (ESTABLISHED): new transaction: protocol: Call Independant Supplementary Services F: 0 TV: 6
SS: unknown transaction: msg type: 64
CISS-REGISTER
parse {CISS-REGISTER} message
IE: <<PORTABLE-IDENTITY>> id: 5 len: 9 dst: 0x8a04240
type: IPEI (10)
PUT: N (IPEI)
EMC: 0ba8
PSN: a782a
IE: <<ESCAPE-TO-PROPRIETARY>> id: 7b len: 19 dst: 0x8a41860
EMC: 2
Content: 3b 09 03 01 01 07 00 04 02 13 01 5b 01 38
LCE: link 23 (ESTABLISHED): set IPUI N EMC: 0ba8 PSN: a782a
LCE: link 23 (ESTABLISHED): confirm transaction: Call Independant Supplementary Services TV: 6 Role: 1
SS (link 23): MNSS_SETUP-ind
LCE: RX: 64 5a |dZ|
SS (link 23): CISS-RELEASE-COM
parse {CISS-RELEASE-COM} message
SS (link 23): MNSS_RELEASE-ind
LCE: link 23 (ESTABLISHED): close transaction: Call Independant Supplementary Services TV: 6 Role: 1
LCE: link 23 (ESTABLISHED): partial release
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
- fix location codings
- ignore octet group end bit in progress description
- add dump function
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Make assertions more useful by printing a backtrace on failed assertions.
Requires libbfd.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Perform protocol initialization outside of __init functions to avoid
multiple registration with threaded library users.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Proper error handling on failed dect_init() calls is currently not
possible since dect_close_handle() expects a fully initialized handle.
Kill dect_alloc_handle() and add a dect_open_handle() function that
performs all setup.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Order MM transactions such that the last one opened is shut down first.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|