File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
test/nanostack/unittest/stub Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change 21
21
#include <ns_list.h>
22
22
#include <nsdynmemLIB.h>
23
23
24
- #ifndef UINT_FAST4_MAX
25
- typedef uint_fast8_t uint_fast4_t ;
26
- #define UINT_FAST4_MAX UINT_FAST8_MAX
27
- #endif
28
-
29
24
#define THREAD_ROUTING_FN extern
30
25
31
26
#include <net_thread_test.h>
@@ -40,30 +35,11 @@ typedef uint_fast8_t uint_fast4_t;
40
35
41
36
#define TRACE_GROUP "trou"
42
37
43
- /* MLE Route Data bit assignments (draft-kelsey-thread-routing-00) */
44
- #define ROUTE_DATA_OUT_MASK 0xC0
45
- #define ROUTE_DATA_OUT_SHIFT 6
46
- #define ROUTE_DATA_IN_MASK 0x30
47
- #define ROUTE_DATA_IN_SHIFT 4
48
- #define ROUTE_DATA_COST_MASK 0x0F
49
-
50
- #define MAX_ROUTE_COST 0x0F
51
-
52
- typedef uint_fast4_t thread_route_cost_t ;
53
- #define THREAD_COST_INFINITE 0
54
-
55
- #define MAX_LINK_AGE 100*10 /* 100 seconds */
56
-
57
- #define LINK_AGE_STATIC 0xFFFF /* Magic number to indicate "never expire" */
58
-
59
-
60
38
bool router_id_sequence_is_greater (const thread_routing_info_t * routing , uint8_t seq )
61
39
{
62
40
return false;
63
41
}
64
42
65
- #define LINK_QUALITY_HYSTERESIS (1 << THREAD_LINK_MARGIN_SCALING) /* 1dB */
66
-
67
43
bool thread_i_am_router (const protocol_interface_info_entry_t * cur )
68
44
{
69
45
return false;
You can’t perform that action at this time.
0 commit comments