snip.scan cannot see access points on channel 13

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

cross mob
Anonymous
Not applicable

I'm using WICED/WICED-SDK-MFi-3.1.0/apps/snip/scan/ application on Inventek Systems ISM43362-M3G-L44-E

it runs fine and successfully discovers access points on channels lower than (including) 11,

but doesn't see access points on channel 13.

I understand it's not permitted in FCC area to use channel 13,

so I assumed I needed to change country_code and added:

#define WICED_COUNTRY_CODE  WICED_COUNTRY_JAPAN

in WICED-SDK-MFi-3.1.0/include/default_wifi_config_dct.h

but this doesn't change anything.

What should I change to see access points on channel 13?

Thanks in advance.

1 Solution
GregG_16
Employee
Employee
50 sign-ins 25 sign-ins 25 comments on KBA

I have the "scan" snip seeing my Ch13.

Here is what I did:

Modify scan.mk file to not use the default wifi_config_dct.h as follows:

#

# Copyright 2014, Broadcom Corporation

# All Rights Reserved.

#

# This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;

# the contents of this file may not be disclosed to third parties, copied

# or duplicated in any form, in whole or in part, without the prior

# written permission of Broadcom Corporation.

#

NAME := App_Scan

$(NAME)_SOURCES := scan.c

WIFI_CONFIG_DCT_H := wifi_config_dct.h

Next:

I added a wifi_config_dct.h to the snip.scan folder, you can copy and paste it from the test.console folder.

and change the #define WICED_COUNTRY_CODE    WICED_COUNTRY_JAPAN as you did.

Capture.JPG

Clean and rebuild scan download run

14:29:24.227: Waiting for scan results...

14:29:24.227:  # Type  BSSID            RSSI  Rate Chan  Security    SSID

14:29:24.227: ----------------------------------------------------------------------------------------------

14:29:24.227:  0 Infra E8:FC:AF:94:EF:58  -34 216.7    3  Open        R8000-2G

14:29:24.232:  1 Infra EA:FC:AF:94:EF:59  -33 216.7    3  WPA2 Mixed  R8000-2G-GUEST

14:29:24.232:  2 Infra 44:32:C8:E9:B6:C0  -74 216.7    1  WPA2 Mixed  HOME-B6C0

14:29:24.232:  3 Infra 78:4B:87:2A:72:1B  -35  54.0    3  Open        Plug-784b872a721b

14:29:24.233:  4 Infra 48:F8:B3:96:85:F4  -63 216.7    3  WPA2 Mixed  GPSunnyvale

14:29:24.238:  5 Infra 4A:F8:B3:96:85:F5  -63 216.7    3  Open        Linksys05056-guest

14:29:24.238:  6 Infra 64:0F:28:0B:83:F9  -53  54.0    4  WPA2 Mixed  2WIRE821

14:29:24.239:  7 Infra 28:C6:8E:39:1F:E0  -63 144.4    6  WPA2 AES    BRCM-24G

14:29:24.239:  8 Infra 58:93:96:58:DC:F8  -65 130.0    6  WPA2 AES    Airfoil Guest

14:29:24.244:  9 Infra 58:93:96:98:DC:F8  -67 130.0    6  WPA2 AES    icanhasmobileca

14:29:24.244:  10 Infra AC:22:0B:CF:ED:28  -76 216.7    6  WPA2 AES    YOUR_AP_SSID

14:29:24.244:  11 Infra 04:A1:51:18:25:CA  -67  54.0    6  Open        mn-netgear

14:29:24.249:  12 Infra 58:93:96:18:DC:F8  -68 130.0    6  WPA2 AES

14:29:24.249:  13 Infra CE:D7:19:2C:5C:77  -71 450.0  10  Open        HSSUNNYVALE-guest

14:29:24.249:  14 Infra 20:0C:C8:3C:89:CB  -78 144.4    9  WPA2 AES    3Musketeers

14:29:24.254:  15 Infra 20:C9:D0:AC:A0:7C  -23  54.0  11  WPA2 Mixed  Demo_Airport

14:29:24.254:  16 Infra 94:39:E5:53:1E:CD  -61 144.4  13  Open        GangiCH13

14:29:24.255:  17 Infra 00:90:4C:18:C3:DB  -57 216.7  11  Open        Broadcom

14:29:24.258:  18 Infra AC:22:0B:24:90:90  -40 144.4  11  WPA2 AES    WicedTestApSA24

14:29:24.259:  19 Infra 40:F4:EC:A2:97:B0  -44  54.0  11  WPA2 Mixed  BRCMGUEST

View solution in original post

4 Replies
GregG_16
Employee
Employee
50 sign-ins 25 sign-ins 25 comments on KBA

Hello,

I can run scan command in console, and it works fine.

10:50:23.086:  20 Infra 94:39:E5:53:1E:CD  -62 144.4   13  Open        GangiCH13

I modified the \apps\test\console\wifi_config_dct.h

And type scan at the prompt:

