dect
/
libdect
Archived
13
0
Fork 0
Commit Graph

30 Commits

Author SHA1 Message Date
Patrick McHardy ecc2c7d990 libdect: add preliminary wideband support
Unfinished, so far only meant for testing the kernel side.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-10-05 19:06:54 +02:00
Patrick McHardy 2d98b81231 lce: add proper timer names from EN 300 175 05 to comments and debug messages
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-02-26 18:00:23 +01:00
Patrick McHardy ce7df5b796 lce: maintain TPUI assignment in location table
Maintain TPUIs and use for paging PTs.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-01-10 11:01:14 +01:00
Patrick McHardy ff3028a515 lce: maintain LCE location table
Maintain LCE location table and use it for determining paging mode
and setup capabilities.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-01-09 12:17:34 +01:00
Patrick McHardy ed870d702b ss: fix CLSS message routing
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-13 23:18:03 +02:00
Patrick McHardy 11779ea5e8 utils: use single-linked list for struct dect_msg_buf queues
Get rid of libdect.h dependency on list.h.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-12 00:00:41 +02:00
Patrick McHardy ce4da27071 mm: destroy endpoint when link is shut down
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-10 19:57:04 +02:00
Patrick McHardy 3d98bc7b6e lce: set the IPUI for incoming data links as soon as it is known
Set the IPUI of a data link as soon a request containing the portable_identity
is received. Additionally verify that the identity matches the IPUI if already
set.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-16 02:07:26 +02:00
Patrick McHardy 77f31308d8 libdect: add ConnetionLess Message Service (CLMS) support
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-13 15:07:36 +02:00
Patrick McHardy 35dfe2ac3f libdect: name transaction related functions more consistently
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 05:15:41 +02:00
Patrick McHardy 29e67ec155 lce: properly maintain PMID
Use a default value for PMID while no TPUI is assigned, use an assigned TPUI value
otherwise.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 14:27:38 +02:00
Patrick McHardy 6f8f9fe140 lce: add support for retransmissions
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 12:46:01 +02:00
Patrick McHardy 158e5c8a98 lce: maintain transaction state (open/closed)
Will be used by the next commit to properly close the page_transaction.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 03:35:50 +02:00
Patrick McHardy d7120331a6 lce: name paging functions and structures more consistently
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 01:55:10 +02:00
Patrick McHardy cb5d6bd44b libdect: include cleanup - only include io.h where needed
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-26 22:47:53 +02:00
Patrick McHardy 931c335680 debug: make debugging more colorful
Add definitions for the various libdect subsystems, pass them to the
registered debugging handlers and add a handler to the example programs
to colorize debugging messages.

Still could use some cleanup, but causes too many clashes.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-24 21:49:43 +02:00
Patrick McHardy 1f98e1ee7d Update remaining copyright statements
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 21:40:16 +02:00
Patrick McHardy 13031f2a81 include: use consistent prefix for header sandwich defines
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-31 07:37:33 +02:00
Patrick McHardy d7321e7632 Move some declarations of exported functions to public header files
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-18 07:51:14 +01:00
Patrick McHardy 31d973983b mm: support outbound routing of MM endpoints
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-01-11 01:56:36 +01:00
Patrick McHardy 4e14d76c8f mm: add ciphering support
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-15 21:12:36 +01:00
Patrick McHardy ba2d58c114 lce: add ciphering support
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-15 18:12:35 +01:00
root 402864857d mm: auth support
Add auth support and beginning of MM procedure management.
Unfinished, but working well enough for an initial commit.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-07-16 04:50:52 +02:00
Patrick McHardy dc19c88867 lce: add dect_ddl_open_transaction()
Add dect_ddl_open_transaction(), which opens a new transaction using
a specified link.

This will be used for MM procedures to make sure authentication and
encryption  are performed on the correct link in the presence of
multiple links to the same PT.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-06-06 05:57:21 +02:00
Patrick McHardy 7d5ea95b28 lce: pass protocol discriminator value to dect_open_transaction()
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-31 17:39:15 +02:00
Patrick McHardy ff186b74cc sfmt_msg: add common message description structure and initializer macro
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-23 07:01:48 +02:00
Patrick McHardy b90eb60d49 lce: implement partial release
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-23 05:49:12 +02:00
Patrick McHardy 88c949c44e lce: implement normal link release procedure
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-22 02:49:13 +02:00
Patrick McHardy 2b2730f466 lce: supervise indirect link establishment
Check for timeouts and retransmit the page message up to three times.
If still unsucessful, notify upper layers and perform cleanup.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-19 05:02:40 +02:00
Patrick McHardy 0406a88b39 Import libdect
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-06 18:41:57 +02:00