Radiofrequency Compliance Guidance
CE / FCC certification requires that the device's wireless signal operates at a specified frequency. This tutorial will guide you on how to set up Wi-Fi / Bluetooth for such test.
Install Configuration Tool
Please execute the following commands on the device to be certified:
# Disable the default brcmfmac driver.
echo "blacklist brcmfmac" >> /etc/modprobe.d/blacklist.conf
# Download the wl utility
sudo wget -O /usr/local/sbin/wl https://dl.radxa.com/fix_freq_docs/wl
sudo chmod +x /usr/local/sbin/wl
# Install armel dependencies
sudo dpkg --add-architecture armel
sudo apt update
sudo apt install libc6:armel
# The following tools are used for the rtl8723ds module
sudo wget -O /usr/local/sbin/rtwpriv https://dl.radxa.com/fix_freq_docs/rtwpriv
sudo wget -O /usr/local/sbin/rtlbtmp https://dl.radxa.com/fix_freq_docs/rtlbtmp
sudo chmod +x /usr/local/sbin/rtwpriv
sudo chmod +x /usr/local/sbin/rtlbtmp
Replace the specialized firmware
Please execute the following command on the device to be verified:
- AP6256
- AP6212
- AW-CM256SM
- RTL8723DS
sudo mv /lib/firmware/brcm/fw_bcm43456c5_ag.bin /lib/firmware/brcm/fw_bcm43456c5_ag.bin.bak
sudo wget -O /lib/firmware/brcm/fw_bcm43456c5_ag.bin https://dl.radxa.com/fix_freq_docs/ap6256/fw_bcm43456c5_ag_mfg.bin
reboot
sudo wl ver # The word WLTEST appears, indicating that the firmware replacement was successful.
sudo hcitool cmd 0x03 0x003 # No error, means Bluetooth is working.
sudo mv /lib/firmware/brcm/fw_bcm43438a1.bin /lib/firmware/brcm/fw_bcm43438a1.bin.bak
sudo wget -O /lib/firmware/brcm/fw_bcm43438a1.bin https://dl.radxa.com/fix_freq_docs/ap6212/fw_bcm43438a1_mfg.bin
reboot
sudo wl ver # The word WLTEST appears, indicating that the firmware replacement was successful.
sudo hcitool cmd 0x03 0x003 # No error, means Bluetooth is working.
sudo mv /lib/firmware/brcm/cyw43455.bin /lib/firmware/brcm/cyw43455.bin.bak
sudo wget -O /lib/firmware/brcm/cyw43455.bin hhttps://dl.radxa.com/fix_freq_docs/cm256/cyw43455-mfgtest-7.45.100.18.bin
reboot
sudo wl ver # The word WLTEST appears, indicating that the firmware replacement was successful.
sudo hcitool cmd 0x03 0x003 # No error, means Bluetooth is working.
sudo wget -O /lib/firmware/mp_rtl8723ds_config https://dl.radxa.com/fix_freq_docs/rtl87123ds/mp_rtl8723ds_config
sudo wget -O /lib/firmware/mp_rtl8723d_fw https://dl.radxa.com/fix_freq_docs/rtl87123ds/mp_rtl8723d_fw
reboot
The rtl8723ds-btfw-load.service service needs to be shut down before the bt fix can be performed
sudo systemctl stop rtl8723ds-btfw-load.service
Continue to complete the test
Please refer to the following documentation for testing:
Wi-Fi RF Test Commands for Linux-v05.pdf
BT+RF+Test+Commands+for+Linux-v07.pdf
RTL8723DS Please refer to the following documents for testing
Realtek_linuxFixed Frequency Instruction Guide.pdf
MP tool user guide for linux20181108.pdf
Caution
Bluetooth needs to be turned off when testing Wi-Fi:
sudo rfkill block bluetooth
sudo rfkill unblock wlan
Wi-Fi needs to be turned off when testing Bluetooth:
sudo rfkill block wlan
sudo rfkill unblock bluetooth