revert temporary fix

This commit is contained in:
cmayer 2019-05-23 20:32:54 +02:00
parent c3d2db12ac
commit 7f706f6134
1 changed files with 1 additions and 1 deletions

View File

@ -921,7 +921,7 @@ class PhysicalLayer(object):
success = np.all(b[0:3] == 0)
b = np.flip(b)
self._wid = wid = np.packbits(b[0:4])[0]>>4
self._intl_type = 'L'# INTERLEAVERS[np.packbits(b[4:6])[0]>>6]
self._intl_type = INTERLEAVERS[np.packbits(b[4:6])[0]>>6]
self._constraint_length = 'K=7' if b[6] == 0 else 'K=9'
self._data_mode = WID_MODE[self._wid]
print('WID:', self._wid, self._intl_type, self._constraint_length,self._data_mode)