Skip to content
Snippets Groups Projects
Commit 18d2b97f authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Fixed RSP header length (was 24, now 22).

parent 7e97a4ba
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ from eth import *
# Header lengths in bytes
IP_HEADER_LENGTH = 20
UDP_HEADER_LENGTH = 8
RSP_HEADER_LENGTH = 24
RSP_HEADER_LENGTH = 22
# NOF_PAYLOAD_BYTES derived from nof signal paths and dp_offload_tx settings
NOF_SELECTED_SUBBANDS = 8 # 8 out of 9 subbands are forwarded
......@@ -62,7 +62,7 @@ NOF_PAYLOAD_BYTES = NOF_PAYLOAD_WORDS * c_word_w / c_byte_w # 6144B
ip_version = 4
ip_header_length = 5 # 5 32b words
ip_services = 0
ip_total_length = IP_HEADER_LENGTH+UDP_HEADER_LENGTH+RSP_HEADER_LENGTH+NOF_PAYLOAD_BYTES # 6196B
ip_total_length = IP_HEADER_LENGTH+UDP_HEADER_LENGTH+RSP_HEADER_LENGTH+NOF_PAYLOAD_BYTES # 6194B
ip_identification = 0
ip_flags = 2
ip_fragment_offset = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment