Closed HC153Yuanyuan closed 2 years ago
Frequency spectrum
The older version of antsdr is not officially support supported by openwifi. This due to the lvds interface. The openwifi needs 40MSPS sample rate at lvds interface, however the antsdr-b220 not originally designed with an LVDS interface, so there were some hardware limitations. You need to change the change the linux kernel for digital Interface Timing Verification, and maybe also need to edit the openwifi project with a lower sample rate.
Frequency spectrum
Hello, This spectrum is due to the offset tuning: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#analog-and-digital-frequency-design
You can fix the spectrum in this quick way (We are working on the final solution):
priv->tx_intf_cfg = TX_INTF_BW_20MHZ_AT_0MHZ_ANT0;
BWTX 20172411
echo 1 > out_voltage_filter_fir_en
The older version of antsdr is not officially support supported by openwifi. This due to the lvds interface. The openwifi needs 40MSPS sample rate at lvds interface, however the antsdr-b220 not originally designed with an LVDS interface, so there were some hardware limitations. You need to change the change the linux kernel for digital Interface Timing Verification, and maybe also need to edit the openwifi project with a lower sample rate.
Should I do the IO timing calibration by myself? or it has been done by ADI driver
Frequency spectrum
Hello, This spectrum is due to the offset tuning: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#analog-and-digital-frequency-design
You can fix the spectrum in this quick way (We are working on the final solution):
- Replace this line: https://github.com/open-sdr/openwifi/blob/c63537c4fbd39557a6010359c32c75673c74c5d8/driver/sdr.c#L2072 to
priv->tx_intf_cfg = TX_INTF_BW_20MHZ_AT_0MHZ_ANT0;
- Replace this line: https://github.com/open-sdr/openwifi/blob/c63537c4fbd39557a6010359c32c75673c74c5d8/user_space/openwifi_ad9361_fir.ftr#L6 to
BWTX 20172411
- Replace this line: https://github.com/open-sdr/openwifi/blob/c63537c4fbd39557a6010359c32c75673c74c5d8/user_space/rf_init.sh#L57 to
echo 1 > out_voltage_filter_fir_en
- Recompile the sdr driver, and copy all the new .ko files, openwifi_ad9361_fir.ftr and rf_init.sh onto the board. Then run your normal test. You should see spectrum like this:
Thank you for your suggestion. I made modified follow these, but i still cant scan the openwifi ssid in my phone. I think it may be other problems.
If no further questions, I will close this issue.
My board is antsdr b220. I am running the openwifi project and found that when I working in 5GHz, the sniffer could not capture any beacon. When I switched to 2.4GHz, although I could capture beacon frame through wireshark, it was difficult for the phone to scan the SSID. When I try to connect, it always fails.
What do you think about this ?