aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluckyhacky <github@mail.my-cp.de>2013-12-30 23:18:11 +0100
committerHarald Welte <laforge@gnumonks.org>2015-08-21 01:48:30 +0200
commit732d06d531a3bb43ca6bd489da09bade6295ef55 (patch)
treee8e6bc81f6ac10a1520787999c50f28e35780b5b
parent165bf705a2a8546f17e40ddd9b82e88c979ae17c (diff)
align for better readability
-rw-r--r--src/tetra_mac_pdu.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tetra_mac_pdu.c b/src/tetra_mac_pdu.c
index 70b5ec9..ec31e4f 100644
--- a/src/tetra_mac_pdu.c
+++ b/src/tetra_mac_pdu.c
@@ -41,19 +41,19 @@ static void decode_d_mle_sysinfo(struct tetra_mle_si_decoded *msid, const uint8_
void macpdu_decode_sysinfo(struct tetra_si_decoded *sid, const uint8_t *si_bits)
{
- const uint8_t *cur = si_bits + 4;
+ const uint8_t *cur = si_bits + 4;
- sid->main_carrier = bits_to_uint(cur, 12); cur += 12;
- sid->freq_band = bits_to_uint(cur, 4); cur += 4;
- sid->freq_offset = bits_to_uint(cur, 2); cur += 2;
- sid->duplex_spacing = bits_to_uint(cur, 3); cur += 3;
+ sid->main_carrier = bits_to_uint(cur, 12); cur += 12;
+ sid->freq_band = bits_to_uint(cur, 4); cur += 4;
+ sid->freq_offset = bits_to_uint(cur, 2); cur += 2;
+ sid->duplex_spacing = bits_to_uint(cur, 3); cur += 3;
sid->reverse_operation = *cur++;
- sid->num_of_csch = bits_to_uint(cur, 2); cur +=2;
- sid->ms_txpwr_max_cell = bits_to_uint(cur, 3); cur += 3;
- sid->rxlev_access_min = bits_to_uint(cur, 4); cur += 4;
- sid->access_parameter = bits_to_uint(cur, 4); cur += 4;
- sid->radio_dl_timeout = bits_to_uint(cur, 4); cur += 4;
- sid->cck_valid_no_hf = *cur++;
+ sid->num_of_csch = bits_to_uint(cur, 2); cur += 2;
+ sid->ms_txpwr_max_cell = bits_to_uint(cur, 3); cur += 3;
+ sid->rxlev_access_min = bits_to_uint(cur, 4); cur += 4;
+ sid->access_parameter = bits_to_uint(cur, 4); cur += 4;
+ sid->radio_dl_timeout = bits_to_uint(cur, 4); cur += 4;
+ sid->cck_valid_no_hf = *cur++;
if (sid->cck_valid_no_hf)
sid->cck_id = bits_to_uint(cur, 16);
else