11203 Commits

Author SHA1 Message Date
Matthias Ringwald
2ddfd9e22b mesh: remove mesh_access_pdu_t getters 2020-08-08 19:47:48 +02:00
Matthias Ringwald
3945bdb632 mesh: remove mesh_message_pdu_t getters (mesh_message_*) 2020-08-08 19:47:48 +02:00
Matthias Ringwald
7cb45abf1b mesh: replace network_header in mesh_segmented_pdu by individual fields 2020-08-08 19:47:48 +02:00
Matthias Ringwald
a249589839 mesh: replace network_header in mesh_control_pdu_t by individual fields 2020-08-08 19:47:48 +02:00
Matthias Ringwald
c3fc3eea49 mesh: replace network_header in mesh_access_pdu_t by individual fields 2020-08-08 19:47:48 +02:00
Matthias Ringwald
274c04d6a2 mesh: remove incoming_access_pdu_encrypted_singleton pdu 2020-08-08 19:47:48 +02:00
Matthias Ringwald
da49152527 mesh: free incoming encrypted access pdu until fully processed 2020-08-08 19:47:48 +02:00
Matthias Ringwald
8fb906aa4a mesh: use union for mesh-access and mesh-control pdu singletons, use mesh-access singleton as crypto buffer 2020-08-08 19:47:48 +02:00
Matthias Ringwald
5368239bb9 mesh: allocate segments for segmented access pdu in run function 2020-08-08 19:47:48 +02:00
Matthias Ringwald
370463bf12 mesh: store lower transport pdu in upper pdu field, remove temp globals 2020-08-08 19:47:48 +02:00
Matthias Ringwald
43d07e7f35 mesh: allocate network pdu for outgoing unsegmented access message in run function 2020-08-08 19:47:48 +02:00
Matthias Ringwald
ee7327ab4d mesh: use upper_transport_outgoing_active list instead of single pointer 2020-08-08 19:47:48 +02:00
Matthias Ringwald
e4121a3476 mesh: remove mesh_unsegmented_pdu_t 2020-08-08 19:47:48 +02:00
Matthias Ringwald
e9c1630436 mesh: use mesh_network_pdu for unsegmented control and access messages, sort functions 2020-08-08 19:47:48 +02:00
Matthias Ringwald
a97cf70aa5 mesh: use mesh_upper_transport_pdu for outgoing segmented control 2020-08-08 19:47:48 +02:00
Matthias Ringwald
8ec600ff6d mesh: use mesh_network_pdu/unsegmented_control for unsegmented control 2020-08-08 19:47:48 +02:00
Matthias Ringwald
0da6acd083 mesh: delete previous upper transport code for sending access messages 2020-08-08 19:47:48 +02:00
Matthias Ringwald
1b51af657a mesh: use only segments in mesh_upper_transport_pdu_t, use mesh_upper_transport_pdu for unsegmented access 2020-08-08 19:47:48 +02:00
Matthias Ringwald
242605fa4f mesh: use mesh_upper_transport_pdu_t for segmented access message 2020-08-08 19:47:48 +02:00
Matthias Ringwald
efe57ffd88 mesh: define upper-(un)segmented-access/control pdu types, replace network_header in mesh_upper_transport_pdu_t 2020-08-08 19:47:48 +02:00
Matthias Ringwald
491f99b339 mesh: define mesh_upper_transport_pdu for (un)segmented access messages and segmented control messages 2020-08-08 19:47:48 +02:00
Matthias Ringwald
5131e19543 mesh: store unsegmented control message in mesh-control-pdu for incoming 2020-08-08 19:47:48 +02:00
Matthias Ringwald
df3fbfcbf2 mesh: extract mesh_segmented_pdu_flatten 2020-08-08 19:47:48 +02:00
Matthias Ringwald
25b07254fd mesh: define mesh_control_pdu, flatten segmented control message into mesh_control_pdu in upper transport 2020-08-08 19:47:48 +02:00
Matthias Ringwald
ba660d4251 mesh: remove mesh_transport_pdu_t from lower and upper transport 2020-08-08 19:47:48 +02:00
Matthias Ringwald
b1a7ae8f2c mesh: use mesh_access_pdu_t for outgoing segmented access messages 2020-08-08 19:47:48 +02:00
Matthias Ringwald
7a0b74888e mesh: remove mesh_upper_transport_set_higher_layer_handler, deliver pdu sent via corresponding access/control handlers 2020-08-08 19:47:48 +02:00
Matthias Ringwald
404d2482eb mesh: extend callback params for received access and control pdus 2020-08-08 19:47:48 +02:00
Matthias Ringwald
f77356ee3f mesh: support mesh_access_pdu_t in mesh_access_parser 2020-08-08 19:47:48 +02:00
Matthias Ringwald
552f5710ee mesh: copy unsegmented access pdu into segmented decryption buffer and remove unsegmented handling code 2020-08-08 19:47:47 +02:00
Matthias Ringwald
425d239125 mesh: copy encrypted access pdu onto decrypted instead of manual field setup 2020-08-08 19:47:47 +02:00
Matthias Ringwald
1fda7ff0dd mesh: free outgoing_segmented_pdu on test reset, remove dummy field from mesh_transport_pdu_t 2020-08-08 19:47:47 +02:00
Matthias Ringwald
a4bbc09d8c mesh: mesh_message_pdu -> mesh_segmented_pdu 2020-08-08 19:47:47 +02:00
Matthias Ringwald
04050cc707 mesh: remove segmented field from mesh_message_pdu_t 2020-08-08 19:47:47 +02:00
Matthias Ringwald
d38a76647a mesh: use mesh-unsegmented-pdu for unsegmented pdus instead of mesh-message-pdu 2020-08-08 19:47:47 +02:00
Matthias Ringwald
a01ba0fd87 mesh: lower transport only handles mesh unsegmented and mesh message 2020-08-08 19:47:47 +02:00
Matthias Ringwald
b837963cae mesh: use mesh-unsegmented-pdu to send unsegmented control messages 2020-08-08 19:47:47 +02:00
Matthias Ringwald
6545a65bed mesh: add dummy to mesh-transport-t to keep tests working 2020-08-08 19:47:47 +02:00
Matthias Ringwald
8facb3ea41 mesh: mesh-unsegmented-incoming -> mesh-unsegemented 2020-08-08 19:47:47 +02:00
Matthias Ringwald
2ebe2350f1 mesh: remove unused fields from mesh-transport-pdu-t 2020-08-08 19:47:47 +02:00
Matthias Ringwald
8fa6125a56 mesh: move code to create mesh message with chunks from mesh transport from lower into upper transport 2020-08-08 19:47:47 +02:00
Matthias Ringwald
536fc3830d mesh: use outgoing_segmented_pdu as guard in upper transport 2020-08-08 19:47:47 +02:00
Matthias Ringwald
12ba52abb7 mesh: funnel segmented messages via mesh_upper_transport_send_segmented_pdu 2020-08-08 19:47:47 +02:00
Matthias Ringwald
a7f44e8db4 mesh: convert mesh_transport_t into mesh_message in lower transport before sending 2020-08-08 19:47:47 +02:00
Matthias Ringwald
160d2809bd mesh: use new mesh_access_pdu for incoming pdu handling in upper transport 2020-08-08 19:47:47 +02:00
Matthias Ringwald
7667b5d16d mesh: split mesh_upper_transport_process_segmented_message_done into control and access variant 2020-08-08 19:47:47 +02:00
Matthias Ringwald
84011563af mesh: use single pointer to mesh_network_pdu_t in mesh_unsegmented_incoming_pdu_t 2020-08-08 19:47:47 +02:00
Matthias Ringwald
3d9c3b8e63 mesh: use mesh_unsegmnted_incoming_pdu_t for unsegmented control messages 2020-08-08 19:47:47 +02:00
Matthias Ringwald
cae44b3ba8 mesh: sort upper transport 2020-08-08 19:47:47 +02:00
Matthias Ringwald
e3bfb018e7 mesh: rename mesh_access_incoming_pdu_t into mesh_unsegemented_incoming_pdu_t 2020-08-08 19:47:47 +02:00