AnsweredAssumed Answered

Unable to set/change Country Region 1FX (CYW43364)

Question asked by joanllopart on Oct 13, 2017

Hi,

 

We are unable to change the Wi-Fi available channels that appears in the "iw list". We want to be able to connect to channels 12 and 13. Seems that by default, the module uses the USA regulatory channels.

 

What is strange?

Before up the interface, I can set the country region, and with iw list, we can see the 14 Wi-Fi channels, but after bring up the interface with, ifup wlan0, the iw list, shows 11 channels:

 

  1. iw list:  
  2.   
  3.                 Frequencies:  
  4.                         * 2412 MHz [1] (20.0 dBm)  
  5.                         * 2417 MHz [2] (20.0 dBm)  
  6.                         * 2422 MHz [3] (20.0 dBm)  
  7.                         * 2427 MHz [4] (20.0 dBm)  
  8.                         * 2432 MHz [5] (20.0 dBm)  
  9.                         * 2437 MHz [6] (20.0 dBm)  
  10.                         * 2442 MHz [7] (20.0 dBm)  
  11.                         * 2447 MHz [8] (20.0 dBm)  
  12.                         * 2452 MHz [9] (20.0 dBm)  
  13.                         * 2457 MHz [10] (20.0 dBm)  
  14.                         * 2462 MHz [11] (20.0 dBm)  

 

We have tried to install crda:

 

  1. iw reg set JP  
  2. iw reg get  
  3. global  
  4. country JP: DFS-JP  
  5.         (2402 - 2482 @ 40), (N/A, 20), (N/A)  
  6.         (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM  
  7.         (4910 - 4990 @ 40), (N/A, 23), (N/A)  
  8.         (5030 - 5090 @ 40), (N/A, 23), (N/A)  
  9.         (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW  
  10.         (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW  
  11.         (5490 - 5710 @ 160), (N/A, 23), (0 ms), DFS  
  12.   
  13.   
  14. global  
  15. country JP: DFS-JP  
  16.         (2402 - 2482 @ 40), (N/A, 20), (N/A)  
  17.         (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM  
  18.         (4910 - 4990 @ 40), (N/A, 23), (N/A)  
  19.         (5030 - 5090 @ 40), (N/A, 23), (N/A)  
  20.         (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW  
  21.         (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW  
  22.         (5490 - 5710 @ 160), (N/A, 23), (0 ms), DFS  

The CRDA shows that all is configured to accept the channles 12 and 13, but iw list, is showing the same available channels.

 

We have tried to use wl command:

  1. wl -i wlan0 country JP  
  2. wl -i wlan0 channels  
  3. 1 2 3 4 5 6 7 8 9 10 11 12 13 14  

 

The wl shows that all is configured correctly, but any changes in iw list.

 

Nothing works.

 

Our linux only is can see the channels from 1 to 11.

 

About our linux:

Linux xxxxxx 4.1.15-2.0.1+gb63f3f5 #3 SMP PREEMPT Wed May 31 21:54:57 CEST 2017 armv7l armv7l armv7l GNU/Linux.

 

Could be this the problem?

 

ifconfig wlan0 up

Dongle Host Driver, version 1.141.92 (r)
Compiled in drivers/net/wireless/bcmdhd
wl_android_wifi_on in
mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
mmc0: queuing unknown CIS tuple 0x80 (6 bytes)
F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x3
DHD: dongle ram size is set to 524288(orig 524288) at 0x0
dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
wifi_platform_get_mac_addr
Firmware up: op_mode=0x0005, MAC=60:f1:89:cb:cb:17
Firmware version = wl0: Dec 11 2014 04:20:45 version 7.10.323.34 (r520360) FWID 01-ea2beeba
dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79
dhd_wlfc_init: query wlfc_mode succeed, fw_caps=0x1c
dhd_wlfc_init(): wlfc_mode=0x1c, ret=0
CFG80211-ERROR) wl_update_wiphybands : error reading vhtmode (-23)
wl_create_event_handler(): thread:wl_event_handler:258 started
CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0x8a46143c

Can anyone help us? We are really stuck on this. ( 4 days at lest with no result  )

 

Thank you so much in advance to read this post.@

Outcomes