mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
datastorage/test: improve scalability and performance
datastorage: convert to linked lists and optimise use of pointers
datastorage: AP, client, probe, auth entry and MAC list converted to
linked list
datastorage: functions adjusted to take pointers as parameters
datastorage: optimised sort and search functions added
mac_utils: struct dawn_mac added and comparisons adjusted
general: adjust code to call new datastorage functions
test_storage: large scale 100 AP, 3000 client, 70k probe added
[fix commit]
Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
2f585043c3
commit
7262cf02d0
20 changed files with 77420 additions and 1437 deletions
|
|
@ -3,19 +3,12 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
* Convert char to binary.
|
||||
* @param ch
|
||||
* @return
|
||||
*/
|
||||
int hex_to_dec(char ch);
|
||||
|
||||
/**
|
||||
* Check if a string is greater than another one.
|
||||
* @param str
|
||||
* @param str_2
|
||||
* @return
|
||||
*/
|
||||
int string_is_greater(uint8_t *str, uint8_t *str_2);
|
||||
int string_is_greater(char *str, char *str_2);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue