This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1837MOD: Hostapd

Part Number: WL1837MOD

Hi Team,

We have received this inquiry from our customer,

We are using WL1837MOD in our device and R8.8 driver.

We are using a custom Yocto build based on Gatesgarth. Linux kernel version 5.4.47.

We wanted to have ACS feature for AP, but we were not able to make it work with default Hostapd. Now we are building TI version of Hostapd from your Git that contains changes related to ACS. However, we still can't manage to use ACS.

Please see config we are using and logs from hostapd attached.

TI_hostapd_acs_config_1.txt
driver=nl80211
country_code=BE
hw_mode=a
channel=acs_survey
ssid=ti_5
ieee80211n=1
auth_algs=1
wpa=2
wpa_passphrase=westtest
wmm_enabled=1
rsn_pairwise=CCMP
ht_capab=[HT40+][HT40-][SHORT-GI-20][SHORT-GI-40]

TI_hostapd_acs_log_1.txt
1608139542.039181: random: Trying to read entropy from /dev/random
1608139542.039479: Configuration file: host_1.conf
1608139542.043125: nl80211: Supported cipher 00-0f-ac:1
1608139542.043202: nl80211: Supported cipher 00-0f-ac:5
1608139542.043234: nl80211: Supported cipher 00-0f-ac:2
1608139542.043262: nl80211: Supported cipher 00-0f-ac:4
1608139542.043287: nl80211: Supported cipher 00-14-72:1
1608139542.043313: nl80211: Supports Probe Response offload in AP mode
1608139542.043533: nl80211: Using driver-based off-channel TX
1608139542.043598: nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 04 00 00 00 00 00 00 40
1608139542.043640: nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 04 00 00 00 00 00 00 40
1608139542.043687: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0
1608139542.043718: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1
1608139542.043743: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2
1608139542.043767: nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0
1608139542.043809: nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1
1608139542.043886: nl80211: Use separate P2P group interface (driver advertised support)
1608139542.043917: nl80211: Enable multi-channel concurrent (driver advertised support)
1608139542.043942: nl80211: use P2P_DEVICE support
1608139542.043966: nl80211: interface wlan0 in phy phy0
1608139542.044145: nl80211: Set mode ifindex 10 iftype 3 (AP)
1608139542.067129: nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
1608139542.067269: nl80211: Subscribe to mgmt frames with AP handle 0xb3f2a0
1608139542.067312: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0xb3f2a0 match=
1608139542.067430: nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0xb3f2a0 match=
1608139542.067533: nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0xb3f2a0 match=
1608139542.067630: nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0xb3f2a0 match=
1608139542.067742: nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0xb3f2a0 match=
1608139542.067839: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0xb3f2a0 match=
1608139542.067950: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3f2a0 match=04
1608139542.068047: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3f2a0 match=0501
1608139542.068143: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3f2a0 match=0503
1608139542.068236: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3f2a0 match=0504
1608139542.068333: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3f2a0 match=06
1608139542.068431: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3f2a0 match=09
1608139542.068531: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3f2a0 match=0a
1608139542.068627: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3f2a0 match=11
1608139542.068735: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3f2a0 match=7f
1608139542.069757: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
1608139542.071023: nl80211: Add own interface ifindex 10 (ifidx_reason -1)
1608139542.071088: nl80211: if_indices[16]: 10(-1)
1608139542.071165: phy: phy0
1608139542.071204: BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
1608139542.071241: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
1608139542.080352: Previous country code 00, new country code BE
1608139542.080419: Continue interface setup after channel list update
1608139542.080457: ctrl_iface not configured!
1608139542.080566: random: Got 20/20 bytes from /dev/random
1608139542.176543: nl80211: Event message available
1608139542.176643: nl80211: Drv Event 36 (NL80211_CMD_REG_CHANGE) received for wlan0
1608139542.176681: nl80211: Regulatory domain change
1608139542.176707:  * initiator=1
1608139542.176731:  * type=0
1608139542.176816:  * alpha2=BE
1608139542.176860: wlan0: Event CHANNEL_LIST_CHANGED (27) received
1608139542.176947: Channel list updated - continue setup
1608139542.178016: nl80211: Regulatory information - country=BE (DFS-ETSI)
1608139542.178079: nl80211: 2400-2483 @ 40 MHz 20 mBm
1608139542.178119: nl80211: 5150-5250 @ 80 MHz 23 mBm (no outdoor)
1608139542.178155: nl80211: 5250-5350 @ 80 MHz 20 mBm (no outdoor) (DFS)
1608139542.178191: nl80211: 5470-5725 @ 160 MHz 26 mBm (DFS)
1608139542.178224: nl80211: 5725-5875 @ 80 MHz 13 mBm
1608139542.178256: nl80211: 57000-66000 @ 2160 MHz 40 mBm
1608139542.178341: nl80211: Added 802.11b mode based on 802.11g information
1608139542.178399: nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484[DISABLED][NO_IR]
1608139542.178464: nl80211: Mode IEEE 802.11a: 5040[DISABLED] 5060[DISABLED] 5080[DISABLED] 5170 5180 5190 5200 5210 5220 5230 5240 5260[RADAR] 5280[RADAR] 5300[RADAR] 5320[RADAR] 5500[RADAR] 5520[RADAR] 5540[RADAR] 5560[RADAR] 5580[RA]
1608139542.178533: nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484[DISABLED][NO_IR]
1608139542.178561: Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
1608139542.178591: Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
1608139542.178615: Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
1608139542.178639: Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
1608139542.178664: Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
1608139542.178687: Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
1608139542.178712: Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
1608139542.178736: Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
1608139542.178759: Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
1608139542.178782: Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
1608139542.178805: Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
1608139542.178836: Allowed channel: mode=1 chan=12 freq=2467 MHz max_tx_power=20 dBm
1608139542.178863: Allowed channel: mode=1 chan=13 freq=2472 MHz max_tx_power=20 dBm
1608139542.178887: Allowed channel: mode=2 chan=34 freq=5170 MHz max_tx_power=23 dBm
1608139542.178911: Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=23 dBm
1608139542.178934: Allowed channel: mode=2 chan=38 freq=5190 MHz max_tx_power=23 dBm
1608139542.178958: Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=23 dBm
1608139542.178982: Allowed channel: mode=2 chan=42 freq=5210 MHz max_tx_power=23 dBm
1608139542.179005: Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=23 dBm
1608139542.179029: Allowed channel: mode=2 chan=46 freq=5230 MHz max_tx_power=23 dBm
1608139542.179055: Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=23 dBm
1608139542.179079: Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=13 dBm
1608139542.179103: Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=13 dBm
1608139542.179136: Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=13 dBm
1608139542.179163: Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=13 dBm
1608139542.179188: Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=13 dBm
1608139542.179212: Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
1608139542.179236: Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
1608139542.179260: Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
1608139542.179284: Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
1608139542.179308: Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
1608139542.179331: Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
1608139542.179355: Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
1608139542.179379: Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
1608139542.179404: Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
1608139542.179473: Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
1608139542.179503: Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
1608139542.179529: Allowed channel: mode=0 chan=12 freq=2467 MHz max_tx_power=20 dBm
1608139542.179553: Allowed channel: mode=0 chan=13 freq=2472 MHz max_tx_power=20 dBm
1608139542.179582: Scan for neighboring BSSes to select channel
1608139542.179613: wlan0: nl80211: scan request
1608139542.179649: nl80211: Passive scan requested
1608139542.186779: Scan requested (ret=0) - scan timeout 10 seconds
1608139542.186849: ACS: Automatic channel selection started, this may take a bit
1608139542.186887: ACS: Scanning 1 / 5
1608139542.186921: wlan0: nl80211: scan request
1608139542.186959: nl80211: Passive scan requested
1608139542.186986: nl80211: Scan frequency 5170 MHz
1608139542.187014: nl80211: Scan frequency 5180 MHz
1608139542.187037: nl80211: Scan frequency 5190 MHz
1608139542.187061: nl80211: Scan frequency 5200 MHz
1608139542.187101: nl80211: Scan frequency 5210 MHz
1608139542.187130: nl80211: Scan frequency 5220 MHz
1608139542.187154: nl80211: Scan frequency 5230 MHz
1608139542.187177: nl80211: Scan frequency 5240 MHz
1608139542.187201: nl80211: Scan frequency 5745 MHz
1608139542.187225: nl80211: Scan frequency 5765 MHz
1608139542.187247: nl80211: Scan frequency 5785 MHz
1608139542.187270: nl80211: Scan frequency 5805 MHz
1608139542.187293: nl80211: Scan frequency 5825 MHz
1608139542.187403: nl80211: Scan trigger failed: ret=-16 (Device or resource busy)
1608139542.187440: nl80211: Set mode ifindex 10 iftype 2 (STATION)
1608139542.212087: nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
1608139542.212167: nl80211: Unsubscribe mgmt frames handle 0x883b7a29 (AP teardown)
1608139542.212355: nl80211: Subscribe to mgmt frames with non-AP handle 0xb3e850
1608139542.212410: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3e850 match=06
1608139542.212541: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3e850 match=0a07
1608139542.212672: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3e850 match=0a11
1608139542.212777: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3e850 match=1101
1608139542.212879: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3e850 match=1102
1608139542.212982: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3e850 match=0505
1608139542.213079: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3e850 match=0500
1608139542.213191: wlan0: nl80211: scan request
1608139542.213236: nl80211: Passive scan requested
1608139542.213265: nl80211: Scan frequency 5170 MHz
1608139542.213294: nl80211: Scan frequency 5180 MHz
1608139542.213320: nl80211: Scan frequency 5190 MHz
1608139542.213346: nl80211: Scan frequency 5200 MHz
1608139542.213371: nl80211: Scan frequency 5210 MHz
1608139542.213396: nl80211: Scan frequency 5220 MHz
1608139542.213420: nl80211: Scan frequency 5230 MHz
1608139542.213457: nl80211: Scan frequency 5240 MHz
1608139542.213485: nl80211: Scan frequency 5745 MHz
1608139542.213510: nl80211: Scan frequency 5765 MHz
1608139542.213534: nl80211: Scan frequency 5785 MHz
1608139542.213558: nl80211: Scan frequency 5805 MHz
1608139542.213583: nl80211: Scan frequency 5825 MHz
1608139542.214380: Scan requested (ret=0) - scan timeout 10 seconds
1608139542.214444: Scan requested (ret=0) - scan timeout 10 seconds
1608139542.214479: wlan0: interface state COUNTRY_UPDATE->ACS
1608139542.214513: wlan0: ACS-STARTED
1608139542.214542: Interface initialization will be completed in a callback (ACS)
1608139542.214608: nl80211: Event message available
1608139542.214672: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
1608139542.214712: wlan0: nl80211: Scan trigger
1608139542.214748: wlan0: Event SCAN_STARTED (47) received
1608139542.214774: Unknown event 47
1608139542.214825: nl80211: Event message available
1608139542.214879: nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
1608139542.214970: nl80211: Set mode ifindex 10 iftype 3 (AP)
1608139542.246324: nl80211: Unsubscribe mgmt frames handle 0x883b60d9 (start AP)
1608139542.246452: nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
1608139542.246550: nl80211: Subscribe to mgmt frames with AP handle 0xb4a730
1608139542.246590: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0xb4a730 match=
1608139542.246713: nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0xb4a730 match=
1608139542.246819: nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0xb4a730 match=
1608139542.246919: nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0xb4a730 match=
1608139542.247015: nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0xb4a730 match=
1608139542.247114: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0xb4a730 match=
1608139542.247230: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a730 match=04
1608139542.247355: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a730 match=0501
1608139542.247457: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a730 match=0503
1608139542.247560: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a730 match=0504
1608139542.247663: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a730 match=06
1608139542.247764: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a730 match=09
1608139542.247865: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a730 match=0a
1608139542.247962: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a730 match=11
1608139542.248059: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a730 match=7f
1608139542.248226: wlan0: nl80211: Scan aborted
1608139542.248305: nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 5170 5180 5190 5200 5210 5220 5230 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5
1608139542.248352: wlan0: Event SCAN_RESULTS (3) received
1608139542.248380: ACS: Using survey based algorithm (acs_num_scans=5)
1608139542.248415: nl80211: Fetch survey data
1608139542.248527: wlan0: Event SURVEY (46) received
1608139542.248564: No survey data received
1608139542.248600: ACS: Scanning 2 / 5
1608139542.248630: wlan0: nl80211: scan request
1608139542.248665: nl80211: Passive scan requested
1608139542.248694: nl80211: Scan frequency 5170 MHz
1608139542.248721: nl80211: Scan frequency 5180 MHz
1608139542.248745: nl80211: Scan frequency 5190 MHz
1608139542.248769: nl80211: Scan frequency 5200 MHz
1608139542.248796: nl80211: Scan frequency 5210 MHz
1608139542.248819: nl80211: Scan frequency 5220 MHz
1608139542.248844: nl80211: Scan frequency 5230 MHz
1608139542.248869: nl80211: Scan frequency 5240 MHz
1608139542.248894: nl80211: Scan frequency 5745 MHz
1608139542.248930: nl80211: Scan frequency 5765 MHz
1608139542.248957: nl80211: Scan frequency 5785 MHz
1608139542.248984: nl80211: Scan frequency 5805 MHz
1608139542.249008: nl80211: Scan frequency 5825 MHz
1608139542.249106: nl80211: Scan trigger failed: ret=-16 (Device or resource busy)
1608139542.249144: nl80211: Set mode ifindex 10 iftype 2 (STATION)
1608139542.276221: nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
1608139542.276298: nl80211: Unsubscribe mgmt frames handle 0x883c2fb9 (AP teardown)
1608139542.276426: nl80211: Subscribe to mgmt frames with non-AP handle 0xb3d178
1608139542.276475: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3d178 match=06
1608139542.276603: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3d178 match=0a07
1608139542.276716: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3d178 match=0a11
1608139542.276820: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3d178 match=1101
1608139542.276989: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3d178 match=1102
1608139542.277094: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3d178 match=0505
1608139542.277196: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb3d178 match=0500
1608139542.277315: wlan0: nl80211: scan request
1608139542.277360: nl80211: Passive scan requested
1608139542.277391: nl80211: Scan frequency 5170 MHz
1608139542.277419: nl80211: Scan frequency 5180 MHz
1608139542.277443: nl80211: Scan frequency 5190 MHz
1608139542.277468: nl80211: Scan frequency 5200 MHz
1608139542.277493: nl80211: Scan frequency 5210 MHz
1608139542.277516: nl80211: Scan frequency 5220 MHz
1608139542.277540: nl80211: Scan frequency 5230 MHz
1608139542.277563: nl80211: Scan frequency 5240 MHz
1608139542.277585: nl80211: Scan frequency 5745 MHz
1608139542.277608: nl80211: Scan frequency 5765 MHz
1608139542.277631: nl80211: Scan frequency 5785 MHz
1608139542.277668: nl80211: Scan frequency 5805 MHz
1608139542.277696: nl80211: Scan frequency 5825 MHz
1608139542.278485: Scan requested (ret=0) - scan timeout 10 seconds
1608139542.278547: Scan requested (ret=0) - scan timeout 10 seconds
1608139542.278621: nl80211: Event message available
1608139542.278684: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
1608139542.278724: wlan0: nl80211: Scan trigger
1608139542.278760: wlan0: Event SCAN_STARTED (47) received
1608139542.278786: Unknown event 47
1608139542.278836: nl80211: Event message available
1608139542.278891: nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
1608139542.278923: nl80211: Set mode ifindex 10 iftype 3 (AP)
1608139542.299320: nl80211: Unsubscribe mgmt frames handle 0x883b59f1 (start AP)
1608139542.299449: nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
1608139542.299546: nl80211: Subscribe to mgmt frames with AP handle 0xb4a830
1608139542.299589: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0xb4a830 match=
1608139542.299734: nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0xb4a830 match=
1608139542.299842: nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0xb4a830 match=
1608139542.299941: nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0xb4a830 match=
1608139542.300040: nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0xb4a830 match=
1608139542.300137: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0xb4a830 match=
1608139542.300253: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=04
1608139542.300356: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0501
1608139542.300459: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0503
1608139542.300561: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0504
1608139542.300663: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=06
1608139542.300775: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=09
1608139542.300876: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0a
1608139542.300979: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=11
1608139542.301077: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=7f
1608139542.301241: wlan0: nl80211: Scan aborted
1608139542.301300: nl80211: Scan included frequencies: 5170 5180 5190 5200 5210 5220 5230 5240 5745 5765 5785 5805 5825
1608139542.301339: wlan0: Event SCAN_RESULTS (3) received
1608139542.301368: ACS: Using survey based algorithm (acs_num_scans=5)
1608139542.301403: nl80211: Fetch survey data
1608139542.301512: wlan0: Event SURVEY (46) received
1608139542.301550: No survey data received
1608139542.301584: ACS: Scanning 3 / 5
1608139542.301617: wlan0: nl80211: scan request
1608139542.301652: nl80211: Passive scan requested
1608139542.301738: nl80211: Scan frequency 5170 MHz
1608139542.301770: nl80211: Scan frequency 5180 MHz
1608139542.301796: nl80211: Scan frequency 5190 MHz
1608139542.301821: nl80211: Scan frequency 5200 MHz
1608139542.301846: nl80211: Scan frequency 5210 MHz
1608139542.301869: nl80211: Scan frequency 5220 MHz
1608139542.301893: nl80211: Scan frequency 5230 MHz
1608139542.301916: nl80211: Scan frequency 5240 MHz
1608139542.301940: nl80211: Scan frequency 5745 MHz
1608139542.301963: nl80211: Scan frequency 5765 MHz
1608139542.301987: nl80211: Scan frequency 5785 MHz
1608139542.302011: nl80211: Scan frequency 5805 MHz
1608139542.302034: nl80211: Scan frequency 5825 MHz
1608139542.306863: Scan requested (ret=0) - scan timeout 10 seconds
1608139542.306974: nl80211: Event message available
1608139542.307041: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
1608139542.307082: wlan0: nl80211: Scan trigger
1608139542.307117: wlan0: Event SCAN_STARTED (47) received
1608139542.307158: Unknown event 47
1608139542.307211: nl80211: Event message available
1608139542.307265: nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
1608139542.307301: wlan0: nl80211: Scan aborted
1608139542.307343: nl80211: Scan included frequencies: 5170 5180 5190 5200 5210 5220 5230 5240 5745 5765 5785 5805 5825
1608139542.307377: wlan0: Event SCAN_RESULTS (3) received
1608139542.307403: ACS: Using survey based algorithm (acs_num_scans=5)
1608139542.307439: nl80211: Fetch survey data
1608139542.307552: wlan0: Event SURVEY (46) received
1608139542.307589: No survey data received
1608139542.307623: ACS: Scanning 4 / 5
1608139542.307655: wlan0: nl80211: scan request
1608139542.307690: nl80211: Passive scan requested
1608139542.307717: nl80211: Scan frequency 5170 MHz
1608139542.307744: nl80211: Scan frequency 5180 MHz
1608139542.307769: nl80211: Scan frequency 5190 MHz
1608139542.307793: nl80211: Scan frequency 5200 MHz
1608139542.307817: nl80211: Scan frequency 5210 MHz
1608139542.307840: nl80211: Scan frequency 5220 MHz
1608139542.307876: nl80211: Scan frequency 5230 MHz
1608139542.307904: nl80211: Scan frequency 5240 MHz
1608139542.307929: nl80211: Scan frequency 5745 MHz
1608139542.307952: nl80211: Scan frequency 5765 MHz
1608139542.307976: nl80211: Scan frequency 5785 MHz
1608139542.308000: nl80211: Scan frequency 5805 MHz
1608139542.308026: nl80211: Scan frequency 5825 MHz
1608139542.308120: nl80211: Scan trigger failed: ret=-16 (Device or resource busy)
1608139542.308157: nl80211: Set mode ifindex 10 iftype 2 (STATION)
1608139542.336674: nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
1608139542.336752: nl80211: Unsubscribe mgmt frames handle 0x883c20b9 (AP teardown)
1608139542.336884: nl80211: Subscribe to mgmt frames with non-AP handle 0xb4a830
1608139542.336934: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=06
1608139542.337063: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0a07
1608139542.337175: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0a11
1608139542.337297: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=1101
1608139542.337403: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=1102
1608139542.337502: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0505
1608139542.337608: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0500
1608139542.337721: wlan0: nl80211: scan request
1608139542.337767: nl80211: Passive scan requested
1608139542.337797: nl80211: Scan frequency 5170 MHz
1608139542.337825: nl80211: Scan frequency 5180 MHz
1608139542.337851: nl80211: Scan frequency 5190 MHz
1608139542.337875: nl80211: Scan frequency 5200 MHz
1608139542.337902: nl80211: Scan frequency 5210 MHz
1608139542.337925: nl80211: Scan frequency 5220 MHz
1608139542.337948: nl80211: Scan frequency 5230 MHz
1608139542.337971: nl80211: Scan frequency 5240 MHz
1608139542.338049: nl80211: Scan frequency 5745 MHz
1608139542.338080: nl80211: Scan frequency 5765 MHz
1608139542.338106: nl80211: Scan frequency 5785 MHz
1608139542.338129: nl80211: Scan frequency 5805 MHz
1608139542.338153: nl80211: Scan frequency 5825 MHz
1608139542.338249: nl80211: Scan trigger failed: ret=-16 (Device or resource busy)
1608139542.338287: nl80211: Set mode ifindex 10 iftype 3 (AP)
1608139542.357497: nl80211: Unsubscribe mgmt frames handle 0x883c20b9 (start AP)
1608139542.357621: nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
1608139542.357717: nl80211: Subscribe to mgmt frames with AP handle 0xb4a830
1608139542.357755: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0xb4a830 match=
1608139542.357879: nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0xb4a830 match=
1608139542.357986: nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0xb4a830 match=
1608139542.358085: nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0xb4a830 match=
1608139542.358203: nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0xb4a830 match=
1608139542.358299: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0xb4a830 match=
1608139542.358414: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=04
1608139542.358519: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0501
1608139542.358619: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0503
1608139542.358722: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0504
1608139542.358819: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=06
1608139542.358921: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=09
1608139542.359020: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=0a
1608139542.359118: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=11
1608139542.359231: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb4a830 match=7f
1608139542.359389: ACS: Failed to request initial scan
1608139542.359430: ACS: Failed to request scan
1608139542.359459: Interface initialization failed
1608139542.359483: wlan0: interface state ACS->DISABLED
1608139542.359514: wlan0: AP-DISABLED
1608139542.359540: ACS: Failed to start
1608139542.359569: wlan0: AP-DISABLED
1608139542.359659: wlan0: Deauthenticate all stations
1608139542.359700: nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
1608139542.359738: nl80211: send_mlme -> send_frame
1608139542.359762: nl80211: send_frame - Use bss->freq=0
1608139542.359784: nl80211: send_frame -> send_frame_cmd
1608139542.359805: nl80211: CMD_FRAME freq=0 wait=0 no_cck=0 no_ack=0 offchanok=0
1608139542.359833: CMD_FRAME - hexdump(len=26): c0 00 00 00 ff ff ff ff ff ff a4 06 e9 af d6 2b a4 06 e9 af d6 2b 00 00 03 00
1608139542.359978: nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0)
1608139542.360022: hostapd_free_hapd_data: Interface wlan0 wasn't started
1608139542.360050: hostapd_deinit_driver: driver=0x59b5c0 drv_priv=0xb3dae0 -> hapd_deinit
1608139542.360078: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
1608139542.386147: nl80211: Remove monitor interface: refcount=0
1608139542.386203: nl80211: Remove beacon (ifindex=10)
1608139542.416216: netlink: Operstate: ifindex=10 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
1608139542.416328: nl80211: Set mode ifindex 10 iftype 2 (STATION)
1608139542.443180: nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
1608139542.443256: nl80211: Unsubscribe mgmt frames handle 0x883c20b9 (AP teardown)
1608139542.443359: hostapd_deinit_driver:bss[0]->drv_priv=0xb3dae0
1608139542.443399: hostapd_cleanup_iface_partial(0xb3b8d8)
1608139542.443439: Interface wlan0 disabled
1608139542.443465: wlan0: interface state DISABLED->DISABLED
1608139542.443562: hostapd_interface_deinit_free(0xb3b8d8)
1608139542.443596: hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
1608139542.443622: hostapd_interface_deinit(0xb3b8d8)
1608139542.443647: wlan0: interface state DISABLED->DISABLED
1608139542.443672: hostapd_bss_deinit: deinit bss wlan0
1608139542.443705: wlan0: AP-DISABLED
1608139542.443733: hostapd_cleanup(hapd=0xb3cac0 (wlan0))
1608139542.443761: wlan0: CTRL-EVENT-TERMINATING
1608139542.443789: hostapd_free_hapd_data: Interface wlan0 wasn't started
1608139542.443816: hostapd_interface_deinit_free: driver=0x59b5c0 drv_priv=(nil) -> hapd_deinit
1608139542.443845: hostapd_interface_free(0xb3b8d8)
1608139542.443870: hostapd_interface_free: free hapd 0xb3cac0
1608139542.443895: hostapd_cleanup_iface(0xb3b8d8)
1608139542.443918: hostapd_cleanup_iface_partial(0xb3b8d8)
1608139542.443951: hostapd_cleanup_iface: free iface=0xb3b8d8

