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
..
CMakeLists.txt add cell search and USRP capture examples for NB-IoT 5 years ago
cell_search.c srsLTE: AGC only uses boundaries for requesting gain to Radio 5 years ago
cell_search_nbiot.c srsLTE: AGC only uses boundaries for requesting gain to Radio 5 years ago
pdsch_enodeb.c replace FIXME with TODO 5 years ago
pdsch_ue.c protect sf_buffer from overrun in receive_samples 5 years ago
synch_file.c Clang format UE, eNB and lib (#850) 5 years ago
usrp_capture.c Clang format UE, eNB and lib (#850) 5 years ago
usrp_capture_sync.c protect sf_buffer from overrun in receive_samples 5 years ago
usrp_capture_sync_nbiot.c Clang format UE, eNB and lib (#850) 5 years ago
usrp_txrx.c Clang format UE, eNB and lib (#850) 5 years ago
zmq_remote_rx.c Clang format UE, eNB and lib (#850) 5 years ago