Patrick McHardy
95810170df
smsg: fix typo
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-09 00:18:53 +02:00
Patrick McHardy
0927e25ad8
ie: add missing value for GPRS cipher algorithm identifier
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 23:57:30 +02:00
Patrick McHardy
8f0f7e5d3e
ie: add new DEF flag to dect_auth_flags
...
Used for default cipher key feature.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 23:46:17 +02:00
Patrick McHardy
464abbc786
ie: add new security related release reason codes
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 23:27:30 +02:00
Patrick McHardy
df468d176c
ie: add missing NG-DECT basic service definitions
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 23:16:49 +02:00
Patrick McHardy
ba8ddfa01b
timer: add some documentation
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 22:50:43 +02:00
Patrick McHardy
b3e40dc665
io: fix include statement referring to file.h
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 22:50:08 +02:00
Patrick McHardy
2bca18c9df
libdect: add function to get file descriptor number
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 22:46:56 +02:00
Patrick McHardy
e789864557
io: add some documentation
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 22:33:43 +02:00
Patrick McHardy
d4879f6908
src: rename file.c to io.c
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 22:31:51 +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
3b587ea913
Update copyright statements
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 21:30:57 +02:00
Patrick McHardy
1f8a3fef57
build: add 'docs' target
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 21:29:06 +02:00
Patrick McHardy
6764148547
doc: fix typo
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 20:28:15 +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
00c3066645
build: fix make loop with SUBDIRS=
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 20:23:08 +02:00
Patrick McHardy
fa0f5ef158
ie: fix terminal capability NG-DECT profile indicators
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-06 17:29:32 +02:00
Patrick McHardy
52f1c1ba11
ie: add LiA service setup code to basic service call classes
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-06 17:29:22 +02:00
Patrick McHardy
d53c6e81a0
cc: add IWU-INFO message and MNCC_IWU_INFO primitives
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-03 23:35:26 +02:00
Patrick McHardy
9553e3261e
ie: add support for IWU to IWU element
...
Used for CC IWU-INFO messages in the list access feature.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-03 23:32:28 +02:00
Patrick McHardy
a755afb00a
lce: also store IPUI in data link for PP mode
...
The IPUI is needed in both FP and PP mode to locate existing links, don't
forget to store it in PP mode.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-03 22:46:02 +02:00
Patrick McHardy
5c0c205ca6
utils: move file handling functions to seperate file
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-03 10:20:18 +02:00
Patrick McHardy
cbd676d974
sfmt: fix a couple of potential buffer overflows in parsing functions
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-03 09:33:19 +02:00
Patrick McHardy
d7581ae5e0
libdect: make struct dect_fd opaque
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-03 09:30:09 +02:00
Patrick McHardy
1a946cf3e0
sfmt: reduce IE description size
...
Use uint8_t for IE type, avoids padding, total savings:
text data bss dec hex filename
123076 14684 68 137828 21a64 /tmp/libdect-before.so
122980 12772 68 135820 2128c /tmp/libdect-after.so
-96 -1912 0 -2008
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-03 08:15:27 +02:00
Erik Tews
b04461a50d
Prevent mm-fp from crashing by calling dect_close_handle(dh) twice at shutdown.
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-02 10:55:25 +02:00
Patrick McHardy
7e9184f91a
mm: properly begin new procedure for parameter retrieval
...
Fixes segfault when link is shut down and never started procedure is
aborted.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-06-17 01:33:51 +02:00
Patrick McHardy
0258a0aad3
utils: adjust AF_DECT/SOL_DECT values for latest kernel
...
Warning: won't work with older kernels.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-06-16 23:52:30 +02:00
Patrick McHardy
be293dc31c
mm: proper procedure management
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-06-02 13:41:55 +02:00
Patrick McHardy
5008e60230
mm: fix potential NULL pointer dereference
...
An empty portable_identity IE may be included if no temporary
identity assignment is started, which is also represented as
NULL.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-05-27 03:15:02 +02:00
Patrick McHardy
6c1ba2669d
cc: add CRSS hold message
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-04-01 22:58:20 +02:00
Patrick McHardy
031dbe5459
sfmt: fix keypad debug message indentation
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-04-01 07:47:14 +02:00
Patrick McHardy
3aa9b7d4e7
examples: dummy_ops: reject unimplemented MM procedures
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-31 07:39:33 +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
3f19c0cef1
timer: fix dect_timer_running() for timers already expired
...
Make sure dect_timer_running() returns the proper result for timers that
have already expired by adding a new function to invoke the timer callback
that resets the state to DECT_TIMER_STOPPED before invoking the callback.
Additionally unexport the timer structure and add an accessor function
for the private storage area to make sure all timer invocations happen
through the new function.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-31 03:45:42 +02:00
Patrick McHardy
92e6ddcfe8
timer: move timer functions into seperate files
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-31 03:28:47 +02:00
Patrick McHardy
c86560b1a7
examples: use a proper install path
...
Most importantly stop overwritting /usr/bin/cc.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-31 02:58:25 +02:00
Patrick McHardy
b870069f4c
example: consolidate common initialization and cleanup code
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-19 16:24:03 +01:00
Patrick McHardy
10bc9f41b6
example: clean up makefile a bit
...
Signed-off-by: Patrick McHardy< <kaber@trash.net>
2010-03-19 16:07:56 +01:00
Patrick McHardy
472733d43d
netlink: add beginning of netlink LLME support
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-10 14:17:50 +01:00
Patrick McHardy
9bd59b4751
ie: fix compilation error on 64 bit
...
src/ie.c:33: error: conflicting types for 'dect_ie_alloc'
include/dect/ie.h:49: error: previous declaration of 'dect_ie_alloc' was here
src/ie.c:44: error: conflicting types for 'dect_ie_alloc'
include/dect/ie.h:49: error: previous declaration of 'dect_ie_alloc' was here
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-10 13:45:14 +01: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
bdaa02113d
mm: fix model identifier placement in MM messages
...
Model Identifier IEs are located after IWU-to-IWU IEs.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-28 22:59:22 +01:00
Patrick McHardy
ef2884c634
lce: fix link destruction on shutdown
...
Mark the link as released to make sure it is destroyed after the last
transaction has been closed.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-28 22:59:22 +01:00
Patrick McHardy
096ae54c9e
ie: fix repeat indicator bugs
...
Appending to the list is broken and always overwrites the pointer to the
first member. Additionally lists contained in messages are not freed.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-28 22:40:36 +01:00
Patrick McHardy
e2dfda4a4d
identities: export dect_ipui_cmp
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-28 09:54:25 +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
a06645ad7d
build: don't link main library with libevent and libSDL
...
For now remove those two libraries from the autoconf script and
add them to the examples Makefile.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-19 05:16:34 +01:00
Patrick McHardy
25ab66e346
example: break out of event loop after procedure completion
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-18 23:44:53 +01:00
Patrick McHardy
ebee617082
example: support breaking out of the event loop
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-18 23:42:13 +01:00