Other Parts Discussed in Thread: WL1837
FCC ID: Z64-WL18DBMOD
IC: 451I-WL18DBMOD
We want to enable the ACS (Automatic Channel Selection) mode for the hostpad utility
for this we use the following
-
Linux kernel version 4.9.88 (Full config of Linux kernel in attachment)
-
Hostapd utility from https://git.ti.com/cgit/wilink8-wlan/hostap/ We are using upstream_2p10_rebase branch. We also disabled built-in ACS support inside hostapd (at compile time) to use the ACS mechanism from Texas Instruments. (Full config of hostapd utility in attachment)
-
WL2637 Firmware version 8.9.0.0.90
-
WL2637 PHY firmware version 8.2.0.0.246
-
Settings from current firmware in attachment
At the moment, we have the following situation - hostapd creates a wlan0 interface, but we can't connect to it (also, the new wireless network is not visible in other devices). Log of hostapd in attachment
But at the same time, we can scan other networks
But if we do not use the ACS mode (but specify a specific channel), then there are no problems with the wl1837 chip and the network interface
Thus, tell us how to use the ACS mode for the wl1837 chip
Thanks
2023-05-30_16:27:23.44510 Start Hostapd runit service... 2023-05-30_16:27:26.96621 ok: run: udhcpd: (pid 1152) 0s 2023-05-30_16:27:27.08837 random: Trying to read entropy from /dev/random 2023-05-30_16:27:27.08869 Configuration file: /etc/network/hostapd.conf 2023-05-30_16:27:27.09251 ctrl_interface_group=0 2023-05-30_16:27:27.66575 nl80211: Supported cipher 00-0f-ac:1 2023-05-30_16:27:27.66652 nl80211: Supported cipher 00-0f-ac:5 2023-05-30_16:27:27.66678 nl80211: Supported cipher 00-0f-ac:2 2023-05-30_16:27:27.66695 nl80211: Supported cipher 00-0f-ac:4 2023-05-30_16:27:27.66710 nl80211: Supported cipher 00-14-72:1 2023-05-30_16:27:27.66723 nl80211: Supports Probe Response offload in AP mode 2023-05-30_16:27:27.66858 nl80211: Using driver-based off-channel TX 2023-05-30_16:27:27.67031 nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 04 00 00 00 00 00 00 40 2023-05-30_16:27:27.67059 nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 04 00 00 00 00 00 00 40 2023-05-30_16:27:27.67083 nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0 2023-05-30_16:27:27.67100 nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1 2023-05-30_16:27:27.67117 nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2 2023-05-30_16:27:27.67133 nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0 2023-05-30_16:27:27.67147 nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1 2023-05-30_16:27:27.67200 nl80211: Use separate P2P group interface (driver advertised support) 2023-05-30_16:27:27.67220 nl80211: Enable multi-channel concurrent (driver advertised support) 2023-05-30_16:27:27.67234 nl80211: use P2P_DEVICE support 2023-05-30_16:27:27.67252 nl80211: key_mgmt=0x1fd0f enc=0xf auth=0x7 flags=0x111f363fae0 rrm_flags=0x10 probe_resp_offloads=0x7 max_stations=0 max_remain_on_chan=30000 max_scan_ssids=1 2023-05-30_16:27:27.67268 nl80211: interface wlan0 in phy phy1 2023-05-30_16:27:27.68234 nl80211: Set mode ifindex 7 iftype 3 (AP) 2023-05-30_16:27:27.68862 nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0 2023-05-30_16:27:27.68900 nl80211: Subscribe to mgmt frames with AP handle 0xb6bbbd90 2023-05-30_16:27:27.68920 nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0xb6bbbd90 match= multicast=0 2023-05-30_16:27:27.68986 nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0xb6bbbd90 match= multicast=0 2023-05-30_16:27:27.69050 nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0xb6bbbd90 match= multicast=0 2023-05-30_16:27:27.69112 nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0xb6bbbd90 match= multicast=0 2023-05-30_16:27:27.69736 nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0xb6bbbd90 match= multicast=0 2023-05-30_16:27:27.69837 nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0xb6bbbd90 match= multicast=0 2023-05-30_16:27:27.69908 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=04 multicast=0 2023-05-30_16:27:27.69972 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=0501 multicast=0 2023-05-30_16:27:27.70036 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=0503 multicast=0 2023-05-30_16:27:27.70099 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=0504 multicast=0 2023-05-30_16:27:27.70161 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=06 multicast=0 2023-05-30_16:27:27.70222 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=08 multicast=0 2023-05-30_16:27:27.70285 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=09 multicast=0 2023-05-30_16:27:27.70346 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=0a multicast=0 2023-05-30_16:27:27.70409 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=11 multicast=0 2023-05-30_16:27:27.70471 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6bbbd90 match=7f multicast=0 2023-05-30_16:27:27.70712 rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0 2023-05-30_16:27:28.47694 nl80211: Add own interface ifindex 7 (ifidx_reason -1) 2023-05-30_16:27:28.47720 nl80211: if_indices[16]: 7(-1) 2023-05-30_16:27:28.47750 phy: phy1 2023-05-30_16:27:28.47769 BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits) 2023-05-30_16:27:28.47900 wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE 2023-05-30_16:27:28.48029 Previous country code US, new country code US 2023-05-30_16:27:28.48456 nl80211: Regulatory information - country=US (DFS-FCC) 2023-05-30_16:27:28.48483 nl80211: 2402-2472 @ 40 MHz 30 mBm 2023-05-30_16:27:28.48502 nl80211: 5170-5250 @ 80 MHz 23 mBm 2023-05-30_16:27:28.48519 nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS) 2023-05-30_16:27:28.48536 nl80211: 5490-5730 @ 160 MHz 23 mBm (DFS) 2023-05-30_16:27:28.48552 nl80211: 5735-5835 @ 80 MHz 30 mBm 2023-05-30_16:27:28.48568 nl80211: 57240-63720 @ 2160 MHz 40 mBm 2023-05-30_16:27:28.48623 nl80211: Added 802.11b mode based on 802.11g information 2023-05-30_16:27:28.48654 nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED] 2472[DISABLED] 2484[DISABLED] 2023-05-30_16:27:28.48687 nl80211: Mode IEEE 802.11a: 5040[DISABLED] 5060[DISABLED] 5080[DISABLED] 5170[DISABLED] 5180 5190 5200 5210 5220 5230 5240 5260[RADAR] 5280[RADAR] 5300[RADAR] 5320[RADAR] 5500[RADAR] 5520[RADAR] 5540[RADAR] 5560[RADAR] 2023-05-30_16:27:28.48716 nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED] 2472[DISABLED] 2484[DISABLED] 2023-05-30_16:27:28.48734 Scan for neighboring BSSes to select channel 2023-05-30_16:27:28.48750 wlan0: nl80211: scan request 2023-05-30_16:27:28.48788 nl80211: Passive scan requested 2023-05-30_16:27:28.48924 Scan requested (ret=0) - scan timeout 10 seconds 2023-05-30_16:27:28.48949 CONFIG_ACS was not set. use custom ACS 2023-05-30_16:27:28.48965 Interface initialization will be completed in a callback (ACS) 2023-05-30_16:27:28.48979 ctrl_iface not configured! 2023-05-30_16:27:28.49009 random: Got 20/20 bytes from /dev/random 2023-05-30_16:27:28.49042 RTM_NEWLINK: ifi_index=7 ifname=wlan0 operstate=0 linkmode=0 ifi_family=0 ifi_flags=0x1043 ([UP][RUNNING]) 2023-05-30_16:27:28.49081 RTM_NEWLINK: ifi_index=7 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP]) 2023-05-30_16:27:28.49114 RTM_NEWLINK: ifi_index=7 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1002 () 2023-05-30_16:27:28.49142 nl80211: Ignore interface down event since interface wlan0 is up 2023-05-30_16:27:28.49168 RTM_NEWLINK: ifi_index=7 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1002 () 2023-05-30_16:27:28.49194 nl80211: Ignore interface down event since interface wlan0 is up 2023-05-30_16:27:28.49218 RTM_NEWLINK: ifi_index=7 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP]) 2023-05-30_16:27:28.49266 nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0 2023-05-30_16:27:28.49287 wlan0: nl80211: Scan trigger 2023-05-30_16:27:28.49306 wlan0: Event SCAN_STARTED (47) received 2023-05-30_16:27:28.49321 Unknown event 47 2023-05-30_16:27:33.11909 nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0 2023-05-30_16:27:33.11918 wlan0: nl80211: New scan results available 2023-05-30_16:27:33.11922 nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 5180 5190 5200 5210 5220 5230 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5745 5765 5785 5805 5825 2023-05-30_16:27:33.11928 wlan0: Event SCAN_RESULTS (3) received 2023-05-30_16:27:33.12104 nl80211: Received scan results (17 BSSes) 2023-05-30_16:27:33.12177 Min APs found in channel 6 (AP count 0) 2023-05-30_16:27:33.12200 Auto-selected channel: 6 secondary: 0 2023-05-30_16:27:33.12216 hw vht capab: 0x0, conf vht capab: 0x0 2023-05-30_16:27:33.12261 RTM_NEWLINK: ifi_index=7 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])