[SD8997] iwpriv private ioctl not supported

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

[SD8997] iwpriv private ioctl not supported

2,738 Views
john2207
Contributor I

Hi Support,

In our custom board, our i.MX6UL SOC connected with AW-CM276 (SD8997) wifi module with SDIO interface. We are using NXP latest wifi driver/firmware (version : 16.92.10.p218-MM5X16247.p5-GPL-(FP92)) and trying to use the private ioctl's using iwpriv command.

But the private IOCTL's are not supported and getting error as "Interface doesn't accept private ioctl...". Please refer below log and help us on this issue. We also checked our kernel (5.10.9- gatesgarth) config file and confirmed that CONFIG_WIRELESS_EXT and CONFIG_WEXT_PRIV enabled.

==============================================================

root@axon2-imx6ul:~# iwpriv mlan0 version

Interface doesn't accept private ioctl...

version (8BE1): Operation not supported

root@axon2-imx6ul:~#

 

 

root@axon2-imx6ul:~# iwpriv mlan0

mlan0 Available private ioctls :

version (0001) : set 1 int & get 128 char

verext (0002) : set 1 int & get 128 char

warmreset (0001) : set 0 & get 0

usbsuspend (0002) : set 0 & get 0

usbresume (0003) : set 0 & get 0

txratecfg (0001) : set 1 int & get 1 int

regioncode (0002) : set 1 int & get 1 int

radioctrl (0003) : set 1 int & get 1 int

wmmcfg (0004) : set 1 int & get 1 int

11dcfg (0005) : set 1 int & get 1 int

11dclrtbl (0004) : set 0 & get 0

qoscfg (0007) : set 1 int & get 1 int

wwscfg (000C) : set 1 int & get 1 int

reassoctrl (0009) : set 1 int & get 1 int

txbufcfg (000A) : set 1 int & get 1 int

sleeppd (000D) : set 1 int & get 1 int

authtype (0012) : set 1 int & get 1 int

port_ctrl (0013) : set 1 int & get 1 int

bssrole (0015) : set 1 int & get 1 int

powercons (0016) : set 1 int & get 1 int

htstreamcfg (0017) : set 1 int & get 1 int

macctrl (0018) : set 1 int & get 1 int

thermal (0019) : set 1 int & get 1 int

hotspotcfg (001A) : set 1 int & get 1 int

txpowercfg (0001) : set 16 int & get 16 int

drvdbg (0002) : set 16 int & get 16 int

bcninterval (0003) : set 16 int & get 16 int

getsignal (0005) : set 16 int & get 16 int

deepsleep (0007) : set 16 int & get 16 int

httxcfg (0008) : set 16 int & get 16 int

htcapinfo (0009) : set 16 int & get 16 int

aggrpriotbl (000A) : set 16 int & get 16 int

amsduaggrctrl (0011) : set 16 int & get 16 int

addbapara (000B) : set 16 int & get 16 int

addbareject (001B) : set 16 int & get 16 int

httxbfcap (001F) : set 16 int & get 16 int

hscfg (000C) : set 16 int & get 16 int

hssetpara (000D) : set 16 int & get 16 int

regrdwr (000E) : set 16 int & get 16 int

bandcfg (000F) : set 16 int & get 16 int

inactivityto (0012) : set 16 int & get 16 int

sdioclock (0013) : set 16 int & get 16 int

sdcmd52rw (0014) : set 16 int & get 16 int

scancfg (0015) : set 16 int & get 16 int

pscfg (0016) : set 16 int & get 16 int

memrdwr (0017) : set 16 int & get 16 int

mpactrl (0019) : set 16 int & get 16 int

sleepparams (001C) : set 16 int & get 16 int

dfstesting (0021) : set 16 int & get 16 int

mgmtframectrl (0024) : set 16 int & get 16 int

cfpcode (0022) : set 16 int & get 16 int

antcfg (0023) : set 16 int & get 16 int

indrstcfg (0025) : set 16 int & get 16 int

getlog (8BE7) : set 0 & get 1500 char

deauth (0001) : set 1 addr & get 0

passphrase (0001) : set 256 char & get 256 char

getkey (0009) : set 256 char & get 256 char

associate (0003) : set 256 char & get 256 char

qstatus (0004) : set 256 char & get 256 char

ts_status (0005) : set 256 char & get 256 char

ipaddr (0007) : set 256 char & get 256 char

httxbfcfg (0008) : set 256 char & get 256 char

wpssession (0001) : set 0 & get 12 char

getdatarate (0001) : set 0 & get 4 int

esuppmode (0002) : set 0 & get 4 int

sysclock (0001) : set 64 int & get 64 int

hostcmd (8BF1) : set 2047 byte & get 2047 byte

rdeeprom (0001) : set 16 int & get 256 byte

sdcmd53rw (0002) : set 2000 byte & get 2000 byte

setuserscan (0003) : set 2000 byte & get 2000 byte

getscantable (0004) : set 2000 byte & get 2000 byte

setuserscanext (0005) : set 2000 byte & get 2000 byte

addts (0007) : set 2000 byte & get 2000 byte

delts (0008) : set 2000 byte & get 2000 byte

qconfig (0009) : set 2000 byte & get 2000 byte

qstats (000A) : set 2000 byte & get 2000 byte

pb_bypass (000B) : set 2000 byte & get 2000 byte

START (8BFC) : set 0 & get 0

STOP (8BFE) : set 0 & get 0

WL_FW_RELOAD (8BFD) : set 256 char & get 256 char

 

root@axon2-imx6ul:~#

0 Kudos
Reply
1 Reply

2,712 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello John,

Yes, the iwpriv command of 88W8997 does have this problem.

You can use the mlanutl command to achieve your purpose.

or iw tool can also be used.

 

Have a good day!

Regards,

weidong

0 Kudos
Reply