Age | Commit message (Collapse) | Author | Files | Lines |
|
Maintain LCE location table and use it for determining paging mode
and setup capabilities.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Move seeding to an __init function to avoid reseeding the PRNG multiple
times with the same seed when opening multiple handles in a short amount
of time.
While at it, switch from rand() to random() since it uses a better
PRNG in old libcs and non-Linux systems.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Similar to other objects, support a private data area for libdect handles
for applications dealing with multiple handles simultenously.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Proper error handling on failed dect_init() calls is currently not
possible since dect_close_handle() expects a fully initialized handle.
Kill dect_alloc_handle() and add a dect_open_handle() function that
performs all setup.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Zero the DECT handle on allocation to properly initialize the various members.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
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>
|
|
TODO:
- Update tp->tpui based on temporary identity assignments
- Implement group TPUI support
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Restructuring of module section, minor updates.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Also add support to bind to clusters by name.
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
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>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|
|
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>
|
|
Signed-off-by: Patrick McHardy <kaber@trash.net>
|