Commit 112b3719 authored by Elena_Lukashova's avatar Elena_Lukashova

Merge branch 'develop' into feature-59-tm4

parents 83a045ec 5c375d3a
...@@ -148,7 +148,7 @@ int trx_eth_write_raw(openair0_device *device, openair0_timestamp timestamp, voi ...@@ -148,7 +148,7 @@ int trx_eth_write_raw(openair0_device *device, openair0_timestamp timestamp, voi
int sent_byte; int sent_byte;
if (eth->compression = ALAW_COMPRESS) { if (eth->compression == ALAW_COMPRESS) {
sent_byte = RAW_PACKET_SIZE_BYTES_ALAW(nsamps); sent_byte = RAW_PACKET_SIZE_BYTES_ALAW(nsamps);
} else { } else {
sent_byte = RAW_PACKET_SIZE_BYTES(nsamps); sent_byte = RAW_PACKET_SIZE_BYTES(nsamps);
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
// Packet sizes for IF4p5 interface format // Packet sizes for IF4p5 interface format
#define DATA_BLOCK_SIZE_BYTES(scaled_nblocks) (sizeof(uint16_t)*scaled_nblocks) #define DATA_BLOCK_SIZE_BYTES(scaled_nblocks) (sizeof(uint16_t)*scaled_nblocks)
#define PRACH_HARD_CODED_NUM_SAMPLES (839*4) #define PRACH_HARD_CODED_NUM_SAMPLES (839*2)
#define PRACH_BLOCK_SIZE_BYTES (sizeof(int16_t)*PRACH_HARD_CODED_NUM_SAMPLES) // FIX hard coded prach size #define PRACH_BLOCK_SIZE_BYTES (sizeof(int16_t)*PRACH_HARD_CODED_NUM_SAMPLES) // FIX hard coded prach size
#define RAW_IF4p5_PDLFFT_SIZE_BYTES(nblocks) (MAC_HEADER_SIZE_BYTES + sizeof_IF4p5_header_t + DATA_BLOCK_SIZE_BYTES(nblocks)) #define RAW_IF4p5_PDLFFT_SIZE_BYTES(nblocks) (MAC_HEADER_SIZE_BYTES + sizeof_IF4p5_header_t + DATA_BLOCK_SIZE_BYTES(nblocks))
......
...@@ -1081,6 +1081,7 @@ static void get_options (int argc, char **argv) { ...@@ -1081,6 +1081,7 @@ static void get_options (int argc, char **argv) {
} else { } else {
(eth_params+j)->rf_preference = 0; (eth_params+j)->rf_preference = 0;
} }
(eth_params+j)->if_compress = enb_properties->properties[i]->rrh_gw_config[j].if_compress;
} else { } else {
local_remote_radio = BBU_LOCAL_RADIO_HEAD; local_remote_radio = BBU_LOCAL_RADIO_HEAD;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment