dect
/
libdect
Archived
13
0
Fork 0
Commit Graph

32 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 3b1c1f5e44 mm: convert -res primitives to return void
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-02-24 21:47:07 +01:00
Patrick McHardy 00cc8509b8 mm: add function to get an existing or allocate a new MM endpoint
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-10 19:57:04 +02:00
Patrick McHardy 89de310021 doc: documentation update
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-21 04:55:32 +02:00
Patrick McHardy e9ecafde61 libdect: documentation update
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-14 16:32:27 +02:00
Patrick McHardy f2de7d6b9d headers: make headers usable by C++
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-09 00:18:56 +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 1c450a1ac5 doc: fix up doxygen annotations, add some documentation
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 20:23:15 +02:00
Patrick McHardy f8b7b0909f mm: add missing identity procedures
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-28 22:59:22 +01:00
Patrick McHardy bc69db30b3 mm: add setup_capability IE to dect_access_rights_param
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-28 08:53:07 +01: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 776b7dfa57 mm: implement PP side of location registration
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-31 09:12:35 +01:00
Patrick McHardy d83f321035 mm: fix codec_list placement in CC messages
Fix codec_list placement in MM messages similar to CC commit 95ccbe1a.
Also add to the appropriate primitive parameter structures.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-31 09:12:07 +01:00
Patrick McHardy 62c651610c mm: add MM_IWU support
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-21 12:43:17 +01:00
Patrick McHardy b934f91029 mm: add escape-to-proprietary to parameter structures
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-21 11:05:19 +01:00
Patrick McHardy ed25088558 mm: add support for access rights termination
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-18 13:15:17 +01:00
Patrick McHardy 06cf9169f6 mm: fix types for IE lists
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-18 00:18:31 +01:00
Patrick McHardy f705908dda mm: location registration: reject invalid requests
Send a LOCATE-REJECT message on errors as required by
ETS 300 175-5 section 17.6.4.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-17 23:31:25 +01:00
Patrick McHardy 40ceedf851 mm: implement missing functionality for responding side of authentication
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-17 23:31:18 +01:00
Patrick McHardy f1c2f416cc mm: add detach and identity messages and primitives
Identity handling is incomplete.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-17 17:03:06 +01:00
Patrick McHardy ee2277dde9 mm: add parameter retrieval support
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-17 16:53:27 +01:00
Patrick McHardy c93d0ea65b mm: fix transaction release after location registration
Rejection of location registration ends the procedure. Acceptance
with assignment of a TPUI or NWK identity begins an temporary
identity assignment procedure.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-17 16:43:59 +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 15c7b206d7 mm: add cipher-related IE-, message- and parameter definitions
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-27 23:48:29 +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 e45fc07ddf mm: fix prototype name
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-30 17:11:03 +02:00
Patrick McHardy a2a5281943 ie: rework memory handling
Currently the parameters of the registered primitive callbacks are allocated
on the stack, meaning they can only be used in the callback itself and are
destroyed immediately after it returns.

This is unsuitable in combination with MM procedurs, which might interrupt
or delay other procedures, which later on need to be resumed, presumably
with the original parameters.

Introduce a common dynamically allocated and reference counted container
(struct dect_ie_collection) for collections of IEs/IE lists and use it
for callback parameters.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-30 16:15:24 +02:00
Patrick McHardy fdcad12315 mm: fix some identity assignment related function signatures
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-27 02:12:17 +02:00
Patrick McHardy f539747171 mm: implement access rights procedures
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-23 07:59:25 +02:00
Patrick McHardy e3d7459aff mm: beginning of location registration
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-19 01:52:31 +02:00
Patrick McHardy 0406a88b39 Import libdect
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-06 18:41:57 +02:00