summaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2011-12-08utils: resync NETLINK_DECT with kernel headersPatrick McHardy1-1/+1
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-10-05libdect: add preliminary wideband supportPatrick McHardy4-9/+22
Unfinished, so far only meant for testing the kernel side. Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-10-05utils: resync AF_DECT definition with kernel headersPatrick McHardy1-1/+1
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-06-18utils: resync value of NETLINK_DECT with 3.0.0-rc3Patrick McHardy1-1/+1
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-02-26lce: add proper timer names from EN 300 175 05 to comments and debug messagesPatrick McHardy1-3/+4
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-02-24cc: convert -res primitives to return voidPatrick McHardy1-10/+10
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>
2011-02-24mm: convert -res primitives to return voidPatrick McHardy1-17/+17
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>
2011-01-24libdect: adjust AF_DECT value for 2.6.38-rc2Patrick McHardy1-2/+2
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-01-10lce: maintain TPUI assignment in location tablePatrick McHardy2-3/+12
Maintain TPUIs and use for paging PTs. Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-01-09lce: maintain LCE location tablePatrick McHardy2-7/+12
Maintain LCE location table and use it for determining paging mode and setup capabilities. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-23ie: add <<SERVICE-CHANGE>> IEPatrick McHardy1-0/+20
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-22raw: add dect_raw_close() functionPatrick McHardy1-1/+3
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-16ie: fix SS facility prototol discriminatorPatrick McHardy1-1/+1
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-16netlink: add MAC_ME_INFO-res and SCAN-req primitivesPatrick McHardy1-0/+4
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-16timer: export timer functions declarationsPatrick McHardy2-10/+23
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>
2010-11-16ie: add <<FACILITY>> IEPatrick McHardy1-0/+2
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-14identities: add dect_ari_cmp()Patrick McHardy1-1/+0
Already contained in the header files, but never implemented. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-14libdect: support allocating per-handle private spacePatrick McHardy2-0/+6
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>
2010-10-18raw: fix compile errorPatrick McHardy1-1/+1
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-16dect_mbuf: add multi frame number, frame number and slot membersPatrick McHardy1-0/+3
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-14ie: add support for <<EVENTS-NOTIFICATION>> IEPatrick McHardy1-0/+6
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-14auth: add definitions for AC and UPI lengthPatrick McHardy1-0/+2
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-14Revert accidentally committed patchPatrick McHardy1-6/+0
This reverts commit d6d3253a5c5a9e1b51a9f957d8cec8a782db3745.
2010-10-14eventsPatrick McHardy1-0/+6
2010-10-13ss: fix CLSS message routingPatrick McHardy3-3/+9
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-12utils: use single-linked list for struct dect_msg_buf queuesPatrick McHardy3-4/+25
Get rid of libdect.h dependency on list.h. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-12utils: add forgotten changes from last commitPatrick McHardy1-2/+2
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-11utils: uninline message buffer manipulation helpersPatrick McHardy1-28/+4
Necessary to make them use dect_assert() instead of the regular assert() macro. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-11ie: add definitions for <<DURATION>> time calculationsPatrick McHardy1-0/+6
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-10mm: add function to get an existing or allocate a new MM endpointPatrick McHardy1-0/+2
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-10mm: destroy endpoint when link is shut downPatrick McHardy1-0/+3
Also rebind the endpoint from the requesting link when an indirect link establishment is complete. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-09ss: fix CISSPatrick McHardy1-0/+2
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>
2010-10-08identities: add helper for formatting and parsing IPEI stringsPatrick McHardy1-0/+6
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-21doc: documentation updatePatrick McHardy4-75/+187
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-21ie: fix progress indicator IE bugsPatrick McHardy1-2/+2
- fix location codings - ignore octet group end bit in progress description - add dump function Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-17ie: rename DECT_RING_PATTERN_* to DECT_ALERTING_PATTERN_*Patrick McHardy2-17/+16
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-17cc: add connect timerPatrick McHardy1-0/+3
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-17cc: add completion timerPatrick McHardy1-0/+3
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-17cc: add release timerPatrick McHardy1-0/+3
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-17cc: add overlap sending timerPatrick McHardy1-7/+13
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-16cc: add missing parameters to CC primitivesPatrick McHardy1-2/+14
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-14doc: minor updatePatrick McHardy2-13/+34
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-14debug: add libdect-specific assert-macro with optional backtrace supportPatrick McHardy1-0/+11
Make assertions more useful by printing a backtrace on failed assertions. Requires libbfd. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-14timer: add some debugging codePatrick McHardy1-0/+1
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-09cc: periodically dump LU1 queue statisticsPatrick McHardy1-0/+4
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-03lce: move protocol registration to dect_lce_initPatrick McHardy4-0/+8
Perform protocol initialization outside of __init functions to avoid multiple registration with threaded library users. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-03libdect: make handle initialization/shutdown symetricalPatrick McHardy1-3/+2
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>
2010-09-03lce: order MM transactions properlyPatrick McHardy1-0/+11
Order MM transactions such that the last one opened is shut down first. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-26ss: add missing {FACILITY} attributesPatrick McHardy1-0/+4
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-26ie: add <<TIME-DATE>> IEPatrick McHardy1-2/+28
Signed-off-by: Patrick McHardy <kaber@trash.net>