[Sony Xperia M] HATA28:
5GHz WiFi

PecanCM, thanks for your great work on the Xperia M! :good:

Unfortunately I'm unable to find or access 5GHz WiFi networks.

I have provided a logcat, but it may be incomplete, since this is the first time I provide one.

I selected "5 GHz only" at the Wi-Fi frequency band setting, turned on WiFi, then got this log:

D/WifiService( 726): setWifiEnabled: true pid=3233, uid=1000
E/WifiService( 726): Invoking mWifiStateMachine.setWifiEnabled
D/ALSADevice( 217): standby: handle 0xb8a602c0 h 0x0
D/Tethering( 726): sendTetherStateChangedBroadcast 1, 0, 0
D/Tethering( 726): InitialState.processMessage what=4
D/Tethering( 726): sendTetherStateChangedBroadcast 0, 0, 0
D/QsoftapCmd( 213): Got softap fwreload command we are passing on
D/SoftapController( 213): Softap fwReload - Ok
D/CommandListener( 213): Setting iface cfg
D/CommandListener( 213): Trying to bring down wlan0
D/CommandListener( 213): Clearing all IP addresses on wlan0
D/StatusBar.NetworkController( 856): refreshViews: Data not connected!! Set no
data type icon / Roaming
D/WifiMonitor( 726): startMonitoring(wlan0) with mConnected = false
I/wpa_supplicant( 4551): Successfully initialized wpa_supplicant
I/wpa_supplicant( 4551): rfkill: Cannot open RFKILL control device
D/BluetoothAdapter( 3233): 760108185: getState() : mService = null. Returning
TATE_OFF
D/alsa_ucm( 217): snd_use_case_set(): uc_mgr 0xb8a3c230 identifier _verb value
Inactive
D/alsa_ucm( 217): Set mixer controls for HiFi enable 0
D/alsa_ucm( 217): Setting mixer control: SLIMBUS_0_RX Audio Mixer MultiMedia1,
value: 0
D/alsa_ucm( 217): snd_use_case_set(): uc_mgr 0xb8a3c230 identifier _disdev val
e Speaker
D/alsa_ucm( 217): Set mixer controls for Speaker enable 0
D/alsa_ucm( 217): Setting mixer control: RX1 MIX1 INP1, value: ZERO
D/alsa_ucm( 217): Setting mixer control: DAC3 MUX, value: ZERO
D/alsa_ucm( 217): Setting mixer control: DAC2 MUX, value: ZERO
D/AudioUsbALSA( 217): exitPlaybackThread, mproxypfdPlayback: -1
D/AudioUsbALSA( 217): closeDevice handle 0x0
D/AudioUsbALSA( 217): closeDevice handle 0x0
I/wpa_supplicant( 4551): rfkill: Cannot open RFKILL control device
D/StatusBar.NetworkController( 856): refreshViews: Data not connected!! Set no
data type icon / Roaming
D/WifiConfigStore( 726): Loading config and enabling all networks
D/BluetoothAdapter( 3233): 760108185: getState() : mService = null. Returning
TATE_OFF
D/Index ( 3233): Deleting data for locale 'en_GB' took 15 millis
I/wpa_supplicant( 4551): wlan0: CTRL-EVENT-SCAN-STARTED
I/WifiHAL ( 726): Poll result = 1
I/WifiHAL ( 726): Found some events!!!
D/WifiHAL ( 726): no_seq_check received
I/WifiHAL ( 726): event received NL80211_CMD_TRIGGER_SCAN
I/WifiHAL ( 726): event received NL80211_CMD_TRIGGER_SCAN, vendor_id = 0x0
I/WifiHAL ( 726): event ignored!!
E/WifiConfigStore( 726): Error parsing configuration: java.io.FileNotFoundExce
tion: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or direct
ry)
D/WifiNative-HAL( 726): Setting external_sim to 1
D/WifiStateMachine( 726): Setting OUI to DA-A1-19
I/WifiNative-HAL( 726): startHal
D/wifi ( 726): setting scan oui 0xb85accf0
I/WifiHAL ( 726): ******HexDump len:0*********
I/WifiHAL ( 726): ******HexDump End***********
E/WifiHAL ( 726): virtual int WifiVendorCommand::create() ifindex obtained:37
E/WifiHAL ( 726): virtual int WifiVendorCommand::set_iface_id(const char*) ifi
dex obtained:37
I/WifiHAL ( 726): MAC_OUI - da:a1:19
D/WifiHAL ( 726): virtual int WifiVendorCommand::requestResponse(): request a
esponse
E/WifiHAL ( 726): wifi_error wifi_set_scanning_mac_oui(wifi_interface_handle,
yte*): requestResponse Error:-95
E/native ( 726): do suspend false
D/WifiScanningService( 726): SCAN_AVAILABLE : 3
D/RttService( 726): SCAN_AVAILABLE : 3
D/WifiScanningService( 726): DefaultState got{ when=-1ms what=160006 target=co
.android.internal.util.StateMachine$SmHandler }
I/WifiNative-HAL( 726): startHal
D/wifi ( 726): getting scan capabilities on interface[0] = 0xb85accf0
D/RttService( 726): DefaultState got{ when=0 what=160512 target=com.android.in
ernal.util.StateMachine$SmHandler }
E/WifiHAL ( 726): wifi_error wifi_get_gscan_capabilities(wifi_interface_handle
wifi_gscan_capabilities*): GSCAN is not supported by driver
D/wifi ( 726): failed to get capabilities : -3
E/WifiScanningService( 726): could not get scan capabilities
D/CommandListener( 213): Setting iface cfg
D/CommandListener( 213): Trying to bring up p2p0
D/WifiMonitor( 726): startMonitoring(p2p0) with mConnected = true
D/WifiNative-HAL( 726): p2pGetDeviceAddress
D/WifiNative-HAL( 726): p2pGetDeviceAddress returning 1c:7b:21:d4:6e:e2
D/StatusBar.NetworkController( 856): refreshViews: Data not connected!! Set no
data type icon / Roaming
I/wpa_supplicant( 4551): p2p0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY
lpha2=NL
I/wpa_supplicant( 4551): wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY
alpha2=NL
I/wpa_supplicant( 4551): wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=UNKNOWN
D/StatusBar.NetworkController( 856): refreshViews: Data not connected!! Set no
data type icon / Roaming
I/WifiHAL ( 726): Poll result = 1
I/WifiHAL ( 726): Found some events!!!
D/WifiHAL ( 726): no_seq_check received
I/WifiHAL ( 726): event received NL80211_CMD_NEW_SCAN_RESULTS
I/WifiHAL ( 726): event received NL80211_CMD_NEW_SCAN_RESULTS, vendor_id = 0x0
I/WifiHAL ( 726): event ignored!!
D/Index ( 3233): Indexing locale 'en_GB' took 204 millis
I/wpa_supplicant( 4551): wlan0: CTRL-EVENT-SCAN-STARTED
I/WifiHAL ( 726): Poll result = 1
I/WifiHAL ( 726): Found some events!!!
D/WifiHAL ( 726): no_seq_check received
I/WifiHAL ( 726): event received NL80211_CMD_TRIGGER_SCAN
I/WifiHAL ( 726): event received NL80211_CMD_TRIGGER_SCAN, vendor_id = 0x0
I/WifiHAL ( 726): event ignored!!
I/WifiHAL ( 726): Poll result = 1
I/WifiHAL ( 726): Found some events!!!
D/WifiHAL ( 726): no_seq_check received
I/WifiHAL ( 726): event received NL80211_CMD_NEW_SCAN_RESULTS
I/WifiHAL ( 726): event received NL80211_CMD_NEW_SCAN_RESULTS, vendor_id = 0x0
I/WifiHAL ( 726): event ignored!!

My device (C1905) is rooted (using SuperSU v2.27), and using the included kernel in this ROM (BETA 1). Other than this, I have not modified or changed anything.