mirror of https://github.com/pvnis/srsRAN_4G.git
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.
c7343cf6d8
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 | |
---|---|---|
.. | ||
hdr | 5 years ago | |
src | 5 years ago | |
test | 5 years ago | |
CMakeLists.txt | 6 years ago | |
ue.conf.example | 5 years ago |