[Galaxy S II Android Development] gladiac:
Hi all,

I just installed Alpha 6. This version is nearing perfection. However, I found a problem with 802.11x authentication for wifi networks. Connecting with PEAP fails with the following error:

02-02 09:12:14.248 2304 2404 D WifiStateMachine: shouldSwitchNetwork txSuccessRate=3,50 rxSuccessRate=0,00 delta 1000 -> 1000
02-02 09:12:14.263 2304 2404 D WifiStateMachine: CMD_AUTO_CONNECT sup state ScanState my state DisconnectedState nid=2 roam=3
02-02 09:12:14.263 2304 2404 D WifiStateMachine: CMD_AUTO_CONNECT will save config -> "WIFI-ESSID" nid=2
02-02 09:12:14.302 2304 2404 E wifi_gbk2utf: g_pItemList is NULL
02-02 09:12:14.314 2304 2404 E wifi_gbk2utf: g_pItemList is NULL
02-02 09:12:14.359 2304 2404 D WifiStateMachine: CMD_AUTO_CONNECT did save config -> nid=2
02-02 09:12:14.363 2767 2767 I wpa_supplicant: wlan0: Trying to associate with 11:22:33:44:55:66 (SSID='WIFI-ESSID' freq=2462 MHz)
02-02 09:12:15.181 2767 2767 I wpa_supplicant: wlan0: Associated with 11:22:33:44:55:66
02-02 09:12:15.209 2767 2767 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
02-02 09:12:15.221 2767 2767 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
02-02 09:12:15.222 2767 2767 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
02-02 09:12:15.285 2767 2767 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4' hash=eae72eb454bf6c3977ebd289e970b2f5282949190093d0d26f98d0f0d6a9cf17
02-02 09:12:15.297 2767 2767 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='LDAP BLABLA' hash=HASH-BLABLA
02-02 09:12:15.308 2767 2767 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:DNS BLABLA
[B]02-02 09:12:15.400 2767 2767 I wpa_supplicant: EAP-MSCHAPV2: Authentication succeeded[/B]
02-02 09:12:15.407 2767 2767 I wpa_supplicant: EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
02-02 09:12:15.951 2767 2767 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
02-02 09:12:16.045 2767 2767 I wpa_supplicant: wlan0: WPA: Key negotiation completed with 11:22:33:44:55:66 [PTK=CCMP GTK=CCMP]
02-02 09:12:16.046 2767 2767 I wpa_supplicant: wlan0: CTRL-EVENT-CONNECTED - Connection to 11:22:33:44:55:66 completed [id=2 id_str=]
[B]02-02 09:12:16.052 2767 2767 W wpa_supplicant: wlan0: WPA: Failed to configure IGTK to the driver
02-02 09:12:16.053 2767 2767 I wpa_supplicant: wlan0: RSN: Failed to configure IGTK[/B]
02-02 09:12:16.062 2767 2767 I wpa_supplicant: wlan0: CTRL-EVENT-DISCONNECTED bssid=11:22:33:44:55:66 reason=1 locally_generated=1
02-02 09:12:16.075 2304 2404 D ConnectivityService: registerNetworkAgent NetworkAgentInfo{ ni{[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: "WIFI-ESSID", roaming: false, failover: false, isAvailable: true]} network{107} lp{{InterfaceName: wlan0 LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576}} nc{[ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]} Score{20} everValidated{false} lastValidated{false} created{false} lingering{false} explicitlySelected{false} acceptUnvalidated{false} everCaptivePortalDetected{false} lastCaptivePortalDetected{false} }
02-02 09:12:16.075 2304 2404 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "WIFI-ESSID"-WPA_EAP to any
02-02 09:12:16.075 2304 2404 E wifi_gbk2utf: g_pItemList is NULL
02-02 09:12:16.075 2304 2406 D ConnectivityService: NetworkAgentInfo [WIFI () - 107] EVENT_NETWORK_INFO_CHANGED, going from null to CONNECTING
02-02 09:12:16.095 2304 2404 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "WIFI-ESSID"-WPA_EAP to any
02-02 09:12:16.095 2304 2404 E wifi_gbk2utf: g_pItemList is NULL
02-02 09:12:16.116 1924 2293 D CommandListener: Setting iface cfg
02-02 09:12:16.116 2304 2404 D WifiStateMachine: Start Dhcp Watchdog 8
02-02 09:12:16.121 2304 2404 D WifiNative-HAL: stopRssiMonitoring, cmdId 0
02-02 09:12:16.121 2304 2404 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "WIFI-ESSID"-WPA_EAP to any
02-02 09:12:16.121 2304 2404 E wifi_gbk2utf: g_pItemList is NULL
02-02 09:12:16.136 1924 2293 D CommandListener: Clearing all IP addresses on wlan0
02-02 09:12:16.157 2304 2404 D IpReachabilityMonitor: clear: iface{wlan0/8}, v{1}, ntable=[]
02-02 09:12:16.158 2304 2404 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "WIFI-ESSID"-WPA_EAP to any
02-02 09:12:16.158 2304 2404 E wifi_gbk2utf: g_pItemList is NULL
02-02 09:12:16.178 2304 2404 D IpReachabilityMonitor: clear: iface{wlan0/8}, v{2}, ntable=[]
02-02 09:12:16.180 2304 2406 D ConnectivityService: NetworkAgentInfo [WIFI () - 107] EVENT_NETWORK_INFO_CHANGED, going from CONNECTING to DISCONNECTED
02-02 09:12:16.181 2304 2406 D ConnectivityService: NetworkAgentInfo [WIFI () - 107] got DISCONNECTED, was satisfying 0
02-02 09:12:16.186 2304 2406 D ConnectivityService: notifyType LOST for NetworkAgentInfo [WIFI () - 107]
02-02 09:12:16.187 2304 2406 E ConnectivityService: EVENT_NETWORK_INFO_CHANGED from unknown NetworkAgent
02-02 09:12:16.198 2304 2404 D WifiNetworkAgent: NetworkAgent: NetworkAgent channel lost
02-02 09:12:16.223 2304 4508 D DhcpClient: Receive thread started
02-02 09:12:16.223 2304 4508 D DhcpClient: Receive thread stopped

The log shows that the authentication actually works. However, the IGTK (Integrity Group Temporal Key which is part of 802.11w) cannot be configured to the driver. Maybe the driver is not 802.11w capable?

Whatsoever, thanks for the effort of porting CM13 to the i9100 [MENTION=6159291]Lysergic Acid[/MENTION]!