You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andre Puschmann c7343cf6d8 protect sf_buffer from overrun in receive_samples
this patch adds a buffer len paramter to the receive_samples() call
that protects the (also) provided buffer from overflowing.

currently each call to srslte_ue_sync_zerocopy() which then calls receive_samples()
relies on a buffer that is "big enough". But that buffer is sometimes
2 subframes, sometimes 3 or 5, sometimes has space for the maximum PRB size, sometimes
only for 6 PRBs (i.e. during cell search).

By extending the interface to pass the buffer size we can make sure that
only samples are received that actually fit inside the provided buffer.
5 years ago
..
ue_cell_search.h update copyright notice 6 years ago
ue_cell_search_nbiot.h add cell search and USRP capture examples for NB-IoT 5 years ago
ue_dl.h Clang format UE, eNB and lib (#850) 5 years ago
ue_mib.h protect sf_buffer from overrun in receive_samples 5 years ago
ue_mib_nbiot.h add cell search and USRP capture examples for NB-IoT 5 years ago
ue_mib_sl.h PSSS and SSSS implementation 5 years ago
ue_phy.h Clang format UE, eNB and lib (#850) 5 years ago
ue_sync.h protect sf_buffer from overrun in receive_samples 5 years ago
ue_sync_nbiot.h srsLTE: AGC only uses boundaries for requesting gain to Radio 5 years ago
ue_ul.h Clang format UE, eNB and lib (#850) 5 years ago