It found my AP on channel 13.

Infra 94:39:E5:53:1E:CD  -62 144.4   13  Open        GangiCH13


I will check how to change the default CC that the scan command uses.

GregG_16
Employee
Employee
50 sign-ins 25 sign-ins 25 comments on KBA

I have the "scan" snip seeing my Ch13.

Here is what I did:

Modify scan.mk file to not use the default wifi_config_dct.h as follows:

#

# Copyright 2014, Broadcom Corporation

# All Rights Reserved.

#

# This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;

# the contents of this file may not be disclosed to third parties, copied

# or duplicated in any form, in whole or in part, without the prior

# written permission of Broadcom Corporation.

#

NAME := App_Scan

$(NAME)_SOURCES := scan.c

WIFI_CONFIG_DCT_H := wifi_config_dct.h

Next:

I added a wifi_config_dct.h to the snip.scan folder, you can copy and paste it from the test.console folder.

and change the #define WICED_COUNTRY_CODE    WICED_COUNTRY_JAPAN as you did.

Capture.JPG

Clean and rebuild scan download run

14:29:24.227: Waiting for scan results...

14:29:24.227:  # Type  BSSID            RSSI  Rate Chan  Security    SSID

14:29:24.227: ----------------------------------------------------------------------------------------------

14:29:24.227:  0 Infra E8:FC:AF:94:EF:58  -34 216.7    3  Open        R8000-2G

14:29:24.232:  1 Infra EA:FC:AF:94:EF:59  -33 216.7    3  WPA2 Mixed  R8000-2G-GUEST

14:29:24.232:  2 Infra 44:32:C8:E9:B6:C0  -74 216.7    1  WPA2 Mixed  HOME-B6C0

14:29:24.232:  3 Infra 78:4B:87:2A:72:1B  -35  54.0    3  Open        Plug-784b872a721b

14:29:24.233:  4 Infra 48:F8:B3:96:85:F4  -63 216.7    3  WPA2 Mixed  GPSunnyvale

14:29:24.238:  5 Infra 4A:F8:B3:96:85:F5  -63 216.7    3  Open        Linksys05056-guest

14:29:24.238:  6 Infra 64:0F:28:0B:83:F9  -53  54.0    4  WPA2 Mixed  2WIRE821

14:29:24.239:  7 Infra 28:C6:8E:39:1F:E0  -63 144.4    6  WPA2 AES    BRCM-24G

14:29:24.239:  8 Infra 58:93:96:58:DC:F8  -65 130.0    6  WPA2 AES    Airfoil Guest

14:29:24.244:  9 Infra 58:93:96:98:DC:F8  -67 130.0    6  WPA2 AES    icanhasmobileca

14:29:24.244:  10 Infra AC:22:0B:CF:ED:28  -76 216.7    6  WPA2 AES    YOUR_AP_SSID

14:29:24.244:  11 Infra 04:A1:51:18:25:CA  -67  54.0    6  Open        mn-netgear

14:29:24.249:  12 Infra 58:93:96:18:DC:F8  -68 130.0    6  WPA2 AES

14:29:24.249:  13 Infra CE:D7:19:2C:5C:77  -71 450.0  10  Open        HSSUNNYVALE-guest

14:29:24.249:  14 Infra 20:0C:C8:3C:89:CB  -78 144.4    9  WPA2 AES    3Musketeers

14:29:24.254:  15 Infra 20:C9:D0:AC:A0:7C  -23  54.0  11  WPA2 Mixed  Demo_Airport

14:29:24.254:  16 Infra 94:39:E5:53:1E:CD  -61 144.4  13  Open        GangiCH13

14:29:24.255:  17 Infra 00:90:4C:18:C3:DB  -57 216.7  11  Open        Broadcom

14:29:24.258:  18 Infra AC:22:0B:24:90:90  -40 144.4  11  WPA2 AES    WicedTestApSA24

14:29:24.259:  19 Infra 40:F4:EC:A2:97:B0  -44  54.0  11  WPA2 Mixed  BRCMGUEST

Anonymous
Not applicable

Thanks gangi for your response.

I followed your guidance and successfully found APs with channel 13.

Anonymous
Not applicable

Dear gangi

  I also have spent time a lot for this issues because I have used "default_wifi_config_dct.h"

  and changed  country domain code as below

//#define WICED_COUNTRY_CODE    WICED_COUNTRY_UNITED_STATES

#define WICED_COUNTRY_CODE    WICED_COUNTRY_KOREA_REPUBLIC_OF

By testing with you information,  by changing WICED_COUNTRY_CODE in "default_wifi_config_dct.h" file

but by adding "wifi_config_dct.h"  in make file and adding   "#define WICED_COUNTRY_CODE    WICED_COUNTRY_KOREA_REPUBLIC_OF" is working.

This kinds of information should be written to application notes or bug reports.

or it should be patched.

I think that most of users who have different country domain may face this issue and spend time.

TKS

0 Likes