dect
/
libdect
Archived
13
0
Fork 0
Commit Graph

71 Commits

Author SHA1 Message Date
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 a0005af512 raw: move raw socket helpers to library proper
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-06 19:11:31 +01:00
Patrick McHardy eba32302d2 headers: include stdarg.h in libdect.h
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-05 15:43:51 +01:00
Patrick McHardy 8bc44943cb ie: fix profile indicator values
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-30 05:57:43 +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
Patrick McHardy 2cb704e18d ie: return void * in dect_ie_collection_hold macro
The intended use is to store the generic reference in a typed pointer, currently
requiring a cast for every use.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-27 23:47:34 +01:00
Patrick McHardy fad722147e smsg: split IE dumping into seperate callbacks and also invoke them on TX
Additionally make the output slightly more readable.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-27 23:46:55 +01:00
Patrick McHardy 5fba0356bb debug: make debug hook signature vprintf() compatible
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-13 02:30:52 +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 1bd087cd91 ie: add some MM related IEs
Add allocation type, RAND/RS/RES and setup capabilities IEs.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-27 02:08:58 +02:00
Patrick McHardy 0574e850f1 Add security functions as specified in EN 300 175-7
Add the A{11,12,21,22} wrappers around the authentication algorithm, as
well as some key derivation helpers and some DSAA/DSC test vectors from
Annex K.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-26 10:51:53 +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 71bf8c94a6 ie: use single linked list for repeat_indicator
Use a single linked list for easy copying by assignment, which is not
possible when a node points back to the head.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-23 07:59:23 +02:00
Patrick McHardy b30875dc43 sfmt_msg: add auth-type parsing
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-23 05:50:52 +02:00
Patrick McHardy a1d2b3cf11 ie: add prefix to identity types
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-23 05:47:59 +02:00
Patrick McHardy a489a1626b utils: add running/stopped state to timers
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-23 05:47:13 +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