JODY-W2 - System integration manual
UBX-18068879 - R14
Software
Page 51 of 84
C1 - Public
Using SDIO-SDIO driver package
While using SDIO-SDIO package the same bus is shared between both radios. It also has both modes
of usage.
3.11.4.1
Serial mode
In serial mode, a combo firmware is used. By default, the kernel module
sd8987
downloads the
firmware
mrvl/sdsd8987_combo.bin
. Here are the set of commands used.
For Bluetooth, we can just load the module.
When combo FW is loaded either by Wi-Fi or Bluetooth, the driver loaded second detects the FW and
does not try to download it again. There is no specific order in which drivers are loaded, so technically
the Bluetooth driver can be loaded first with the combo FW, followed by Wi-Fi driver.
3.11.4.2
Parallel mode
Here we use two different firmware binaries along with the respective driver. Here we need to set
fw_serial=0
, to configure the download operation in parallel mode. The excerpt below shows the
command for it.
To operate Bluetooth in parallel mode using dedicated firmware, we need to set
bt_fw_serial=0
which
will enable this mode. Remember to use the Bluetooth only firmware.
Verifying the firmware version
The version of the loaded driver can be verified using the following command:
Verifying the interfaces
The available Wi-Fi interfaces can be seen using
ifconfig
command.
Interface
Usage
mlan0
Default interface used for station mode functionality. Can be configured using mlanutl.
uap0
Virtual interface with AP functionality, it can be configured using uaputl.
wfd0
Virtual interface to use P2P functionality. It can operate in both group owner as well as client mode.
# insmod mlan.ko
# insmod sd8987.ko fw_name=mrvl/sdsd8987_combo_jody-w2-sdio.bin cfg80211_wext=0xf
cal_data_cfg=none
# insmod bt8987.ko
# insmod mlan.ko
# insmod sd8987.ko fw_name=mrvl/sd8987_wlan_jody-w2-sdio.bin cfg80211_wext=0xf
cal_data_cfg=none
fw_serial=0
# insmod bt8987.ko
bt_fw_serial=0
fw_name=mrvl/sd8987_bt_jody-w2-sdio.bin
[ 33.066092] bt8xxx: loading out-of-tree module taints kernel.
[ 33.073293] BT: Loading driver
[ 33.178538] BT Request firmware: mrvl/sd8987_bt_jody-w2-sdio.bin
[ 33.507969] BT: FW download over, size 210952 bytes
[ 33.713345] BT FW is active(2)
[ 33.730704] BT: Driver loaded successfully
# mlanutl mlan0 version
Version string received: SD8987-16.68.10.p33-C4X15C651-GPL-(FP68)