Hi there,
I am trying to test SoftAP mode in Wl1837 module. I referred to https://e2e.ti.com/support/wireless_connectivity/f/307/t/295312
LOG:
root@OpenWrt:/# hostapd apd.conf & root@OpenWrt:/# Configuration file: apd.conf Line 12: DEPRECATED: 'dump_file' configuration variable is not used anymore [ 952.469204] wlcore: PHY firmware version: Rev 8.2.0.0.212 [ 952.565665] wlcore: firmware booted (Rev 8.9.0.0.17) [ 952.586734] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready wlan0: interface state UNINITIALIZED->COUNTRY_UP[ 952.594720] cfg80211: Calling CRDA to update world regulatory domain DATE wlan0: IEEE 802.11 Configured channel (40) not found from the channel list of current mode (2) IEEE 802.11a wlan0: IEEE 802.11 [ 957.616792] wlcore: down Hardware does not support configured channel Could not select hw_mode and channel. (-3) wlan0: interface state COUNTRY_UPDATE->DISABLED wlan0: AP-DISABLED hostapd_free_hapd_data: Interface wlan0 wasn't started
Config File:
root@OpenWrt:/# cat apd.conf interface=wlan0 driver=nl80211 channel=40 hw_mode=a preamble=1 dtim_period=2 beacon_int=100 logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ctrl_interface_group=0 supported_rates=60 90 120 180 240 360 480 540 basic_rates=60 90 120 180 240 ssid=Multirole_Demo max_num_sta=5 macaddr_acl=0 tx_queue_data3_aifs=7 tx_queue_data3_cwmin=15 tx_queue_data3_cwmax=1023 tx_queue_data3_burst=0 tx_queue_data2_aifs=3 tx_queue_data2_cwmin=15 tx_queue_data2_cwmax=63 tx_queue_data2_burst=0 tx_queue_data1_aifs=1 tx_queue_data1_cwmin=7 tx_queue_data1_cwmax=15 tx_queue_data1_burst=3.0 tx_queue_data0_aifs=1 tx_queue_data0_cwmin=3 tx_queue_data0_cwmax=7 tx_queue_data0_burst=1.5 wme_enabled=1 wme_ac_bk_cwmin=4 wme_ac_bk_cwmax=10 wme_ac_bk_aifs=7 wme_ac_bk_txop_limit=0 wme_ac_bk_acm=0 wme_ac_be_aifs=3 wme_ac_be_cwmin=4 wme_ac_be_cwmax=10 wme_ac_be_txop_limit=0 wme_ac_be_acm=0 wme_ac_vi_aifs=2 wme_ac_vi_cwmin=3 wme_ac_vi_cwmax=4 wme_ac_vi_txop_limit=94 wme_ac_vi_acm=0 wme_ac_vo_aifs=2 wme_ac_vo_cwmin=2 wme_ac_vo_cwmax=3 wme_ac_vo_txop_limit=47 wme_ac_vo_acm=0 auth_algs=3 ieee80211d=1 country_code=US uapsd_advertisement_enabled=1 wep_rekey_period=0 own_ip_addr=127.0.0.1 wpa_group_rekey=0 wpa_strict_rekey=0 wpa_gmk_rekey=0 wpa_ptk_rekey=0 #ap_table_max_size=255 #ap_table_expiration_time=60 eap_server=1 disassoc_low_ack=1 ap_max_inactivity=4294967295 ieee80211n=1 ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]
Dev Info:
root@OpenWrt:/# ipw phy phy0 info Wiphy phy0 max # scan SSIDs: 1 max scan IEs length: 441 bytes Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports AP-side u-APSD. Available Antennas: TX 0 RX 0 Supported interface modes: * IBSS * managed * AP * AP/VLAN * monitor * P2P-client * P2P-GO Band 1: Capabilities: 0x1072 HT20/HT40 Static SM Power Save RX Greenfield RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 3839 bytes DSSS/CCK HT40 Maximum RX AMPDU length 16383 bytes (exponent: 0x001) Minimum RX AMPDU time spacing: 16 usec (0x07) HT TX/RX MCS rate indexes supported: 0-7 Frequencies: * 2412 MHz [1] (20.0 dBm) * 2417 MHz [2] (20.0 dBm) * 2422 MHz [3] (20.0 dBm) * 2427 MHz [4] (20.0 dBm) * 2432 MHz [5] (20.0 dBm) * 2437 MHz [6] (20.0 dBm) * 2442 MHz [7] (20.0 dBm) * 2447 MHz [8] (20.0 dBm) * 2452 MHz [9] (20.0 dBm) * 2457 MHz [10] (20.0 dBm) * 2462 MHz [11] (20.0 dBm) * 2467 MHz [12] (20.0 dBm) (no IR) * 2472 MHz [13] (20.0 dBm) (no IR) * 2484 MHz [14] (20.0 dBm) (no IR) Band 2: Capabilities: 0x72 HT20/HT40 Static SM Power Save RX Greenfield RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 16383 bytes (exponent: 0x001) Minimum RX AMPDU time spacing: 16 usec (0x07) HT TX/RX MCS rate indexes supported: 0-7 Frequencies: * 5040 MHz [8] (disabled) * 5060 MHz [12] (disabled) * 5080 MHz [16] (disabled) * 5170 MHz [34] (disabled) * 5180 MHz [36] (20.0 dBm) (no IR) * 5190 MHz [38] (20.0 dBm) (no IR) * 5200 MHz [40] (20.0 dBm) (no IR) * 5210 MHz [42] (20.0 dBm) (no IR) * 5220 MHz [44] (20.0 dBm) (no IR) * 5230 MHz [46] (20.0 dBm) (no IR) * 5240 MHz [48] (20.0 dBm) (no IR) * 5260 MHz [52] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5280 MHz [56] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5300 MHz [60] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5320 MHz [64] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5500 MHz [100] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5520 MHz [104] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5540 MHz [108] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5560 MHz [112] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5580 MHz [116] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5600 MHz [120] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5620 MHz [124] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5640 MHz [128] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5660 MHz [132] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5680 MHz [136] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5700 MHz [140] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 1007 sec) DFS CAC time: 60000 ms * 5745 MHz [149] (disabled) * 5765 MHz [153] (disabled) * 5785 MHz [157] (disabled) * 5805 MHz [161] (disabled) * 5825 MHz [165] (disabled) valid interface combinations: * #{ managed } <= 3, #{ AP, P2P-client, P2P-GO } <= 1, total <= 3, #channels <= 2, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz } * #{ AP } <= 2, total <= 2, #channels <= 1, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz } HT Capability overrides: * MCS: ff ff ff ff ff ff ff ff ff ff * maximum A-MSDU length * supported channel width * short GI for 40 MHz * max A-MPDU length exponent * min MPDU start spacing
ht mode in Wl18xx-conf.bin:
root@OpenWrt:/lib/firmware/ti-connectivity# wlconf -i wl18xx-conf.bin -g wl18xx.htmdode.mode | grep htwl18xx.ht.mode wl18xx.ht.mode = 0x01
Could you help me what is problem in here?
Thank
Tuan Nguyen