Toradex Wi-Fi/BT enabled SoMs support dual antenna configuration. Dual antenna operation is recommended and default configuration to obtain maximum throughput and stability performance through the usage of MIMO.
If for whatever reason operation with a single antenna is required, please follow this guide.
Make sure wifi is not enabled by disabling any connections with connman or whatever other network manager is in use and execute:
Use iw to set the antenna bitmap:
Now you can use Wi-Fi as usual, only the AUX antenna will be used.
Note: If you're only using WiFi in your application, better radio performance can be achieved by connecting antenna to MAIN port and using
phy phy0 set antenna 0x01 0x01
command (in this case the AUX port needs to be 50 Ω terminated)