Regards,

Danilo

  • Hi, 

    Have you also enabled CONFIG_ACS in your build options?

    You can see an example hostapd.conf from here: https://git.ti.com/cgit/wilink8-wlan/hostap/tree/hostapd/hostapd.conf 

    It also documents how to configure ACS. Also, if acs_survey doesn't work, please try setting to 0.  

  • Hi Sabeeh,

    According to our customer,

    Yes, we compiled with CONFIG_ACS and also tried channel=0. That didn't help.
    I am attaching one more log file.

    TI_hostapd_acs_log_2.txt
    1608139568.866032: random: Trying to read entropy from /dev/random
    1608139568.866323: Configuration file: host_1.conf
    1608139568.870260: nl80211: Supported cipher 00-0f-ac:1
    1608139568.870342: nl80211: Supported cipher 00-0f-ac:5
    1608139568.870374: nl80211: Supported cipher 00-0f-ac:2
    1608139568.870403: nl80211: Supported cipher 00-0f-ac:4
    1608139568.870431: nl80211: Supported cipher 00-14-72:1
    1608139568.870458: nl80211: Supports Probe Response offload in AP mode
    1608139568.870684: nl80211: Using driver-based off-channel TX
    1608139568.870752: nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 04 00 00 00 00 00 00 40
    1608139568.870797: nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 04 00 00 00 00 00 00 40
    1608139568.870846: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0
    1608139568.870878: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1
    1608139568.870906: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2
    1608139568.870931: nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0
    1608139568.870977: nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1
    1608139568.871061: nl80211: Use separate P2P group interface (driver advertised support)
    1608139568.871097: nl80211: Enable multi-channel concurrent (driver advertised support)
    1608139568.871123: nl80211: use P2P_DEVICE support
    1608139568.871149: nl80211: interface wlan0 in phy phy0
    1608139568.871338: nl80211: Set mode ifindex 10 iftype 3 (AP)
    1608139568.887676: nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
    1608139568.887819: nl80211: Subscribe to mgmt frames with AP handle 0x9332a0
    1608139568.887862: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x9332a0 match=
    1608139568.888073: nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x9332a0 match=
    1608139568.888204: nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x9332a0 match=
    1608139568.888309: nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x9332a0 match=
    1608139568.888431: nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x9332a0 match=
    1608139568.888532: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x9332a0 match=
    1608139568.888648: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9332a0 match=04
    1608139568.888755: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9332a0 match=0501
    1608139568.888865: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9332a0 match=0503
    1608139568.888967: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9332a0 match=0504
    1608139568.889068: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9332a0 match=06
    1608139568.889171: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9332a0 match=09
    1608139568.889274: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9332a0 match=0a
    1608139568.889378: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9332a0 match=11
    1608139568.889491: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9332a0 match=7f
    1608139568.890671: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
    1608139568.891971: nl80211: Add own interface ifindex 10 (ifidx_reason -1)
    1608139568.892035: nl80211: if_indices[16]: 10(-1)
    1608139568.892118: phy: phy0
    1608139568.892157: BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
    1608139568.892194: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    1608139568.893121: Previous country code 00, new country code BE
    1608139568.893323: Continue interface setup after channel list update
    1608139568.893517: ctrl_iface not configured!
    1608139568.894079: random: Got 20/20 bytes from /dev/random
    1608139569.002048: nl80211: Event message available
    1608139569.002242: nl80211: Drv Event 36 (NL80211_CMD_REG_CHANGE) received for wlan0
    1608139569.002314: nl80211: Regulatory domain change
    1608139569.002365:  * initiator=1
    1608139569.002414:  * type=0
    1608139569.002570:  * alpha2=BE
    1608139569.002650: wlan0: Event CHANNEL_LIST_CHANGED (27) received
    1608139569.002810: Channel list updated - continue setup
    1608139569.004806: nl80211: Regulatory information - country=BE (DFS-ETSI)
    1608139569.004912: nl80211: 2400-2483 @ 40 MHz 20 mBm
    1608139569.004987: nl80211: 5150-5250 @ 80 MHz 23 mBm (no outdoor)
    1608139569.005055: nl80211: 5250-5350 @ 80 MHz 20 mBm (no outdoor) (DFS)
    1608139569.005120: nl80211: 5470-5725 @ 160 MHz 26 mBm (DFS)
    1608139569.005181: nl80211: 5725-5875 @ 80 MHz 13 mBm
    1608139569.005240: nl80211: 57000-66000 @ 2160 MHz 40 mBm
    1608139569.005406: nl80211: Added 802.11b mode based on 802.11g information
    1608139569.005517: nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484[DISABLED][NO_IR]
    1608139569.005644: nl80211: Mode IEEE 802.11a: 5040[DISABLED] 5060[DISABLED] 5080[DISABLED] 5170 5180 5190 5200 5210 5220 5230 5240 5260[RADAR] 5280[RADAR] 5300[RADAR] 5320[RADAR] 5500[RADAR] 5520[RADAR] 5540[RADAR] 5560[RADAR] 5580[RA]
    1608139569.005777: nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484[DISABLED][NO_IR]
    1608139569.005833: Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
    1608139569.005887: Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
    1608139569.005934: Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
    1608139569.005981: Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
    1608139569.006027: Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
    1608139569.006075: Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
    1608139569.006121: Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
    1608139569.006168: Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
    1608139569.006213: Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
    1608139569.006260: Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
    1608139569.006307: Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
    1608139569.006369: Allowed channel: mode=1 chan=12 freq=2467 MHz max_tx_power=20 dBm
    1608139569.006420: Allowed channel: mode=1 chan=13 freq=2472 MHz max_tx_power=20 dBm
    1608139569.006467: Allowed channel: mode=2 chan=34 freq=5170 MHz max_tx_power=23 dBm
    1608139569.006514: Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=23 dBm
    1608139569.006561: Allowed channel: mode=2 chan=38 freq=5190 MHz max_tx_power=23 dBm
    1608139569.006607: Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=23 dBm
    1608139569.006654: Allowed channel: mode=2 chan=42 freq=5210 MHz max_tx_power=23 dBm
    1608139569.006699: Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=23 dBm
    1608139569.006747: Allowed channel: mode=2 chan=46 freq=5230 MHz max_tx_power=23 dBm
    1608139569.006795: Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=23 dBm
    1608139569.006843: Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=13 dBm
    1608139569.006891: Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=13 dBm
    1608139569.006952: Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=13 dBm
    1608139569.007003: Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=13 dBm
    1608139569.007051: Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=13 dBm
    1608139569.007097: Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
    1608139569.007143: Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
    1608139569.007191: Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
    1608139569.007238: Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
    1608139569.007284: Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
    1608139569.007331: Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
    1608139569.007377: Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
    1608139569.007423: Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
    1608139569.007470: Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
    1608139569.007595: Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
    1608139569.007652: Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
    1608139569.007703: Allowed channel: mode=0 chan=12 freq=2467 MHz max_tx_power=20 dBm
    1608139569.007751: Allowed channel: mode=0 chan=13 freq=2472 MHz max_tx_power=20 dBm
    1608139569.007802: Scan for neighboring BSSes to select channel
    1608139569.007860: wlan0: nl80211: scan request
    1608139569.007931: nl80211: Passive scan requested
    1608139569.009343: Scan requested (ret=0) - scan timeout 10 seconds
    1608139569.009478: ACS: Automatic channel selection started, this may take a bit
    1608139569.009546: ACS: Scanning 1 / 5
    1608139569.009610: wlan0: nl80211: scan request
    1608139569.009676: nl80211: Passive scan requested
    1608139569.009730: nl80211: Scan frequency 5170 MHz
    1608139569.009780: nl80211: Scan frequency 5180 MHz
    1608139569.009827: nl80211: Scan frequency 5190 MHz
    1608139569.009873: nl80211: Scan frequency 5200 MHz
    1608139569.009946: nl80211: Scan frequency 5210 MHz
    1608139569.009999: nl80211: Scan frequency 5220 MHz
    1608139569.010047: nl80211: Scan frequency 5230 MHz
    1608139569.010093: nl80211: Scan frequency 5240 MHz
    1608139569.010138: nl80211: Scan frequency 5745 MHz
    1608139569.010184: nl80211: Scan frequency 5765 MHz
    1608139569.010229: nl80211: Scan frequency 5785 MHz
    1608139569.010274: nl80211: Scan frequency 5805 MHz
    1608139569.010318: nl80211: Scan frequency 5825 MHz
    1608139569.010502: nl80211: Scan trigger failed: ret=-16 (Device or resource busy)
    1608139569.010576: nl80211: Set mode ifindex 10 iftype 2 (STATION)
    1608139569.030887: nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
    1608139569.030971: nl80211: Unsubscribe mgmt frames handle 0x881bba29 (AP teardown)
    1608139569.031119: nl80211: Subscribe to mgmt frames with non-AP handle 0x932850
    1608139569.031174: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x932850 match=06
    1608139569.031311: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x932850 match=0a07
    1608139569.031448: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x932850 match=0a11
    1608139569.031558: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x932850 match=1101
    1608139569.031671: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x932850 match=1102
    1608139569.031780: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x932850 match=0505
    1608139569.031890: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x932850 match=0500
    1608139569.032009: wlan0: nl80211: scan request
    1608139569.032057: nl80211: Passive scan requested
    1608139569.032088: nl80211: Scan frequency 5170 MHz
    1608139569.032117: nl80211: Scan frequency 5180 MHz
    1608139569.032144: nl80211: Scan frequency 5190 MHz
    1608139569.032169: nl80211: Scan frequency 5200 MHz
    1608139569.032193: nl80211: Scan frequency 5210 MHz
    1608139569.032220: nl80211: Scan frequency 5220 MHz
    1608139569.032246: nl80211: Scan frequency 5230 MHz
    1608139569.032284: nl80211: Scan frequency 5240 MHz
    1608139569.032313: nl80211: Scan frequency 5745 MHz
    1608139569.032339: nl80211: Scan frequency 5765 MHz
    1608139569.032364: nl80211: Scan frequency 5785 MHz
    1608139569.032390: nl80211: Scan frequency 5805 MHz
    1608139569.032416: nl80211: Scan frequency 5825 MHz
    1608139569.033254: Scan requested (ret=0) - scan timeout 10 seconds
    1608139569.033320: Scan requested (ret=0) - scan timeout 10 seconds
    1608139569.033361: wlan0: interface state COUNTRY_UPDATE->ACS
    1608139569.033397: wlan0: ACS-STARTED
    1608139569.033428: Interface initialization will be completed in a callback (ACS)
    1608139569.033493: nl80211: Event message available
    1608139569.033563: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
    1608139569.033604: wlan0: nl80211: Scan trigger
    1608139569.033643: wlan0: Event SCAN_STARTED (47) received
    1608139569.033670: Unknown event 47
    1608139569.033722: nl80211: Event message available
    1608139569.033781: nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
    1608139569.033879: nl80211: Set mode ifindex 10 iftype 3 (AP)
    1608139569.051906: nl80211: Unsubscribe mgmt frames handle 0x881ba0d9 (start AP)
    1608139569.052035: nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
    1608139569.052132: nl80211: Subscribe to mgmt frames with AP handle 0x93e730
    1608139569.052172: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x93e730 match=
    1608139569.052296: nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x93e730 match=
    1608139569.052404: nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x93e730 match=
    1608139569.052503: nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x93e730 match=
    1608139569.052599: nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x93e730 match=
    1608139569.052695: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x93e730 match=
    1608139569.052809: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e730 match=04
    1608139569.052932: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e730 match=0501
    1608139569.053036: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e730 match=0503
    1608139569.053134: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e730 match=0504
    1608139569.053240: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e730 match=06
    1608139569.053338: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e730 match=09
    1608139569.053435: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e730 match=0a
    1608139569.053533: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e730 match=11
    1608139569.053632: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e730 match=7f
    1608139569.053800: wlan0: nl80211: Scan aborted
    1608139569.053877: nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 5170 5180 5190 5200 5210 5220 5230 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5
    1608139569.053927: wlan0: Event SCAN_RESULTS (3) received
    1608139569.053957: ACS: Using survey based algorithm (acs_num_scans=5)
    1608139569.053994: nl80211: Fetch survey data
    1608139569.054101: wlan0: Event SURVEY (46) received
    1608139569.054140: No survey data received
    1608139569.054178: ACS: Scanning 2 / 5
    1608139569.054211: wlan0: nl80211: scan request
    1608139569.054245: nl80211: Passive scan requested
    1608139569.054277: nl80211: Scan frequency 5170 MHz
    1608139569.054302: nl80211: Scan frequency 5180 MHz
    1608139569.054327: nl80211: Scan frequency 5190 MHz
    1608139569.054351: nl80211: Scan frequency 5200 MHz
    1608139569.054375: nl80211: Scan frequency 5210 MHz
    1608139569.054399: nl80211: Scan frequency 5220 MHz
    1608139569.054422: nl80211: Scan frequency 5230 MHz
    1608139569.054447: nl80211: Scan frequency 5240 MHz
    1608139569.054470: nl80211: Scan frequency 5745 MHz
    1608139569.054506: nl80211: Scan frequency 5765 MHz
    1608139569.054533: nl80211: Scan frequency 5785 MHz
    1608139569.054558: nl80211: Scan frequency 5805 MHz
    1608139569.054583: nl80211: Scan frequency 5825 MHz
    1608139569.055424: Scan requested (ret=0) - scan timeout 10 seconds
    1608139569.055531: nl80211: Event message available
    1608139569.055601: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
    1608139569.055643: wlan0: nl80211: Scan trigger
    1608139569.055680: wlan0: Event SCAN_STARTED (47) received
    1608139569.055706: Unknown event 47
    1608139569.055754: nl80211: Event message available
    1608139569.055806: nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
    1608139569.055843: wlan0: nl80211: Scan aborted
    1608139569.055885: nl80211: Scan included frequencies: 5170 5180 5190 5200 5210 5220 5230 5240 5745 5765 5785 5805 5825
    1608139569.055920: wlan0: Event SCAN_RESULTS (3) received
    1608139569.055948: ACS: Using survey based algorithm (acs_num_scans=5)
    1608139569.056043: nl80211: Fetch survey data
    1608139569.056165: wlan0: Event SURVEY (46) received
    1608139569.056205: No survey data received
    1608139569.056238: ACS: Scanning 3 / 5
    1608139569.056270: wlan0: nl80211: scan request
    1608139569.056305: nl80211: Passive scan requested
    1608139569.056335: nl80211: Scan frequency 5170 MHz
    1608139569.056361: nl80211: Scan frequency 5180 MHz
    1608139569.056386: nl80211: Scan frequency 5190 MHz
    1608139569.056410: nl80211: Scan frequency 5200 MHz
    1608139569.056435: nl80211: Scan frequency 5210 MHz
    1608139569.056459: nl80211: Scan frequency 5220 MHz
    1608139569.056483: nl80211: Scan frequency 5230 MHz
    1608139569.056506: nl80211: Scan frequency 5240 MHz
    1608139569.056530: nl80211: Scan frequency 5745 MHz
    1608139569.056554: nl80211: Scan frequency 5765 MHz
    1608139569.056578: nl80211: Scan frequency 5785 MHz
    1608139569.056601: nl80211: Scan frequency 5805 MHz
    1608139569.056625: nl80211: Scan frequency 5825 MHz
    1608139569.056719: nl80211: Scan trigger failed: ret=-16 (Device or resource busy)
    1608139569.056767: nl80211: Set mode ifindex 10 iftype 2 (STATION)
    1608139569.072532: nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
    1608139569.072611: nl80211: Unsubscribe mgmt frames handle 0x881b6fb9 (AP teardown)
    1608139569.072749: nl80211: Subscribe to mgmt frames with non-AP handle 0x9346b8
    1608139569.072801: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9346b8 match=06
    1608139569.072927: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9346b8 match=0a07
    1608139569.073037: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9346b8 match=0a11
    1608139569.073140: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9346b8 match=1101
    1608139569.073239: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9346b8 match=1102
    1608139569.073337: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9346b8 match=0505
    1608139569.073438: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9346b8 match=0500
    1608139569.073568: wlan0: nl80211: scan request
    1608139569.073614: nl80211: Passive scan requested
    1608139569.073643: nl80211: Scan frequency 5170 MHz
    1608139569.073670: nl80211: Scan frequency 5180 MHz
    1608139569.073695: nl80211: Scan frequency 5190 MHz
    1608139569.073719: nl80211: Scan frequency 5200 MHz
    1608139569.073745: nl80211: Scan frequency 5210 MHz
    1608139569.073770: nl80211: Scan frequency 5220 MHz
    1608139569.073796: nl80211: Scan frequency 5230 MHz
    1608139569.073820: nl80211: Scan frequency 5240 MHz
    1608139569.073843: nl80211: Scan frequency 5745 MHz
    1608139569.073870: nl80211: Scan frequency 5765 MHz
    1608139569.073893: nl80211: Scan frequency 5785 MHz
    1608139569.073916: nl80211: Scan frequency 5805 MHz
    1608139569.073941: nl80211: Scan frequency 5825 MHz
    1608139569.074730: Scan requested (ret=0) - scan timeout 10 seconds
    1608139569.074792: Scan requested (ret=0) - scan timeout 10 seconds
    1608139569.074867: nl80211: Event message available
    1608139569.074946: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
    1608139569.074989: wlan0: nl80211: Scan trigger
    1608139569.075024: wlan0: Event SCAN_STARTED (47) received
    1608139569.075051: Unknown event 47
    1608139569.075101: nl80211: Event message available
    1608139569.075153: nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
    1608139569.075189: nl80211: Set mode ifindex 10 iftype 3 (AP)
    1608139569.091503: nl80211: Unsubscribe mgmt frames handle 0x881bce31 (start AP)
    1608139569.091629: nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
    1608139569.091727: nl80211: Subscribe to mgmt frames with AP handle 0x93e810
    1608139569.091766: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x93e810 match=
    1608139569.091883: nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x93e810 match=
    1608139569.091989: nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x93e810 match=
    1608139569.092090: nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x93e810 match=
    1608139569.092255: nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x93e810 match=
    1608139569.092353: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x93e810 match=
    1608139569.092466: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=04
    1608139569.092568: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0501
    1608139569.092667: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0503
    1608139569.092767: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0504
    1608139569.092868: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=06
    1608139569.092966: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=09
    1608139569.093067: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0a
    1608139569.093164: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=11
    1608139569.093279: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=7f
    1608139569.093445: wlan0: nl80211: Scan aborted
    1608139569.093500: nl80211: Scan included frequencies: 5170 5180 5190 5200 5210 5220 5230 5240 5745 5765 5785 5805 5825
    1608139569.093538: wlan0: Event SCAN_RESULTS (3) received
    1608139569.093567: ACS: Using survey based algorithm (acs_num_scans=5)
    1608139569.093604: nl80211: Fetch survey data
    1608139569.093707: wlan0: Event SURVEY (46) received
    1608139569.093745: No survey data received
    1608139569.093780: ACS: Scanning 4 / 5
    1608139569.093813: wlan0: nl80211: scan request
    1608139569.093850: nl80211: Passive scan requested
    1608139569.093877: nl80211: Scan frequency 5170 MHz
    1608139569.093906: nl80211: Scan frequency 5180 MHz
    1608139569.093931: nl80211: Scan frequency 5190 MHz
    1608139569.093956: nl80211: Scan frequency 5200 MHz
    1608139569.093980: nl80211: Scan frequency 5210 MHz
    1608139569.094003: nl80211: Scan frequency 5220 MHz
    1608139569.094040: nl80211: Scan frequency 5230 MHz
    1608139569.094066: nl80211: Scan frequency 5240 MHz
    1608139569.094091: nl80211: Scan frequency 5745 MHz
    1608139569.094115: nl80211: Scan frequency 5765 MHz
    1608139569.094138: nl80211: Scan frequency 5785 MHz
    1608139569.094161: nl80211: Scan frequency 5805 MHz
    1608139569.094185: nl80211: Scan frequency 5825 MHz
    1608139569.094983: Scan requested (ret=0) - scan timeout 10 seconds
    1608139569.095088: nl80211: Event message available
    1608139569.095157: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
    1608139569.095198: wlan0: nl80211: Scan trigger
    1608139569.095234: wlan0: Event SCAN_STARTED (47) received
    1608139569.095260: Unknown event 47
    1608139569.095308: nl80211: Event message available
    1608139569.095361: nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
    1608139569.095399: wlan0: nl80211: Scan aborted
    1608139569.095440: nl80211: Scan included frequencies: 5170 5180 5190 5200 5210 5220 5230 5240 5745 5765 5785 5805 5825
    1608139569.095489: wlan0: Event SCAN_RESULTS (3) received
    1608139569.095517: ACS: Using survey based algorithm (acs_num_scans=5)
    1608139569.095554: nl80211: Fetch survey data
    1608139569.095667: wlan0: Event SURVEY (46) received
    1608139569.095705: No survey data received
    1608139569.095737: ACS: Scanning 5 / 5
    1608139569.095770: wlan0: nl80211: scan request
    1608139569.095806: nl80211: Passive scan requested
    1608139569.095837: nl80211: Scan frequency 5170 MHz
    1608139569.095863: nl80211: Scan frequency 5180 MHz
    1608139569.095888: nl80211: Scan frequency 5190 MHz
    1608139569.095912: nl80211: Scan frequency 5200 MHz
    1608139569.095940: nl80211: Scan frequency 5210 MHz
    1608139569.095963: nl80211: Scan frequency 5220 MHz
    1608139569.095989: nl80211: Scan frequency 5230 MHz
    1608139569.096014: nl80211: Scan frequency 5240 MHz
    1608139569.096037: nl80211: Scan frequency 5745 MHz
    1608139569.096062: nl80211: Scan frequency 5765 MHz
    1608139569.096086: nl80211: Scan frequency 5785 MHz
    1608139569.096160: nl80211: Scan frequency 5805 MHz
    1608139569.096191: nl80211: Scan frequency 5825 MHz
    1608139569.096289: nl80211: Scan trigger failed: ret=-16 (Device or resource busy)
    1608139569.096330: nl80211: Set mode ifindex 10 iftype 2 (STATION)
    1608139569.112168: nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
    1608139569.112249: nl80211: Unsubscribe mgmt frames handle 0x881b6099 (AP teardown)
    1608139569.112381: nl80211: Subscribe to mgmt frames with non-AP handle 0x93e810
    1608139569.112432: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=06
    1608139569.112555: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0a07
    1608139569.112666: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0a11
    1608139569.112771: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=1101
    1608139569.112870: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=1102
    1608139569.112989: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0505
    1608139569.113092: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0500
    1608139569.113205: wlan0: nl80211: scan request
    1608139569.113248: nl80211: Passive scan requested
    1608139569.113278: nl80211: Scan frequency 5170 MHz
    1608139569.113306: nl80211: Scan frequency 5180 MHz
    1608139569.113331: nl80211: Scan frequency 5190 MHz
    1608139569.113356: nl80211: Scan frequency 5200 MHz
    1608139569.113380: nl80211: Scan frequency 5210 MHz
    1608139569.113405: nl80211: Scan frequency 5220 MHz
    1608139569.113428: nl80211: Scan frequency 5230 MHz
    1608139569.113452: nl80211: Scan frequency 5240 MHz
    1608139569.113476: nl80211: Scan frequency 5745 MHz
    1608139569.113499: nl80211: Scan frequency 5765 MHz
    1608139569.113523: nl80211: Scan frequency 5785 MHz
    1608139569.113548: nl80211: Scan frequency 5805 MHz
    1608139569.113571: nl80211: Scan frequency 5825 MHz
    1608139569.114323: Scan requested (ret=0) - scan timeout 10 seconds
    1608139569.114401: Scan requested (ret=0) - scan timeout 10 seconds
    1608139569.114476: nl80211: Event message available
    1608139569.114540: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
    1608139569.114581: wlan0: nl80211: Scan trigger
    1608139569.114617: wlan0: Event SCAN_STARTED (47) received
    1608139569.114642: Unknown event 47
    1608139569.114691: nl80211: Event message available
    1608139569.114743: nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
    1608139569.114776: nl80211: Set mode ifindex 10 iftype 3 (AP)
    1608139569.131074: nl80211: Unsubscribe mgmt frames handle 0x881b6099 (start AP)
    1608139569.131200: nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
    1608139569.131296: nl80211: Subscribe to mgmt frames with AP handle 0x93e810
    1608139569.131334: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x93e810 match=
    1608139569.131452: nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x93e810 match=
    1608139569.131556: nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x93e810 match=
    1608139569.131674: nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x93e810 match=
    1608139569.131772: nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x93e810 match=
    1608139569.131865: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x93e810 match=
    1608139569.131972: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=04
    1608139569.132071: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0501
    1608139569.132170: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0503
    1608139569.132271: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0504
    1608139569.132367: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=06
    1608139569.132465: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=09
    1608139569.132626: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=0a
    1608139569.132727: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=11
    1608139569.132826: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x93e810 match=7f
    1608139569.132990: wlan0: nl80211: Scan aborted
    1608139569.133047: nl80211: Scan included frequencies: 5170 5180 5190 5200 5210 5220 5230 5240 5745 5765 5785 5805 5825
    1608139569.133084: wlan0: Event SCAN_RESULTS (3) received
    1608139569.133110: ACS: Using survey based algorithm (acs_num_scans=5)
    1608139569.133145: nl80211: Fetch survey data
    1608139569.133255: wlan0: Event SURVEY (46) received
    1608139569.133292: No survey data received
    1608139569.133320: ACS: Trying survey-based ACS
    1608139569.133345: ACS: Unable to collect survey data
    1608139569.133370: ACS: All study options have failed
    1608139569.133396: Interface initialization failed
    1608139569.133419: wlan0: interface state ACS->DISABLED
    1608139569.133460: wlan0: AP-DISABLED
    1608139569.133489: ACS: Possibly channel configuration is invalid, please report this along with your config file.
    1608139569.133514: ACS: Failed to start
    1608139569.133546: wlan0: AP-DISABLED
    1608139569.133634: wlan0: Deauthenticate all stations
    1608139569.133675: nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
    1608139569.133710: nl80211: send_mlme -> send_frame
    1608139569.133735: nl80211: send_frame - Use bss->freq=0
    1608139569.133758: nl80211: send_frame -> send_frame_cmd
    1608139569.133783: nl80211: CMD_FRAME freq=0 wait=0 no_cck=0 no_ack=0 offchanok=0
    1608139569.133812: CMD_FRAME - hexdump(len=26): c0 00 00 00 ff ff ff ff ff ff a4 06 e9 af d6 2b a4 06 e9 af d6 2b 00 00 03 00
    1608139569.133947: nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0)
    1608139569.133990: hostapd_free_hapd_data: Interface wlan0 wasn't started
    1608139569.134018: hostapd_deinit_driver: driver=0x4e65c0 drv_priv=0x931ae0 -> hapd_deinit
    1608139569.134056: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    1608139569.158244: nl80211: Remove monitor interface: refcount=0
    1608139569.158354: nl80211: Remove beacon (ifindex=10)
    1608139569.188280: netlink: Operstate: ifindex=10 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
    1608139569.188460: nl80211: Set mode ifindex 10 iftype 2 (STATION)
    1608139569.212131: nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
    1608139569.212211: nl80211: Unsubscribe mgmt frames handle 0x881b6099 (AP teardown)
    1608139569.212315: hostapd_deinit_driver:bss[0]->drv_priv=0x931ae0
    1608139569.212355: hostapd_cleanup_iface_partial(0x92f8d8)
    1608139569.212395: Interface wlan0 disabled
    1608139569.212422: wlan0: interface state DISABLED->DISABLED
    1608139569.212458: hostapd_interface_deinit_free(0x92f8d8)
    1608139569.212487: hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
    1608139569.212514: hostapd_interface_deinit(0x92f8d8)
    1608139569.212539: wlan0: interface state DISABLED->DISABLED
    1608139569.212580: hostapd_bss_deinit: deinit bss wlan0
    1608139569.212615: wlan0: AP-DISABLED
    1608139569.212642: hostapd_cleanup(hapd=0x930ac0 (wlan0))
    1608139569.212673: wlan0: CTRL-EVENT-TERMINATING
    1608139569.212699: hostapd_free_hapd_data: Interface wlan0 wasn't started
    1608139569.212726: hostapd_interface_deinit_free: driver=0x4e65c0 drv_priv=(nil) -> hapd_deinit
    1608139569.212755: hostapd_interface_free(0x92f8d8)
    1608139569.212781: hostapd_interface_free: free hapd 0x930ac0
    1608139569.212808: hostapd_cleanup_iface(0x92f8d8)
    1608139569.212834: hostapd_cleanup_iface_partial(0x92f8d8)
    1608139569.212869: hostapd_cleanup_iface: free iface=0x92f8d8

    Regards,

    Danilo

  • Can the customer verify that they checked out the r8.8 branch of the build utilites repo? It looks to me that something is missing from the build. Can the customer verify that the hostap branch is 'upstream_29_rebase'? Please make sure they follow all steps from this user's guide: https://www.ti.com/lit/swru561  

  • Hi Sabeeh,

    According to our customer,

    Here are the build options we use:

    CONFIG_DRIVER_HOSTAP=y
    CONFIG_DRIVER_WIRED=y
    CONFIG_DRIVER_PRISM54=y
    CONFIG_DRIVER_NL80211=y
    CONFIG_LIBNL32=y
    CONFIG_IAPP=y
    CONFIG_RSN_PREAUTH=y
    CONFIG_PEERKEY=y
    CONFIG_EAP=y
    CONFIG_EAP_MD5=y
    CONFIG_EAP_TLS=y
    CONFIG_EAP_MSCHAPV2=y
    CONFIG_EAP_PEAP=y
    CONFIG_EAP_GTC=y
    CONFIG_EAP_TTLS=y
    CONFIG_WPS=y
    CONFIG_PKCS12=y
    CONFIG_RADIUS_SERVER=y
    CONFIG_IPV6=y
    CONFIG_DRIVER_RADIUS_ACL=y
    CONFIG_IEEE80211N=y
    CONFIG_IEEE80211AC=y
    CONFIG_ACS=y

    Ok, so apparently CONFIG_ACS has to be NOT set. This is really confusing, please document it somewhere. Otherwise this ticket can be closed.

    Regards,

    Danilo