bastibl / gr-ieee802-11

IEEE 802.11 a/g/p Transceiver
https://wime-project.net/
GNU General Public License v3.0
750 stars 292 forks source link

Buffer too small for min_noutput_items #210

Closed sbindel closed 4 years ago

sbindel commented 4 years ago

Hi Bastian, During the test of the loopback example, I have observed when I increase the PDU length an error related to the IEEE802.11 chuncks to Symbols block indicating :
thread[thread-per-block[10]: <block chunks_to_symbols(7)>]: Buffer too small for min_noutput_items ,when I use BPSK 1/2 modulation.

However when I used a QAM module the following error appears : <block ofdm_cyclic_prefixer(11)>]: Buffer too small for min_noutput_items

Is it a problem related to GR_FIXED_BUFFER_SIZE ? Have I to modify buffer of each block ?

Materials :

Best regards

sbindel commented 4 years ago

I have set the GR_FIXED_BUFFER_SIZE to 128k, by compiling from the source GNU Radio and it's work. Is there a way to change the GR_FIXED_BUFFER_SIZE variable without compile manually ?

bastibl commented 4 years ago

Please see this thread and make sure to use the most recent GNU Radio version. https://github.com/bastibl/gr-ieee802-11/issues/190