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.

WL18XX + AM335X WIFI bring up

Other Parts Discussed in Thread: WL1271, WL1835, WL1837, AM3352, WL1833, WL1837MOD, WL1835MOD, DM385

Hi all,

we are using am335x processor and linux kernel 4.4.12 + TISDK v3.00.00.04.compiled wifi related modules .wl18xx.ko and wlcore.ko,cfg80211.ko,macfg.ko .and all.

inserted all modules on my custom board.All modules are inserted .I followed below steps .But my problem  is not showing ip addres after running the script.

And we checked wifi enable pin and wifi irq .

cat  /sys/class/kernel/debug/gpio=====>wifi gpio enable high.

cat /proc/interrupts==============>wifi interrupt gpio edge 22 wl18xx shown

we checked with lsmod .

root@am335x-evm:/home# lsmod
Module                  Size  Used by
arc4                    1822  2
wl18xx                 84532  0
wlcore                180963  1 wl18xx
mac80211              350293  2 wl18xx,wlcore
cfg80211              218849  3 mac80211,wl18xx,wlcore
musb_dsps               8235  0
musb_hdrc              71102  1 musb_dsps
udc_core               12063  1 musb_hdrc
pru_rproc               9767  0
pm33xx                  5577  0
snd_soc_simple_card     7712  0
ti_emif_sram            6242  1 pm33xx
wkup_m3_ipc             7587  1 pm33xx
wkup_m3_rproc           3669  1
pruss                  11485  1 pru_rproc
remoteproc             26773  4 pruss,wkup_m3_rproc,pru_rproc,wkup_m3_ipc
omap_aes_driver        18393  0
omap_sham              20609  0
virtio                  7614  1 remoteproc
virtio_ring            12035  1 remoteproc
wlcore_sdio             6643  0
omap_rng                4482  0
rng_core                7538  1 omap_rng
snd_soc_tlv320aic3x    48260  1
musb_am335x             1426  0
ti_am335x_tsc           5901  0
omap_wdt                4634  0
ti_am335x_tscadc        6098  1 ti_am335x_tsc
rtc_omap                8191  1
root@am335x-evm:/home#

ago 2015.09 am335x-evm /dev/ttyO0

am335x-evm login: root
root@am335x-evm:~# cd /home/

$vi wpa_conf.sh
    #!/bin/bash
    ifconfig wlan0 hw ether 08:00:28:00:01:a4
    ifconfig wlan0 up
    sleep 2
    wlist scan
    wpa_supplicant -d -Dnl80211 -c/etc/wpa_supplicant1.conf -iwlan0 -B
    udhcpc -i wlan0 -b -t 10
~



root@am335x-evm:/home# sh wpa_conf.sh
[   50.248796] wlcore: PHY firmware version: Rev 8.2.0.0.232
[   50.361559] wlcore: firmware booted (Rev 8.9.0.0.48)
[   50.378686] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
wpa_conf.sh: line 5: wlist: command not found
wpa_supplicant v2.5-devel
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant1.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant1.conf' -> '/etc/wpa_supplicant1.conf'
Reading configuration file '/etc/wpa_supplicant1.conf'
ctrl_interface='/var/run/wpa_supplicant'
update_config=1
Priority group 2
   id=0 ssid='fossilshale'
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-14-72:1
nl80211: Supports Probe Response offload in AP mode
nl80211: Using driver-based off-channel TX
nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0
nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1
nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2
nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0
nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Enable multi-channel concurrent (driver advertised support)
nl80211: use P2P_DEVICE support
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x182918
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x182918 match=0505
netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
nl80211: driver param='(null)'
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
wlan0: Own MAC address: 08:00:28:00:01:a4
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
TDLS: TDLS operation not supported by driver
TDLS: Driver uses internal link setup
TDLS: Driver does not support TDLS channel switching
wlan0: WPS: UUID based on MAC address: a5295edd-6dd9-520b-b176-49b400e3bb3c
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
nl80211: Create interface iftype 10 (P2P_DEVICE)
nl80211: New P2P Device interface p2p-dev-wlan0 (0x2) created
Initializing interface 'p2p-dev-wlan0' conf '/etc/wpa_supplicant1.conf' driver 'nl80211' ctrl_interface '/var/run/wpa_supplicant' bridge 'N/A'
Configuration file '/etc/wpa_supplicant1.conf' -> '/etc/wpa_supplicant1.conf'
Reading configuration file '/etc/wpa_supplicant1.conf'
ctrl_interface='/var/run/wpa_supplicant'
update_config=1
Priority group 2
   id=0 ssid='fossilshale'
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
Could not read interface p2p-dev-wlan0 flags: No such device
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-14-72:1
nl80211: Supports Probe Response offload in AP mode
nl80211: Using driver-based off-channel TX
nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0
nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1
nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2
nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0
nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Enable multi-channel concurrent (driver advertised support)
nl80211: use P2P_DEVICE support
nl80211: interface p2p-dev-wlan0 in phy phy0
nl80211: Set mode ifindex 0 iftype 10 (P2P_DEVICE)
nl80211: Failed to set interface 0 to mode 10: -22 (Invalid argument)
nl80211: Subscribe to mgmt frames with non-AP handle 0x193940
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x193940 match=0505
nl80211: Start P2P Device p2p-dev-wlan0 (0x2): Success
nl80211: driver param='(null)'
Add interface p2p-dev-wlan0 to existing radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
p2p-dev-wlan0: Own MAC address: f4:b8:5e:26:72:a9
p2p-dev-wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
p2p-dev-wlan0: State: DISCONNECTED -> INACTIVE
p2p-dev-wlan0: WPS: UUID from the first interface: a5295edd-6dd9-520b-b176-49b400e3bb3c
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Using existing control interface directory.
P2P: Add operating class 81
P2P: Channels - hexdump(len=11): 01 02 03 04 05 06 07 08 09 0a 0b
P2P: Own listen channel: 81:1
P2P: Random operating channel: 81:1
P2P: initialized
P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11
P2P: cli_channels:
p2p-dev-wlan0: Added interface p2p-dev-wlan0
p2p-dev-wlan0: State: INACTIVE -> DISCONNECTED
nl80211: Set p2p-dev-wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=0 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
udhcpc (v1.23.1) started
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
root@am335x-evm:/home#
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0                                                                                          

If i give manually ifconfig wlan0 ipaddrs up

its showing some ipaddres .But not taking from udhcpc server.

How to know wifi driver is working or not.

can you any body help me asap.

Thanks & Regards

