88W8987 Set Radio Mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

88W8987 Set Radio Mode

Jump to solution
590 Views
Norio
Contributor I

Hi, NXP Experts

I am doing WLAN RF Test with reference to UM11512 and the README_MLAN located in /usr/share/nxp_wireless/ but I got a problem for set radio mode.

I use linux v5.15 kenerl from NXP yocto on my JODY-W263-00B sdio wifi modules(chipset is 88W8987).

used these commands:

echo "rf_test_mode=1" >> /proc/mwlan/adapter0/config
echo "radio_mode=14 4" >> /proc/mwlan/adapter0/config

Here are the output messages of the driver.

[ 98.206255] CMD_RESP: cmd 0x89 error, result=0x2
[ 98.210905] IOCTL failed: 000000006b22ae71 id=0x200000, sub_id=0x200075 action=1, status_code=0x3
[ 98.219817] RF test mode cmd error

/proc/mwlan/adapter0/config is below.

root@8MNANOLPD4-EVK:/proc/mwlan/adapter0# cat config
hardware_status=0
netlink_num=31
drv_mode=7
hssetpara=7,0xff,200,400
sdcmd52rw=0 0x0 0x00
rf_test_mode=1
tx_antenna=1
rx_antenna=1
band=0
bw=0
channel=
radio_mode[0]=
radio_mode[1]=
total rx pkt count=0
rx multicast/broadcast pkt count=0
rx fcs error pkt count=0
tx_power=
tx_continuous=0

Please let me know if there is an fault in the command I inputted.

Thank you.

Labels (2)
0 Kudos
1 Solution
493 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @Norio 

 

Please apologize for late answer, due to website issues.

radio_mode command is specific to our 802.11ax chipsets (88W9098 and IW612) and does not apply to 88W8987.

Unfortunately, UM11512 (Wireless Feature Configuration Guide for i.MX 8M Nano EVK) was not updated for a long time, so we advise you to refer to UM11490 (Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK) to get up to date information.

- 2.4/5GHz band selection can be set using band command

- Antenna path configuration can be set using rx/tx_antenna commands

We will update UM11512, UM11490 and README_MLAN to clarify that part.

 

Regards,

Olivier

View solution in original post

3 Replies
567 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @Norio 

 

Could you please confirm:

1/ which exact Linux BSP version you are using ? (please provide "uname -a" command ouptut).

2/ which Wifi firmware and driver version are you using ? (please provide "cat /proc/mwlan/adapter0/mlan0/info" command output)

 

Regards,

Olivier

 

0 Kudos
554 Views
Norio
Contributor I

Hi, @ocourson 

1/ which exact Linux BSP version you are using ? (please provide "uname -a" command ouptut).

root@8MNANOLPD4-EVK:~# uname -a
Linux 8MNANOLPD4-EVK 5.15.52+g36363d8623ba #1 SMP PREEMPT Tue Sep 6 09:50:50 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

2/ which Wifi firmware and driver version are you using ? (please provide "cat /proc/mwlan/adapter0/mlan0/info" command output)

root@8MNANOLPD4-EVK:~# cat /proc/mwlan/adapter0/mlan0/info
driver_name = "wlan"
driver_version = SD8987----16.92.21.p41.4-MM5X16344.p3-GPL-(FP92)
interface_name="mlan0"
firmware_major_version=16.92.21

 

Thank you.

Norio

0 Kudos
494 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @Norio 

 

Please apologize for late answer, due to website issues.

radio_mode command is specific to our 802.11ax chipsets (88W9098 and IW612) and does not apply to 88W8987.

Unfortunately, UM11512 (Wireless Feature Configuration Guide for i.MX 8M Nano EVK) was not updated for a long time, so we advise you to refer to UM11490 (Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK) to get up to date information.

- 2.4/5GHz band selection can be set using band command

- Antenna path configuration can be set using rx/tx_antenna commands

We will update UM11512, UM11490 and README_MLAN to clarify that part.

 

Regards,

Olivier