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.

Linux/WL1837MOD: hardware is resetting when trying to connect using hostapd

Part Number: WL1837MOD

Tool/software: Linux

Hi,

I am enabled the ACS feature in hostapd by updating to R8.7_SP3. When I start the hostapd with the hostapd.conf I see the Auto channel selection happening. but now when I try to connect to the wifi the hardware resets. I also changed the firmware to the below which came with R8.7_SP3 but still see the hardware getting reset.

wlcore: PHY firmware version: Rev 8.2.0.0.240
wlcore: firmware booted (Rev 8.9.0.0.76)

Please see the reset log for more info:

wlan0: Event RX_MGMT (19) received
mgmt::auth
authenwlcore: pc: 0x119e1e, hint_sts: 0x00000000 count: 4
tication: STA=08:78:08:ed:f2:1a auth_alg=0 auth_transaction=1 stwlcore: down
atus_code=0 wep=0 seq_ctrl=0x8120
wlan0: STA 08:78:08:ed:f2:1a IEEEieee80211 phy0: Hardware restart was requested
 802.11: authentication OK (open system)
wlan0: STA 08:78:08:ed:f2:1a MLME: MLME-AUTHENTICATE.indication(08:78:08:ed:f2:1a, OPEN_SYSTEM)
wlan0: STA 08:78:08:ed:f2:1a MLME: MLME-DELETEKEYS.request(08:78:08:ed:f2:1a)
authentication reply: STA=08:78:08:ed:f2:1a auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
nl80211: send_mlme - da= 08:78:08:ed:f2:1a noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xb0 (WLAN_FC_STYPE_AUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5220
nl80211: send_frame -> send_frame_cmd
nl80211: CMD_FRAME freq=5220 wait=0 no_cck=0 no_ack=0 offchanok=0
CMD_FRAME - hexdump(len=30): b0 00 00 00 08 78 08 ed f2 1a 0c b2 b7 57 30 c0 0c b2 b7 57 30 c0 00 00 00 00 02 00 00 00
nl80211: Frame TX command accepted; cookie 0x4
Add randomness: count=43 entropy=3
random pool - hexdump(len=128): [REMOVED]
random_mix_pool - hexdump(len=8): [REMOVED]
random_mix_pool - hexdump(len=12): [REMOVED]
random pool - hexdump(len=128): [REMOVED]
nl80211: Event message available
nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlan0
nl80211: MLME event 60 (NL80211_CMD_FRAME_TX_STATUS) on wlan0(0c:b2:b7:57:30:c0) A1=08:78:08:ed:f2:1a A2=0c:b2:b7:57:30:c0
nl80211: MLME event frame - hexdump(len=30): b0 00 00 00 08 78 08 ed f2 1a 0c b2 b7 57 30 c0 0c b2 b7 57 30 c0 00 00 00 00 02 00 00 00
nl80211: Frame TX status event
wlan0: Event TX_STATUS (17) received
mgmt::auth cb
wlan0: STA 08:78:08:ed:f2:1a IEEE 802.11: did not acknowledge authentication response
wlcore: PHY firmware version: Rev 8.2.0.0.240
wlcore: firmware booted (Rev 8.9.0.0.76)
nl80211: Event message available
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan0
nl80211: MLME event 59 (NL80211_CMD_FRAME) on wlan0(0c:b2:b7:57:30:c0) A1=0c:b2:b7:57:30:c0 A2=08:78:08:ed:f2:1a
nl80211: MLME event frame - hexdump(len=30): b0 00 3c 00 0c b2 b7 57 30 c0 08 78 08 ed f2 1a 0c b2 b7 57 30 c0 50 81 00 00 01 00 00 00
nl80211: Frame event
nl80211: RX frame da=0c:b2:b7:57:30:c0 sa=08:78:08:ed:f2:1a bssid=0c:b2:b7:57:30:c0 freq=5wlcore: ERROR SW watchdog interrupt received! starting recovery.
220 ssi_signal=-47 fc=0xb0 seq_ctrl=0x8150 stype=11 (WLAN_FC_STYwlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
PE_AUTH) len=30
wlan0: Event RX_MGMT (19) received
wlcore: pc: 0x119e1e, hint_sts: 0x00000000 count: 5

authentication: STA=08:78:08:ed:f2:1a auth_alg=0 auth_transactiwlcore: down
on=1 status_code=0 wep=0 seq_ctrl=0x8150
wlan0: STA 08:78:08:ed:f2:ieee80211 phy0: Hardware restart was requested
1a IEEE 802.11: authentication OK (open system)
wlan0: STA 08:78:08:ed:f2:1a MLME: MLME-AUTHENTICATE.indication(08:78:08:ed:f2:1a, OPEN_SYSTEM)
wlan0: STA 08:78:08:ed:f2:1a MLME: MLME-DELETEKEYS.request(08:78:08:ed:f2:1a)
authentication reply: STA=08:78:08:ed:f2:1a auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
nl80211: send_mlme - da= 08:78:08:ed:f2:1a noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xb0 (WLAN_FC_STYPE_AUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5220
nl80211: send_frame -> send_frame_cmd
nl80211: CMD_FRAME freq=5220 wait=0 no_cck=0 no_ack=0 offchanok=0
CMD_FRAME - hexdump(len=30): b0 00 00 00 08 78 08 ed f2 1a 0c b2 b7 57 30 c0 0c b2 b7 57 30 c0 00 00 00 00 02 00 00 00
nl80211: Frame TX command accepted; cookie 0x5
Add randomness: count=44 entropy=4
random pool - hexdump(len=128): [REMOVED]
random_mix_pool - hexdump(len=8): [REMOVED]
random_mix_pool - hexdump(len=12): [REMOVED]
random pool - hexdump(len=128): [REMOVED]
nl80211: Event message available
nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlan0
nl80211: MLME event 60 (NL80211_CMD_FRAME_TX_STATUS) on wlan0(0c:b2:b7:57:30:c0) A1=08:78:08:ed:f2:1a A2=0c:b2:b7:57:30:c0
nl80211: MLME event frame - hexdump(len=30): b0 00 00 00 08 78 08 ed f2 1a 0c b2 b7 57 30 c0 0c b2 b7 57 30 c0 00 00 00 00 02 00 00 00
nl80211: Frame TX status event
wlan0: Event TX_STATUS (17) received
mgmt::auth cb
wlan0: STA 08:78:08:ed:f2:1a IEEE 802.11: did not acknowledge authentication response
wlcore: PHY firmware version: Rev 8.2.0.0.240
wlcore: firmware booted (Rev 8.9.0.0.76)

I also did echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth but still see the reset.

If  use a hostapd which I built separately with no ACS it works fine and no reset issues are seen. I want to enable the ACS feature for our product, and have to fix this reset issue. I am using a armcortex-9 xilinx processor.

Thanks in advance,

SB

  • Just to clarify I would like mention that I see the hardware reset with hostapd built from the Ti repo with or without acs.
    I don’t see the reset issue with hostapd built separately from that is not from Ti repo. The non Ti hostapd built from outside works ok without Acs enabled, but when I enable acs the hostapd still works but acs feature does not.
    Thanks
  • Hi, Can you pls re-test with latest firmware and report the results ?
    git.ti.com/.../wl18xx_fw
    fwr version 8.9.0.0.78

    Thanks
    Saurabh
  • I still see the harware reset issue with this new firmware.

    wlan0: STA 08:78:08:ed:f2:1a IEEE 802.11: did not acknowledge autieee80211 phy0: Hardware restart was requested
    hentication response
    wlcore: PHY firmware version: Rev 8.2.0.0.242
    wlcore: firmware booted (Rev 8.9.0.0.78)
    wlcore: ERROR SW watchdog interrupt received! starting recovery.
    wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.78
    wlcore: pc: 0x119e26, hint_sts: 0x00000000 count: 5
    wlcore: down
    wlan0: STA 08:78:08:ed:f2:1a IEEE 802.11: did not acknowledge autieee80211 phy0: Hardware restart was requested
    hentication response
    wlcore: PHY firmware version: Rev 8.2.0.0.242
    wlcore: firmware booted (Rev 8.9.0.0.78)
    wlcore: ERROR SW watchdog interrupt received! starting recovery.
    wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.78
    wlcore: pc: 0x119e26, hint_sts: 0x00000000 count: 6
    wlcore: down
    wlan0: STA 08:78:08:ed:f2:1a IEEE 802.11: did not acknowledge autieee80211 phy0: Hardware restart was requested
    hentication response
    wlcore: PHY firmware version: Rev 8.2.0.0.242
    wlcore: firmware booted (Rev 8.9.0.0.78)

    I have not even enabled ACS and still harware resets.

    Thanks.

  • in what scenarios will hardware reset ? I am having a problem that hostapd I built from ti build utils is causing the reset.
    Thanks
  • In the troubleshooting wiki I noticed these commands :
    iw wlan0 set power_save off -- this does not work for me, please see below
    echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth this works

    iw dev wlan0 get power_save
    Power save: on
    root@plnx_arm:/sys/kernel/debug/ieee80211/phy0/wlcore# iw dev wlan0 set power_save off
    command failed: Operation not supported (-95)

    Thanks.
  • Hi,
    - what kernel version are you running ?
    - did you update ALL binaries to R8.7_SP3 ?
    processors.wiki.ti.com/.../WL18xx_System_Build_Scripts

    Saurabh
  • Hi Saurabh,
    uname -a is Linux plnx_arm 4.6.0-xilinx #1 SMP PREEMPT Tue Jun 12 11:55:04 PDT 2018 armv7l GNU/Linux
    I built everything but used only hostapd. I did not replace other libs which I have from before for hostapd built from open source.
    Thank,
    Surabhi
  • Does this version OK to you? is there something am missing ?
    Thanks.
  • Surabhi,
    build utils will build hostapd , wpa supplicant, libnl , iw etc. I suggest updating all binaries and re-testing .

    Thanks
    Saurabh
  • Hi Saurabh,
    Can I use the ./sudo_build_wl18xx.sh update R8.7_SP3 to build everything? this generates a rootfs for me. Do i have to include everything from this rootfs ?
    Also, can u please explain or provide some comments in what scenarios does the chip do a software recovery?
    I am using a petalinux environment to build kernel images. What is surprising to me is if I use a hostaps from outside TI it is able to connect but the hostapd or wpa_supplicant does not work from TI repo.
    Also I am using other tools like calibrator , iw etc, they work OK for me from TI repo.
    This is important for us to be working because we want to use ACS support in the wifi channel selection.
    Thanks,
    Surabhi
  • Hi Surabhi,
    "Can I use the ./sudo_build_wl18xx.sh update R8.7_SP3 to build everything?"
    Yes. But since you are on kernel > 4.4 , you might not be able to build driver kernel modules . You can always use in-tree drivers like you are using now.

    "Do i have to include everything from this rootfs ?"
    Yes

    "What is surprising to me is if I use a hostaps from outside TI it is able to connect but the hostapd or wpa_supplicant does not work from TI repo. "
    copy binaries from build utils rootfs/usr/local/sbin/* and rootfs/usr/local/bin/* to rootfs/usr/sbin/
    ( this is to ensure you have right hostap related binaries in usr/sbin

    Saurabh
  • Hi Saurabh,
    Thanks for your reply, have a quick question:
    The /usr/local/bin has only hostapd, hostd_cli
    /usr/local/sbin has only wpa_supplicant, wpa_cli, wpa_passphrase
    /usr/local/ssl has all these certis and libs for openssl, where should these go ? do I have to change their path too ?

    Thanks in advance,
    Surabhi
  • HI Surabhi, I normally just copy the hostap/wpa_supplicant binaries .

    Thanks
    Saurabh
  • Hi Saurabh,
    I copied everything from the build utilities from TI to our rootfs. All other tools work OK for me. I can use iw etc. I copied the hostapd and wpa_supplicant from /usr/local/sbin and /usr/local/bin to /usr/sbin. I still get the wifi chip reset issue.

    wlcore: ERROR SW watchdog interrupt received! starting recovery.
    wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    wlcore: pc: 0x119e1e, hint_sts: 0x00000000 count: 10
    wlcore: down
    wlan0: STA cc:3d:82:5a:76:5c IEEE 802.11: did not acknowledge autieee80211 phy0: Hardware restart was requested
    hentication response
    wlcore: PHY firmware version: Rev 8.2.0.0.240
    wlcore: firmware booted (Rev 8.9.0.0.76)
    Am not sure what else I can do to find out what's going wrong.
    Thanks,
    Surabhi
  • My hostapd.conf is like below:
    interface=wlan0
    hw_mode=g
    channel=1
    ieee80211d=1
    country_code=US
    ieee80211n=1
    #ht_capab=[HT40+]
    wmm_enabled=1
    ssid=DIRECT5G-VH-MAC
    auth_algs=1
    wpa=2
    wpa_key_mgmt=WPA-PSK
    rsn_pairwise=CCMP
    wpa_passphrase=12345678

    root@plnx_arm:/usr/sbin# iw wlan0 info
    Interface wlan0
    ifindex 2
    wdev 0x1
    addr 0c:b2:b7:57:30:c0
    ssid DIRECT5G-VH-MAC
    type AP
    wiphy 0
    channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
  • Hi Saurabh,

    I enabled a lot of debugs from the wiki page and I see the below:

    root@plnx_arm:~# ifconfig wlan0 up

    wlcore: PHY firmware version: Rev 8.2.0.0.240

    wlcore: firmware booted (Rev 8.9.0.0.76)

    IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

    root@plnx_arm:~# ^C

    root@plnx_arm:~#

    root@plnx_arm:~# cat /sys/kernel/debug/ieee80211/phy0/wlcore/driver_state

    tx_blocks_available = 0

    tx_allocated_blocks = 0

    tx_allocated_pkts[0] = 0

    tx_allocated_pkts[1] = 0

    tx_allocated_pkts[2] = 0

    tx_allocated_pkts[3] = 0

    tx_frames_cnt = 0

    tx_frames_map[0] = 0x0

    tx_queue_count[0] = 0

    tx_queue_count[1] = 0

    tx_queue_count[2] = 0

    tx_queue_count[3] = 0

    tx_packets_count = 0

    tx_results_count = 0

    flags = 0x0

    tx_blocks_freed = 0

    rx_counter = 0

    state = 0

    band = 0

    power_level = 0

    sg_enabled = 1

    enable_11a = 1

    noise = 0

    ap_fw_ps_map = 0x0

    ap_ps_map = 0x0

    quirks = 0xe8c

    irq = 0x17

    hw_pg_ver = 0x2

    irq_flags = 0x2004

    chip.id = 0x6030111

    chip.fw_ver_str =

    chip.phy_fw_ver_str =

    recovery_count = 0

    root@plnx_arm:~# cat /proc/interrupts

              CPU0       CPU1      

    23:          1          0  zynq-gpio   0 Level     wl18xx

    Then I enabled the dynamic debug in the kernel

    echo 8 > /proc/sys/kernel/printk

    echo 0x8800 > /sys/module/wlcore/parameters/debug_level

    echo -n 'module cfg80211 +p' > /sys/kernel/debug/dynamic_debug/control

    echo -n 'module mac80211 +p' > /sys/kernel/debug/dynamic_debug/control

    echo -n 'module wl12xx +p' > /sys/kernel/debug/dynamic_debug/control

    I also enabled Enable debug printout during Connection

    echo 0x63c00 > /sys/module/wl12xx/parameters/debug_level

    After the hostapd, udchpd and ifconfig I see the attached log. Can you please see if there is anything missing ?

    Thanks a lot.

    Surabhihostapd_debug_log.txt

  • Hi Saurabh,
    Do you have any comments on the above logs or if you want me to share more info ?
    Thanks.
  • Hi,
    Are you able to bring AP interface up ? or it doesn't come up at all ?

    Saurabh
  • The AP interface comes up fine. But the SW interrupt happen when I try to connect my phone or laptop this is wifi ssid.
    Please see below the log of AP _ENABLED.

    root@plnx_arm:~# hostapd /home/root/hostapd.conf &
    [1] 1270
    Configuration file: /home/root/hostapd.conf
    wlcore: mac80211 configure filter changed 0 total 80000000
    wlcore: waking up chip from elp
    root@plnx_arm:~# wlcore: wakeup time: 10 ms
    wlcore: acx group address tbl
    wlcore: cmd configure (63)
    wlcore: mac80211 remove interface
    wlcore: down
    wlcore: cmd role disable
    wlcore: mac80211 add interface type 3 mac 0c:b2:b7:57:30:c0
    wlcore: allocating hw queue base: 0
    wlcore: cmd role enable
    wlcore: acx sleep auth 2
    wlcore: cmd configure (29)
    wlcore: acx event mbox mask
    wlcore: cmd configure (17)
    wlcore: AP basic rate set: 0x1eff
    wlcore: acx ap rate policy 0 rates 0x1eff
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 1 rates 0x1
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 2 rates 0x1ffeff
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 3 rates 0x1ffeff
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 4 rates 0x1ffeff
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 5 rates 0x1ffeff
    wlcore: cmd configure (27)
    wlcore: acx config ap sleep
    wlcore: cmd configure (89)
    wlcore: acx ap max tx retry
    wlcore: cmd configure (58)
    wlcore: acx dot11_cur_tx_pwr 0
    wlcore: cmd configure (61)
    wlcore: acx slot
    wlcore: cmd configure (2)
    wlcore: acx service period timeout
    wlcore: cmd configure (33)
    wlcore: acx rts threshold: 2353
    wlcore: cmd configure (62)
    wlcore: acx ac cfg 0 cw_ming 15 cw_max 63 aifs 3 txop 0
    wlcore: cmd configure (3)
    wlcore: acx tid config
    wlcore: cmd configure (9)
    wlcore: acx ac cfg 1 cw_ming 15 cw_max 63 aifs 7 txop 0
    wlcore: cmd configure (3)
    wlcore: acx tid config
    wlcore: cmd configure (9)
    wlcore: acx ac cfg 2 cw_ming 15 cw_max 63 aifs 1 txop 3008
    wlcore: cmd configure (3)
    wlcore: acx tid config
    wlcore: cmd configure (9)
    wlcore: acx ac cfg 3 cw_ming 15 cw_max 63 aifs 1 txop 1504
    wlcore: cmd configure (3)
    wlcore: acx tid config
    wlcore: cmd configure (9)
    wlcore: acx feature cfg
    wlcore: cmd configure (67)
    wlcore: cmd template_set 16 (role 0)
    wlcore: cmd template_set 0 (role 0)
    wlcore: cmd template_set 5 (role 0)
    wlcore: acx beacon filter opt enable=0
    wlcore: cmd configure (11)
    wlcore: acx ba initiator policy
    wlcore: cmd configure (46)
    wlcore: mac80211 configure filter changed 180 total 80000180
    wlcore: mac80211 bss info role 0 changed 0xe
    wlcore: acx slot
    wlcore: cmd configure (2)
    wlcore: acx_set_preamble
    wlcore: cmd configure (30)
    wlcore: acx_set_ctsprotect
    wlcore: cmd configure (28)
    wlcore: mac80211 conf tx 0
    wlcore: acx ac cfg 3 cw_ming 3 cw_max 7 aifs 2 txop 1504
    wlcore: cmd configure (3)
    wlcore: acx tid config
    wlcore: cmd configure (9)
    wlcore: mac80211 conf tx 1
    wlcore: acx ac cfg 2 cw_ming 7 cw_max 15 aifs 2 txop 3008
    wlcore: cmd configure (3)
    wlcore: acx tid config
    wlcore: cmd configure (9)
    wlcore: mac80211 conf tx 2
    wlcore: acx ac cfg 0 cw_ming 15 cw_max 1023 aifs 3 txop 0
    wlcore: cmd configure (3)
    wlcore: acx tid config
    wlcore: cmd configure (9)
    wlcore: mac80211 conf tx 3
    wlcore: acx ac cfg 1 cw_ming 15 cw_max 1023 aifs 7 txop 0
    wlcore: cmd configure (3)
    wlcore: acx tid config
    wlcore: cmd configure (9)
    wlcore: mac80211 bss info role 0 changed 0x2000
    wlcore: mac80211 configure filter changed 180 total 80000180
    wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    wlcore: cmd reg domain config
    wlcore: cmd reg domain bitmap1: 0x1fc007ff, bitmap2: 0x0001f000
    Using interface wlan0 with hwaddr 0c:b2:b7:57:30:c0 and ssid "DIRECT5G-VH-MAC"
    wlcore: elp work
    wlcore: chip to elp
    random: Cannot read from /dev/random: Resource temporarily unavaiwlcore: mac80211 config psm off power 0 in use changed 0x100
    lable
    random: Only 0/20 bytes of strong random data available fwlcore: waking up chip from elp
    rom /dev/random
    random: Not enough entropy pool available for secure operations
    WPA: Not enough entropy in random pool for secwlcore: wakeup time: 10 ms
    ure operations - update keys later when the first station connecwlcore: mac80211 add chanctx 1 (type 1)
    ts
    wlcore: mac80211 assign chanctx (role 0) 1 (type 1) (radar 0 dfs_state 0)
    wlcore: mac80211 bss info role 0 changed 0x40000
    wlcore: acx dot11_cur_tx_pwr 25
    wlcore: cmd configure (61)
    wlcore: mac80211 bss info role 0 changed 0x4000
    wlcore: mac80211 get tsf
    wlcore: cmd interrogate
    wlcore: mac80211 bss info role 0 changed 0xd8340
    wlcore: beacon interval updated: 100
    wlcore: cmd template_set 14 (role 0)
    wlcore: probe response updated
    wlcore: beacon updated
    wlcore: cmd template_set 13 (role 0)
    wlcore: cmd role start ap 0
    wlcore: cmd role start ap with supported_rates 0x001ffeff
    wlcore: started AP
    IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    wlcore: mac80211 configure filter changed 180 total 80000180
    wlcore: mac80211 bss info role 0 changed 0x3e
    wlcore: AP basic rate set: 0x27
    wlcore: acx ap rate policy 0 rates 0x27
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 1 rates 0x1
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 2 rates 0x1ffeff
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 3 rates 0x1ffeff
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 4 rates 0x1ffeff
    wlcore: cmd configure (27)
    wlcore: acx ap rate policy 5 rates 0x1ffeff
    wlcore: cmd configure (27)
    wlcore: cmd template_set 16 (role 0)
    wlcore: cmd template_set 0 (role 0)
    wlcore: cmd template_set 5 (role 0)
    wlan0: interface state COUNTRY_UPDATE->ENABLEDwlcore: acx beacon filter opt enable=0
    wlcore: cmd configure (11)

    wlcore: cmd template_set 14 (role 0)
    wlcore: probe response updated
    wlcore: beacon updated
    wlan0: AP-ENABLED wlcore: cmd template_set 13 (role 0)

    Thanks,
    Surabhi
  • Hi Saurabh,
    I wanted to bring to your notice that I keep getting the below messages after I run the hostapd. Also the full log is attached in the above threads.
    wlcore: elp work
    wlcore: chip to elp
    wlcore: waking up chip from elp
    wlcore: wakeup time: 10 ms
    wlcore: elp work
    wlcore: chip to elp
    wlcore: waking up chip from elp
    wlcore: wakeup time: 0 ms
    wlcore: elp work
    wlcore: chip to elp
    wlcore: waking up chip from elp
    wlcore: wakeup time: 10 ms
    wlcore: elp work
    wlcore: chip to elp
    wlcore: waking up chip from elp
    wlcore: wakeup time: 0 ms

    I see them even after I disable ELP be the below commands:
    iw wlan0 set power_save off
    echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth

    Let me know your comments.
    Thanks,
    Surabhi
  • Hi Saurabh,

    any update on this ? It is becoming critical for us to resolve this soon.

    Thanks,

    Surabhi.

  • I compared the our wlcore and wl18xx driver code to the code provided in the ti build-utilities folder and saw that there are a lot differences. In file build-utilites/src/driver/drivers/net/wireless/ti/wl18xx/wl18xx.h the version are as below


    /* minimum FW required for driver */
    #define WL18XX_CHIP_VER 8
    #define WL18XX_IFTYPE_VER 9
    #define WL18XX_MAJOR_VER WLCORE_FW_VER_IGNORE
    #define WL18XX_SUBTYPE_VER WLCORE_FW_VER_IGNORE
    #define WL18XX_MINOR_VER 58


    whereas in our codebase it is :

    /* minimum FW required for driver */
    #define WL18XX_CHIP_VER 8
    #define WL18XX_IFTYPE_VER 9
    #define WL18XX_MAJOR_VER WLCORE_FW_VER_IGNORE
    #define WL18XX_SUBTYPE_VER WLCORE_FW_VER_IGNORE
    #define WL18XX_MINOR_VER 11

    To give you some background we are using Xilinx petalinux 2016.4 to build the in kernel. kernel version 4.6. The kernel module code gets downloaded from petalinux and gets built. In drivers/net/wireless/ti folder I notice that the wlcore and wl18xx is not the same as you have in the build-utilities folder.

    Can you please help us understand if we should be using this particular version of the wlcore and wl18xx drivers?
    Thanks
  • Hi,
    Please confirm - in your case everything works ok if ACS is disabled but with ACS AP crashes when STA connects to it ?

    Saurabh
  • In my case whether ACS is enabled or disabled when STA try to connect it causes SW watchdog interrupt and chip resets.
    1.ACS disabled, start hostapd, AP-ENABLED but when I try to connect it causes a crash.
    2.ACS-enabled, start hostapd, AP-ENABLED but when I try to connect also causes a crash.

    thanks.
  • Hi,
    We don't see this issue at our end. Can you pls share WiLink8 firmware logs ?
    processors.wiki.ti.com/.../WiLink_FAQ

    Thanks
    Saurabh