Patrick McHardy
0294849d77
ie: add support for <<CALLING-PARTY-NUMBER>> and <<CALLING-PARTY-NAME>> IEs
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-05 10:18:17 +02:00
Patrick McHardy
3a01874cd6
llme: add RFP MAC preload support
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-04 22:50:57 +02:00
Patrick McHardy
741629e58b
example: rename DECT_HLC_ACCESS_RIGHT_REQUESTS to DECT_HLC_ACCESS_RIGHTS_REQUESTS
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-04 22:50:37 +02:00
Patrick McHardy
4f9a40beb9
netlink: increase buffer size for capabity dumps
...
With lots of capabilities the output gets truncated.
Signed-off-by; Patrick McHardy <kaber@trash.net>
2010-08-04 20:59:17 +02:00
Patrick McHardy
0e2e31e0c4
lce: check result of dect_fd_register()
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-03 23:37:11 +02:00
Patrick McHardy
6e11eee271
mm: add more documentation
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-03 01:30:20 +02:00
Patrick McHardy
a8e3cadc3c
headers: move __cplusplus ifdefs to the beginning of the file
...
Make sure further include statements are inside the ifdef.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-03 01:29:52 +02:00
Patrick McHardy
dacee403af
headers: add doxygen markers to lce.h
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-03 00:39:00 +02:00
Patrick McHardy
23838258a0
example: check FP capabilities before invoking optional features
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-03 00:38:10 +02:00
Patrick McHardy
e31ee2ae7f
llme: add MAC_ME_INFO-ind indication to notify of FP capability changes
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-03 00:10:06 +02:00
Patrick McHardy
c26e9df6e7
mm: clear iec pointer when initiating/responding to a procedure
...
Fix use-after-free when the procedure is used for a second time.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-03 00:06:04 +02:00
Patrick McHardy
7b406ad5cc
lce: clear retransmission pointer when opening/confirming a new transaction
...
Fix use-after-free when the transaction is used for a second time.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 23:31:26 +02:00
Patrick McHardy
1d3662c3df
example: pp-access-rights: use variable for PIN
...
Allow to change it more easily.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 23:08:19 +02:00
Patrick McHardy
c8db9f0add
example: use pexit()
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 22:52:44 +02:00
Patrick McHardy
046e10fff4
example: remove mm-pp
...
Implemented by stand-alone programs.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 22:52:37 +02:00
Patrick McHardy
e999fbe0b6
lce: include <<PORTABLE-IDENTITY>> IE in page reject message
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 11:54:39 +02:00
Patrick McHardy
575483c4f3
lce: fix page transaction release mode
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 05:50:21 +02:00
Patrick McHardy
7c0e516ed9
libdect: name timer related functions more consistently
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 05:25:03 +02:00
Patrick McHardy
3d125cbc83
libdect: name timer related functions more consistently
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 05:21:45 +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
81bc245c85
lce: fix segfault when closing S-SAP socket in PP mode
...
The socket is NULL in PP mode, don't try to close it.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 04:53:35 +02:00
Patrick McHardy
d74420ac6e
lce: only open S-SAP socket in FP mode
...
Until there's an interface to indicate PP fast setup capability, disable
S-SAP listener sockets in PP mode since they cause bind conflicts wuen
running mulitple PP instances in parallel.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-01 17:18:37 +02:00
Patrick McHardy
de54717db0
mm: change PMID when an access rights request is not confirmed
...
As specified in ETSI EN 300 175-6, section 9.1.2.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-01 16:14:18 +02:00
Patrick McHardy
5ee0094057
libdect: zero libdect handle on allocation
...
Zero the DECT handle on allocation to properly initialize the various members.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 18:58:56 +02:00
Patrick McHardy
347f6bfe81
lce: add missing newline characters to PMID debugging messages
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 18:54:18 +02:00
Patrick McHardy
fcadf4c79f
mm: store TPUI on identity assignment
...
Store the TPUI when successfully accpeting temporary identity assignement
in PP mode.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 18:49:23 +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
18b31504df
lce: fix indentation
...
Signed-off-by: Patrick MCHardy <kaber@trash.net>
2010-07-31 14:07:12 +02:00
Patrick McHardy
e523f7c049
mm: add missing newline to timeout debugging
...
Signed-off-nby: Patrick McHardy <kaber@trash.net>
2010-07-31 14:03:52 +02:00
Patrick McHardy
8c74c93382
mm: add retransmission support
...
Properly retransmit a message on the first timeout.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 13:06:13 +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
949b2a8059
lce: add reference counting to message buffers
...
Required by the next patch, which will add proper retransmission to MM.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 12:41:25 +02:00
Patrick McHardy
d686e538ed
example: revert MM endpoint destruction
...
The endpoint can neither be destroyed before the handle is closed as it
doesn't clean up its open transactions and thus causes a use-after-free
on shutdown, nor after the handle has been closed since it needs a valid
handle.
Leak them for now until a better solution has been found.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 12:33:24 +02:00
Patrick McHardy
3bfa6bbb7e
lce: fix data link leak on shutdown
...
When the link is waiting for a partial release timeout and no more transactions
are present, the link won't be destroyed by closing of the last transaction.
Since timers are not running anymore on shutdown, it needs to be destroyed
manually.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 11:22:16 +02:00
Patrick McHardy
8bfeffb3b9
lce: fix comment indentation
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 11:22:15 +02:00
Patrick McHardy
e2cf4bede8
example: mm-access-rights: terminate after procedure completion
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 11:22:12 +02:00
Patrick McHardy
9af8e4edbb
example: fix use after free
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31 10:31:40 +02:00
Patrick McHardy
4c5e3a4a03
example: release MM endpoints on shutdown
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 19:25:45 +02:00
Patrick McHardy
f00777518c
doc: disable group collaboration graphs
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 16:39:01 +02:00
Patrick McHardy
5e43fe632b
example: add PP info request example
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 14:52:19 +02:00
Patrick McHardy
57b42f1f73
example: add PP access rights termination example
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 14:36:43 +02:00
Patrick McHardy
b6222491a4
example: remove unnecessary includes from pp-wait-page
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 13:56:51 +02:00
Patrick McHardy
e95aa82872
identities: return target structure from conversion functions
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 12:01:32 +02:00
Patrick McHardy
38b607ea76
doc: specify lce position
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 05:19:14 +02:00
Patrick McHardy
1e4f295edb
lce: move page_transaction initialization next to B-SAP socket initialization
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 05:19:14 +02:00
Patrick McHardy
3333182919
lce: close page transaction after first message was received and on link shutdown
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 03:40:54 +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
dd1f1b6428
example: add program to wait for page message
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 02:44:03 +02:00
Patrick McHardy
fb92f53e96
example: add LCE ops to dummy_ops
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 02:44:03 +02:00
Patrick McHardy
897ce45c14
lce: reorder functions
...
Group functions into data links, paging and transactions.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30 02:44:03 +02:00