diff options
author | Pau Espin Pedrol <pespin@espeweb.net> | 2021-02-01 16:26:29 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@espeweb.net> | 2021-02-01 16:37:46 +0100 |
commit | 4668dc6f07a7ee8517e1e77255199a44976604cb (patch) | |
tree | 9ab982108ee54939523c2f7fa4902e117e6a2ae3 /src | |
parent | 79784d024960fe1de3bc6db622a440b3c96a0a3c (diff) |
encoding: Fix comment description of S/P field
Those fields were ment to be 0 (non-valid), just the comments were
copied over from somewhere else, and they are misleading.
Change-Id: Ic95853e115f60c65f7f11187d49d6e870d08c7bb
Diffstat (limited to 'src')
-rw-r--r-- | src/encoding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoding.cpp b/src/encoding.cpp index a5e7f8af..38bc175d 100644 --- a/src/encoding.cpp +++ b/src/encoding.cpp @@ -1739,7 +1739,7 @@ void write_packet_neighbour_cell_data(RlcMacDownlink_t *block, block->PAYLOAD_TYPE = 0x1; // RLC/MAC control block that does not include the optional octets of the RLC/MAC control header block->RRBP = 0; // 0: N+13 - block->SP = 0; // RRBP field is valid + block->SP = 0; // RRBP field is not valid block->USF = 0x0; // Uplink state flag block->u.Packet_Neighbour_Cell_Data.MESSAGE_TYPE = MT_PACKET_NEIGHBOUR_CELL_DATA; @@ -1764,7 +1764,7 @@ void write_packet_cell_change_continue(RlcMacDownlink_t *block, block->PAYLOAD_TYPE = 0x1; // RLC/MAC control block that does not include the optional octets of the RLC/MAC control header block->RRBP = 0; // 0: N+13 - block->SP = 0; // RRBP field is valid + block->SP = 0; // RRBP field is not valid block->USF = 0x0; // Uplink state flag block->u.Packet_Cell_Change_Continue.MESSAGE_TYPE = MT_PACKET_CELL_CHANGE_CONTINUE; |