mirror of
https://github.com/open-sdr/openwifi.git
synced 2025-04-07 19:04:15 +00:00
Align the inital actual_tx_lo/actual_rx_lo to rf_init_11n.sh:
Make it far from our usual 2.4/5GHz to force ad9361 to calibration while up in 2.4/5GHz due to large tuning offset from the original frequency (1GHz)
This commit is contained in:
parent
ffd377ca42
commit
7b2f8bdfff
@ -1810,8 +1810,8 @@ static int openwifi_dev_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
// //-------------find ad9361-phy driver for lo/channel control---------------
|
||||
priv->actual_rx_lo = 0;
|
||||
priv->actual_tx_lo = 0;
|
||||
priv->actual_rx_lo = 1000; //Some value aligned with rf_init/rf_init_11n.sh that is not WiFi channel to force ad9361_rf_set_channel execution triggered by Linux
|
||||
priv->actual_tx_lo = 1000; //Some value aligned with rf_init/rf_init_11n.sh that is not WiFi channel to force ad9361_rf_set_channel execution triggered by Linux
|
||||
tmp_dev = bus_find_device( &spi_bus_type, NULL, "ad9361-phy", custom_match_spi_dev );
|
||||
if (tmp_dev == NULL) {
|
||||
printk(KERN_ERR "%s find_dev ad9361-phy failed\n",sdr_compatible_str);
|
||||
|
Loading…
x
Reference in New Issue
Block a user