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.
Note: The Bluetooth signal is only available on the AUX terminal so if you plan to use only Bluetooth is likely that you won't have additional benefits in using two antennas.
If this is not the information you are looking for, please, refer to the Wi-Fi Connectivity with Toradex’s Computer on Module (CoM) article for more Wi-Fi related information.
Requirements:
$ ip link set dev mlan0 down
$ iw phy phy0 set antenna 0x02 0x02
Now you can use Wi-Fi as usual, only the AUX antenna will be used.
If you're only using WiFi in your application, better radio performance can be achieved by connecting the antenna to the MAIN port and using:
$ iw phy phy0 set antenna 0x01 0x01
In this case the AUX port needs to be 50 Ω terminated.