Search by Tags

Operating WiFi/BT capable modules with a single antenna

 
Subscribe for this article updates

Our Wifi/BT enabled SoMs support dual antenna configuration. It's a recommended and default configuration. If for whatever reason operation with a single antenna is required, please follow this guide.

Setup

Requirements:

  1. Connect antenna to the port marked MAIN,

  • wifi module

    WiFi/BT module

  1. It's recommended for the AUX port to be 50Ω terminated,
  2. Follow the "Boot time configuration" or "Run time configuration"

Boot time configuration

Starting with BSP 2.8b5 it's possible to configure single antenna operation on boot.

Simply create a file:

/etc/modprobe.d/mwifiex.conf
options mwifiex single_rf=0x1

Run time configuration

  1. Make sure wifi is not enabled by disabling any connections with connman or other Network manager and executing:

    $ ip l dev mlan0 down

  2. use iw to set antenna bitmap

    $ iw phy phy0 antenna 0x01 0x01

  3. Now you can use WiFi as usual, only MAIN antenna will be used.