[PATCH] osmocom-bb[master]: fake_trx/burst_fwd.py: append two unused bytes at the end

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Feb 22 15:32:44 UTC 2018


Review at  https://gerrit.osmocom.org/6708

fake_trx/burst_fwd.py: append two unused bytes at the end

Change-Id: I1d7ed076d93b37699520ee2a31c42c177f966865
---
M src/target/fake_trx/burst_fwd.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/08/6708/1

diff --git a/src/target/fake_trx/burst_fwd.py b/src/target/fake_trx/burst_fwd.py
index d822747..161710c 100644
--- a/src/target/fake_trx/burst_fwd.py
+++ b/src/target/fake_trx/burst_fwd.py
@@ -50,6 +50,9 @@
 		for i in range(8, length):
 			payload[i] = 255 if payload[i] else 0
 
+		# WTF: append two unused bytes at the end
+		payload[length:2] = [0x00, 0x00]
+
 		return payload
 
 	# Downlink handler: BTS -> BB

-- 
To view, visit https://gerrit.osmocom.org/6708
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d7ed076d93b37699520ee2a31c42c177f966865
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list