Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Wi-Fi Combo Forum Discussions

Anonymous
Not applicable

Hello,

I'm using an ISM43340 module on a custom board.

For certification, I need to send wl commands to this module to test wifi a/b/g/n but there is no access for a PC.

How can I send the different command  with my UART?

I can't find a document which explain the format of the frames.

I can simply dump the commands exchanged between the module and a PC and blindly replay them on my target but I'd prefer to understand what I'm sending.

Is there a guide for this?

an interface communication description?

0 Likes
1 Solution
Anonymous
Not applicable

I have all the commands. For that I had to modify the console.mk in two lines:

CONSOLE_ENABLE_WL ?= 1

CONSOLE_USE_MFG_TEST_FW ?= 1

There was not enough memory so I put in comment the IPERF inclusion

View solution in original post

0 Likes
5 Replies
vsubbiah
Level 5
Level 5
10 sign-ins First comment on KBA 5 solutions authored

Have you tried test.console ? This included makefile options to include a wl command that can be invoked from a standard serial console. Once a command is recevied on serial console it just invokes a methods within the SDK. Y

Thanks,

Venkat

Anonymous
Not applicable

That's a good start, thanks for the tip.

Now I have a console with access to wl commands, but when I use those in the scripts, there are errors:

> wl down

> wl country ALL

wl: Bad Argument

> wl band b

> wl chanspec -c 1 -b 2 -w 20 -s 0

Chanspec set to 0x2b01

> wl mpc 0

> wl ampdu 1

> wl bi 65000

> wl frameburst 1

> wl rateset 11b

> wl up

> wl txant 0

> wl antdiv 0

> wl nrate -r 11

> wl phy_watchdog 0

wl: error -23

> wl disassoc

> wl phy_forcecal 1

wl: error -23

> wl phy_activecal

wl: error -23

> wl txpwr1 -1

> wl pkteng_start 00:90:4c:aa:bb:cc tx 40 1000 0

wl: error -23

>

It looks like some commands are not supported in console mode

0 Likes
Anonymous
Not applicable

I have all the commands. For that I had to modify the console.mk in two lines:

CONSOLE_ENABLE_WL ?= 1

CONSOLE_USE_MFG_TEST_FW ?= 1

There was not enough memory so I put in comment the IPERF inclusion

0 Likes

Lets make sure you using the mfgtest version. Could you please do a wl ver and that will tell whether you are using the mfgtest firmware.

0 Likes
Anonymous
Not applicable

> wl ver

6.10 RC0.0

wl0: Oct  7 2016 16:37:25 version 6.49.8 (r662291 WLTEST) FWID 01-3b71

0 Likes