WWD_WLAN_BADARG when trying to set Country Code to WICED_COUNTRY_KOREA_REPUBLIC_OF in SDK 6.1

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

cross mob
user_108962310
Level 4
Level 4
10 likes received 10 likes given 5 likes given

I am hitting a breakpoint error when I have WICED_COUNTRY_CODE set to WICED_COUNTRY_KOREA_REPUBLIC_OF in the platform dct at compile/flash time.


The breakpoint is in wwd_management_wifi_on after the call:

retval = wwd_sdpcm_send_iovar( SDPCM_SET, buffer, 0, WWD_STA_INTERFACE );

Other country code settings work, such as CHINA, UNITED_STATES, JAPAN, and KIRIBATI.

This in SDK 6.1. This problem exists for both wifi in on-chip resources and loaded from the WICEDFS from sflash.
This occurs for both debug and release builds.

The WiFi FW & clm blob versions are reported as:

WLAN Firmware    : wl0: Feb 12 2018 04:08:14 version 7.79.2 (r683798 CY) FWID 01-27b63357

WLAN CLM         : API: 12.2 Data: 9.10.39 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-02-12 04:00:50

One note is that I am using SLOW_SDIO_CLOCK for other reasons, but the problem appears to persist even with that option turned off.

0 Likes
1 Solution

Hi Andrew:

      I want to know the table also as well as you.   I just update my checking channel commands on a blog.

please take it as a reference when you are doing country code check , thanks.

How to add wifi test commands for command console application in wiced SDK.

View solution in original post

0 Likes
8 Replies