veeranjaneyulu

  • hi , it doesn't seem like wlan0 is connected to an ap. do you see any network details when you run "iw wlan0 link" ?
    saurabh
  • hi saurabh ,
    thanks for your reply.if i run below command on my target board we got below log
    root@am335x-evm:/home# iw wlan0 link
    Not connected.

    when we run the wpa_supplicant dhcpd it will connect dynamical network right?we checked on free scale target board my previous project .when we run wpa_conf.sh .it will give ipaddress and all.
    like below:-root@imx6dlsabresd:/home# sh wifi.sh
    Loading modules backported from Linux version R8.6-0-g3f5b34f
    Backport generated by backports.git ol_r8.a9.28-0-g4677dc3
    cfg80211: Calling CRDA to update world regulatory domain
    wlcore: Time Sync: gpio requested
    ifconfig: SIOCSIFHWADDR: No such device
    ifconfig: SIOCGIFFLAGS: No such device
    wpa_supplicant v2.2
    random: Trying to read entropy from /dev/random
    Successfully initialized wpa_supplicant
    Initializing interface 'wlan0' conf '/etc/wpa_supplicant1.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
    Configuration file '/etc/wpa_supplicant1.conf' -> '/etc/wpa_supplicant1.conf'
    Reading configuration file '/etc/wpa_supplicant1.conf'
    ctrl_interface='/var/run/wpa_supplicant'
    update_config=1
    wlcore: loaded
    wlcore: driver version: R8.6-dirty
    Priority group 0
    id=0 ssid='fossilshale'
    rfkill: Cannot open RFKILL control device
    nl80211: RFKILL status not available
    nl80211: Supported cipher 00-0f-ac:1
    nl80211: Supported cipher 00-0f-ac:5
    nl80211: Supported cipher 00-0f-ac:2
    nl80211: Supported cipher 00-0f-ac:4
    nl80211: Supported cipher 00-14-72:1
    nl80211: Supports Probe Response offload in AP mode
    nl80211: Using driver-based off-channel TX
    nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0
    nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1
    nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2
    nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0
    nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1
    nl80211: Use separate P2P group interface (driver advertised support)
    nl80211: interface wlan0 in phy phy0
    nl80211: Set mode ifindex 4 iftype 2 (STATION)
    nl80211: Subscribe to mgmt frames with non-AP handle 0x1f4b8c0
    nl80211: Register frame type=0xd0 nl_handle=0x1f4b8c0 match=06
    nl80211: Register frame type=0xd0 nl_handle=0x1f4b8c0 match=0a07
    nl80211: Register frame type=0xd0 nl_handle=0x1f4b8c0 match=0a11
    wlcore: firmware booted (Rev 6.3.10.0.133)
    IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    netlink: Operstate: ifindex=4 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
    nl80211: driver param='(null)'
    Add interface wlan0 to a new radio phy0
    nl80211: Regulatory information - country=00
    nl80211: 2402-2472 @ 40 MHz 20 mBm
    nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
    nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
    nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
    nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
    nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
    nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
    nl80211: 57240-63720 @ 2160 MHz 0 mBm
    nl80211: Added 802.11b mode based on 802.11g information
    nl80211: Do not indicate P2P_DEVICE support (p2p_device=1 driver param not specified)
    wlan0: Own MAC address: c8:a0:30:4f:c5:0a
    wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
    wlan0: RSN: flushing PMKID list in the driver
    nl80211: Flush PMKIDs
    wlan0: WPS: UUID based on MAC address: 3ea4872e-7d79-5646-8fc5-bf4c6300a46d
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: Supplicant port status: Unauthorized
    nl80211: Skip set_supp_port(unauthorized) while not associated
    EAPOL: KEY_RX entering state NO_KEY_RECEIVE
    EAPOL: SUPP_BE entering state INITIALIZE
    EAP: EAP entering state DISABLED
    Using existing control interface directory.
    wlan0: Added interface wlan0
    wlan0: State: DISCONNECTED -> DISCONNECTED
    nl80211: Set wlan0 operstate 0->0 (DORMANT)
    netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
    Daemonize..
    udhcpc (v1.22.1) started
    Sending discover...
    wlan0: authenticate with 48:f8:b3:35:d6:d7
    wlan0: send auth to 48:f8:b3:35:d6:d7 (try 1/3)
    wlan0: authenticated
    wlan0: associate with 48:f8:b3:35:d6:d7 (try 1/3)
    wlan0: RX AssocResp from 48:f8:b3:35:d6:d7 (capab=0x411 status=0 aid=2)
    wlan0: associated
    IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    wlcore: Association completed.
    cfg80211: Calling CRDA to update world regulatory domain
    Sending discover...
    Sending select for 192.168.0.189...
    Lease of 192.168.0.189 obtained, lease time 864000
    Error: an inet prefix is expected rather than "192.168.0.189/".
    root@imx6dlsabresd:/home# cfg80211: Calling CRDA to update world regulatory domain
    ifc
    ifcfg ifconfig
    root@imx6dlsabresd:/home# ifconfig
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    wlan0 Link encap:Ethernet HWaddr C8:A0:30:4F:C5:0A
    inet6 addr: fe80::caa0:30ff:fe4f:c50a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:27 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:10862 (10.6 KiB) TX bytes:1620 (1.5 KiB)

    root@imx6dlsabresd:/home# cfg80211: Calling CRDA to update world regulatory domain

    root@imx6dlsabresd:/home# cfg80211: Calling CRDA to update world regulatory domain
    udhcpc cfg80211: Calling CRDA to update world regulatory domain
    -b 10
    udhcpc (v1.22.1) started
    fec 2188000.ethernet eth0: no PHY, assuming direct connection to switch
    libphy: PHY fixed-0:00 not found
    fec 2188000.ethernet eth0: could not attach to PHY
    RTNETLINK answers: No such device
    Sending discover...
    udhcpc: sendto: Network is down
    Read error: Network is down, reopening socket
    cfg80211: Calling CRDA to update world regulatory domain
    ^C
    root@imx6dlsabresd:/home# cfg80211: Calling CRDA to update world regulatory domain
    cfg80211: Calling CRDA to update world regulatory domain
    cfg80211: Calling CRDA to update world regulatory domain
    cfg80211: Calling CRDA to update world regulatory domain
    cfg80211: Exceeded CRDA call max attempts. Not calling CRDA

    root@imx6dlsabresd:/home# udhcpc -i wlan0 -b -t 10
    udhcpc (v1.22.1) started
    Sending discover...
    Sending select for 192.168.2.214...
    Lease of 192.168.2.214 obtained, lease time 36000
    /etc/udhcpc.d/50default: Adding DNS 192.168.2.1
    /etc/udhcpc.d/50default: Adding DNS 203.201.60.12
    /etc/udhcpc.d/50default: Adding DNS 203.201.60.5
    /etc/udhcpc.d/50default: Adding DNS 8.8.8.8
    root@imx6dlsabresd:/home# ifconfig
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    wlan0 Link encap:Ethernet HWaddr C8:A0:30:4F:C5:0A
    inet addr:192.168.2.214 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:77 errors:0 dropped:0 overruns:0 frame:0
    TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:41289 (40.3 KiB) TX bytes:5921 (5.7 KiB)

    root@imx6dlsabresd:/home#

    this is on free scale target board.

    I want same thing on am335x target .is it possible to get ipaddress.we tried hostap also one time only we got the hostapd ssid name.is any you any body hlep me.
  • hi , wpa supplicant will connect to an ap if the credentials in wpa_supplicant.conf are ok . i suggest you do the following .
    cd /usr/share/wl18xx
    ./sta_start.sh
    wpa_cli -iwlan0 disconnect
    for i in `wpa_cli -iwlan0 list_networks | grep ^[0-9] | cut -f1`; do wpa_cli -iwlan0 remove_network $i; done wpa_cli -iwlan0
    > add_network
    > set_network 0 auth_alg OPEN
    > set_network 0 key_mgmt WPA-PSK .. this is NONE if network is open
    > set_network 0 psk "<password>"
    > set_network 0 proto RSN .. in case of 802.11i/wpa2
    > set_network 0 mode 0
    > set_network 0 ssid "<ssid>"
    > select_network 0
    > enable_network 0
    > reassociate
    > status
    (make sure wlan0 is connected)
    > save_config
    > quit

    consult : www.freebsd.org/.../man.cgi

    saurabh
  • hi , please let us know in case you have more questions on this query or else we will close the thread.
    saurabh
  • still we need help we are not yet done .

  • hi saurabh,
    we got kernel crash while ifconfig wlan0 down.

    root@am335x-evm:/usr/share/wl18xx# ifconfig wlan0 down
    [ 219.796853] wlcore: ERROR ELP wakeup timeout!
    [ 219.801303] ------------[ cut here ]------------
    [ 219.806452] WARNING: CPU: 0 PID: 39 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [ 219.831265] Modules linked in: sha512_generic sha512_arm sha1_generic sha1_arm_neon sha1_arm md5 sha256_generic sha256_arm hmac drbg des_generic cbc xfrm_user xfrm4_)
    [ 219.883318] CPU: 0 PID: 39 Comm: kworker/u2:1 Tainted: G W O 4.4.12-g3639bea54a #51
    [ 219.897046] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 219.903821] Workqueue: phy0 ieee80211_reconfig_filter [mac80211]
    [ 219.924812] Backtrace:
    [ 219.931762] [<c00141a0>] (dump_backtrace) from [<c001439c>] (show_stack+0x18/0x1c)
    [ 219.947441] r7:bf2b867c r6:0000032b r5:00000009 r4:00000000
    [ 219.953227] [<c0014384>] (show_stack) from [<c02a50c8>] (dump_stack+0x24/0x28)
    [ 219.967528] [<c02a50a4>] (dump_stack) from [<c003481c>] (warn_slowpath_common+0x88/0xb4)
    [ 219.975695] [<c0034794>] (warn_slowpath_common) from [<c00348ec>] (warn_slowpath_null+0x24/0x2c)
    [ 219.989369] r8:00000000 r7:ffffe079 r6:00000000 r5:c08b2d80 r4:cf51ac20
    [ 219.996521] [<c00348c8>] (warn_slowpath_null) from [<bf2b867c>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [ 220.012579] [<bf2b8610>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf2bad98>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [ 220.028151] r5:c08b2d80 r4:cf51ac20
    [ 220.032169] [<bf2bad7c>] (wl12xx_queue_recovery_work [wlcore]) from [<bf2c5024>] (wl1271_ps_elp_wakeup+0x120/0x288 [wlcore])
    [ 220.048877] [<bf2c4f04>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf2b56b0>] (wl1271_op_configure_filter+0x60/0x150 [wlcore])
    [ 220.060234] r10:cf51ac58 r9:00000001 r8:cf3ffeb4 r7:cc4afc00 r6:cf51ac20 r5:bf2b5650
    [ 220.070977] r4:cf51a3c0
    [ 220.074183] [<bf2b5650>] (wl1271_op_configure_filter [wlcore]) from [<bf247464>] (ieee80211_configure_filter+0x154/0x1b8 [mac80211])
    [ 220.090354] r10:cf3f8380 r9:00000001 r8:cf002800 r7:00000000 r6:cc4afc00 r5:bf2b5650
    [ 220.101814] r4:cf51a3c0
    [ 220.104895] [<bf247310>] (ieee80211_configure_filter [mac80211]) from [<bf2474dc>] (ieee80211_reconfig_filter+0x14/0x18 [mac80211])
    [ 220.123545] r7:cc038700 r6:00000000 r5:cf3f8380 r4:cf51a738
    [ 220.129854] [<bf2474c8>] (ieee80211_reconfig_filter [mac80211]) from [<c0049ff8>] (process_one_work+0x138/0x424)
    [ 220.146404] [<c0049ec0>] (process_one_work) from [<c004a360>] (worker_thread+0x7c/0x648)
    [ 220.157400] r10:cf3f8380 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cf3f8398
    [ 220.165331] r4:cf002800
    [ 220.170439] [<c004a2e4>] (worker_thread) from [<c004feac>] (kthread+0xdc/0xf4)
    [ 220.182070] r10:00000000 r9:00000000 r8:00000000 r7:c004a2e4 r6:cf3f8380 r5:cf3f7e40
    [ 220.190168] r4:00000000
    [ 220.192753] [<c004fdd0>] (kthread) from [<c0010778>] (ret_from_fork+0x14/0x3c)
    [ 220.206267] r7:00000000 r6:00000000 r5:c004fdd0 r4:cf3f7e40
    [ 220.212178] ---[ end trace 3902ab41e5ed7786 ]---
    [ 220.221389] wlcore: down
    [ 220.224044] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
    [ 220.235200] ------------[ cut here ]------------
    [ 220.242759] WARNING: CPU: 0 PID: 6 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x4dc [wlcore]()
    [ 220.256366] Modules linked in: sha512_generic sha512_arm sha1_generic sha1_arm_neon sha1_arm md5 sha256_generic sha256_arm hmac drbg des_generic cbc xfrm_user xfrm4_)
    [ 220.308566] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G W O 4.4.12-g3639bea54a #51
    [ 220.323564] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 220.333582] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [ 220.339229] Backtrace:
    [ 220.341727] [<c00141a0>] (dump_backtrace) from [<c001439c>] (show_stack+0x18/0x1c)
    [ 220.354855] r7:bf2c0f80 r6:00000041 r5:00000009 r4:00000000
    [ 220.360800] [<c0014384>] (show_stack) from [<c02a50c8>] (dump_stack+0x24/0x28)
    [ 220.371675] [<c02a50a4>] (dump_stack) from [<c003481c>] (warn_slowpath_common+0x88/0xb4)
    [ 220.381907] [<c0034794>] (warn_slowpath_common) from [<c00348ec>] (warn_slowpath_null+0x24/0x2c)
    [ 220.392750] r8:cf002800 r7:cc038700 r6:bf2d9c80 r5:bf3045f8 r4:cf51ac20
    [ 220.399970] [<c00348c8>] (warn_slowpath_null) from [<bf2c0f80>] (wlcore_set_partition+0xa4/0x4dc [wlcore])
    [ 220.413666] [<bf2c0edc>] (wlcore_set_partition [wlcore]) from [<bf2b7fb8>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
    [ 220.426820] r7:cc038700 r6:cf51ac58 r5:cf51ac20 r4:cf51aebc
    [ 220.432802] [<bf2b7f44>] (wl1271_recovery_work [wlcore]) from [<c0049ff8>] (process_one_work+0x138/0x424)
    [ 220.446080] r10:cf029b80 r9:00000001 r8:cf002800 r7:cc038700 r6:00000000 r5:cf029b80
    [ 220.454160] r4:cf51aebc
    [ 220.458715] [<c0049ec0>] (process_one_work) from [<c004a360>] (worker_thread+0x7c/0x648)
    [ 220.470337] r10:cf029b80 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cf029b98
    [ 220.478400] r4:cf002800
    [ 220.480972] [<c004a2e4>] (worker_thread) from [<c004feac>] (kthread+0xdc/0xf4)
    [ 220.492923] r10:00000000 r9:00000000 r8:00000000 r7:c004a2e4 r6:cf029b80 r5:cf015d40
    [ 220.500985] r4:00000000
    [ 220.503565] [<c004fdd0>] (kthread) from [<c0010778>] (ret_from_fork+0x14/0x3c)
    [ 220.515546] r7:00000000 r6:00000000 r5:c004fdd0 r4:cf015d40
    [ 220.521433] ---[ end trace 3902ab41e5ed7787 ]---
  • Can you delete /lib/firmware/ti-connectivity/wl18xx-conf.bin from your filesystem?

    If this configuration file does not match your wl18xx setup a symptom is no scan results back which will prevent association.

    The default settings in wl18xx.ko are good enough to get things working.

    Iain

  • Hi ,

    Thanks for your reply .But i removed wl18xx-conf.bin from firmware/ti-connectivity. But still im getting same issue.

    root@am335x-evm:/home/ti# ifconfig wlan0 down
    [  164.326924] wlcore: ERROR ELP wakeup timeout!
    [  164.331372] ------------[ cut here ]------------
    [  164.336511] WARNING: CPU: 0 PID: 39 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [  164.361974] Modules linked in: arc4 wl18xx wlcore_sdio wlcore mac80211 cfg80211 sha512_generic sha512_arm sha1_generic sha1_arm_neon sha1_arm md5 sha256_generic sha2)
    [  164.414295] CPU: 0 PID: 39 Comm: kworker/u2:1 Tainted: G           O    4.4.12-g3639bea54a #51
    [  164.426973] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  164.433747] Workqueue: phy0 ieee80211_reconfig_filter [mac80211]
    [  164.456972] Backtrace:
    [  164.459529] [<c00141a0>] (dump_backtrace) from [<c001439c>] (show_stack+0x18/0x1c)
    [  164.476813]  r7:bf4cb67c r6:0000032b r5:00000009 r4:00000000
    [  164.482661] [<c0014384>] (show_stack) from [<c02a50c8>] (dump_stack+0x24/0x28)
    [  164.505157] [<c02a50a4>] (dump_stack) from [<c003481c>] (warn_slowpath_common+0x88/0xb4)
    [  164.520950] [<c0034794>] (warn_slowpath_common) from [<c00348ec>] (warn_slowpath_null+0x24/0x2c)
    [  164.530377]  r8:00000000 r7:ffffcace r6:00000000 r5:c08b2d80 r4:cc51ac20
    [  164.541833] [<c00348c8>] (warn_slowpath_null) from [<bf4cb67c>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [  164.559477] [<bf4cb610>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf4cdd98>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [  164.575250]  r5:c08b2d80 r4:cc51ac20
    [  164.583844] [<bf4cdd7c>] (wl12xx_queue_recovery_work [wlcore]) from [<bf4d8024>] (wl1271_ps_elp_wakeup+0x120/0x288 [wlcore])
    [  164.601926] [<bf4d7f04>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf4c86b0>] (wl1271_op_configure_filter+0x60/0x150 [wlcore])
    [  164.616301]  r10:cc51ac58 r9:00000000 r8:cf3ffeb4 r7:cc613f80 r6:cc51ac20 r5:bf4c8650
    [  164.628993]  r4:cc51a3c0
    [  164.632555] [<bf4c8650>] (wl1271_op_configure_filter [wlcore]) from [<bf45a464>] (ieee80211_configure_filter+0x154/0x1b8 [mac80211])
    [  164.651086]  r10:cf3f8380 r9:00000000 r8:cf002800 r7:00000000 r6:cc613f80 r5:bf4c8650
    [  164.665066]  r4:cc51a3c0
    [  164.672963] [<bf45a310>] (ieee80211_configure_filter [mac80211]) from [<bf45a4dc>] (ieee80211_reconfig_filter+0x14/0x18 [mac80211])
    [  164.690721]  r7:cf7ca200 r6:00000000 r5:cf3f8380 r4:cc51a738
    [  164.697030] [<bf45a4c8>] (ieee80211_reconfig_filter [mac80211]) from [<c0049ff8>] (process_one_work+0x138/0x424)
    [  164.718922] [<c0049ec0>] (process_one_work) from [<c004a360>] (worker_thread+0x7c/0x648)
    [  164.727527]  r10:cf3f8380 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cf3f8398
    [  164.735480]  r4:cf002800
    [  164.743641] [<c004a2e4>] (worker_thread) from [<c004feac>] (kthread+0xdc/0xf4)
    [  164.754700]  r10:00000000 r9:00000000 r8:00000000 r7:c004a2e4 r6:cf3f8380 r5:cf3f7e40
    [  164.762769]  r4:00000000
    [  164.765348] [<c004fdd0>] (kthread) from [<c0010778>] (ret_from_fork+0x14/0x3c)
    [  164.777082]  r7:00000000 r6:00000000 r5:c004fdd0 r4:cf3f7e40
    [  164.782816] ---[ end trace b58ba20a5a6ee70c ]---
    [  164.792082] wlcore: down
    [  164.794718] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
    [  164.805395] ------------[ cut here ]------------
    [  164.812410] WARNING: CPU: 0 PID: 6 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x4dc [wlcore]()
    [  164.825793] Modules linked in: arc4 wl18xx wlcore_sdio wlcore mac80211 cfg80211 sha512_generic sha512_arm sha1_generic sha1_arm_neon sha1_arm md5 sha256_generic sha2)
    [  164.877425] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-g3639bea54a #51
    [  164.885990] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  164.897213] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [  164.902673] Backtrace:
    [  164.905165] [<c00141a0>] (dump_backtrace) from [<c001439c>] (show_stack+0x18/0x1c)
    [  164.923738]  r7:bf4d3f80 r6:00000041 r5:00000009 r4:00000000
    [  164.929650] [<c0014384>] (show_stack) from [<c02a50c8>] (dump_stack+0x24/0x28)
    [  164.940701] [<c02a50a4>] (dump_stack) from [<c003481c>] (warn_slowpath_common+0x88/0xb4)
    [  164.951011] [<c0034794>] (warn_slowpath_common) from [<c00348ec>] (warn_slowpath_null+0x24/0x2c)
    [  164.962208]  r8:cf002800 r7:cf7ca200 r6:bf4ecc80 r5:bf51d5f8 r4:cc51ac20
    [  164.969442] [<c00348c8>] (warn_slowpath_null) from [<bf4d3f80>] (wlcore_set_partition+0xa4/0x4dc [wlcore])
    [  164.983395] [<bf4d3edc>] (wlcore_set_partition [wlcore]) from [<bf4cafb8>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
    [  164.996307]  r7:cf7ca200 r6:cc51ac58 r5:cc51ac20 r4:cc51aebc
    [  165.002685] [<bf4caf44>] (wl1271_recovery_work [wlcore]) from [<c0049ff8>] (process_one_work+0x138/0x424)
    [  165.015959]  r10:cf029b80 r9:00000000 r8:cf002800 r7:cf7ca200 r6:00000000 r5:cf029b80
    [  165.024313]  r4:cc51aebc
    [  165.028900] [<c0049ec0>] (process_one_work) from [<c004a360>] (worker_thread+0x7c/0x648)
    [  165.040756]  r10:cf029b80 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cf029b98
    [  165.048819]  r4:cf002800
    [  165.051392] [<c004a2e4>] (worker_thread) from [<c004feac>] (kthread+0xdc/0xf4)
    [  165.063591]  r10:00000000 r9:00000000 r8:00000000 r7:c004a2e4 r6:cf029b80 r5:cf015d40
    [  165.071729]  r4:00000000
    [  165.074307] [<c004fdd0>] (kthread) from [<c0010778>] (ret_from_fork+0x14/0x3c)
    [  165.086815]  r7:00000000 r6:00000000 r5:c004fdd0 r4:cf015d40
    [  165.092551] ---[ end trace b58ba20a5a6ee70d ]---
    [  165.102393] ieee80211 phy0: Hardware restart was requested

    Any body face the issue .

    we run /usr/share/wl188x/ap_start.sh but we are getiing signal .we observe the wifi signal strength on android mobile wifi analyzer tool.But we are not getting continuously signal .signal is coming and go down.signal fluctuate.Can any body solve this issue.

    give me the idea.


    we got below log while running ap_start.sh

    root@am335x-evm:/usr/share/wl18xx# ./ap_start.sh
    Configuration file: /usr/share/wl18xx/hostapd.conf
    Line 12: DEPRECATED: 'dump_file' configuration variable is not used anymore
    [  264.616319] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  264.724867] wlcore: firmware booted (Rev 8.9.0.0.48)
    [  264.772914] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Using interface wlan0 with hwaddr f4:b8:5e:26:72:a8 and ssid "ssid"
    [  265.297113] wlcore: ERROR ELP wakeup timeout!
    [  265.301562] ------------[ cut here ]------------
    [  265.306699] WARNING: CPU: 0 PID: 928 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [  265.331929] Modules linked in: arc4 wl18xx wlcore_sdio wlcore mac80211 cfg80211 sha512_generic sha512_arm sha1_generic sha1_arm_neon sha1_arm md5 sha256_generic sha2)
    [  265.384081] CPU: 0 PID: 928 Comm: hostapd Tainted: G        W  O    4.4.12-g3639bea54a #51
    [  265.397040] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  265.403209] Backtrace:
    [  265.405751] [<c00141a0>] (dump_backtrace) from [<c001439c>] (show_stack+0x18/0x1c)
    [  265.432640]  r7:bf4cb67c r6:0000032b r5:00000009 r4:00000000
    [  265.444685] [<c0014384>] (show_stack) from [<c02a50c8>] (dump_stack+0x24/0x28)
    [  265.458973] [<c02a50a4>] (dump_stack) from [<c003481c>] (warn_slowpath_common+0x88/0xb4)
    [  265.469009] [<c0034794>] (warn_slowpath_common) from [<c00348ec>] (warn_slowpath_null+0x24/0x2c)
    [  265.482379]  r8:00000000 r7:fffff23f r6:00000000 r5:c08b2d80 r4:cc51ac20
    [  265.489728] [<c00348c8>] (warn_slowpath_null) from [<bf4cb67c>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [  265.505816] [<bf4cb610>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf4cdd98>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [  265.521084]  r5:c08b2d80 r4:cc51ac20
    [  265.525109] [<bf4cdd7c>] (wl12xx_queue_recovery_work [wlcore]) from [<bf4d8024>] (wl1271_ps_elp_wakeup+0x120/0x288 [wlcore])
    [  265.541798] [<bf4d7f04>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf4c87fc>] (wl1271_op_config+0x5c/0x160 [wlcore])
    [  265.554881]  r10:00000000 r9:cc5cbc18 r8:cc51aa54 r7:cc51ac58 r6:cc51a3c0 r5:cc51ac20
    [  265.563255]  r4:00000100
    [  265.566471] [<bf4c87a0>] (wl1271_op_config [wlcore]) from [<bf45a538>] (ieee80211_hw_config+0x58/0x280 [mac80211])
    [  265.580943]  r9:cc5cbc18 r8:cc51aa54 r7:00000100 r6:cc5d2c80 r5:cc51a3c0 r4:cc51a3c0
    [  265.592867] [<bf45a4e0>] (ieee80211_hw_config [mac80211]) from [<bf487b20>] (ieee80211_add_chanctx+0x8c/0xbc [mac80211])
    [  265.609015]  r8:cc51aa54 r7:cc51a3c0 r6:cc5d2c80 r5:cc51a3c0 r4:cc51a3c0
    [  265.616333] [<bf487a94>] (ieee80211_add_chanctx [mac80211]) from [<bf488150>] (ieee80211_new_chanctx+0x28/0x68 [mac80211])
    [  265.632278]  r7:cc51a3c0 r6:cc51aa5c r5:cc51a3c0 r4:cc5d2c80
    [  265.638798] [<bf488128>] (ieee80211_new_chanctx [mac80211]) from [<bf489f28>] (ieee80211_vif_use_channel+0x1e8/0x258 [mac80211])
    [  265.655146]  r7:cc51a3c0 r6:cc51aa5c r5:cf4ea480 r4:cc51aa54
    [  265.661598] [<bf489d40>] (ieee80211_vif_use_channel [mac80211]) from [<bf4732c0>] (ieee80211_start_ap+0x7c/0x358 [mac80211])
    [  265.677119]  r10:cf4ea4a8 r9:cc51a160 r8:cc5cbc18 r7:cc5cbc18 r6:cf4ea480 r5:cc51a980
    [  265.685051]  r4:cf4ea000 r3:cc51a3c0
    [  265.692623] [<bf473244>] (ieee80211_start_ap [mac80211]) from [<bf426dd8>] (nl80211_start_ap+0x2ac/0x3d0 [cfg80211])
    [  265.708446]  r10:cf4ea4a8 r9:cc51a160 r8:cc5cbc18 r7:cf4ea000 r6:cc51a000 r5:cf4ea488
    [  265.716382]  r4:cc5cbcf4
    [  265.721789] [<bf426b2c>] (nl80211_start_ap [cfg80211]) from [<c0555698>] (genl_rcv_msg+0x230/0x3a8)
    [  265.735623]  r10:cc52f400 r9:00000014 r8:00000000 r7:bf438ea8 r6:cf756600 r5:cc09ce00
    [  265.743758]  r4:bf43abd8
    [  265.746334] [<c0555468>] (genl_rcv_msg) from [<c05549cc>] (netlink_rcv_skb+0xa8/0xc4)
    [  265.759923]  r10:00000000 r9:00000000 r8:00000000 r7:cf756600 r6:cf756600 r5:c0555468
    [  265.769537]  r4:cc09ce00
    [  265.772115] [<c0554924>] (netlink_rcv_skb) from [<c0555458>] (genl_rcv+0x2c/0x3c)
    [  265.786012]  r7:cf756600 r6:cc5cdc00 r5:cf756600 r4:c08de5d8
    [  265.792124] [<c055542c>] (genl_rcv) from [<c0554354>] (netlink_unicast+0x164/0x20c)
    [  265.803654]  r5:0000010c r4:cf15dc00
    [  265.807470] [<c05541f0>] (netlink_unicast) from [<c055474c>] (netlink_sendmsg+0x27c/0x338)
    [  265.815773]  r8:0000010c r7:00000008 r6:cf756600 r5:cc5cdc00 r4:cc5cbf4c
    [  265.826092] [<c05544d0>] (netlink_sendmsg) from [<c05105f0>] (sock_sendmsg+0x1c/0x2c)
    [  265.838041]  r10:00000000 r9:cc5cbe28 r8:00000000 r7:ccc42180 r6:00000000 r5:00000000
    [  265.845958]  r4:cc5cbf4c
    [  265.850596] [<c05105d4>] (sock_sendmsg) from [<c0510c24>] (___sys_sendmsg+0x1f4/0x1fc)
    [  265.862160] [<c0510a30>] (___sys_sendmsg) from [<c05119e0>] (__sys_sendmsg+0x44/0x70)
    [  265.872102]  r10:00000000 r9:cc5ca000 r8:c0010884 r7:00000128 r6:ccc42180 r5:00000000
    [  265.880288]  r4:be9bc774
    [  265.882858] [<c051199c>] (__sys_sendmsg) from [<c0511a1c>] (SyS_sendmsg+0x10/0x14)
    [  265.895263]  r6:0009d6c8 r5:000a14d8 r4:0009d740
    [  265.900221] [<c0511a0c>] (SyS_sendmsg) from [<c00106c0>] (ret_fast_syscall+0x0/0x3c)
    [  265.911441] ---[ end trace b58ba20a5a6ee70e ]---
    [  265.916166] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
    [  265.926786] ------------[ cut here ]------------
    [  265.931742] WARNING: CPU: 0 PID: 6 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x4dc [wlcore]()
    [  265.946314] Modules linked in: arc4 wl18xx wlcore_sdio wlcore mac80211 cfg80211 sha512_generic sha512_arm sha1_generic sha1_arm_neon sha1_arm md5 sha256_generic sha2)
    [  265.998048] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-g3639bea54a #51
    [  266.012990] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  266.022907] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [  266.028553] Backtrace:
    [  266.031051] [<c00141a0>] (dump_backtrace) from [<c001439c>] (show_stack+0x18/0x1c)
    [  266.043640]  r7:bf4d3f80 r6:00000041 r5:00000009 r4:00000000
    [  266.049596] [<c0014384>] (show_stack) from [<c02a50c8>] (dump_stack+0x24/0x28)
    [  266.060373] [<c02a50a4>] (dump_stack) from [<c003481c>] (warn_slowpath_common+0x88/0xb4)
    [  266.070574] [<c0034794>] (warn_slowpath_common) from [<c00348ec>] (warn_slowpath_null+0x24/0x2c)
    [  266.081465]  r8:cf002800 r7:cf7ca200 r6:bf4ecc80 r5:bf51d5f8 r4:cc51ac20
    [  266.088688] [<c00348c8>] (warn_slowpath_null) from [<bf4d3f80>] (wlcore_set_partition+0xa4/0x4dc [wlcore])
    [  266.102542] [<bf4d3edc>] (wlcore_set_partition [wlcore]) from [<bf4cafb8>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
    [  266.115480]  r7:cf7ca200 r6:cc51ac58 r5:cc51ac20 r4:cc51aebc
    [  266.121617] [<bf4caf44>] (wl1271_recovery_work [wlcore]) from [<c0049ff8>] (process_one_work+0x138/0x424)
    [  266.134883]  r10:cf029b80 r9:00000002 r8:cf002800 r7:cf7ca200 r6:00000000 r5:cf029b80
    [  266.142956]  r4:cc51aebc
    [  266.145525] [<c0049ec0>] (process_one_work) from [<c004a360>] (worker_thread+0x7c/0x648)
    [  266.157765]  r10:cf029b80 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cf029b98
    [  266.165685]  r4:cf002800
    [  266.171485] [<c004a2e4>] (worker_thread) from [<c004feac>] (kthread+0xdc/0xf4)
    [  266.182132]  r10:00000000 r9:00000000 r8:00000000 r7:c004a2e4 r6:cf029b80 r5:cf015d40
    [  266.190194]  r4:00000000
    [  266.192772] [<c004fdd0>] (kthread) from [<c0010778>] (ret_from_fork+0x14/0x3c)
    [  266.204850]  r7:00000000 r6:00000000 r5:c004fdd0 r4:cf015d40
    [  266.210732] ---[ end trace b58ba20a5a6ee70f ]---
    [  266.215390] wlcore: down
    [  266.225450] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [  266.238016] ieee80211 phy0: Hardware restart was requested
    wlan0: interface state UNINITIALIZED->ENABLED
    wlan0: AP-ENABLED

    root@am335x-evm:/usr/share/wl18xx# [  266.735117] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  266.839458] wlcore: firmware booted (Rev 8.9.0.0.48)

  • What filesystem are you using?
    I've just tried to run ap_start.sh (after I edited HOSTAP_BIN_DIR) in SDK 3.0 and it works and I can do an ifconfig wlan0 down and up with no issues.

    I see that your hostapd.conf file is creating an AP with ssid "ssid". That is not the one in the SDK 3.0 filesystem which uses ssid "sitaraAP".
    If you are using a different filesystem then it could be that the hostap/wpa_supplicant executables you have are different enough to crash.
    Iain
  • hi Iain hunter,

    we are using tisdk rootfs file system .but we configured hostapd.conf file .than remaing all are same file used of tisdk file system.

    hostapd.conf file code mentioned below .

    interface=wlan0
    driver=nl80211
    channel=1
    hw_mode=g
    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=name
    max_num_sta=5
    macaddr_acl=0
    auth_algs=3
    ieee80211d=0
    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

    please can you share me your dts file changes for wl18xx .

    Thanks and regards

    veeranjaneyulu

  • Hi Veera,

    I've just updated a wiki article with all the patches applied to SDK3 for different boards. You can download them from

    You just need the system file. Read the patches in conjunction with the build-sensor-gateway.sh script that builds the complete file system.

    Iain

  • hi .
    Thanks for you reply Iain hunter.

    Actually we are using am335x-evmsk.dts file .is it support ?
  • Hi Veera,
    No it is not supported. The AM335x Starter Kit has a WL127x Wi-Fi device on it and not a WL18xx.
    There are wl12xx drivers in the mainline kernel but they were not pushed by TI and we do not support them or even know if they work.

    Are you using an AM335x SK board or just basing your AM335x + wl18xx dts file on it?
    Iain
  • hi iain hunter.

    Thanks for your reply.sorry we configured wl18xx support in am335x-evmsk.dts file .
    we are not using am335x SK board .we are using am335x custom board + wl18xx .But design is similar to am335x-evmsk board.in am335x-evmsk.dts file we customized mmc2 interface for wl18xx .

    code snippet mentioned below please give suggestions .

    am335x-evmsk.dts

    /* wl_en regulator */
    wlan_en_reg: fixedregulator@2 {
    compatible = "regulator-fixed";
    regulator-name = "wlan-en-regulator";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <1800000>;
    gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>; /* wlan_en gpio1_29*/
    startup-delay-us = <70000>;
    enable-active-high;
    };

    mmc2_pins: pinmux_mmc2_pins {
    pinctrl-single,pins = <
    /*0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_31 */
    0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
    0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
    0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
    0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
    0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
    0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
    >;
    };

    wlan_pins: pinmux_wlan_pins {
    pinctrl-single,pins = <
    0x7c (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_csn0.gpio1_29 */
    0x20 (PIN_INPUT_PULLUP | MUX_MODE7) /* (U10) gpmc_ad8.gpio0[22] */
    0x1ac ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /*BT-en (A14) mcasp0_ahclkx.gpio3[21] */

    >;
    };





    &mmc2 {
    vmmc-supply = <&wlan_en_reg>;
    bus-width = <4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc2_pins &wlan_pins>;
    non-removable;
    needs-special-hs-handling;
    cap-power-off-card;
    enable-sdio-wakeup;
    status = "okay";
    #address-cells = <1>;
    #size-cells = <0>;
    wlcore: wlcore@2 {
    compatible = "ti,wl1835";
    reg = <2>;
    interrupt-parent = <&gpio0>; /*WLAN_IRQ GPIO0_22*/
    interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
    /*ref-clock-frequency = <38400000>;*/
    ref-clock-frequency = <26000000>;/* frequency 26MHZ */
    };
    };


    Any changes needed please tell me .

    Thanks & Regards
    veeranjaneyulu
  • Hi iain hunter ,

    Any update from my code ?

    Thanks & Regards

    veeranjaneyulu

  • Hi Veera,
    I did reply yesterday, but somehow it wasn't posted. Sorry.

    My suggestion is to compare your dts file to the patches for the CircuitCo Wl1835 board or the E14 WL1837 board. They both use mmc2 for the WL18xx device. However, you bring the interface up correctly and so the fundamentals of the pin setup are ok. You could try changing the interrupt to EDGE_RISING and also remove ref-clock-frequency.

    As you are returning no scan results from
    iw wlan0 scan
    I still suspect the wl18xx-conf.bin setup. Are you using the TI module or one from a 3rd party like Murata? If it is a 3rd party one then you'd need to get the correct .ini file from them and then use wlconf to create the correct wl18xx-conf.bin to match the module.
    Iain
  • Hi Veera,
    I noticed on your other post you said you were using Jorjin WG7833 module. You will need to get the .ini file for that board from them.
    Then follow example #4 in www.ti.com/.../swra489.pdf to create the wl18xx-conf.bin file.
    Iain
  • Hi Iain hunter,
    Thanks for your reply.
    yes we are using jorjin wg7833 module.i can try and let me know.

    Thanks & Regards
    veeranjaneyulu
  • hi iain hunter

    if i gave ifconfig wlan0 down

    we got below log:

    root@am335x-evm:~# ifconfig wlan0 down
    [  759.806733] wlcore: ERROR ELP wakeup timeout!
    [  759.811182] ------------[ cut here ]------------
    [  759.816311] WARNING: CPU: 0 PID: 853 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [  759.835410] Modules linked in: xfrm_user usb_f_mass_storage u_ether libcomposite configfs xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 wl18xx wlcorl
    [  759.890626] CPU: 0 PID: 853 Comm: kworker/u2:0 Not tainted 4.4.12-g3639bea54a #70
    [  759.906904] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  759.913682] Workqueue: phy0 ieee80211_reconfig_filter [mac80211]
    [  759.933901] Backtrace:
    [  759.936461] [<c0014224>] (dump_backtrace) from [<c0014420>] (show_stack+0x18/0x1c)
    [  759.944775]  r7:bf1aa67c r6:0000032b r5:00000009 r4:00000000
    [  759.960134] [<c0014408>] (show_stack) from [<c02b32c8>] (dump_stack+0x24/0x28)
    [  759.978134] [<c02b32a4>] (dump_stack) from [<c0034100>] (warn_slowpath_common+0x88/0xb4)
    [  759.986300] [<c0034078>] (warn_slowpath_common) from [<c00341d0>] (warn_slowpath_null+0x24/0x2c)
    [  760.000269]  r8:00000000 r7:0000b36a r6:00000000 r5:c09ad740 r4:cf53cc40
    [  760.007554] [<c00341ac>] (warn_slowpath_null) from [<bf1aa67c>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [  760.023603] [<bf1aa610>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf1acd98>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [  760.039171]  r5:c09ad740 r4:cf53cc40
    [  760.043180] [<bf1acd7c>] (wl12xx_queue_recovery_work [wlcore]) from [<bf1b7024>] (wl1271_ps_elp_wakeup+0x120/0x288 [wlcore])
    [  760.060138] [<bf1b6f04>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf1a76b0>] (wl1271_op_configure_filter+0x60/0x150 [wlcore])
    [  760.071518]  r10:cf53cc78 r9:00000000 r8:cf4abeb4 r7:cc4db300 r6:cf53cc40 r5:bf1a7650
    [  760.082367]  r4:cf53c3e0
    [  760.085574] [<bf1a7650>] (wl1271_op_configure_filter [wlcore]) from [<bf139464>] (ieee80211_configure_filter+0x154/0x1b8 [mac80211])
    [  760.101659]  r10:cc602900 r9:00000000 r8:cf002800 r7:00000000 r6:cc4db300 r5:bf1a7650
    [  760.113183]  r4:cf53c3e0
    [  760.116264] [<bf139310>] (ieee80211_configure_filter [mac80211]) from [<bf1394dc>] (ieee80211_reconfig_filter+0x14/0x18 [mac80211])
    [  760.133817]  r7:cc018f00 r6:00000000 r5:cc602900 r4:cf53c758
    [  760.141741] [<bf1394c8>] (ieee80211_reconfig_filter [mac80211]) from [<c0049d48>] (process_one_work+0x138/0x424)
    [  760.157035] [<c0049c10>] (process_one_work) from [<c004a0b0>] (worker_thread+0x7c/0x648)
    [  760.165189]  r10:cc602900 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cc602918
    [  760.175676]  r4:cf002800
    [  760.181109] [<c004a034>] (worker_thread) from [<c004fc78>] (kthread+0xdc/0xf4)
    [  760.192791]  r10:00000000 r9:00000000 r8:00000000 r7:c004a034 r6:cc602900 r5:cc098400
    [  760.201169]  r4:00000000
    [  760.203755] [<c004fb9c>] (kthread) from [<c00107f8>] (ret_from_fork+0x14/0x3c)
    [  760.217068]  r7:00000000 r6:00000000 r5:c004fb9c r4:cc098400
    [  760.222811] ---[ end trace abfb9e0f00871fb3 ]---
    [  760.232399] wlcore: down
    [  760.235239] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
    [  760.247167] ------------[ cut here ]------------
    [  760.252168] WARNING: CPU: 0 PID: 853 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x4dc [wlcore]()
    [  760.268406] Modules linked in: xfrm_user usb_f_mass_storage u_ether libcomposite configfs xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 wl18xx wlcorl
    [  760.317304] CPU: 0 PID: 853 Comm: kworker/u2:0 Tainted: G        W       4.4.12-g3639bea54a #70
    [  760.326047] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  760.337096] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [  760.342555] Backtrace:
    [  760.345048] [<c0014224>] (dump_backtrace) from [<c0014420>] (show_stack+0x18/0x1c)
    [  760.364181]  r7:bf1b2f80 r6:00000041 r5:00000009 r4:00000000
    [  760.370095] [<c0014408>] (show_stack) from [<c02b32c8>] (dump_stack+0x24/0x28)
    [  760.381162] [<c02b32a4>] (dump_stack) from [<c0034100>] (warn_slowpath_common+0x88/0xb4)
    [  760.391574] [<c0034078>] (warn_slowpath_common) from [<c00341d0>] (warn_slowpath_null+0x24/0x2c)
    [  760.402808]  r8:cf002800 r7:cc018f00 r6:bf1cb400 r5:bf1f55f8 r4:cf53cc40
    [  760.410043] [<c00341ac>] (warn_slowpath_null) from [<bf1b2f80>] (wlcore_set_partition+0xa4/0x4dc [wlcore])
    [  760.424106] [<bf1b2edc>] (wlcore_set_partition [wlcore]) from [<bf1a9fb8>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
    [  760.437639]  r7:cc018f00 r6:cf53cc78 r5:cf53cc40 r4:cf53cedc
    [  760.443616] [<bf1a9f44>] (wl1271_recovery_work [wlcore]) from [<c0049d48>] (process_one_work+0x138/0x424)
    [  760.457547]  r10:cc602900 r9:00000000 r8:cf002800 r7:cc018f00 r6:00000000 r5:cc602900
    [  760.465466]  r4:cf53cedc
    [  760.470163] [<c0049c10>] (process_one_work) from [<c004a0b0>] (worker_thread+0x7c/0x648)
    [  760.482150]  r10:cc602900 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cc602918
    [  760.490239]  r4:cf002800
    [  760.492810] [<c004a034>] (worker_thread) from [<c004fc78>] (kthread+0xdc/0xf4)
    [  760.505164]  r10:00000000 r9:00000000 r8:00000000 r7:c004a034 r6:cc602900 r5:cc098400
    [  760.513323]  r4:00000000
    [  760.515903] [<c004fb9c>] (kthread) from [<c00107f8>] (ret_from_fork+0x14/0x3c)
    [  760.527632]  r7:00000000 r6:00000000 r5:c004fb9c r4:cc098400
    [  760.533365] ---[ end trace abfb9e0f00871fb4 ]---
    [  760.544185] ieee80211 phy0: Hardware restart was requested

    any reason ?we removed wl18xx-conf.bin file from ti-connectivity/.

    Thanks

    veeranjaneyulu

  • Hi Veera,
    Can you confirm if your WL_EN signal is being correctly controlled by the MMC driver. when you issue an "ifconfig wlan0 down" it should drive WL_EN low and then high again on "ifconfig wlan0 up"

    This is the purpose of wl_en_regulator in the device tree which is treated by the mmc driver as a power on /off signal for an external "voltage regulator" although in this case we use it as the enable for WL18xx (WL_EN).
    Iain
  • hi Iain hunter
    yes we checked .
    ifconfig wlan0 up that time we checked cat /sys/kernel/debug/gpio/
    wl_en out hi
    if ifconfig wlan0 down
    wl_en out lo


    yes we run sh /usr/share/wl18xx/ap_start.sh
    we got ssid and signal strength observed on android wifi analyzer app .The signal is came and go off every 30 seconds delay.by using wireshark also we got ssid some junk data.

    but signal is not coming continuously.
  • [  759.806733] wlcore: ERROR ELP wakeup timeout!

    Just as an experiment you can try the following link to see if it makes a difference:

    http://processors.wiki.ti.com/index.php/WL18xx_Driver_Debug#Disable.2FEnable_ELP

    But believe there probably is another HW issue (as Iain is tracing).

  • Thanks for your reply. Our hardware schematics bl_en is connected to am3352 processor . its always high .so that blutooth connection removed from the processor. for that no issue .we checked with bl_en high also .same issue.

    we have already tried that one also .but we got wifi crash issue .

    one question we are using jorjin wg7833 .which ti wifi is compatible is it 1835/1837/1807??

    one more question wl18xx is need TQS File and .nvs files.??

    we are using sdk latest and kernel 4.4..12




    Thanks
    veeranajneyulu
  • Hi Veera,
    The wl1833 is a single antenna 2.4GHz and single antenna 5Ghz part. TI does not have a module with that version of the device on it and so our configure-device.sh script will not help you. In addition the jorjin module takes an external 26MHz clock.
    This is why you need to get the .INI file from Jorjin that describes the internal configuration of the module. In particular it may have a different rf switch control setting and also different fast clock control which may explain your instability.
    When you get the ini from jorjin you can create the wl18xx-conf.bin you need.

    wl18xx does not need the nvs file. I'm not sure what you mean by TQS file for wl18xx.

    To switch off Bluetooth you need to have BL_EN driven LOW by the AM3352.

    Iain
    Iain
  • Hi Iaib hunter,

    Thanks for your reply.How can i get jorjin wifi module .ini file from jorjin .we can ask directly to the jorjin people or if you have any downloaded link? can you provide me the .ini file link

    Thanks 

    veeranjenyulu

  • Hi Veera,

    I don't have any link and I couldn't see one on Jorjin website. You'll need to contact them or the distributor through which you bought the module.

    Iain
  • hi

    we follow the above link we got below crash logs.whats the reason?

  • HI Iain Hunter ,

    We got wg7833.ini file from jorjin.But still we are facing consistency issue.And we got ELP POWER TIMEOUT ISSUE. while ap_start.sh script.

    we got below logs.please find below logs.

    root@am335x-evm:~# cd /usr/share/wl18xx/
    root@am335x-evm:/usr/share/wl18xx# ./ap_start.sh
    Configuration file: /usr/share/wl18xx/hostapd.conf
    Line 12: DEPRECATED: 'dump_file' configuration variable is not used anymore
    [  361.267865] wlcore: ERROR ELP wakeup timeout!
    [  361.272316] ------------[ cut here ]------------
    [  361.277339] WARNING: CPU: 0 PID: 852 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore]()
    [  361.296208] Modules linked in: xfrm_user usb_f_mass_storage usb_f_rndis u_ether xfrm4_tunnel libcomposite configfs ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 l
    [  361.346916] CPU: 0 PID: 852 Comm: hostapd Tainted: G        W  O    4.4.12-g3639bea54a #1
    [  361.360882] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  361.367051] Backtrace:
    [  361.376459] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
    [  361.389728]  r7:bf273094 r6:0000032b r5:00000009 r4:00000000
    [  361.395569] [<c00136c4>] (show_stack) from [<c0299b28>] (dump_stack+0x24/0x28)
    [  361.412001] [<c0299b04>] (dump_stack) from [<c003284c>] (warn_slowpath_common+0x88/0xb4)
    [  361.420331] [<c00327c4>] (warn_slowpath_common) from [<c003291c>] (warn_slowpath_null+0x24/0x2c)
    [  361.433506]  r8:00000000 r7:000017bc r6:00000000 r5:c09c7440 r4:cf534c20
    [  361.440797] [<c00328f8>] (warn_slowpath_null) from [<bf273094>] (wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore])
    [  361.456316] [<bf273028>] (wl12xx_queue_recovery_work.part.9 [wlcore]) from [<bf275574>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [  361.471316]  r5:c09c7440 r4:cf534c20
    [  361.475231] [<bf275558>] (wl12xx_queue_recovery_work [wlcore]) from [<bf27ef14>] (wl1271_ps_elp_wakeup+0x120/0x25c [wlcore])
    [  361.491420] [<bf27edf4>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf270344>] (wl1271_op_configure_filter+0x5c/0x12c [wlcore])
    [  361.502827]  r10:cf534c58 r9:00000000 r8:cf793b9c r7:cf423e40 r6:cf534c20 r5:bf2702e8
    [  361.513461]  r4:cf5343c0
    [  361.516603] [<bf2702e8>] (wl1271_op_configure_filter [wlcore]) from [<bf202464>] (ieee80211_configure_filter+0x154/0x1b8 [mac80211])
    [  361.534940]  r10:00000000 r9:00000000 r8:cf5348f8 r7:00000000 r6:cf423e40 r5:bf2702e8
    [  361.543082]  r4:cf5343c0
    [  361.546151] [<bf202310>] (ieee80211_configure_filter [mac80211]) from [<bf2144b4>] (ieee80211_do_stop+0x5ac/0x7fc [mac80211])
    [  361.563070]  r7:cf5343c0 r6:cc33d480 r5:cf5348f8 r4:00000000
    [  361.571154] [<bf213f08>] (ieee80211_do_stop [mac80211]) from [<bf2151fc>] (ieee80211_if_change_type+0x150/0x28c [mac80211])
    [  361.586933]  r10:00000000 r9:00000000 r8:00000003 r7:cf5343c0 r6:00000000 r5:00000003
    [  361.595123]  r4:cc33d480
    [  361.602785] [<bf2150ac>] (ieee80211_if_change_type [mac80211]) from [<bf21b974>] (ieee80211_change_iface+0x2c/0x108 [mac80211])
    [  361.617045]  r9:cf534160 r8:cf793cac r7:00000003 r6:00000000 r5:cc33d480 r4:cc33d000
    [  361.625763] [<bf21b948>] (ieee80211_change_iface [mac80211]) from [<bf1bec18>] (cfg80211_change_iface+0x148/0x2d4 [cfg80211])
    [  361.641922]  r9:cf534160 r8:00000002 r7:bf21b948 r6:cf534000 r5:00000003 r4:cc33d000
    [  361.650349] [<bf1bead0>] (cfg80211_change_iface [cfg80211]) from [<bf1d19f4>] (nl80211_set_interface+0x140/0x1dc [cfg80211])
    [  361.666119]  r10:cc364800 r9:cc33d488 r8:cf534000 r7:cc33d000 r6:00000003 r5:00000001
    [  361.674306]  r4:cf793cf4
    [  361.677143] [<bf1d18b4>] (nl80211_set_interface [cfg80211]) from [<c061c8c4>] (genl_rcv_msg+0x230/0x3a8)
    [  361.691922]  r10:cc364800 r9:00000014 r8:00000000 r7:bf1e09c0 r6:cc10ec00 r5:cc069f00
    [  361.701511]  r4:bf1e2634
    [  361.704093] [<c061c694>] (genl_rcv_msg) from [<c061bbf8>] (netlink_rcv_skb+0xa8/0xc4)
    [  361.717905]  r10:00000000 r9:00000000 r8:00000000 r7:cc10ec00 r6:cc10ec00 r5:c061c694
    [  361.731411]  r4:cc069f00
    [  361.734022] [<c061bb50>] (netlink_rcv_skb) from [<c061c684>] (genl_rcv+0x2c/0x3c)
    [  361.751751]  r7:cc10ec00 r6:cc425c00 r5:cc10ec00 r4:c09fa328
    [  361.757521] [<c061c658>] (genl_rcv) from [<c061b580>] (netlink_unicast+0x164/0x20c)
    [  361.769472]  r5:00000024 r4:cf159800
    [  361.773127] [<c061b41c>] (netlink_unicast) from [<c061b978>] (netlink_sendmsg+0x27c/0x338)
    [  361.785078]  r8:00000024 r7:00000008 r6:cc10ec00 r5:cc425c00 r4:cf793f4c
    [  361.792067] [<c061b6fc>] (netlink_sendmsg) from [<c05d7c88>] (sock_sendmsg+0x1c/0x2c)
    [  361.803481]  r10:00000000 r9:cf793e28 r8:00000000 r7:ccd5e000 r6:00000000 r5:00000000
    [  361.811548]  r4:cf793f4c
    [  361.814168] [<c05d7c6c>] (sock_sendmsg) from [<c05d82bc>] (___sys_sendmsg+0x1f4/0x1fc)
    [  361.827078] [<c05d80c8>] (___sys_sendmsg) from [<c05d9078>] (__sys_sendmsg+0x44/0x70)
    [  361.837069]  r10:00000000 r9:cf792000 r8:c000fbc4 r7:00000128 r6:ccd5e000 r5:00000000
    [  361.845181]  r4:bed8683c
    [  361.849734] [<c05d9034>] (__sys_sendmsg) from [<c05d90b4>] (SyS_sendmsg+0x10/0x14)
    [  361.857341]  r6:0009d6c8 r5:0009feb8 r4:0009d740
    [  361.865559] [<c05d90a4>] (SyS_sendmsg) from [<c000fa00>] (ret_fast_syscall+0x0/0x3c)
    [  361.876776] ---[ end trace a65b84e5caa8db94 ]---
    [  361.883661] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
    [  361.892635] ------------[ cut here ]------------
    [  361.897520] WARNING: CPU: 0 PID: 50 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x47c [wlcore]()
    [  361.912106] Modules linked in: xfrm_user usb_f_mass_storage usb_f_rndis u_ether xfrm4_tunnel libcomposite configfs ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 l
    [  361.955695] CPU: 0 PID: 50 Comm: kworker/u2:3 Tainted: G        W  O    4.4.12-g3639bea54a #1
    [  361.967907] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  361.974723] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [  361.982110] Backtrace:
    [  361.984614] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
    [  361.997097]  r7:bf27b144 r6:00000041 r5:00000009 r4:00000000
    [  362.003033] [<c00136c4>] (show_stack) from [<c0299b28>] (dump_stack+0x24/0x28)
    [  362.013820] [<c0299b04>] (dump_stack) from [<c003284c>] (warn_slowpath_common+0x88/0xb4)
    [  362.024078] [<c00327c4>] (warn_slowpath_common) from [<c003291c>] (warn_slowpath_null+0x24/0x2c)
    [  362.035016]  r8:cf002800 r7:cf510400 r6:bf28fe00 r5:bf2b2068 r4:cf534c20
    [  362.042185] [<c00328f8>] (warn_slowpath_null) from [<bf27b144>] (wlcore_set_partition+0xa4/0x47c [wlcore])
    [  362.055772] [<bf27b0a0>] (wlcore_set_partition [wlcore]) from [<bf2729f0>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
    [  362.068890]  r6:cf534c58 r5:cf534c20 r4:cf534ebc
    [  362.073762] [<bf27297c>] (wl1271_recovery_work [wlcore]) from [<c0048028>] (process_one_work+0x138/0x424)
    [  362.087295]  r10:cf4ada00 r9:00000001 r8:cf002800 r7:cf510400 r6:00000000 r5:cf4ada00
    [  362.095418]  r4:cf534ebc
    [  362.100076] [<c0047ef0>] (process_one_work) from [<c0048390>] (worker_thread+0x7c/0x648)
    [  362.111643]  r10:cf4ada00 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cf4ada18
    [  362.119767]  r4:cf002800
    [  362.122339] [<c0048314>] (worker_thread) from [<c004de0c>] (kthread+0xdc/0xf4)
    [  362.133689]  r10:00000000 r9:00000000 r8:00000000 r7:c0048314 r6:cf4ada00 r5:cf4af740
    [  362.142997]  r4:00000000
    [  362.145580] [<c004dd30>] (kthread) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
    [  362.157841]  r7:00000000 r6:00000000 r5:c004dd30 r4:cf4af740
    [  362.163574] ---[ end trace a65b84e5caa8db95 ]---
    [  362.173624] wlcore: down
    [  362.176254] ------------[ cut here ]------------
    [  362.185856] ieee80211 phy0: Hardware restart was requested
    [  362.194955] WARNING: CPU: 0 PID: 852 at net/mac80211/iface.c:347 ieee80211_check_queues+0x138/0x168 [mac80211]()
    [  362.207847] Modules linked in: xfrm_user usb_f_mass_storage usb_f_rndis u_ether xfrm4_tunnel libcomposite configfs ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 l
    [  362.252075] CPU: 0 PID: 852 Comm: hostapd Tainted: G        W  O    4.4.12-g3639bea54a #1
    [  362.263951] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  362.272225] Backtrace:
    [  362.274816] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
    [  362.286031]  r7:bf212704 r6:0000015b r5:00000009 r4:00000000
    [  362.292112] [<c00136c4>] (show_stack) from [<c0299b28>] (dump_stack+0x24/0x28)
    [  362.302931] [<c0299b04>] (dump_stack) from [<c003284c>] (warn_slowpath_common+0x88/0xb4)
    [  362.313382] [<c00327c4>] (warn_slowpath_common) from [<c003291c>] (warn_slowpath_null+0x24/0x2c)
    [  362.324273]  r8:00000003 r7:fffffff0 r6:00000000 r5:00000003 r4:bf245245
    [  362.331721] [<c00328f8>] (warn_slowpath_null) from [<bf212704>] (ieee80211_check_queues+0x138/0x168 [mac80211])
    [  362.347300] [<bf2125cc>] (ieee80211_check_queues [mac80211]) from [<bf2152d0>] (ieee80211_if_change_type+0x224/0x28c [mac80211])
    [  362.361664]  r5:00000003 r4:cc33d480
    [  362.365701] [<bf2150ac>] (ieee80211_if_change_type [mac80211]) from [<bf21b974>] (ieee80211_change_iface+0x2c/0x108 [mac80211])
    [  362.381623]  r9:cf534160 r8:cf793cac r7:00000003 r6:00000000 r5:cc33d480 r4:cc33d000
    [  362.390225] [<bf21b948>] (ieee80211_change_iface [mac80211]) from [<bf1bec18>] (cfg80211_change_iface+0x148/0x2d4 [cfg80211])
    [  362.405815]  r9:cf534160 r8:00000002 r7:bf21b948 r6:cf534000 r5:00000003 r4:cc33d000
    [  362.414149] [<bf1bead0>] (cfg80211_change_iface [cfg80211]) from [<bf1d19f4>] (nl80211_set_interface+0x140/0x1dc [cfg80211])
    [  362.429757]  r10:cc364800 r9:cc33d488 r8:cf534000 r7:cc33d000 r6:00000003 r5:00000001
    [  362.437852]  r4:cf793cf4
    [  362.440660] [<bf1d18b4>] (nl80211_set_interface [cfg80211]) from [<c061c8c4>] (genl_rcv_msg+0x230/0x3a8)
    [  362.455498]  r10:cc364800 r9:00000014 r8:00000000 r7:bf1e09c0 r6:cc10ec00 r5:cc069f00
    [  362.463592]  r4:bf1e2634
    [  362.466164] [<c061c694>] (genl_rcv_msg) from [<c061bbf8>] (netlink_rcv_skb+0xa8/0xc4)
    [  362.478102]  r10:00000000 r9:00000000 r8:00000000 r7:cc10ec00 r6:cc10ec00 r5:c061c694
    [  362.489681]  r4:cc069f00
    [  362.492281] [<c061bb50>] (netlink_rcv_skb) from [<c061c684>] (genl_rcv+0x2c/0x3c)
    [  362.503604]  r7:cc10ec00 r6:cc425c00 r5:cc10ec00 r4:c09fa328
    [  362.509519] [<c061c658>] (genl_rcv) from [<c061b580>] (netlink_unicast+0x164/0x20c)
    [  362.517209]  r5:00000024 r4:cf159800
    [  362.524696] [<c061b41c>] (netlink_unicast) from [<c061b978>] (netlink_sendmsg+0x27c/0x338)
    [  362.536492]  r8:00000024 r7:00000008 r6:cc10ec00 r5:cc425c00 r4:cf793f4c
    [  362.543758] [<c061b6fc>] (netlink_sendmsg) from [<c05d7c88>] (sock_sendmsg+0x1c/0x2c)
    [  362.555135]  r10:00000000 r9:cf793e28 r8:00000000 r7:ccd5e000 r6:00000000 r5:00000000
    [  362.563535]  r4:cf793f4c
    [  362.566105] [<c05d7c6c>] (sock_sendmsg) from [<c05d82bc>] (___sys_sendmsg+0x1f4/0x1fc)
    [  362.578155] [<c05d80c8>] (___sys_sendmsg) from [<c05d9078>] (__sys_sendmsg+0x44/0x70)
    [  362.586042]  r10:00000000 r9:cf792000 r8:c000fbc4 r7:00000128 r6:ccd5e000 r5:00000000
    [  362.597502]  r4:bed8683c
    [  362.602576] [<c05d9034>] (__sys_sendmsg) from [<c05d90b4>] (SyS_sendmsg+0x10/0x14)
    [  362.613735]  r6:0009d6c8 r5:0009feb8 r4:0009d740
    [  362.618937] [<c05d90a4>] (SyS_sendmsg) from [<c000fa00>] (ret_fast_syscall+0x0/0x3c)
    [  362.626720] ---[ end trace a65b84e5caa8db96 ]---
    [  363.086233] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  363.189012] wlcore: firmware booted (Rev 8.9.0.0.48)
    Using interface wlan0 with hwaddr f4:b8:5e:26:72:a8 and ssid "TBOX"

    root@am335x-evm:/usr/share/wl18xx# [  363.757926] wlcore: ERROR ELP wakeup timeout!
    [  363.762578] ------------[ cut here ]------------
    [  363.767602] WARNING: CPU: 0 PID: 852 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore]()
    [  363.792665] Modules linked in: xfrm_user usb_f_mass_storage usb_f_rndis u_ether xfrm4_tunnel libcomposite configfs ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 l
    [  363.836683] CPU: 0 PID: 852 Comm: hostapd Tainted: G        W  O    4.4.12-g3639bea54a #1
    [  363.851148] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  363.857324] Backtrace:
    [  363.866726] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
    [  363.879878]  r7:bf273094 r6:0000032b r5:00000009 r4:00000000
    [  363.889602] [<c00136c4>] (show_stack) from [<c0299b28>] (dump_stack+0x24/0x28)
    [  363.896913] [<c0299b04>] (dump_stack) from [<c003284c>] (warn_slowpath_common+0x88/0xb4)
    [  363.911130] [<c00327c4>] (warn_slowpath_common) from [<c003291c>] (warn_slowpath_null+0x24/0x2c)
    [  363.926087]  r8:00000000 r7:000018b5 r6:00000000 r5:c09c7440 r4:cf534c20
    [  363.938704] [<c00328f8>] (warn_slowpath_null) from [<bf273094>] (wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore])
    [  363.955507] [<bf273028>] (wl12xx_queue_recovery_work.part.9 [wlcore]) from [<bf275574>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [  363.975366]  r5:c09c7440 r4:cf534c20
    [  363.979820] [<bf275558>] (wl12xx_queue_recovery_work [wlcore]) from [<bf27ef14>] (wl1271_ps_elp_wakeup+0x120/0x25c [wlcore])
    [  363.998335] [<bf27edf4>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf270470>] (wl1271_op_config+0x5c/0x140 [wlcore])
    [  364.013726]  r10:00000000 r9:cf793c18 r8:cf534a54 r7:cf534c58 r6:cf5343c0 r5:cf534c20
    [  364.025774]  r4:00000100
    [  364.033647] [<bf270414>] (wl1271_op_config [wlcore]) from [<bf202538>] (ieee80211_hw_config+0x58/0x280 [mac80211])
    [  364.050630]  r9:cf793c18 r8:cf534a54 r7:00000100 r6:cf029c00 r5:cf5343c0 r4:cf5343c0
    [  364.062469] [<bf2024e0>] (ieee80211_hw_config [mac80211]) from [<bf22fa7c>] (ieee80211_add_chanctx+0x8c/0xbc [mac80211])
    [  364.078416]  r8:cf534a54 r7:cf5343c0 r6:cf029c00 r5:cf5343c0 r4:cf5343c0
    [  364.087899] [<bf22f9f0>] (ieee80211_add_chanctx [mac80211]) from [<bf2300ac>] (ieee80211_new_chanctx+0x28/0x68 [mac80211])
    [  364.103318]  r7:cf5343c0 r6:cf534a5c r5:cf5343c0 r4:cf029c00
    [  364.109623] [<bf230084>] (ieee80211_new_chanctx [mac80211]) from [<bf231e84>] (ieee80211_vif_use_channel+0x1e8/0x258 [mac80211])
    [  364.125021]  r7:cf5343c0 r6:cf534a5c r5:cc33d480 r4:cf534a54
    [  364.131371] [<bf231c9c>] (ieee80211_vif_use_channel [mac80211]) from [<bf21b2c0>] (ieee80211_start_ap+0x7c/0x358 [mac80211])
    [  364.147145]  r10:cc33d4a8 r9:cf534160 r8:cf793c18 r7:cf793c18 r6:cc33d480 r5:cf534980
    [  364.155330]  r4:cc33d000 r3:cf5343c0
    [  364.161618] [<bf21b244>] (ieee80211_start_ap [mac80211]) from [<bf1ced10>] (nl80211_start_ap+0x2ac/0x3d0 [cfg80211])
    [  364.176232]  r10:cc33d4a8 r9:cf534160 r8:cf793c18 r7:cc33d000 r6:cf534000 r5:cc33d488
    [  364.184340]  r4:cf793cf4
    [  364.187189] [<bf1cea64>] (nl80211_start_ap [cfg80211]) from [<c061c8c4>] (genl_rcv_msg+0x230/0x3a8)
    [  364.203025]  r10:cc364800 r9:00000014 r8:00000000 r7:bf1e0a60 r6:cc0e3900 r5:cc0e2400
    [  364.211147]  r4:bf1e2634
    [  364.213723] [<c061c694>] (genl_rcv_msg) from [<c061bbf8>] (netlink_rcv_skb+0xa8/0xc4)
    [  364.226754]  r10:00000000 r9:00000000 r8:00000000 r7:cc0e3900 r6:cc0e3900 r5:c061c694
    [  364.234846]  r4:cc0e2400
    [  364.237419] [<c061bb50>] (netlink_rcv_skb) from [<c061c684>] (genl_rcv+0x2c/0x3c)
    [  364.249165]  r7:cc0e3900 r6:cc425c00 r5:cc0e3900 r4:c09fa328
    [  364.254923] [<c061c658>] (genl_rcv) from [<c061b580>] (netlink_unicast+0x164/0x20c)
    [  364.267435]  r5:0000010c r4:cf159800
    [  364.271267] [<c061b41c>] (netlink_unicast) from [<c061b978>] (netlink_sendmsg+0x27c/0x338)
    [  364.283211]  r8:0000010c r7:00000008 r6:cc0e3900 r5:cc425c00 r4:cf793f4c
    [  364.290230] [<c061b6fc>] (netlink_sendmsg) from [<c05d7c88>] (sock_sendmsg+0x1c/0x2c)
    [  364.301542]  r10:00000000 r9:cf793e28 r8:00000000 r7:ccd5e000 r6:00000000 r5:00000000
    [  364.309647]  r4:cf793f4c
    [  364.312271] [<c05d7c6c>] (sock_sendmsg) from [<c05d82bc>] (___sys_sendmsg+0x1f4/0x1fc)
    [  364.325004] [<c05d80c8>] (___sys_sendmsg) from [<c05d9078>] (__sys_sendmsg+0x44/0x70)
    [  364.335042]  r10:00000000 r9:cf792000 r8:c000fbc4 r7:00000128 r6:ccd5e000 r5:00000000
    [  364.343155]  r4:bed86774
    [  364.345771] [<c05d9034>] (__sys_sendmsg) from [<c05d90b4>] (SyS_sendmsg+0x10/0x14)
    [  364.357865]  r6:0009d6c8 r5:000a14d8 r4:0009d740
    [  364.362584] [<c05d90a4>] (SyS_sendmsg) from [<c000fa00>] (ret_fast_syscall+0x0/0x3c)
    [  364.374530] ---[ end trace a65b84e5caa8db97 ]---
    [  364.381528] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
    [  364.390427] ------------[ cut here ]------------
    [  364.395307] WARNING: CPU: 0 PID: 50 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x47c [wlcore]()
    [  364.410574] Modules linked in: xfrm_user usb_f_mass_storage usb_f_rndis u_ether xfrm4_tunnel libcomposite configfs ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 l
    [  364.454101] CPU: 0 PID: 50 Comm: kworker/u2:3 Tainted: G        W  O    4.4.12-g3639bea54a #1
    [  364.466273] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  364.474737] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [  364.480364] Backtrace:
    [  364.482861] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
    [  364.495455]  r7:bf27b144 r6:00000041 r5:00000009 r4:00000000
    [  364.501375] [<c00136c4>] (show_stack) from [<c0299b28>] (dump_stack+0x24/0x28)
    [  364.512215] [<c0299b04>] (dump_stack) from [<c003284c>] (warn_slowpath_common+0x88/0xb4)
    [  364.524251] [<c00327c4>] (warn_slowpath_common) from [<c003291c>] (warn_slowpath_null+0x24/0x2c)
    [  364.536980]  r8:cf002800 r7:cf510400 r6:bf28fe00 r5:bf2b2068 r4:cf534c20
    [  364.544231] [<c00328f8>] (warn_slowpath_null) from [<bf27b144>] (wlcore_set_partition+0xa4/0x47c [wlcore])
    [  364.557724] [<bf27b0a0>] (wlcore_set_partition [wlcore]) from [<bf2729f0>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
    [  364.571529]  r6:cf534c58 r5:cf534c20 r4:cf534ebc
    [  364.576451] [<bf27297c>] (wl1271_recovery_work [wlcore]) from [<c0048028>] (process_one_work+0x138/0x424)
    [  364.590220]  r10:cf4ada00 r9:00000002 r8:cf002800 r7:cf510400 r6:00000000 r5:cf4ada00
    [  364.598310]  r4:cf534ebc
    [  364.600883] [<c0047ef0>] (process_one_work) from [<c0048390>] (worker_thread+0x7c/0x648)
    [  364.613120]  r10:cf4ada00 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cf4ada18
    [  364.622367]  r4:cf002800
    [  364.624943] [<c0048314>] (worker_thread) from [<c004de0c>] (kthread+0xdc/0xf4)
    [  364.636884]  r10:00000000 r9:00000000 r8:00000000 r7:c0048314 r6:cf4ada00 r5:cf4af740
    [  364.645767]  r4:00000000
    [  364.650666] [<c004dd30>] (kthread) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
    [  364.661958]  r7:00000000 r6:00000000 r5:c004dd30 r4:cf4af740
    [  364.668054] ---[ end trace a65b84e5caa8db98 ]---
    [  364.672712] wlcore: down
    wlan0: interface state UNINITIALIZED->ENABLED
    wlan0: AP-ENABLED [  364.676762] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

    [  364.696441] ieee80211 phy0: Hardware restart was requested
    [  365.197027] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  365.298763] wlcore: firmware booted (Rev 8.9.0.0.48)

    please any solve this issue .

  • Did you say in an earlier post that running the commands to disable ELP

    #iw wlan0 set power_save off

    #echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth

    caused a crash?

    If they do run ok then please try that before running ap_start

    #iw wlan0 set power_save of

    #echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth

    #cd /usr/share/wl18xx

    #./ap_start.sh

    Can you also confirm that when you received the .ini file from Jorjin that you ran wlconf utility to create a new wl18xx-conf.bin file from the new ini file? Instructions at 






  • Hi Iain Hunter
    Thanks for your reply.After disabling ELP not getting crashed .but signal response strength and consistency is not there.
    ya we got WG7833-B0.INI file from jorjin. But same issue means signal is not consistency.

    Not getting crashed but while running ap_start.sh .SSID we got but signal strength and consistency is not there.we got below logs.

    root@am335x-evm:~# iw wlan0 set power_save off
    root@am335x-evm:~# echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth
    root@am335x-evm:~# ifconfig wlan0 up
    [ 201.939751] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [ 202.045749] wlcore: firmware booted (Rev 8.9.0.0.48)
    [ 202.098935] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    root@am335x-evm:~# iw wlan0 scan
    root@am335x-evm:~# cat /proc/interrupts
    CPU0
    16: 13760 INTC 68 Level gp_timer
    19: 1 INTC 78 Level wkup_m3_txev
    20: 12242 INTC 12 Level 49000000.edma_ccint
    22: 41 INTC 14 Level 49000000.edma_ccerrint
    26: 14 INTC 96 Level 44e07000.gpio
    33: 0 44e07000.gpio 6 Edge 48060000.mmc cd
    49: 14 44e07000.gpio 22 Edge wl18xx
    57: 0 44e07000.gpio 30 Edge button2
    59: 0 INTC 98 Level 4804c000.gpio
    92: 1 INTC 32 Level 481ac000.gpio
    95: 1 481ac000.gpio 2 Edge button1
    96: 1 481ac000.gpio 3 Edge button0
    98: 1 481ac000.gpio 5 Edge button3
    125: 0 INTC 62 Level 481ae000.gpio
    158: 1072 INTC 72 Level 44e09000.serial
    160: 421 INTC 70 Level 44e0b000.i2c
    161: 15599 INTC 64 Level mmc1
    162: 8493 INTC 28 Level mmc0
    164: 0 INTC 77 Level wkup_m3
    170: 0 INTC 75 Level rtc0
    171: 0 INTC 76 Level rtc0
    173: 0 INTC 41 Level 4a100000.ethernet
    174: 0 INTC 42 Level 4a100000.ethernet
    176: 12724 INTC 36 Level tilcdc
    177: 0 INTC 16 Level TI-am335x-tsc
    178: 0 INTC 109 Level 53100000.sham
    180: 0 INTC 82 Level 4803c000.mcasp_tx
    181: 0 INTC 83 Level 4803c000.mcasp_rx
    182: 0 INTC 111 Level 48310000.rng
    185: 1 INTC 19 Level musb-hdrc.1.auto
    186: 0 INTC 17 Level 47400000.dma-controller
    Err: 0
    root@am335x-evm:~# iw wlan0 scan
    root@am335x-evm:~# cat /proc/interrupts
    CPU0
    16: 14201 INTC 68 Level gp_timer
    19: 1 INTC 78 Level wkup_m3_txev
    20: 12298 INTC 12 Level 49000000.edma_ccint
    22: 41 INTC 14 Level 49000000.edma_ccerrint
    26: 16 INTC 96 Level 44e07000.gpio
    33: 0 44e07000.gpio 6 Edge 48060000.mmc cd
    49: 16 44e07000.gpio 22 Edge wl18xx
    57: 0 44e07000.gpio 30 Edge button2
    59: 0 INTC 98 Level 4804c000.gpio
    92: 1 INTC 32 Level 481ac000.gpio
    95: 1 481ac000.gpio 2 Edge button1
    96: 1 481ac000.gpio 3 Edge button0
    98: 1 481ac000.gpio 5 Edge button3
    125: 0 INTC 62 Level 481ae000.gpio
    158: 1098 INTC 72 Level 44e09000.serial
    160: 425 INTC 70 Level 44e0b000.i2c
    161: 15619 INTC 64 Level mmc1
    162: 8544 INTC 28 Level mmc0
    164: 0 INTC 77 Level wkup_m3
    170: 0 INTC 75 Level rtc0
    171: 0 INTC 76 Level rtc0
    173: 0 INTC 41 Level 4a100000.ethernet
    174: 0 INTC 42 Level 4a100000.ethernet
    176: 13244 INTC 36 Level tilcdc
    177: 0 INTC 16 Level TI-am335x-tsc
    178: 0 INTC 109 Level 53100000.sham
    180: 0 INTC 82 Level 4803c000.mcasp_tx
    181: 0 INTC 83 Level 4803c000.mcasp_rx
    182: 0 INTC 111 Level 48310000.rng
    185: 1 INTC 19 Level musb-hdrc.1.auto
    186: 0 INTC 17 Level 47400000.dma-controller
    Err: 0
    root@am335x-evm:~# cd /usr/share/wl18xx/
    root@am335x-evm:/usr/share/wl18xx# ./ap_start.sh
    Configuration file: /usr/share/wl18xx/hostapd.conf
    Line 12: DEPRECATED: 'dump_file' configuration variable is not used anymore
    [ 254.966527] wlcore: down
    Using interface wlan0 with hwaddr f4:b8:5e:26:72:a8 and ssid "TBOX"
    [ 255.017445] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    wlan0: interface state UNINITIALIZED->ENABLED
    wlan0: AP-ENABLED

    root@am335x-evm:/usr/share/wl18xx# cat /proc/interrupts
    CPU0
    16: 21184 INTC 68 Level gp_timer
    19: 1 INTC 78 Level wkup_m3_txev
    20: 12929 INTC 12 Level 49000000.edma_ccint
    22: 41 INTC 14 Level 49000000.edma_ccerrint
    26: 19 INTC 96 Level 44e07000.gpio
    33: 0 44e07000.gpio 6 Edge 48060000.mmc cd
    49: 19 44e07000.gpio 22 Edge wl18xx
    57: 0 44e07000.gpio 30 Edge button2
    59: 0 INTC 98 Level 4804c000.gpio
    92: 1 INTC 32 Level 481ac000.gpio
    95: 1 481ac000.gpio 2 Edge button1
    96: 1 481ac000.gpio 3 Edge button0
    98: 1 481ac000.gpio 5 Edge button3
    125: 0 INTC 62 Level 481ae000.gpio
    158: 1237 INTC 72 Level 44e09000.serial
    160: 477 INTC 70 Level 44e0b000.i2c
    161: 15993 INTC 64 Level mmc1
    162: 9163 INTC 28 Level mmc0
    164: 0 INTC 77 Level wkup_m3
    170: 0 INTC 75 Level rtc0
    171: 0 INTC 76 Level rtc0
    173: 0 INTC 41 Level 4a100000.ethernet
    174: 0 INTC 42 Level 4a100000.ethernet
    176: 19882 INTC 36 Level tilcdc
    177: 0 INTC 16 Level TI-am335x-tsc
    178: 0 INTC 109 Level 53100000.sham
    180: 0 INTC 82 Level 4803c000.mcasp_tx
    181: 0 INTC 83 Level 4803c000.mcasp_rx
    182: 0 INTC 111 Level 48310000.rng
    185: 1 INTC 19 Level musb-hdrc.1.auto
    186: 0 INTC 17 Level 47400000.dma-controller
    Err: 0
    root@am335x-evm:/usr/share/wl18xx# cat /proc/interrupts
    CPU0
    16: 21460 INTC 68 Level gp_timer
    19: 1 INTC 78 Level wkup_m3_txev
    20: 12936 INTC 12 Level 49000000.edma_ccint
    22: 41 INTC 14 Level 49000000.edma_ccerrint
    26: 19 INTC 96 Level 44e07000.gpio
    33: 0 44e07000.gpio 6 Edge 48060000.mmc cd
    49: 19 44e07000.gpio 22 Edge wl18xx
    57: 0 44e07000.gpio 30 Edge button2
    59: 0 INTC 98 Level 4804c000.gpio
    92: 1 INTC 32 Level 481ac000.gpio
    95: 1 481ac000.gpio 2 Edge button1
    96: 1 481ac000.gpio 3 Edge button0
    98: 1 481ac000.gpio 5 Edge button3
    125: 0 INTC 62 Level 481ae000.gpio
    158: 1256 INTC 72 Level 44e09000.serial
    160: 481 INTC 70 Level 44e0b000.i2c
    161: 16003 INTC 64 Level mmc1
    162: 9163 INTC 28 Level mmc0
    164: 0 INTC 77 Level wkup_m3
    170: 0 INTC 75 Level rtc0
    171: 0 INTC 76 Level rtc0
    173: 0 INTC 41 Level 4a100000.ethernet
    174: 0 INTC 42 Level 4a100000.ethernet
    176: 20243 INTC 36 Level tilcdc
    177: 0 INTC 16 Level TI-am335x-tsc
    178: 0 INTC 109 Level 53100000.sham
    180: 0 INTC 82 Level 4803c000.mcasp_tx
    181: 0 INTC 83 Level 4803c000.mcasp_rx
    182: 0 INTC 111 Level 48310000.rng
    185: 1 INTC 19 Level musb-hdrc.1.auto
    186: 0 INTC 17 Level 47400000.dma-controller
    Err: 0
    root@am335x-evm:/usr/share/wl18xx# cat /proc/interrupts
    CPU0
    16: 21991 INTC 68 Level gp_timer
    19: 1 INTC 78 Level wkup_m3_txev
    20: 12946 INTC 12 Level 49000000.edma_ccint
    22: 41 INTC 14 Level 49000000.edma_ccerrint
    26: 19 INTC 96 Level 44e07000.gpio
    33: 0 44e07000.gpio 6 Edge 48060000.mmc cd
    49: 19 44e07000.gpio 22 Edge wl18xx
    57: 0 44e07000.gpio 30 Edge button2
    59: 0 INTC 98 Level 4804c000.gpio
    92: 1 INTC 32 Level 481ac000.gpio
    95: 1 481ac000.gpio 2 Edge button1
    96: 1 481ac000.gpio 3 Edge button0
    98: 1 481ac000.gpio 5 Edge button3
    125: 0 INTC 62 Level 481ae000.gpio
    158: 1267 INTC 72 Level 44e09000.serial
    160: 485 INTC 70 Level 44e0b000.i2c
    161: 16023 INTC 64 Level mmc1
    162: 9163 INTC 28 Level mmc0
    164: 0 INTC 77 Level wkup_m3
    170: 0 INTC 75 Level rtc0
    171: 0 INTC 76 Level rtc0
    173: 0 INTC 41 Level 4a100000.ethernet
    174: 0 INTC 42 Level 4a100000.ethernet
    176: 20969 INTC 36 Level tilcdc
    177: 0 INTC 16 Level TI-am335x-tsc
    178: 0 INTC 109 Level 53100000.sham
    180: 0 INTC 82 Level 4803c000.mcasp_tx
    181: 0 INTC 83 Level 4803c000.mcasp_rx
    182: 0 INTC 111 Level 48310000.rng
    185: 1 INTC 19 Level musb-hdrc.1.auto
    186: 0 INTC 17 Level 47400000.dma-controller
    Err: 0



    Thanks
    veeranjaneyulu
  • Hi iain

    we got below logs.while disabling elp power mode.

    root@am335x-evm:~# echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth
    root@am335x-evm:~# ifconfig wlan0 down
    root@am335x-evm:~# ifconfig wlan0 up
    [  406.905956] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  407.015371] wlcore: firmware booted (Rev 8.9.0.0.48)
    [  407.059317] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    root@am335x-evm:~# ifconfig wlan0 down
    [  410.461234] wlcore: down
    root@am335x-evm:~# ifconfig wlan0 up
    [  415.947139] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  416.054062] wlcore: firmware booted (Rev 8.9.0.0.48)
    [  416.094289] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    root@am335x-evm:~# ifconfig wlan0 down
    [  419.701308] wlcore: down
    root@am335x-evm:~# ifconfig wlan0 up
    [  509.667871] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  509.768925] wlcore: firmware booted (Rev 8.9.0.0.48)
    [  509.812777] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    root@am335x-evm:~# ifconfig wlan0 down
    [  511.371174] wlcore: down
    root@am335x-evm:~# ifconfig wlan0 down
    root@am335x-evm:~# ifconfig wlan0 up
    [  522.956400] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  523.065259] wlcore: firmware booted (Rev 8.9.0.0.48)
    [  523.106896] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    root@am335x-evm:~# ifconfig wlan0 down
    [  525.918842] wlcore: down
    root@am335x-evm:~# cd /usr/share/wl18xx/
    root@am335x-evm:/usr/share/wl18xx# ./ap_start.sh
    Configuration file: /usr/share/wl18xx/hostapd.conf
    Line 12: DEPRECATED: 'dump_file' configuration variable is not used anymore
    [  545.347054] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  545.452652] wlcore: firmware booted (Rev 8.9.0.0.48)
    [  545.493597] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Using interface wlan0 with hwaddr f4:b8:5e:26:72:a8 and ssid "TBOX"
    [  546.017810] wlcore: ERROR ELP wakeup timeout!
    [  546.022263] ------------[ cut here ]------------
    [  546.027624] WARNING: CPU: 0 PID: 973 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore]()
    [  546.052918] Modules linked in: pvrsrvkm(O) xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo usb_f_mass_storage usb_f_rndis u_ether libcomposite col
    [  546.098292] CPU: 0 PID: 973 Comm: hostapd Tainted: G        W  O    4.4.12-g3639bea54a #2
    [  546.106525] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  546.118007] Backtrace:
    [  546.120588] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
    [  546.140621]  r7:bf17c094 r6:0000032b r5:00000009 r4:00000000
    [  546.146475] [<c00136c4>] (show_stack) from [<c0299b28>] (dump_stack+0x24/0x28)
    [  546.164902] [<c0299b04>] (dump_stack) from [<c003284c>] (warn_slowpath_common+0x88/0xb4)
    [  546.173413] [<c00327c4>] (warn_slowpath_common) from [<c003291c>] (warn_slowpath_null+0x24/0x2c)
    [  546.187891]  r8:00000000 r7:00005fe7 r6:00000000 r5:c09c3440 r4:cf534c20
    [  546.195122] [<c00328f8>] (warn_slowpath_null) from [<bf17c094>] (wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore])
    [  546.217401] [<bf17c028>] (wl12xx_queue_recovery_work.part.9 [wlcore]) from [<bf17e574>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [  546.230331]  r5:c09c3440 r4:cf534c20
    [  546.234332] [<bf17e558>] (wl12xx_queue_recovery_work [wlcore]) from [<bf187f14>] (wl1271_ps_elp_wakeup+0x120/0x25c [wlcore])
    [  546.252535] [<bf187df4>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf179470>] (wl1271_op_config+0x5c/0x140 [wlcore])
    [  546.273962]  r10:00000000 r9:cf435c18 r8:cf534a54 r7:cf534c58 r6:cf5343c0 r5:cf534c20
    [  546.282158]  r4:00000100
    [  546.285628] [<bf179414>] (wl1271_op_config [wlcore]) from [<bf10b538>] (ieee80211_hw_config+0x58/0x280 [mac80211])
    [  546.301953]  r9:cf435c18 r8:cf534a54 r7:00000100 r6:cc220e00 r5:cf5343c0 r4:cf5343c0
    [  546.313510] [<bf10b4e0>] (ieee80211_hw_config [mac80211]) from [<bf138a7c>] (ieee80211_add_chanctx+0x8c/0xbc [mac80211])
    [  546.329148]  r8:cf534a54 r7:cf5343c0 r6:cc220e00 r5:cf5343c0 r4:cf5343c0
    [  546.336415] [<bf1389f0>] (ieee80211_add_chanctx [mac80211]) from [<bf1390ac>] (ieee80211_new_chanctx+0x28/0x68 [mac80211])
    [  546.351823]  r7:cf5343c0 r6:cf534a5c r5:cf5343c0 r4:cc220e00
    [  546.360396] [<bf139084>] (ieee80211_new_chanctx [mac80211]) from [<bf13ae84>] (ieee80211_vif_use_channel+0x1e8/0x258 [mac80211])
    [  546.374811]  r7:cf5343c0 r6:cf534a5c r5:cf4f8480 r4:cf534a54
    [  546.381220] [<bf13ac9c>] (ieee80211_vif_use_channel [mac80211]) from [<bf1242c0>] (ieee80211_start_ap+0x7c/0x358 [mac80211])
    [  546.396806]  r10:cf4f84a8 r9:cf534160 r8:cf435c18 r7:cf435c18 r6:cf4f8480 r5:cf534980
    [  546.404887]  r4:cf4f8000 r3:cf5343c0
    [  546.411562] [<bf124244>] (ieee80211_start_ap [mac80211]) from [<bf0d7d30>] (nl80211_start_ap+0x2ac/0x3d0 [cfg80211])
    [  546.426318]  r10:cf4f84a8 r9:cf534160 r8:cf435c18 r7:cf4f8000 r6:cf534000 r5:cf4f8488
    [  546.434732]  r4:cf435cf4
    [  546.437549] [<bf0d7a84>] (nl80211_start_ap [cfg80211]) from [<c061c894>] (genl_rcv_msg+0x230/0x3a8)
    wlan0: interface state UNINITIALIZED->ENABLED
    wlan0: AP-ENABLED
    [  546.452587]  r10:cc362c00 r9:00000014 r8:00000000 r7:bf0e9a80 r6:cc042240 r5:cc00a200
    [  546.452592]  r4:bf0eb654
    [  546.452623] [<c061c664>] (genl_rcv_msg) from [<c061bbc8>] (netlink_rcv_skb+0xa8/0xc4)
    [  546.452637]  r10:00000000 r9:00000000 r8:00000000 r7:cc042240 r6:cc042240 r5:c061c664
    [  546.452641]  r4:cc00a200
    [  546.452652] [<c061bb20>] (netlink_rcv_skb) from [<c061c654>] (genl_rcv+0x2c/0x3c)
    [  546.452662]  r7:cc042240 r6:cf7a7000 r5:cc042240 r4:c09f6320
    [  546.452673] [<c061c628>] (genl_rcv) from [<c061b550>] (netlink_unicast+0x164/0x20c)
    [  546.452679]  r5:0000010c r4:cf159800

    [  546.452690] [<c061b3ec>] (netlink_unicast) from [<c061b948>] (netlink_sendmsg+0x27c/0x338)
    root@am335x-evm:/usr/share/wl18xx# [  546.452702]  r8:0000010c r7:00000008 r6:cc042240 r5:cf7a7000 r4:cf435f4c
    [  546.452722] [<c061b6cc>] (netlink_sendmsg) from [<c05d7c80>] (sock_sendmsg+0x1c/0x2c)
    [  546.452736]  r10:00000000 r9:cf435e28 r8:00000000 r7:ccc9b300 r6:00000000 r5:00000000
    [  546.452740]  r4:cf435f4c
    [  546.452751] [<c05d7c64>] (sock_sendmsg) from [<c05d82b4>] (___sys_sendmsg+0x1f4/0x1fc)
    [  546.452765] [<c05d80c0>] (___sys_sendmsg) from [<c05d9070>] (__sys_sendmsg+0x44/0x70)
    [  546.452778]  r10:00000000 r9:cf434000 r8:c000fbc4 r7:00000128 r6:ccc9b300 r5:00000000
    [  546.452783]  r4:be95a794
    [  546.452794] [<c05d902c>] (__sys_sendmsg) from [<c05d90ac>] (SyS_sendmsg+0x10/0x14)
    [  546.452802]  r6:0009d6c8 r5:000a14d8 r4:0009d740
    [  546.452822] [<c05d909c>] (SyS_sendmsg) from [<c000fa00>] (ret_fast_syscall+0x0/0x3c)
    [  546.452829] ---[ end trace f7df88c7ea1fd916 ]---
    [  546.452883] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
    [  546.452890] ------------[ cut here ]------------
    [  546.453128] WARNING: CPU: 0 PID: 884 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x47c [wlcore]()
    [  546.453229] Modules linked in: pvrsrvkm(O) xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo usb_f_mass_storage usb_f_rndis u_ether libcomposite col
    [  546.453244] CPU: 0 PID: 884 Comm: kworker/u2:2 Tainted: G        W  O    4.4.12-g3639bea54a #2
    [  546.453248] Hardware name: Generic AM33XX (Flattened Device Tree)
    [  546.453342] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [  546.453348] Backtrace:
    [  546.453373] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
    [  546.453384]  r7:bf184144 r6:00000041 r5:00000009 r4:00000000
    [  546.453405] [<c00136c4>] (show_stack) from [<c0299b28>] (dump_stack+0x24/0x28)
    [  546.453425] [<c0299b04>] (dump_stack) from [<c003284c>] (warn_slowpath_common+0x88/0xb4)
    [  546.453436] [<c00327c4>] (warn_slowpath_common) from [<c003291c>] (warn_slowpath_null+0x24/0x2c)
    [  546.453449]  r8:cf002800 r7:cc00ed00 r6:bf198e00 r5:bf1bb068 r4:cf534c20
    [  546.453532] [<c00328f8>] (warn_slowpath_null) from [<bf184144>] (wlcore_set_partition+0xa4/0x47c [wlcore])
    [  546.453664] [<bf1840a0>] (wlcore_set_partition [wlcore]) from [<bf17b9f0>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
    [  546.453673]  r6:cf534c58 r5:cf534c20 r4:cf534ebc
    [  546.453744] [<bf17b97c>] (wl1271_recovery_work [wlcore]) from [<c0048028>] (process_one_work+0x138/0x424)
    [  546.453759]  r10:cc672c00 r9:00000001 r8:cf002800 r7:cc00ed00 r6:00000000 r5:cc672c00
    [  546.453764]  r4:cf534ebc
    [  546.453774] [<c0047ef0>] (process_one_work) from [<c0048390>] (worker_thread+0x7c/0x648)
    [  546.453788]  r10:cc672c00 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cc672c18
    [  546.453792]  r4:cf002800
    [  546.453809] [<c0048314>] (worker_thread) from [<c004de0c>] (kthread+0xdc/0xf4)
    [  546.453823]  r10:00000000 r9:00000000 r8:00000000 r7:c0048314 r6:cc672c00 r5:cc3db340
    [  546.453827]  r4:00000000
    [  546.453838] [<c004dd30>] (kthread) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
    [  546.453849]  r7:00000000 r6:00000000 r5:c004dd30 r4:cc3db340
    [  546.453853] ---[ end trace f7df88c7ea1fd917 ]---
    [  546.453874] wlcore: down
    [  546.455166] ieee80211 phy0: Hardware restart was requested
    [  547.359242] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [  547.471475] wlcore: firmware booted (Rev 8.9.0.0.48)
    [  547.497709] IPv6: ADDRCON

  • Hi Veera,
    It could be a hw problem. The ELP wakeup error just means that the wl18xx did not respond to the host within a time limit.
    Can you check Vbat voltage while running tests. It should be powered by a rail with at least 750mA capability to handle the short term calibration step. Also check that the 32k and fast clock are stable and within spec.
    Iain
  • Hi Iain Hunter,

    Thanks for your reply.Ok we can check hardware.we have two custom boards.one is getting ELP wakeup issue.reason is interrupt at ifconfig wlan0 down stage interrupt is always high not low ,thats why we are getting ELP error.

        other board we checked ifconfig wlan0 down at that time interrupt pulse come and always low.this board we are not getting ELP power issue.Thanks .As per data sheet this the power sequence.But we are not getting signal consistency.whats the reason? we got .INI file from jorjin .That one also used but no use.still we are facing periodic signal loss issue.

  • Hi Iain

    Still we are facing signal inconsistency.we compiled with compact drivers source also install modules on target board.we got same issue.so reason is drivers side ok both main line kernel-4.4.12 and compact drivers source Version R8.7 may be right? But we observe firmware differences .that list mentioned below please find below.

    why the firmware version older than compact drivers firmware?

    Mainline(inside) Kernel:
    
    firmware version: Rev 8.2.0.0.232
    firmware booted (Rev 8.9.0.0.48)
    
    Compact driver:
     version = R8.7_SP1
    firmware version: Rev 8.2.0.0.236
    firmware booted (Rev 8.9.0.0.69)


    Please can you help me this issue.

    Thanks & Regards
    veeranjaneyulu


  • Couple of questions:

    1. After the interface is brought up and you type:

    cat /proc/interrupts | grep wl18xx


    Do you see any interrupts for wl18xx.

    2. In case you are able to pass traffic using the wlan0 interface and the crash is seen randomly, can you try lowering the sdio bus clock (to something like 10Mhz) and see if it helps? In case it does, you may have some hardware issue with your sdio bus on you target hardware.

    Best Regards,

    Eyal

  • Hi Eyal,

    Thanks for your reply.

    1.yes we saw the interrupts  after brought up the wifi modules.

    2.Ya crashing issue due to irq signal we are getting.That one solved but we are not getting iw wlan0 scan list.and we start ap_start.sh script .But we got ssid ,we observer beacon signal on my android wifi analyzer app.signal loss is there .After run the ap_start.sh we got ssid signal of ap mode one minute delay.than signal is coming and down.we are not getting the signal continuously.

    3.we are using jorjin wifi module WG7833-B0.we are using WG7833-B0.INI file .still issue not fixed.can any body tried

    4.One more doubt ti wifi module driver version R8.7 and R8.7_SP1

    Thanks & Regards

    veeranjaneyulu

  • Hi,

    1. Have you already followed the following document for configuration of the WLAN device?:
    www.ti.com/.../swra489.pdf

    2. If you switch to station mode instead of AP and you run scan what is the output you are getting for the APs that are seen? How is thesignal level for APs that are close by?

    BR,
    Eyal
  • Hi,
    if we run after loading the modules
    iw wlan0 scan ===> we got AP's one time only .
    Again reboot the target board and checked
    #iw wlan0 scan===> nothing showing

    Whats the reason?
    Thanks & Regards
    veeranjaneyulu
  • Something must be wrong with your device configuration.

    Please make sure you follow "First Time System Configuration Script" section of:
    www.ti.com/.../swra489.pdf

    before running the script, please copy your ini file "WG7833-B0.INI" into:
    wlconf/official_inis

    and save it as:
    wlconf/official_inis/WL8_COB_INI.ini

    Then when you run the script, please select "no" when asked if you are using a TI module (as you are using a Jorgin module, right?)

    Then select the number of asembled antennas etc and after it finish, reboot the board and try scanning again.
    Please post the full boot log/scan results in case it still doesn't work.

    BR,
    Eyal
  • yes we are using jorjin module.we copied their wl18xx-conf.bin into /lib/firmware/ti-connectivity/ path .Tried also jorjin people tested on their evm board .That is working .But on my custom board signal loss issue.

    logs mentioned below

    am335x-evm login: root
    root@am335x-evm:~# lsmod | grep wl
    wl18xx 92712 0
    wlcore 219421 1 wl18xx
    mac80211 486098 2 wl18xx,wlcore
    cfg80211 224602 3 mac80211,wl18xx,wlcore
    wlcore_sdio 8190 0
    compat 2337 4 cfg80211,mac80211,wl18xx,wlcore_sdio
    root@am335x-evm:~# dmesg | grep wl
    [ 18.588832] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 18.756827] wlcore: loaded
    [ 18.778080] wlcore: driver version: R8.7_SP1
    [ 19.562873] wlcore: PHY firmware version: Rev 8.2.0.0.236
    [ 19.711882] wlcore: firmware booted (Rev 8.9.0.0.69)
    [ 19.765057] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    root@am335x-evm:~# cd /usr/sbin/wlconf/
    root@am335x-evm:/usr/sbin/wlconf# ls
    +100 dictionary.txt struct.bin
    README example.conf wl18xx-conf-default.bin
    configure-device.sh example.ini wl18xx-conf-dump.txt
    default.conf official_inis wlconf
    root@am335x-evm:/usr/sbin/wlconf# ./configure-device.sh

    Please provide the following information.

    Are you using a TI module? [y/n] : n
    What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] : 183H
    Please enter 1801/1805/1807/1831/1835/1837 or 0 for unknown.
    What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] :
    Please enter 1801/1805/1807/1831/1835/1837 or 0 for unknown.
    What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] : 1835
    How many 2.4GHz antennas are fitted? [1/2] : 1
    Should SISO40 support be applied? [y/n] : y
    [ 95.348213] wlcore: down

    The device has been successfully configured.
    TI Module: n
    Chip Flavor: 1835
    Number of 2.4GHz Antennas Fitted: 1
    Number of 5GHz Antennas Fitted: 0
    Diversity Support: n
    SISO40 Support: y
    Japanese Standards Applied: n

    root@am335x-evm:/usr/sbin/wlconf# [ 96.519716] wlcore: wl18xx HW: 183x or 180)
    [ 96.574084] wlcore: loaded
    [ 96.576969] wlcore: driver version: R8.7_SP1
    [ 97.347866] wlcore: PHY firmware version: Rev 8.2.0.0.236
    [ 97.422423] wlcore: firmware booted (Rev 8.9.0.0.69)
    [ 97.475469] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

    root@am335x-evm:/usr/sbin/wlconf#
    root@am335x-evm:/usr/sbin/wlconf# sync
    root@am335x-evm:/usr/sbin/wlconf# sync
    root@am335x-evm:/usr/sbin/wlconf#



    Arago 2016.05 am335x-evm ttyS0

    am335x-evm login: root
    root@am335x-evm:~# cd /usr/share/wl18xx/
    root@am335x-evm:/usr/share/wl18xx# ./ap_start.sh
    Configuration file: /usr/share/wl18xx/hostapd.conf
    [ 49.885046] wlcore: down
    Using interface wlan0 with hwaddr f4:b8:5e:26:81:3a and ssid "TBOX"
    [ 49.936005] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    wlan0: interface state UNINITIALIZED->ENABLED
    wlan0: AP-ENABLED

    root@am335x-evm:/usr/share/wl18xx# cat /proc/interrupts
    CPU0
    16: 5544 INTC 68 Level gp_timer
    19: 1 INTC 78 Level wkup_m3_txev
    20: 6633 INTC 12 Level 49000000.edma_ccint
    22: 62 INTC 14 Level 49000000.edma_ccerrint
    26: 7 INTC 96 Level 44e07000.gpio
    33: 0 44e07000.gpio 6 Edge 48060000.mmc cd
    49: 7 44e07000.gpio 22 Level wl18xx
    57: 0 44e07000.gpio 30 Edge button2
    59: 0 INTC 98 Level 4804c000.gpio
    92: 1 INTC 32 Level 481ac000.gpio
    95: 1 481ac000.gpio 2 Edge button1
    96: 1 481ac000.gpio 3 Edge button0
    98: 1 481ac000.gpio 5 Edge button3
    125: 0 INTC 62 Level 481ae000.gpio
    158: 541 INTC 72 Level 44e09000.serial
    160: 357 INTC 70 Level 44e0b000.i2c
    161: 14493 INTC 64 Level mmc1
    162: 2260 INTC 28 Level mmc0
    164: 0 INTC 77 Level wkup_m3
    170: 0 INTC 75 Level rtc0
    171: 0 INTC 76 Level rtc0
    173: 0 INTC 41 Level 4a100000.ethernet
    174: 0 INTC 42 Level 4a100000.ethernet
    176: 5378 INTC 36 Level tilcdc
    177: 0 INTC 16 Level TI-am335x-tsc
    178: 0 INTC 109 Level 53100000.sham
    180: 0 INTC 82 Level 4803c000.mcasp_tx
    181: 0 INTC 83 Level 4803c000.mcasp_rx
    182: 0 INTC 111 Level 48310000.rng
    185: 0 INTC 18 Level musb-hdrc.1.auto
    186: 41 INTC 19 Level musb-hdrc.2.auto
    187: 0 INTC 17 Level 47400000.dma-controller
    Err: 0
    root@am335x-evm:/usr/share/wl18xx# cat /proc/interrupts | grep wl
    49: 7 44e07000.gpio 22 Level wl18xx
    root@am335x-evm:/usr/share/wl18xx# cd ../../sbin/wlconf/official_inis/
    root@am335x-evm:/usr/sbin/wlconf/official_inis# ls
    WG7833-B0A_INI_rev1.ini WL1837MOD_INI_FCC_CE_JP.ini
    WL1835MOD_INI.ini WL8_COB_INI.ini
    WL1837MOD_INI_FCC_CE.ini WL8_TESTING_INI.ini
    root@am335x-evm:/usr/sbin/wlconf/official_inis#
    root@am335x-evm:/usr/sbin/wlconf/official_inis#
    root@am335x-evm:/usr/sbin/wlconf/official_inis#
    root@am335x-evm:/usr/sbin/wlconf/official_inis# cat /proc/interrupts | grep wl
    49: 7 44e07000.gpio 22 Level wl18xx
    root@am335x-evm:/usr/sbin/wlconf/official_inis#
    pm_debug/ wakeup_sources
    phy0/wlcore/driver_state /wlconf/official_inis# cat /sys/kernel/debug/ieee80211
    version = R8.7_SP1
    channel = 5 (AP)
    tx_blocks_available = 44
    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 = 0x19
    tx_blocks_freed = 0
    rx_counter = 0
    state = 2
    band = 0
    power_level = 0
    sg_enabled = 1
    enable_11a = 0
    noise = 0
    ap_fw_ps_map = 0x0
    ap_ps_map = 0x0
    quirks = 0xe8c
    irq = 0x31
    hw_pg_ver = 0x2
    irq_flags = 0x2004
    chip.id = 0x6030111
    chip.fw_ver_str = Rev 8.9.0.0.69
    chip.phy_fw_ver_str = Rev 8.2.0.0.236
    recovery_count = 0
    root@am335x-evm:/usr/sbin/wlconf/official_inis#

    am335x-evm login: root
    root@am335x-evm:~# iw wlan0 scan
    root@am335x-evm:~# cat /proc/interrupts | grep wl
    49: 4 44e07000.gpio 22 Level wl18xx
  • Hi,

    Can you please use this firmware instead (from R8.7_SP1) and see if it helps?

    git.ti.com/.../R8.7_SP1

    BR,
    Eyal
  • Hi Eyal
    we tried with the new firmware also we got below logs. we are not getting any AP modes ssid and details.

    am335x-evm login: root
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# lsmod | grep wl
    wl18xx 92712 0
    wlcore 219421 1 wl18xx
    mac80211 486098 2 wl18xx,wlcore
    cfg80211 224602 3 mac80211,wl18xx,wlcore
    wlcore_sdio 8190 0
    compat 2337 4 cfg80211,mac80211,wl18xx,wlcore_sdio
    root@am335x-evm:~# dmesg | grep wl
    [ 23.619007] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 23.692334] wlcore: loaded
    [ 23.695129] wlcore: driver version: R8.7_SP1
    [ 26.497960] wlcore: PHY firmware version: Rev 8.2.0.0.237
    [ 26.628044] wlcore: firmware booted (Rev 8.9.0.0.70)
    [ 26.725005] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    root@am335x-evm:~# iw wlan0 scan
    root@am335x-evm:~# cat /proc/interrupts | wl_logproxy
    Usage: ./logProxy [listen port] [log file] [backup directory]
    root@am335x-evm:~#
    root@am335x-evm:~# cat /proc/interrupts | grep wl
    49: 4 44e07000.gpio 22 Level wl18xx
  • Hi,

    I currently see that you got only 4 interrupts from wl18xx.

    49: 4 44e07000.gpio 22 Level wl18xx

    If you run the scan command again without rebooting, does this number increase?

    BR
    Eyal
  • Again we run iw wlan0 scan interrupt will increase +3
  • Hi,

    Can you run the calibrator tx test and verify transmit powers? It all look module/antennas related.

    BR

    Eyal

  • Hi

    we attached my signal loss picture below link please go through the link give me idea.

    e2e.ti.com/.../533966

  • �����"�����<�#��SO� ��5��I�ƫEHë<�5�O��`��D�1M�U��JP��v�"Fs�
    
    ��GL�$�X�H!��8BY�=��sM�����M��M�����]3�����N������L_9���EH������L
    �
    ��� 5�t�`�m�O��BY�|�1M����J�����"F��
    
    �^GL�kX�Hh�BY���sM�������MO��]3����N����Lp�	EH�,�L
    �
    �< 5��a��O��BY��1M���J���"F�
    
    ��GL��X�H�BY��sM������MO�J]3��o�Nm�|�L���EH����L
    �
    �� 5�<c�:O��BY�I1M�[�JV�y"Fv
    
    ��:GL��:X�H�:tBY��:�sM������:�MO�-;]3��S;�NP;�_;�L�n;EHk;��;�L
    �
    ��; 5	�;c�<O��BY�,<1M�><�J9<�\<"FY<
    
    
    �XGL�!XX�HX�BY�;X�sM�����KX�MO��X]3���X�N�X��X�Lw��XEH�X��X�L
    �
    ��X 5�sXc�qYO��BY��Y1M��Y�J�Y��Y"F�Y
    
    ��tGL��tX�H�tfBY�u�sM����� u�MO�Vu]3��|u�Nyu��u�L���uEH�u��u�L
    �
    ��u 5
    �Huc�FvO��BY�Uv1M�gv�Jbv��v"F�v
    
    �ɒGL�גX�HԒrBY���sM�������MO�7�]3��]��NZ��i��L�x�EHu�����L
    �
    ��� 5�)�c�'�O��BY�6�1M�H��JC��f�"Fc�
    
    ����H
    ����OK���
    �_��0��sM	�����?��MO�u�]3�����N	������L	b�ı�L
    �
    �ձ 5�h�M���s�����������I��ϵ�������5����h����s�I���������I�������I������'�I��X����c�I������	���I�	�з��
    �۷I�
    ������I��H����S�I������
    ���I�
    ������˸I��������I��8����C�I��t�����I���������I��������I��(����3�I��d����o�I���������I��ܺ����I������#�I��T����_�I��������û��2�����d��I��2��� �=�I��o���Ȁz�I������Ȁ޼�� ����!�D���"�w���#�����$�޽��%<����&��E���'��y���(������)�߾��*����+�E���,
    �x���-
    �����.�޿��/��I�/����0�M���1�����2
    ���I�2�����3�����4�"���5�-�I�5�^���6�i�I�6�����7�����8����9�3���:�>�I�:�o���;�z�I�;�����<���I�<�����=����>�M���?�����@�����A�����B���s������������������s���<���s���7���s������s���'���s������s���(�����������������s���@��k���
    s�4�.s�,B�<C'��IO���W[��dAm�����X���X'��X����js��j��ks��kA��ls��l��ms��m��m!�
    
    �os�o�o!�
    
    �Gps�Dp�Tp!�
    
    ��s�ߐ?��s�����s���+�s�)��+�s�)��k�s�i�+�v�s�t���������s���!�K�s�I�>�W�S�1	�X�s�U��^�s�[�	�c�s�`��h�s�f�	�n�s�k��t�s�q�	�y�s�w��~�s�|�	�2�s�0�C���s���,���s���.���@��?@'�m�s�j��y����{�s�x����s�~��8�s�6��@�s�>�	�M�s�J��R�s�P�	�\�s�Y��^�s�\�	�g�s�e��m�s�k�	���s�������P5��9=4�����6�s��6�?�eG���bG�(�pG�-}�{G��C}�@ @@ ��G�O}���G�:e}�h�ha��G����p����o�'�p����Yq�s�Yq��kr�s�kr���s�s��s���s�@!�
    
    ��Q��s�P���^��!�
    
    �l��s�k���y���!�
    
    ����s������!�
    
    ���<��s�<���I���!�
    
    ������s���������!�
    
    �����s���Y�����-�	��!.�9��s�9��:�K��s�K��=�W�����k��s�j���x��������s����!����s����>���S�1	���s����f��s�f��	����s�����찊s�찊	���s������s���	�F��s�F������s����	�ζ�s�Ͷ�C�$����"���1������������������
    ����������������������������	�'d<���������s������s���.���@��?@'��s����������s�����N��s�M������s�����
    �s�	�	�/�s�/��q�s�q�	��s���=�s�<�	���s����� �s�� �	�V�s�V�=�V���ȀX ���V ��d ���"��(�s��(���(�@!�
    
    ��"*�s�!*��.*�!�
    
    �;,�s�:,��H,��!�
    
    ����2�s��2���2��!�
    
    ���F8�s�F8��S8��!�
    
    ���n9�s�m9��{9��!�
    
    ���RG���PG��^G����S����S���S����T����T���T����W����W���W���X�	�'d<�X����ZY�s�YY���Z����Z���Z����Z���%��Z����Z�	�%D��Z�����1\���.\��=\��
    �G\���&�Q\���[\�	�&J�m\���
    ��\d���Yd��hd���sd���%�|d����d�	�%D��d�Y�%��d�����zg���wg���g��
    ��g���&��g����g�	�&J��g�m�&��g���
    ���h����h�)��h�q����i�3��%i�<O��������9i�%K7i��Hi�!JEi��si�����i��9}i���i�����i��9�i���i����!j�y��Xj��Y����������nj�Q-lj��{j���xj���j����j����j�U��j����j���j���j�٨�j���j����j����j����j���k���k���$m�EH!m�<��m�O��f���m�1M��m��J�m���m�#F�m�
    
    ��ь�H�ьd��ь�K��ь�sM������ь�M���cҌ]3���Ҍ�N
    �Ҍ��Ҍ�L
    �d��Ҍ�L
    �
    ��Ҍ05�*Ҍ~��ҌA���Ԍa���Ԍ@� N�c֌@�'��،�C���،�A2Tv����،�B2Tv��،�@��،
    SH��:�&^��،�H�ٌ?�H���:�&^��$ٌJ�-ٌ8��ٌF�ٌ��)����)�'��)�����+�s��+�A��-�s��-��=/�s�=/��J/�!�
    
    ��1�s��1���1�!�
    
    ��2�s��2���2�!�
    
    �c5�s�b5�?��6�s��6��j9�s�j9��~:�s�}:���<�s��<���=�s��=�+��C�s��C���C�����D�s��D�!�*G�s�*G�>�6G�S�1	�EH�s�EH���J�s��J�	��K�s��K��CN�s�CN�	�bO�s�bO���Q�s��Q�	�	S�s�S��eU�s�dU�	��V�s��V�C�Y�s�Y�,�_Z�s�_Z�.�lZ�@��?@'��~�s��~������$��s�#���0��s�0���U��s�T���`��s�_��	�q��s�q������s����	����s��������s����	�z��s�z���Պ�s�Պ�	�H��s�G������s����?�/��s�/��?�[�s�Z�=�g����>���	��`�s�`��m�@!�
    
    ����s������!�
    
    ���s�������!�
    
    ����s���)��!�
    
    �����s�������!�
    
    �����s�������!�
    
    ���b!���`!��o!����"����"���"���4-���1-��@-���kJ���hJ��wJ����J�	�'d<��J�����K�s��K��O���	O��O���"O���%�,O���6O�	�%D�FO�Y�%�QO�����S���S��$S��
    �.S���&�8S���BS�	�&J�RS�m�&�]S���
    ���U�s��U���U����W�s�W���Y�s��Y���\�s��\��_�s�_�	��a�s��a��kb�s�kb�	��c�s��c��=f�s�<f�	�{�s�{��2|�s�2|�	�>���	 �>��	��>���	@�?:����>ʕ�	`	�?Z���
    ��j�s��j�?�Zl�s�Zl�?��o�s��o�?�>��	��>z��		�?
    ��
    �
    �>���	0�>*��	��>���	P
    �>J��	��>ڣ�	p�>j��	��L�s��L�?����s����?�>���	��>���	 �>��	��>���	@�>:��	� �?ʮ�
    `"�>Z��	�#�>��	�%�>z��	'�>
    ��	�(�>���	0*�>*��	�+�?���
    P-�>J��	�.�>ڼ�	p0�>j��	2 �>���	�3!�>���	 5"�>��	�6#�?���@8$�>:��	�9%�>���	`;&�?Z��
    �<'�>���	�>(�>z��	@)�?
    ��
    �A*�?���
    0C+�?*���D,�?���
    PF-�>J��	�G.�>���	pI/�>j��	K0�>���	�L1�@��� N2�>��	�O3�>���	@Q4�>:��	�R5�>���	`T6�>Z��	�U7�>���	�W8�>z��	Y9�>
    ��	�Z:�>���	0\;�>*��
    �]<�>���	P_=�>J��	�`>�>���	pb?�?j��
    d@�>���	�eA�>���	 gB�>��	�hC�>���	@jD�>:��
    �kE�>���	`mF�>Z��	�nG�?����pH�>z��	rI�>
    �	�sJ�>��	0uK�>*�	�vL�?��
    PxM�>J�	�yN��EH�<��]3��$�L��2�5d�C����sO�Vܓ���1M���J����F�
    d
    ��T\�H�T�@�U��TGL��T�sM������T�M�g�U]3��=U�N]<U�IU�L]�A�XUEHTU�{U�L
    �
    ��U05f��T���UA���UJ��U8�)WF&Wf�@dGL��sGL���GL�<�GL��GL���GL�4�GL���GL�>��	p{O�0�]3����GL����L�����5hh�m����1�O�hʓ�U�A�1M�S��JO��w��Ft�
    h
    ���H�@+���sM�������M���]3��:�Nb9�F�Lb�+�b�L
    �
    �r05j�����A���J��8�F
    j�>j	�	}P�>�
    �	�~Q�>��
     �R�?���S�>��	@�T�>:�	ЄU�>��	`�V�>Z�	�W�>��	��X�>z�	�Y�>
    �	��Z�>��	0�[�?*���\�>��	P�]�>J�	�^�>� �	p�_�>j"�	�`�>�#�	��a�>�%�
     �b�?'�
    ��c�?�(�
    @�d�>:*�	Нe�>�+�	`�f�>Z-�	�g�>�.�	��h�>z0�	�i�>
    2�	��j�>�3�	0�k�>*5�	��l�>�6�	P�m�>J8�	�n�>�9�	p�o�>j;�	�p�>�<�	��q�>�>�	 �r�>@�	��s�>�A�
    @�t�>:C�	жu�>�D�	`�v�>ZF�	�w�>�G�	��x�?zI�
    �y�?
    K�
    ��z�>�L�	0�{�>*N�	��|�>�O�	P�}�@JQ���~�?�R�
    p��>jT�
    ���?�U�
    ����>�W�	 ���>Y�	����>�Z�	@���?:\�
    ����>�]�	`���?Z_�
    ����>�`�	����>zb�	���?
    d�
    ����?�e�
    0���>*g�	����>�h�	P���>Jj�
    ����>�k�	p���>jm�	���?�n�
    ����?�p�
     ���>r�	����?�s�
    @���>:u�	����@�v�
    `���>Zx�	����>�y�	����>z{�	���>
    }�	����?�~�
    0���>*��	����>���	P���>J��	����>ڄ�	p���>j��	���>���	����>���	 ���>��	����>���	@��>:��
    ���?ʏ�
    `��>Z��	���>��	���>z��	��>
    ��	�	��>���	0��>*��	���>���
    P��>J��	���>ڝ�	p��>j��	��>���	���>���	 ��?�����>���	@��>:��	���>ʨ�	`��>Z��	���>��	���>z��	!��>
    ��	�"��>���	0$��>*��	�%��>���	P'��>J��
    �(��?ڶ�
    p*��>j��	,��?���
    �-��>���	 /€?��
    �0À>���	@2Ā>:��	�3ŀ>���	`5ƀ>Z��	�6ǀ?���
    �8Ȁ?z��
    :ɀ>
    ��
    �;ʀ>���	0=ˀ>*��
    �>̀>���	P@̀?J��
    �A΀>���	pCπ>j��	EЀ?����Fр>���	 HҀ>��	�IӀ?���
    @KԀ>:��	�LՀ>���	`Nր>Z��	�O׀?����Q؀>z��	Sـ>
    ��	�Tڀ?���
    0Vۀ>*��	�W܀>���	PY݀>J��	�Zހ?���
    p\߀?j��
    ^�>���	�_�>���	 a�>��	�b�>���	@d�?:��
    �e�>���	`g�?Z��
    �h�>���	�j�?z��
    l�?
    ��
    �m�?���
    0o�?*��
    �p�>���	Pr�?J�
    �s�>��	pu�?j�
    w�>��
    �x�?��
     z�>�	�{�?�	�
    @}�?:��~��?��
    `���?Z�
    ���>��	����>z�	���?
    �
    ����?��0���>*�	����?��P���>J�	���>��	p���>jC�	��>�C�	���>�C�	 ��@!C����>�"C�	@��?:$C��?�%C�
    `��>Z'C�	��>�(C�	���>z*C�	�	�?
    ,C�
    ��
    �>�-C�	0��>*/C�	���>�0C�	P�
    �?J2C���?�3C�
    p��>j5C�	��>�6C�	���>�8C�	 ��?:C�
    ���>�;C�	@��>:=C�	а�>�>C�	`��>Z@C�	��>�AC�	���>zCC�
    ��>
    EC�
    ���?�FC�0��>*HC�	���>�IC�	P��?JKC�
    ��?�LC�
    p��>jNC�	� �>�OC�	��!�>�QC�	 �"�>SC�	��#�>�TC�	@�$�>:VC�	��%�>�WC�	`�&�?ZYC�
    ��'�>�ZC�	��(�>z\C�	�)�@
    ^C���*�?�_C�0�+�?*aC���,�>�bC�
    P�-�>JdC�	��.�>�eC�	p�/�?jgC�
    �0�>�hC�	��1�>�jC�	 �2�>lC�	��3�>�mC�	@�4�>:oC�	��5�>�pC�	`�6�?ZrC�
    ��7�>�sC�	��8�>zuC�	�9�?
    wC�
    ��:�>�xC�
    0�;�>*zC�	��<�>�{C�	P�=�>J}C�	��>�>�~C�	p�?�?j�C�
    �@�>��C�	��A�>��C�	 �B�>�C�	��C�>��C�	@�D�?:�C�
    ��E�>ʉC�	`�F�>Z�C�	��G�?�C�
    �H�>z�C�	I�?
    �C�
    �J�>��C�	0K�>*�C�	�L�>��C�	PM�>J�C�	�	N�>ڗC�
    pO�>j�C�	
    P�>��C�	�Q�>��C�	 R�?�C��S�>��C�
    @T�>:�C�	�U�>ʢC�	`V�>Z�C�	�W�>�C�	�X�>z�C�	Y�>
    �C�	�Z�>��C�	0[�>*�C�	�\�?��C�
    P!]�>J�C�
    �"^�?ڰC�p$_�>j�C�	&`�>��C�
    �'a�>��C�	 )b�>�C�	�*c�>��C�	@,d�>:�C�	�-e�>ʻC�	`/f�>Z�C�	�0g�>�C�	�2h�?z�C�
    4i�>
    �C�
    �5j�?��C�
    07k�?*�C�
    �8l�>��C�	P:m�>J�C�	�;n�?��C�
    p=o�?j�C�
    ?p�?��C�
    �@q�>��C�	 Br�?�C�
    �Cs�>��C�
    @Et�>:�C�	�Fu�?��C�
    `Hv�?Z�C�
    �Iw�?��C��Kx�>z�C�
    My�?
    �C��Nz�>��C�	0P{�>*�C�	�Q|�>��C�	PS}�>J�C�	�T~�?��C�
    pV�>j�C�	X��>��C�	�Y��>��C�	 [��>�C�
    �\��?��C�@^��?:�C�
    �_��>��C�	`a��>Z�C�	�b��>��C�
    �d��>z�C�	f��>
    �C�	�g��?��C�
    0i��>*�C�	�j��>��C�	Pl��?J�C�
    �m��?��C�
    po��?j�C�
    q��>��C�	�r��>�C�	 t��>C�	�u��?�C�
    @w��>:C�	�x��?�C�
    `z��>ZC�	�{��?�	C��}��>zC�	��?
    
    C�
    ����?�C�
    0���>*C�	����?�C�P���>JC�	���>�C�	p���>jC�	���>�C�	����>�C�	 ���>C�	����>�C�	@���@:C�Б��>�C�	`���>Z!C�	���>�"C�	����>z$C�	���>
    &C�	����>�'C�	0���>*)C�	����>�*C�	P���?J,C�
    ���>�-C�	p���@j/C����@�0C�����>�2C�	 ���>4C�	����>�5C�	@���>:7C�	��?�8C�
    `���?Z:C�
    ���>�;C�	����?z=C�
    ���>
    ?C�	����>�@C�	0���?*BC�
    ����>�CC�	P���>JEC�	���>�FC�	p���>jHC�	���>�IC�
    ����>�KC�	 ���>MC�	����@�NC�@���>:PC�
    ����>�QC�	`���?ZSC�����>�TC�	����>zVC�	���?
    XC�
    ����>�YC�	0���>*[C�	����?�\C�
    P���?J^C�
    ����?�_C�p���>jaC�
    ���>�bC�	����?�dC�
     ���>fC�	����>�gC�	@���>:iC�	����>�jC�	`���?ZlC�
    ����>�mC�	����>zoC�	���>
    qC�	����>�rC�	0���>*tC�	����?�uC�
    P���>JwC�	����>�xC�	p���?jzC�
    ���>�{C�	����>�}C�	 ���>C�	����?��C�
    @���>:�C�
    ����>ʃC�	`���>Z�C�	����>�C�	����>z�C�	���>
    �C�	����?��C�
    0���>*�C�	���>��C�	P��>J�C�	���?ڑC�
    p��>j�C�	��>��C�	���>��C�	 
    ��?�C�
    ���>��C�	@
    ��>:�C�	���>ʜC�	`��>Z�C�	���>�C�	���>z�C�	��?
    �C�
    ���>��C�	0��?*�C�
    ���>��C�	P��>J�C�	���>ڪC�
    p��>j�C�	 �>��C�	�!�>��C�	 #�>�C�
    �$�>��C�	@&�>:�C�
    �'�>ʵC�	`)�>Z�C�	�*�?�C�
    �,�>z�C�	.	�>
    �C�	�/
    �>��C�	01�>*�C�	�2�>��C�	P4
    �>J�C�	�5�>��C�	p7�>j�C�	9�>��C�
    �:�@��C� <�>�C�	�=�?��C�
    @?�>:�C�	�@�?��C�
    `B�?Z�C��C�>��C�	�E�>z�C�	G�>
    �C�	�H�>��C�	0J�>*�C�	�K�>��C�	PM�>J�C�	�N�?��C�
    pP�>j�C�	R �?��C�
    �S!�@��C� U"�>�C�	�V#�>��C�	@X$�?:�C��Y%�?��C�
    `[&�?Z�C��\'�>��C�	�^(�?z�C�
    `)�>
    �C�	�a*�>��C�	0c+�>*�C�	�d,�?��C�Pf-�?J�C�
    �g.�>��C�	pi/�>j�C�	k0�>��C�	�l1�?��C�
     n2�>�C�	�o3�?��C�
    @q4�>:�C�	�r5�>�C�
    `t6�>ZC�	�u7�?�C�
    �w8�?zC�
    y9�>
    C�
    �z:�>�C�	0|;�>*
    C�	�}<�>�C�	P=�>J
    C�	�>�>�C�	p�?�>jC�	�@�>�C�
    ��A�?�C�
     �B�?C�
    ��C�>�C�	@�D�>:C�	ЋE�?�C�
    `�F�>ZC�	�G�>�C�	��H�?zC�
    �I�?
     C���J�>�!C�	0�K�?*#C�
    ��L�>�$C�	P�M�?J&C�
    �N�>�'C�	p�O�>j)C�	�P�?�*C�
    ��Q�>�,C�	 �R�>.C�	��S�?�/C�@�T�>:1C�	ФU�?�2C�`�V�?Z4C��W�>�5C�	��X�>z7C�	�Y�?
    9C�
    ��Z�@�:C�
    0�[�?*<C�
    ��\�?�=C�
    P�]�?J?C�
    �^�>�@C�	p�_�>jBC�	�`�?�CC�
    ��a�>�EC�	 �b�>GC�
    ��c�>�HC�	@�d�?:JC�нe�?�KC�
    `�f�>ZMC�
    ��g�@�NC���h�>zPC�	�i�>
    RC�	��j�?�SC�
    0�k�>*UC�	��l�>�VC�	P�m�?JXC���n�>�YC�	p�o�>j[C�	�p�?�\C�
    ��q�?�^C� �r�>`C�	��s�>�aC�	@�t�?:cC�
    ��u�>�dC�
    `�v�>ZfC�	��w�?�gC�
    ��x�?ziC�
    �y�>
    kC�	��z�>�lC�	0�{�>*nC�	��|�>�oC�	P�}�>JqC�	��~�>�rC�	p��?jtC�
    ���>�uC�	����>�wC�	 ���>yC�	����>�zC�	@���>:|C�	����?�}C�
    `���>ZC�
    ����>�C�	����>z�C�	���>
    �C�	����>��C�	0���>*�C�	����>��C�	P���>J�C�	����?ڋC�p���>j�C�
    ��?��C����?��C�
     ��>�C�	���>��C�
    @��>:�C�	���>ʖC�	`
    ��>Z�C�	���>�C�	�
    ��>z�C�	��>
    �C�	���>��C�	0��@*�C����>��C�	P��?J�C�
    ���>ڤC�	p��>j�C�	��>��C�	���>��C�	 ��>�C�	���>��C�	@ ��?:�C��!��>ʯC�	`#��?Z�C�
    �$��>�C�
    �&��>z�C�	(��?
    �C�
    �)��>��C�	0+��>*�C�	�,��>��C�	P.��>J�C�	�/��>ڽC�	p1��>j�C�
    3��>��C�	�4��?��C� 6��>�C�
    �7��>��C�	@9��>:�C�	�:��>��C�	`<��>Z�C�	�=��?��C�
    �?��>z�C�	A��>
    �C�	�B��>��C�	0D��>*�C�	�E��>��C�	PG��?J�C��H��?��C�
    pJ��>j�C�	L��>��C�
    �M��>��C�	 O��>�C�	�P��>��C�
    @R��?:�C�
    �S��>��C�	`U��>Z�C�	�V��?��C�
    �X��>z�C�	Z��>
    �C�	�[��?��C�
    0]��?*�C�
    �^��?��C�
    P`��?J�C�
    �a��?��C�
    pc��>j�C�	e��>��C�
    �f��?��C�
     h��>�C�	�i��>��C�	@k��>:�C�	�l��>��C�	`n��?Z�C�
    �o��?��C��q��>z�C�	s��>
    C�	�t��>�C�
    0v��?*C�
    �w��?�C�Py��>JC�	�z��>�C�	p|��>j
    C�	~��>�C�	���>�
    C�	 ���>C�	����>�C�
    @���>:C�	Ѕ��>�C�
    `���>ZC�	���?�C�
    ����>zC�	���?
    C�����>�C�	0���>*C�	����>�C�	P���>J C�	���?�!C�
    p���@j#C����?�$C�
    ����>�&C�	 ���>(C�	����>�)C�	@���>:+C�	��>�,C�	`��
    Hi,

    we enabled fw logs using instructions from below link.

    From above the link we followed below instructions.

    wlconf -i/lib/firmware/ti-connectivity/wl18xx-conf.bin -o /lib/firmware/ti-connectivity/wl18xx-conf.bin -s wl18xx.ht.mode=0x01

    #Set FW log mode to continuous

    wlconf -i/lib/firmware/ti-connectivity/wl18xx-conf.bin -o /lib/firmware/ti-connectivity/wl18xx-conf.bin -s core.fwlog.mode=0x00

    #Set FW log output to host

    wlconf -i/lib/firmware/ti-connectivity/wl18xx-conf.bin -o /lib/firmware/ti-connectivity/wl18xx-conf.bin -s core.fwlog.mode=0x02

    Wlconf configuration:

    Set SDIO as an output:

    wlconf -i /lib/firmware/ti-connectivity/wl18xx-conf.bin -o /lib/firmware/ti-connectivity/wl18xx-conf.bin –set       core.fwlog.output=0x02

    (Optional)Update num of FW‘s memblocks allocate for logger :

    wlconf -i /lib/firmware/ti-connectivity/wl18xx-conf.bin -o /lib/firmware/ti-connectivity/wl18xx-conf.bin –set core.fwlog.mem_blocks=0x03

    (Optional)Validate Configuration:

    wlconf -i /lib/firmware/ti-connectivity/wl18xx-conf.bin –g

    From below link we downloaded and cross compile the  wl_logproxy.c file

    By using below command we capture the fw_logs.

    #/bin/wl_logproxy 1555 /sys/devices/platform/omap/omap_hsmmc.4/mmc_host/mmc2/mmc2:0001/mmc2:0001:2/wl18xx/fwlog /data/misc/wifi/fwlogs/ 10000000 &

    we are using the latest firmware 8.9.0.0.70, and have attached the fw_Logs to this post.

    The logs seems to have information but in unreadable format.

    We have also attached the binary file we are using with glogger.

    we am not sure whether we have missed any steps since we cannot make any sense of the unreadable FW logs.

    Kindly help us to know whether we are doing the fw logging correctly.

  • I am pretty sure that the issue is not software related but rather hardware/ini file related so I don't see a point with trying to manipulate values inside wl18xx-conf.bin

    You should stick to the .ini file you have received from your module vendor and generate the wl18xx-conf.bin file from it.

    Can you use use wlconf and dump the content of your wl18xx-conf.bin file after is was generated from the .ini file you have recived from the module vendor, and send us for review?

    ./wlconf -i /lib/firmware/ti-connectivity/wl18xx-conf.bin -g

    Please include also the original .ini file that you have received from the vendor.

    BR,
    Eyal

  • https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/968/WG7833_2D00_B0A_5F00_INI_5F00_rev1.ini

    header.magic = 0x10e100ca
    header.version = 0x00070007
    header.checksum = 0x00000000
    core.sg.params = 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000f, 0x0000001b, 0x00000011, 0x000000aa, 0x00000032, 0x00000064, 0x00000320, 0x000000c8, 0x000000c8, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x0000003c, 0x00001388, 0x000004b0, 0x000003e8, 0x00000001, 0x00000003, 0x00000006, 0x0000000a, 0x0000000a, 0x00000002, 0x00000005, 0x0000001e, 0x00000003, 0x0000000a, 0x00000002, 0x00000000, 0x00000019, 0x00000019, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
    core.sg.state = 0x01
    core.rx.rx_msdu_life_time = 0x0007d000
    core.rx.packet_detection_threshold = 0x00000000
    core.rx.ps_poll_timeout = 0x000f
    core.rx.upsd_timeout = 0x000f
    core.rx.rts_threshold = 0x0931
    core.rx.rx_cca_threshold = 0x0000
    core.rx.irq_blk_threshold = 0xffff
    core.rx.irq_pkt_threshold = 0x0000
    core.rx.irq_timeout = 0x0258
    core.rx.queue_type = 0x00
    core.tx.tx_energy_detection = 0x00
    core.tx.sta_rc_conf.enabled_rates = 0x00000000
    core.tx.sta_rc_conf.short_retry_limit = 0x0a
    core.tx.sta_rc_conf.long_retry_limit = 0x0a
    core.tx.sta_rc_conf.aflags = 0x00
    core.tx.ac_conf_count = 0x04
    core.tx.ac_conf0.ac = 0x00
    core.tx.ac_conf0.cw_min = 0x0f
    core.tx.ac_conf0.cw_max = 0x003f
    core.tx.ac_conf0.aifsn = 0x03
    core.tx.ac_conf0.tx_op_limit = 0x0000
    core.tx.ac_conf1.ac = 0x01
    core.tx.ac_conf1.cw_min = 0x0f
    core.tx.ac_conf1.cw_max = 0x003f
    core.tx.ac_conf1.aifsn = 0x07
    core.tx.ac_conf1.tx_op_limit = 0x0000
    core.tx.ac_conf2.ac = 0x02
    core.tx.ac_conf2.cw_min = 0x0f
    core.tx.ac_conf2.cw_max = 0x003f
    core.tx.ac_conf2.aifsn = 0x01
    core.tx.ac_conf2.tx_op_limit = 0x0bc0
    core.tx.ac_conf3.ac = 0x03
    core.tx.ac_conf3.cw_min = 0x0f
    core.tx.ac_conf3.cw_max = 0x003f
    core.tx.ac_conf3.aifsn = 0x01
    core.tx.ac_conf3.tx_op_limit = 0x05e0
    core.tx.max_tx_retries = 0x64
    core.tx.ap_aging_period = 0x012c
    core.tx.tid_conf_count = 0x04
    core.tx.tid_conf0.queue_id = 0x00
    core.tx.tid_conf0.channel_type = 0x01
    core.tx.tid_conf0.tsid = 0x00
    core.tx.tid_conf0.ps_scheme = 0x00
    core.tx.tid_conf0.ack_policy = 0x00
    core.tx.tid_conf0.apsd_conf = 0x00000000, 0x00000000
    core.tx.tid_conf1.queue_id = 0x01
    core.tx.tid_conf1.channel_type = 0x01
    core.tx.tid_conf1.tsid = 0x01
    core.tx.tid_conf1.ps_scheme = 0x00
    core.tx.tid_conf1.ack_policy = 0x00
    core.tx.tid_conf1.apsd_conf = 0x00000000, 0x00000000
    core.tx.tid_conf2.queue_id = 0x02
    core.tx.tid_conf2.channel_type = 0x01
    core.tx.tid_conf2.tsid = 0x02
    core.tx.tid_conf2.ps_scheme = 0x00
    core.tx.tid_conf2.ack_policy = 0x00
    core.tx.tid_conf2.apsd_conf = 0x00000000, 0x00000000
    core.tx.tid_conf3.queue_id = 0x03
    core.tx.tid_conf3.channel_type = 0x01
    core.tx.tid_conf3.tsid = 0x03
    core.tx.tid_conf3.ps_scheme = 0x00
    core.tx.tid_conf3.ack_policy = 0x00
    core.tx.tid_conf3.apsd_conf = 0x00000000, 0x00000000
    core.tx.tid_conf4.queue_id = 0x00
    core.tx.tid_conf4.channel_type = 0x00
    core.tx.tid_conf4.tsid = 0x00
    core.tx.tid_conf4.ps_scheme = 0x00
    core.tx.tid_conf4.ack_policy = 0x00
    core.tx.tid_conf4.apsd_conf = 0x00000000, 0x00000000
    core.tx.tid_conf5.queue_id = 0x00
    core.tx.tid_conf5.channel_type = 0x00
    core.tx.tid_conf5.tsid = 0x00
    core.tx.tid_conf5.ps_scheme = 0x00
    core.tx.tid_conf5.ack_policy = 0x00
    core.tx.tid_conf5.apsd_conf = 0x00000000, 0x00000000
    core.tx.tid_conf6.queue_id = 0x00
    core.tx.tid_conf6.channel_type = 0x00
    core.tx.tid_conf6.tsid = 0x00
    core.tx.tid_conf6.ps_scheme = 0x00
    core.tx.tid_conf6.ack_policy = 0x00
    core.tx.tid_conf6.apsd_conf = 0x00000000, 0x00000000
    core.tx.tid_conf7.queue_id = 0x00
    core.tx.tid_conf7.channel_type = 0x00
    core.tx.tid_conf7.tsid = 0x00
    core.tx.tid_conf7.ps_scheme = 0x00
    core.tx.tid_conf7.ack_policy = 0x00
    core.tx.tid_conf7.apsd_conf = 0x00000000, 0x00000000
    core.tx.frag_threshold = 0x0930
    core.tx.tx_compl_timeout = 0x015e
    core.tx.tx_compl_threshold = 0x000a
    core.tx.basic_rate = 0x00000001
    core.tx.basic_rate_5 = 0x00000008
    core.tx.tmpl_short_retry_limit = 0x0a
    core.tx.tmpl_long_retry_limit = 0x0a
    core.tx.tx_watchdog_timeout = 0x00001388
    core.tx.slow_link_thold = 0x03
    core.tx.fast_link_thold = 0x1e
    core.conn.wake_up_event = 0x02
    core.conn.listen_interval = 0x01
    core.conn.suspend_wake_up_event = 0x04
    core.conn.suspend_listen_interval = 0x03
    core.conn.bcn_filt_mode = 0x01
    core.conn.bcn_filt_ie_count = 0x03
    core.conn.bcn_filt_ie0.ie = 0x25
    core.conn.bcn_filt_ie0.rule = 0x02
    core.conn.bcn_filt_ie0.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie0.type = 0x00
    core.conn.bcn_filt_ie0.version = 0x00, 0x00
    core.conn.bcn_filt_ie1.ie = 0x3d
    core.conn.bcn_filt_ie1.rule = 0x01
    core.conn.bcn_filt_ie1.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie1.type = 0x00
    core.conn.bcn_filt_ie1.version = 0x00, 0x00
    core.conn.bcn_filt_ie2.ie = 0x2a
    core.conn.bcn_filt_ie2.rule = 0x01
    core.conn.bcn_filt_ie2.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie2.type = 0x00
    core.conn.bcn_filt_ie2.version = 0x00, 0x00
    core.conn.bcn_filt_ie3.ie = 0x00
    core.conn.bcn_filt_ie3.rule = 0x00
    core.conn.bcn_filt_ie3.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie3.type = 0x00
    core.conn.bcn_filt_ie3.version = 0x00, 0x00
    core.conn.bcn_filt_ie4.ie = 0x00
    core.conn.bcn_filt_ie4.rule = 0x00
    core.conn.bcn_filt_ie4.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie4.type = 0x00
    core.conn.bcn_filt_ie4.version = 0x00, 0x00
    core.conn.bcn_filt_ie5.ie = 0x00
    core.conn.bcn_filt_ie5.rule = 0x00
    core.conn.bcn_filt_ie5.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie5.type = 0x00
    core.conn.bcn_filt_ie5.version = 0x00, 0x00
    core.conn.bcn_filt_ie6.ie = 0x00
    core.conn.bcn_filt_ie6.rule = 0x00
    core.conn.bcn_filt_ie6.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie6.type = 0x00
    core.conn.bcn_filt_ie6.version = 0x00, 0x00
    core.conn.bcn_filt_ie7.ie = 0x00
    core.conn.bcn_filt_ie7.rule = 0x00
    core.conn.bcn_filt_ie7.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie7.type = 0x00
    core.conn.bcn_filt_ie7.version = 0x00, 0x00
    core.conn.bcn_filt_ie8.ie = 0x00
    core.conn.bcn_filt_ie8.rule = 0x00
    core.conn.bcn_filt_ie8.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie8.type = 0x00
    core.conn.bcn_filt_ie8.version = 0x00, 0x00
    core.conn.bcn_filt_ie9.ie = 0x00
    core.conn.bcn_filt_ie9.rule = 0x00
    core.conn.bcn_filt_ie9.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie9.type = 0x00
    core.conn.bcn_filt_ie9.version = 0x00, 0x00
    core.conn.bcn_filt_ie10.ie = 0x00
    core.conn.bcn_filt_ie10.rule = 0x00
    core.conn.bcn_filt_ie10.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie10.type = 0x00
    core.conn.bcn_filt_ie10.version = 0x00, 0x00
    core.conn.bcn_filt_ie11.ie = 0x00
    core.conn.bcn_filt_ie11.rule = 0x00
    core.conn.bcn_filt_ie11.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie11.type = 0x00
    core.conn.bcn_filt_ie11.version = 0x00, 0x00
    core.conn.bcn_filt_ie12.ie = 0x00
    core.conn.bcn_filt_ie12.rule = 0x00
    core.conn.bcn_filt_ie12.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie12.type = 0x00
    core.conn.bcn_filt_ie12.version = 0x00, 0x00
    core.conn.bcn_filt_ie13.ie = 0x00
    core.conn.bcn_filt_ie13.rule = 0x00
    core.conn.bcn_filt_ie13.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie13.type = 0x00
    core.conn.bcn_filt_ie13.version = 0x00, 0x00
    core.conn.bcn_filt_ie14.ie = 0x00
    core.conn.bcn_filt_ie14.rule = 0x00
    core.conn.bcn_filt_ie14.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie14.type = 0x00
    core.conn.bcn_filt_ie14.version = 0x00, 0x00
    core.conn.bcn_filt_ie15.ie = 0x00
    core.conn.bcn_filt_ie15.rule = 0x00
    core.conn.bcn_filt_ie15.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie15.type = 0x00
    core.conn.bcn_filt_ie15.version = 0x00, 0x00
    core.conn.bcn_filt_ie16.ie = 0x00
    core.conn.bcn_filt_ie16.rule = 0x00
    core.conn.bcn_filt_ie16.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie16.type = 0x00
    core.conn.bcn_filt_ie16.version = 0x00, 0x00
    core.conn.bcn_filt_ie17.ie = 0x00
    core.conn.bcn_filt_ie17.rule = 0x00
    core.conn.bcn_filt_ie17.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie17.type = 0x00
    core.conn.bcn_filt_ie17.version = 0x00, 0x00
    core.conn.bcn_filt_ie18.ie = 0x00
    core.conn.bcn_filt_ie18.rule = 0x00
    core.conn.bcn_filt_ie18.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie18.type = 0x00
    core.conn.bcn_filt_ie18.version = 0x00, 0x00
    core.conn.bcn_filt_ie19.ie = 0x00
    core.conn.bcn_filt_ie19.rule = 0x00
    core.conn.bcn_filt_ie19.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie19.type = 0x00
    core.conn.bcn_filt_ie19.version = 0x00, 0x00
    core.conn.bcn_filt_ie20.ie = 0x00
    core.conn.bcn_filt_ie20.rule = 0x00
    core.conn.bcn_filt_ie20.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie20.type = 0x00
    core.conn.bcn_filt_ie20.version = 0x00, 0x00
    core.conn.bcn_filt_ie21.ie = 0x00
    core.conn.bcn_filt_ie21.rule = 0x00
    core.conn.bcn_filt_ie21.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie21.type = 0x00
    core.conn.bcn_filt_ie21.version = 0x00, 0x00
    core.conn.bcn_filt_ie22.ie = 0x00
    core.conn.bcn_filt_ie22.rule = 0x00
    core.conn.bcn_filt_ie22.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie22.type = 0x00
    core.conn.bcn_filt_ie22.version = 0x00, 0x00
    core.conn.bcn_filt_ie23.ie = 0x00
    core.conn.bcn_filt_ie23.rule = 0x00
    core.conn.bcn_filt_ie23.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie23.type = 0x00
    core.conn.bcn_filt_ie23.version = 0x00, 0x00
    core.conn.bcn_filt_ie24.ie = 0x00
    core.conn.bcn_filt_ie24.rule = 0x00
    core.conn.bcn_filt_ie24.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie24.type = 0x00
    core.conn.bcn_filt_ie24.version = 0x00, 0x00
    core.conn.bcn_filt_ie25.ie = 0x00
    core.conn.bcn_filt_ie25.rule = 0x00
    core.conn.bcn_filt_ie25.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie25.type = 0x00
    core.conn.bcn_filt_ie25.version = 0x00, 0x00
    core.conn.bcn_filt_ie26.ie = 0x00
    core.conn.bcn_filt_ie26.rule = 0x00
    core.conn.bcn_filt_ie26.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie26.type = 0x00
    core.conn.bcn_filt_ie26.version = 0x00, 0x00
    core.conn.bcn_filt_ie27.ie = 0x00
    core.conn.bcn_filt_ie27.rule = 0x00
    core.conn.bcn_filt_ie27.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie27.type = 0x00
    core.conn.bcn_filt_ie27.version = 0x00, 0x00
    core.conn.bcn_filt_ie28.ie = 0x00
    core.conn.bcn_filt_ie28.rule = 0x00
    core.conn.bcn_filt_ie28.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie28.type = 0x00
    core.conn.bcn_filt_ie28.version = 0x00, 0x00
    core.conn.bcn_filt_ie29.ie = 0x00
    core.conn.bcn_filt_ie29.rule = 0x00
    core.conn.bcn_filt_ie29.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie29.type = 0x00
    core.conn.bcn_filt_ie29.version = 0x00, 0x00
    core.conn.bcn_filt_ie30.ie = 0x00
    core.conn.bcn_filt_ie30.rule = 0x00
    core.conn.bcn_filt_ie30.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie30.type = 0x00
    core.conn.bcn_filt_ie30.version = 0x00, 0x00
    core.conn.bcn_filt_ie31.ie = 0x00
    core.conn.bcn_filt_ie31.rule = 0x00
    core.conn.bcn_filt_ie31.oui = 0x00, 0x00, 0x00
    core.conn.bcn_filt_ie31.type = 0x00
    core.conn.bcn_filt_ie31.version = 0x00, 0x00
    core.conn.synch_fail_thold = 0x0000000c
    core.conn.bss_lose_timeout = 0x00000190
    core.conn.beacon_rx_timeout = 0x00002710
    core.conn.broadcast_timeout = 0x00004e20
    core.conn.rx_broadcast_in_ps = 0x01
    core.conn.ps_poll_threshold = 0x0a
    core.conn.sig_weights.rssi_bcn_avg_weight = 0x00
    core.conn.sig_weights.rssi_pkt_avg_weight = 0x00
    core.conn.sig_weights.snr_bcn_avg_weight = 0x00
    core.conn.sig_weights.snr_pkt_avg_weight = 0x00
    core.conn.bet_enable = 0x01
    core.conn.bet_max_consecutive = 0x32
    core.conn.psm_entry_retries = 0x08
    core.conn.psm_exit_retries = 0x10
    core.conn.psm_entry_nullfunc_retries = 0x03
    core.conn.dynamic_ps_timeout = 0x0096
    core.conn.forced_ps = 0x00
    core.conn.keep_alive_interval = 0x0000d6d8
    core.conn.max_listen_interval = 0x14
    core.conn.sta_sleep_auth = 0xff
    core.conn.suspend_rx_ba_activity = 0x00
    core.itrim.enable = 0x00
    core.itrim.timeout = 0x0000c350
    core.pm_config.host_clk_settling_time = 0x00001388
    core.pm_config.host_fast_wakeup_support = 0x01
    core.roam_trigger.trigger_pacing = 0x0001
    core.roam_trigger.avg_weight_rssi_beacon = 0x14
    core.roam_trigger.avg_weight_rssi_data = 0x0a
    core.roam_trigger.avg_weight_snr_beacon = 0x14
    core.roam_trigger.avg_weight_snr_data = 0x0a
    core.scan.min_dwell_time_active = 0x00001d4c
    core.scan.max_dwell_time_active = 0x00007530
    core.scan.min_dwell_time_active_long = 0x000061a8
    core.scan.max_dwell_time_active_long = 0x0000c350
    core.scan.dwell_time_passive = 0x000186a0
    core.scan.dwell_time_dfs = 0x000249f0
    core.scan.num_probe_reqs = 0x0002
    core.scan.split_scan_timeout = 0x0000c350
    core.sched_scan.base_dwell_time = 0x00001d4c
    core.sched_scan.max_dwell_time_delta = 0x000057e4
    core.sched_scan.dwell_time_delta_per_probe = 0x000007d0
    core.sched_scan.dwell_time_delta_per_probe_5 = 0x0000015e
    core.sched_scan.dwell_time_passive = 0x000186a0
    core.sched_scan.dwell_time_dfs = 0x000249f0
    core.sched_scan.num_probe_reqs = 0x02
    core.sched_scan.rssi_threshold = 0xa6
    core.sched_scan.snr_threshold = 0x00
    core.sched_scan.num_short_intervals = 0x0d
    core.sched_scan.long_interval = 0x7530
    core.ht.rx_ba_win_size = 0x20
    core.ht.tx_ba_win_size = 0x40
    core.ht.inactivity_timeout = 0x2710
    core.ht.tx_ba_tid_bitmap = 0x3f
    core.mem.num_stations = 0x01
    core.mem.ssid_profiles = 0x01
    core.mem.rx_block_num = 0x28
    core.mem.tx_min_block_num = 0x28
    core.mem.dynamic_memory = 0x01
    core.mem.min_req_tx_blocks = 0x2d
    core.mem.min_req_rx_blocks = 0x16
    core.mem.tx_min = 0x1b
    core.fm_coex.enable = 0x01
    core.fm_coex.swallow_period = 0x05
    core.fm_coex.n_divider_fref_set_1 = 0xff
    core.fm_coex.n_divider_fref_set_2 = 0x0c
    core.fm_coex.m_divider_fref_set_1 = 0xffff
    core.fm_coex.m_divider_fref_set_2 = 0x0094
    core.fm_coex.coex_pll_stabilization_time = 0xffffffff
    core.fm_coex.ldo_stabilization_time = 0xffff
    core.fm_coex.fm_disturbed_band_margin = 0xff
    core.fm_coex.swallow_clk_diff = 0xff
    core.rx_streaming.duration = 0x00000096
    core.rx_streaming.queues = 0x01
    core.rx_streaming.interval = 0x14
    core.rx_streaming.always = 0x00
    core.fwlog.mode = 0x00
    core.fwlog.mem_blocks = 0x02
    core.fwlog.severity = 0x00
    core.fwlog.timestamp = 0x00
    core.fwlog.output = 0x01
    core.fwlog.threshold = 0x00
    core.rate.rate_retry_score = 0x7d00
    core.rate.per_add = 0x2000
    core.rate.per_th1 = 0x0800
    core.rate.per_th2 = 0x1000
    core.rate.max_per = 0x1fa4
    core.rate.inverse_curiosity_factor = 0x05
    core.rate.tx_fail_low_th = 0x04
    core.rate.tx_fail_high_th = 0x0a
    core.rate.per_alpha_shift = 0x04
    core.rate.per_add_shift = 0x0d
    core.rate.per_beta1_shift = 0x0a
    core.rate.per_beta2_shift = 0x08
    core.rate.rate_check_up = 0x02
    core.rate.rate_check_down = 0x0c
    core.rate.rate_retry_policy = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    core.hangover.recover_time = 0x00000000
    core.hangover.hangover_period = 0x14
    core.hangover.dynamic_mode = 0x01
    core.hangover.early_termination_mode = 0x01
    core.hangover.max_period = 0x14
    core.hangover.min_period = 0x01
    core.hangover.increase_delta = 0x01
    core.hangover.decrease_delta = 0x02
    core.hangover.quiet_time = 0x04
    core.hangover.increase_time = 0x01
    core.hangover.window_size = 0x10
    core.recovery.bug_on_recovery = 0x00
    core.recovery.no_recovery = 0x00
    wl18xx.ht.mode = 0x02
    wl18xx.phy.phy_standalone = 0x00
    wl18xx.phy.spare0 = 0x00
    wl18xx.phy.enable_clpc = 0x00
    wl18xx.phy.enable_tx_low_pwr_on_siso_rdl = 0x00
    wl18xx.phy.auto_detect = 0x00
    wl18xx.phy.dedicated_fem = 0x00
    wl18xx.phy.low_band_component = 0x02
    wl18xx.phy.low_band_component_type = 0x05
    wl18xx.phy.high_band_component = 0x01
    wl18xx.phy.high_band_component_type = 0x09
    wl18xx.phy.number_of_assembled_ant2_4 = 0x01
    wl18xx.phy.number_of_assembled_ant5 = 0x00
    wl18xx.phy.pin_muxing_platform_options = 0x00, 0x00
    wl18xx.phy.external_pa_dc2dc = 0x00
    wl18xx.phy.tcxo_ldo_voltage = 0x00
    wl18xx.phy.xtal_itrim_val = 0x04
    wl18xx.phy.srf_state = 0x00
    wl18xx.phy.srf1 = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    wl18xx.phy.srf2 = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    wl18xx.phy.srf3 = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    wl18xx.phy.io_configuration = 0x01
    wl18xx.phy.sdio_configuration = 0x00
    wl18xx.phy.settings = 0x00
    wl18xx.phy.rx_profile = 0x00
    wl18xx.phy.per_chan_pwr_limit_arr_11abg = 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
    wl18xx.phy.pwr_limit_reference_11_abg = 0x64
    wl18xx.phy.per_chan_pwr_limit_arr_11p = 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
    wl18xx.phy.pwr_limit_reference_11p = 0x64
    wl18xx.phy.spare1 = 0x00
    wl18xx.phy.per_chan_bo_mode_11_abg = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    wl18xx.phy.per_chan_bo_mode_11_p = 0x00, 0x00, 0x00, 0x00
    wl18xx.phy.primary_clock_setting_time = 0x05
    wl18xx.phy.clock_valid_on_wake_up = 0x00
    wl18xx.phy.secondary_clock_setting_time = 0x05
    wl18xx.phy.board_type = 0x02
    wl18xx.phy.psat = 0x00
    wl18xx.phy.low_power_val = 0xff
    wl18xx.phy.med_power_val = 0xff
    wl18xx.phy.high_power_val = 0xff
    wl18xx.phy.per_sub_band_tx_trace_loss = 0x00, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16
    wl18xx.phy.per_sub_band_rx_trace_loss = 0x00, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    wl18xx.phy.tx_rf_margin = 0x01
    wl18xx.phy.low_power_val_2nd = 0xff
    wl18xx.phy.med_power_val_2nd = 0xff
    wl18xx.phy.high_power_val_2nd = 0xff
    wl18xx.phy.padding = 0x00
    wl18xx.ap_sleep.idle_duty_cycle = 0x00
    wl18xx.ap_sleep.connected_duty_cycle = 0x00
    wl18xx.ap_sleep.max_stations_thresh = 0x04
    wl18xx.ap_sleep.idle_conn_thresh = 0x08
    
    Hi Eyal,

     Thanks for your suggestion.

    I followed your instructions and generated the dump from the wl18xx-con.bin file.

    We have attached 2 dump files

    1)  : the default dump file generated from wl18xx-conf.bin (.ini provided by jorjin).

    2)  : the dump file generated from wl18xx-conf.bin after couple of modifications for testing using ./configure.sh (.ini provided by jorjin).

    we tried both the above cases and the signal loss issue is same in above 2 cases.

    Thanks & Regards

    Veera

  • I don't see two files, only one.
    In addition, Can you also provide also the .ini file you got from jorjin?

    BR
    Eyal