On 6/11/19 3:33 PM, Eamon Heaney wrote: > Hey all, > > I'm trying to turn the wifi receiver flowgraph in this repo > (https://github.com/bastibl/gr-ieee802-11/blob/maint-3.8/examples/wifi_rx.grc) > into one that will work with the HackRF. > > The example uses a USRP source, with a normalized gain of .75. I'm not > sure how to translate that into parameters for the osmocom source, which > has 3 gain options: RF gain, IF gain, and BB gain, all in dB.
RF gain=0, IF gain=32, and BB gain=32. These are general purpose settings, i.e., don't use the RF gain unless you absolutely have to - and you're certain there isn't a strong radio source nearby. Type hackrf_transfer --help for the gain ranges and the step sizes. -- Cinaed > > I tried setting the RF gain = 20log(.75) = -2.49877, but that just > resulted in mangled packets. > > Any suggestions? > > -- > Eamon Heaney > / > /Fleet Commander/ > // > /President, Model UN at Virginia Tech/ > / > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
