Other Parts Discussed in Thread: WL1837
Tool/software: Linux
Hi all,
I am working on bring up the wl1837 in the P2P -Go configuration. I used the
R8.7_SP1 built utilities to build the wpa tools, firmware and tools.
The firmware is being loaded and I can see the wlan0 interface coming up. Please see the below command and my wpa_supplicant.conf file I am using. The issue I am facing is that when ever I try to connect my laptop or phone to my cutom board running TI WILINK it gives me the below error and does not connect : I have also attached my wpa_supplicant.conf file for your reference.
wlcore: ERROR SW watchdog interrupt received! starting recovery.
wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.70
wlcore: pc: 0x119e22, hint_sts: 0x00000000 count: 1
wlcore: down
wlcore: down
wlcore: down
ieee80211 phy0: Hardware restart was requested
wlcore: PHY firmware version: Rev 8.2.0.0.237
wlcore: firmware booted (Rev 8.9.0.0.70)
wlcore: ERROR SW watchdog interrupt received! starting recovery.
wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.70
wlcore: pc: 0x119e22, hint_sts: 0x00000000 count: 2
wlcore: down
wlcore: down
wlcore: down
WPA_SUPPLICANT.conf file looks like this :
ctrl_interface=/var/run/wpa_supplicant
driver_param=use_multi_chan_concurrent=1 use_p2p_group_interface=1
update_config=1
device_name=testsb
device_type=1-0050F204-1
config_methods=virtual_push_button physical_display keypad
p2p_listen_reg_class=81
p2p_listen_channel=1
p2p_oper_reg_class=81
p2p_oper_channel=1
p2p_go_intent=15
p2p_go_ht40=1
network={
ssid="DIRECT-SB"
bssid=38:d2:69:b7:a6:76
psk="12345678"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
mode=3
disabled=2
}
Steps I followed to bring up the wlan0 using wpa_supplicant. tHe version of wpa_supplicant with this release is wpa_supplicant v2.6-devel-R8.7_SP1.
ifconfig wlan0 up
wpa_supplicant -Dnl80211 -c /home/root/wpa_supplicant-p2p.conf -i wlan0 -dt -B
wpa_cli p2p_group_add persistent=0 ht40
sysctl -w net.ipv4.ip_forward=1
# or
# echo 1 > /proc/sys/net/ipv4/ip_forward
ifconfig p2p-wlan0-0 192.168.49.1 up
udhcpd /home/root/udhcpd.conf
Output
wlcore: PHY firmware version: Rev 8.2.0.0.237
wlcore: firmware booted (Rev 8.9.0.0.70)
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
1508219482.857862: wpa_supplicant v2.6-devel-R8.7_SP1
1508219482.858368: random: Trying to read entropy from /dev/random
1508219482.858685: Successfully initialized wpa_supplicant
1508219482.858716: Initializing interface 'wlan0' conf '/home/root/wpa_supplicant-p2p.conf' driver 'nl80211' ctrl_inter'
1508219482.858750: Configuration file '/home/root/wpa_supplicant-p2p.conf' -> '/home/root/wpa_supplicant-p2p.conf'
1508219482.858783: Reading configuration file '/home/root/wpa_supplicant-p2p.conf'
1508219482.858900: ctrl_interface='/var/run/wpa_supplicant'
1508219482.858936: driver_param='use_multi_chan_concurrent=1 use_p2p_group_interface=1'
1508219482.858965: update_config=1
1508219482.858991: device_name='testsb'
1508219482.859193: config_methods='virtual_push_button physical_display keypad'
1508219482.859229: p2p_listen_reg_class=81
1508219482.859257: p2p_listen_channel=1
1508219482.859283: p2p_oper_reg_class=81
1508219482.859308: p2p_oper_channel=1
1508219482.859334: p2p_go_intent=15
1508219482.859361: p2p_go_ht40=1
1508219483.369835: Priority group 0
1508219483.369883: id=0 ssid='DIRECT-VH'
1508219483.369913: id=1 ssid='DIRECT-VH'
1508219483.369931: id=2 ssid='DIRECT-VH'
1508219483.369949: id=3 ssid='DIRECT-VH'
1508219483.369966: id=4 ssid='DIRECT-VH'
1508219483.369983: id=5 ssid='DIRECT-VH'
1508219483.372197: nl80211: Supported cipher 00-0f-ac:1
1508219483.372243: nl80211: Supported cipher 00-0f-ac:5
1508219483.372265: nl80211: Supported cipher 00-0f-ac:2
1508219483.372283: nl80211: Supported cipher 00-0f-ac:4
1508219483.372302: nl80211: Supported cipher 00-14-72:1
1508219483.372320: nl80211: Supports Probe Response offload in AP mode
1508219483.372552: nl80211: Using driver-based off-channel TX
1508219483.372608: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0
1508219483.372628: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1
1508219483.372647: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2
1508219483.372664: nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0
1508219483.372681: nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1
1508219483.372724: nl80211: Use separate P2P group interface (driver advertised support)
1508219483.372745: nl80211: Enable multi-channel concurrent (driver advertised support)
1508219483.372761: nl80211: use P2P_DEVICE support
1508219483.372778: nl80211: interface wlan0 in phy phy0
1508219483.372858: nl80211: Set mode ifindex 3 iftype 2 (STATION)
1508219483.372954: nl80211: Subscribe to mgmt frames with non-AP handle 0x3eea28
1508219483.373001: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=0104
1508219483.373078: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=040a
1508219483.373149: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=040b
1508219483.373218: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=040c
1508219483.373284: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=040d
1508219483.373351: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=090a
1508219483.373417: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=090b
1508219483.373485: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=090c
1508219483.373550: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=090d
1508219483.373621: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=0409506f9a09
1508219483.373692: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=7f506f9a09
1508219483.373760: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=0801
1508219483.373826: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=06
1508219483.373892: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=0a07
1508219483.373959: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=0a11
1508219483.374026: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=0a1a
1508219483.374093: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=1101
1508219483.374159: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=1102
1508219483.374226: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x3eea28 match=0505
1508219483.375041: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
1508219483.375152: netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
1508219483.375868: nl80211: driver param='use_multi_chan_concurrent=1 use_p2p_group_interface=1'
1508219483.375915: nl80211: Use separate P2P group interface
1508219483.375943: Add interface wlan0 to a new radio phy0
1508219483.376733: nl80211: Regulatory information - country=00
1508219483.376766: nl80211: 2402-2472 @ 40 MHz 20 mBm
1508219483.376798: nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
1508219483.376823: nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
1508219483.710171: nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
1508219483.710210: nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
1508219483.710240: nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
1508219483.710268: nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
1508219483.710295: nl80211: 57240-63720 @ 2160 MHz 0 mBm
1508219483.710396: nl80211: Added 802.11b mode based on 802.11g information
1508219483.737525: wlan0: Own MAC address: 38:d2:69:b7:a6:76
1508219483.737607: wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
1508219483.737744: wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
1508219483.737849: wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
1508219483.737950: wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
1508219483.738050: wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
1508219483.738149: wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
1508219483.738228: wlan0: RSN: flushing PMKID list in the driver
1508219483.738250: nl80211: Flush PMKIDs
1508219483.738319: wlan0: No enabled networks (6 disabled networks)
1508219483.738349: wlan0: State: DISCONNECTED -> INACTIVE
1508219483.767502: TDLS: TDLS operation not supported by driver
1508219483.767535: TDLS: Driver uses internal link setup
1508219483.767553: TDLS: Driver does not support TDLS channel switching
1508219483.767641: wlan0: WPS: UUID based on MAC address: 0b1c6273-4310-592e-8987-080831f3d278
1508219483.777743: ENGINE: Loading dynamic engine
1508219483.778352: ENGINE: Loading dynamic engine
1508219483.778647: EAPOL: SUPP_PAE entering state DISCONNECTED
1508219483.778674: EAPOL: Supplicant port status: Unauthorized
1508219483.778693: nl80211: Skip set_supp_port(unauthorized) while not associated
1508219483.778711: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
1508219483.778727: EAPOL: SUPP_BE entering state INITIALIZE
1508219483.778745: EAP: EAP entering state DISABLED
1508219483.778946: wlan0: Added interface wlan0
1508219483.778998: wlan0: State: INACTIVE -> DISCONNECTED
1508219483.779023: nl80211: Set wlan0 operstate 0->0 (DORMANT)
1508219483.779046: netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
1508219483.779100: nl80211: Create interface iftype 10 (P2P_DEVICE)
1508219483.779241: nl80211: New P2P Device interface p2p-dev-wlan0 (0x2) created
1508219483.779278: Initializing interface 'p2p-dev-wlan0' conf '/home/root/wpa_supplicant-p2p.conf' driver 'nl80211' ct'
1508219483.779307: Configuration file '/home/root/wpa_supplicant-p2p.conf' -> '/home/root/wpa_supplicant-p2p.conf'
1508219483.779329: Reading configuration file '/home/root/wpa_supplicant-p2p.conf'
1508219483.779430: ctrl_interface='/var/run/wpa_supplicant'
1508219483.779467: driver_param='use_multi_chan_concurrent=1 use_p2p_group_interface=1'
1508219483.779497: update_config=1
1508219483.779522: device_name='VaveHealth'
1508219483.779562: config_methods='virtual_push_button physical_display keypad'
1508219483.779591: p2p_listen_reg_class=81
1508219483.779617: p2p_listen_channel=1
1508219483.779642: p2p_oper_reg_class=81
1508219483.779668: p2p_oper_channel=1
1508219483.779693: p2p_go_intent=15
1508219483.779721: p2p_go_ht40=1
1508219484.288611: Priority group 0
1508219484.288656: id=0 ssid='DIRECT-VH'
1508219484.288686: id=1 ssid='DIRECT-VH'
1508219484.288704: id=2 ssid='DIRECT-VH'
1508219484.288722: id=3 ssid='DIRECT-VH'
1508219484.288740: id=4 ssid='DIRECT-VH'
1508219484.288757: id=5 ssid='DIRECT-VH'
1508219484.297436: nl80211: Supported cipher 00-0f-ac:1
1508219484.297556: nl80211: Supported cipher 00-0f-ac:5
1508219484.297580: nl80211: Supported cipher 00-0f-ac:2
1508219484.297599: nl80211: Supported cipher 00-0f-ac:4
1508219484.297617: nl80211: Supported cipher 00-14-72:1
1508219484.297635: nl80211: Supports Probe Response offload in AP mode
1508219484.297836: nl80211: Using driver-based off-channel TX
1508219484.297891: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0
1508219484.297913: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1
1508219484.297932: nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2
1508219484.297949: nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0
1508219484.297966: nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1
1508219484.298011: nl80211: Use separate P2P group interface (driver advertised support)
1508219484.298032: nl80211: Enable multi-channel concurrent (driver advertised support)
1508219484.298048: nl80211: use P2P_DEVICE support
1508219484.298065: nl80211: interface p2p-dev-wlan0 in phy phy0
1508219484.298202: nl80211: Set mode ifindex 0 iftype 10 (P2P_DEVICE)
1508219484.298277: nl80211: Failed to set interface 0 to mode 10: -22 (Invalid argument)
1508219484.298401: nl80211: Subscribe to mgmt frames with non-AP handle 0x406000
1508219484.298435: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=0104
1508219484.298512: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=040a
1508219484.298584: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=040b
1508219484.298656: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=040c
1508219484.298727: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=040d
1508219484.298797: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=090a
1508219484.298867: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=090b
1508219484.298937: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=090c
1508219484.299006: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=090d
1508219484.299080: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=0409506f9a09
1508219484.299153: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=7f506f9a09
1508219484.299224: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=0801
1508219484.299291: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=06
1508219484.299361: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=0a07
1508219484.299431: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=0a11
1508219484.299502: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=0a1a
1508219484.299572: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=1101
1508219484.299646: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=1102
1508219484.299717: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x406000 match=0505
1508219484.299869: nl80211: Use (wlan0) to initialize P2P Device rfkill
1508219484.300557: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
1508219484.304283: nl80211: Start P2P Device p2p-dev-wlan0 (0x2): Success
1508219484.305014: nl80211: driver param='use_multi_chan_concurrent=1 use_p2p_group_interface=1'
1508219484.305052: nl80211: Use separate P2P group interface
1508219484.305081: Add interface p2p-dev-wlan0 to existing radio phy0
1508219484.305783: nl80211: Regulatory information - country=00
1508219484.305818: nl80211: 2402-2472 @ 40 MHz 20 mBm
1508219484.305851: nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
1508219484.305878: nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
1508219484.639189: nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
1508219484.639233: nl80211: 525IPv6: ADDRCONF(NETDEV_UP): p2p-wlan0-0: link is not ready
0-5330 @ 80 MHz 20 mBm (DFS) (no IR)
1508219484.639265: nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
1508219484.639294: nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
1508219484.639322: nl80211: 57240-63720 @ 2160 MHz 0 mBm
1508219484.639426: nl80211: Added 802.11b mode based on 802.11g information
1508219484.639470: p2p-dev-wlan0: Own MAC address: 38:d2:69:b7:a6:77
1508219484.639501: p2p-dev-wlan0: RSN: flushing PMKID list in the driver
1508219484.639522: nl80211: Flush PMKIDs
1508219484.639602: p2p-dev-wlan0: State: DISCONNECTED -> INACTIVE
1508219484.639681: p2p-dev-wlan0: WPS: UUID from the first interface: 0b1c6273-4310-592e-8987-080831f3d278
1508219484.640067: ENGINE: Loading dynamic engine
1508219484.640670: ENGINE: Loading dynamic engine
1508219484.640961: EAPOL: SUPP_PAE entering state DISCONNECTED
1508219484.640987: EAPOL: Supplicant port status: Unauthorized
1508219484.641008: nl80211: Skip set_supp_port(unauthorized) while not associated
1508219484.641025: EAPOL: KEY_RXIPv6: ADDRCONF(NETDEV_CHANGE): p2p-wlan0-0: link becomes ready
entering state NO_KEY_RECEIVE
1508219484.641042: EAPOL: SUPP_BE entering state INITIALIZE
1508219484.641061: EAP: EAP entering state DISABLED
1508219484.641133: Using existing control interface directory.
1508219484.641270: P2P: Add operating class 81
1508219484.641305: P2P: Channels - hexdump(len=11): 01 02 03 04 05 06 07 08 09 0a 0b
1508219484.641464: P2P: Own listen channel: 81:1
1508219484.641483: P2P: Configured operating channel: 81:1
1508219484.643818: P2P: initialized
1508219484.643887: P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11
1508219484.643917: P2P: cli_channels:
1508219484.643952: p2p-dev-wlan0: Added interface p2p-dev-wlan0
1508219484.643983: p2p-dev-wlan0: State: INACTIVE -> DISCONNECTED
1508219484.644006: nl80211: Set p2p-dev-wlan0 operstate 0->0 (DORMANT)
1508219484.644029: netlink: Operstate: ifindex=0 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
1508219484.644089: p2p-dev-wlan0: Determining shared radio frequencies (max len 2)
1508219484.644125: p2p-dev-wlan0: Shared frequencies (len=0): completed iteration
1508219484.644151: P2P: Add operating class 81
1508219484.644177: P2P: Channels - hexdump(len=11): 01 02 03 04 05 06 07 08 09 0a 0b
1508219484.644337: P2P: Update channel list
1508219484.644381: P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11
1508219484.644410: P2P: cli_channels:
1508219484.644434: Daemonize..
Selected interface 'p2p-dev-wlan0'
OK
Thanks in advance!!
Surby