[Xperia Z5 Compact Android Development] petefoth:
Rather than cherry picking that commit, I tried to build using the latest in your repos. Unfortunately, that gave me a bug where WiFi refused to tun on, in First Time Setup Wizard or afterwards. That isn't a problem in your 19 September ROM which works fine. I haven't got a logcat yet, but I wondered if you had any idea why I might be getting this bug.

This is my manifest

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- Devices -->
<project name="Professor-Berni/android_device_sony_kitakami-common"
path="device/sony/kitakami-common"
remote="github"
revision="lineage-17.1" />
<project name="Professor-Berni/android_device_sony_suzuran"
path="device/sony/suzuran"
remote="github"
revision="lineage-17.1" />

<!-- Kernel-->
<project name="Professor-Berni/android_kernel_sony_msm8994"
path="kernel/sony/msm8994"
remote="github"
revision="lineage-17.1-lmk" />

<!-- Vendor -->
<project name="Professor-Berni/proprietary_vendor_sony"
path="vendor/sony"
remote="github"
revision="lineage-17.1" />
<!-- Extra vendor blobs -->
<project name="Professor-Berni/proprietary_vendor_sony_extras"
path="vendor/sony/kitakami-common-extras"
remote="github"
revision="lineage-17.1" />

<project name="LineageOS/android_hardware_broadcom_fm"
path="hardware/broadcom/fm"
remote="github" revision="lineage-17.1" />
<project name="LineageOS/android_hardware_sony_timekeep"
path="hardware/sony/timekeep"
remote="github"
revision="lineage-17.1" />

</manifest>

Full log file is at https://pastebin.com/NZFy0F9x

The interesting bit https://pastebin.com/xCj5cb1B

--------- switch to events
10-05 14:56:47.739 6776 6776 I sysui_multi_action: [757,139,758,4]
--------- switch to main
10-05 14:56:47.743 1031 1071 I WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true
10-05 14:56:47.745 1031 3295 D WifiController: StaEnabledState.enter()
10-05 14:56:47.745 1031 3296 D WifiActiveModeWarden: received a message in WifiDisabledState: { when=0 what=0 target=com.android.internal.util.StateMachine$SmHandler }
10-05 14:56:47.745 1031 3296 D WifiActiveModeWarden: Switching from WifiDisabledState to ClientMode
10-05 14:56:47.745 1031 3296 D WifiActiveModeWarden: Entering ClientModeActiveState
10-05 14:56:47.746 1031 3296 D WifiClientModeManager: entering IdleState
10-05 14:56:47.746 1031 3296 D WifiActiveModeWarden: State changed from client mode. state = 2
10-05 14:56:47.749 1031 1031 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
10-05 14:56:47.754 1031 3296 I WifiVendorHal: Vendor Hal started successfully
--------- switch to events
10-05 14:56:47.755 385 385 I snet_event_log: [121035042,-1,]
--------- switch to main
10-05 14:56:47.755 1031 3297 I WifiP2pNative: Registering for interface available listener
10-05 14:56:47.757 1031 3296 I SupplicantStaIfaceHal: Starting supplicant using HIDL
--------- switch to events
10-05 14:56:47.758 385 385 I chatty : uid=1000(system) hwservicemanage identical 1 line
10-05 14:56:47.759 385 385 I snet_event_log: [121035042,-1,]
--------- switch to main
10-05 14:56:47.759 1031 3296 I android_os_HwBinder: HwBinder: Starting thread pool for getting: android.hardware.wifi.supplicant@1.0::ISupplicant/default
10-05 14:56:47.760 1031 3296 E SupplicantStaIfaceHal: Death handler already present
--------- switch to system
10-05 14:56:47.763 473 473 E android.hardware.wifi@1.0-service.legacy: Failed to open wlan fw path param: No such file or directory
10-05 14:56:47.763 473 473 E android.hardware.wifi@1.0-service.legacy: Failed to change firmware mode
--------- switch to main
10-05 14:56:47.763 1031 3296 D HalDevMgr: updateRttController: no one is interested in RTT controllers
10-05 14:56:47.763 1031 3296 E HalDevMgr: executeChipReconfiguration: configureChip error: 9 ()
10-05 14:56:47.763 1031 3296 E WifiVendorHal: Failed to create STA iface
10-05 14:56:47.763 1031 3296 E WifiNative: Failed to create STA iface in vendor HAL
10-05 14:56:47.763 1031 3296 E WifiClientModeManager: Failed to create ClientInterface. Sit in Idle
10-05 14:56:47.763 1031 3296 D WifiActiveModeWarden: State changed from client mode. state = 4
10-05 14:56:47.763 1031 3296 D WifiClientModeManager: expected stop, not triggering callbacks: newState = 1
10-05 14:56:47.764 1031 3296 E WifiNative: Could not get Iface object for interface null
10-05 14:56:47.764 1031 3296 D WifiActiveModeWarden: ClientMode failed, return to WifiDisabledState.
10-05 14:56:47.764 1031 3296 D WifiController: ClientMode unexpected failure: state unknown
10-05 14:56:47.764 1031 3296 D WifiClientModeManager: currentstate: IdleState
10-05 14:56:47.764 1031 3296 D WifiScanRequestProxy: Sending scan available broadcast: false
10-05 14:56:47.765 1031 1031 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
10-05 14:56:47.765 1031 3298 I WifiScanningService: wifi driver unloaded
--------- switch to events
10-05 14:56:47.766 384 384 I snet_event_log: [121035042,-1,]
--------- switch to main
10-05 14:56:47.769 1031 3296 I WifiScanRequestProxy: Scanning is disabled
10-05 14:56:47.769 1031 3296 D WifiActiveModeWarden: Entering WifiDisabledState
10-05 14:56:47.769 1031 3296 D WifiActiveModeWarden: received a message in WifiDisabledState: { when=-4ms what=1 target=com.android.internal.util.StateMachine$SmHandler }
10-05 14:56:47.769 1031 3296 D WifiActiveModeWarden: Switching from WifiDisabledState to ScanOnlyMode
10-05 14:56:47.769 1031 3296 D WifiActiveModeWarden: Entering ScanOnlyModeActiveState
10-05 14:56:47.769 1031 3296 D WifiScanOnlyModeManager: entering IdleState
10-05 14:56:47.770 1031 3296 I WifiVendorHal: Vendor Hal started successfully
--------- switch to system
10-05 14:56:47.772 473 473 E android.hardware.wifi@1.0-service.legacy: Failed to open wlan fw path param: No such file or directory
10-05 14:56:47.772 473 473 E android.hardware.wifi@1.0-service.legacy: Failed to change firmware mode
--------- switch to main
10-05 14:56:47.772 1031 3296 D HalDevMgr: updateRttController: no one is interested in RTT controllers
10-05 14:56:47.772 1031 3296 E HalDevMgr: executeChipReconfiguration: configureChip error: 9 ()
10-05 14:56:47.773 1031 3296 E WifiVendorHal: Failed to create STA iface
10-05 14:56:47.773 1031 3296 E WifiNative: Failed to create iface in vendor HAL
10-05 14:56:47.773 1031 3296 E WifiScanOnlyModeManager: Failed to create ClientInterface. Sit in Idle
10-05 14:56:47.773 1031 3296 D WifiActiveModeWarden: ScanOnlyMode mode failed
10-05 14:56:47.773 1031 3296 E WifiNative: Could not get Iface object for interface null
10-05 14:56:47.773 1031 3297 I WifiP2pNative: Registering for interface available listener
10-05 14:56:47.774 1031 3296 D WifiActiveModeWarden: ScanOnlyMode failed, return to WifiDisabledState.
10-05 14:56:47.774 1031 3296 D WifiController: ScanOnlyMode unexpected failure: state unknown
10-05 14:56:47.774 1031 3296 D WifiScanOnlyModeManager: currentstate: IdleState
10-05 14:56:47.774 1031 3296 D WifiScanRequestProxy: Sending scan available broadcast: false
10-05 14:56:47.774 1031 3298 I WifiScanningService: wifi driver unloaded
10-05 14:56:47.774 1031 3296 I WifiScanRequestProxy: Scanning is disabled
10-05 14:56:47.777 1031 3296 D WifiActiveModeWarden: Entering WifiDisabledState
10-05 14:56:47.777 1031 3296 E WifiNative: Could not get Iface object for interface null
10-05 14:56:47.782 461 502 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
10-05 14:56:47.782 1031 3296 E WifiNative: Could not get Iface object for interface null
10-05 14:56:49.091 657 657 I MSM-irqbalance: Decided to move IRQ240 from CPU0 to CPU3
10-05 14:56:50.889 461 503 D audio_hw_primary: out_standby: enter: stream (0xf6e14600) usecase(1: low-latency-playback)
10-05 14:56:50.936 461 503 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
10-05 14:56:50.939 461 503 D hardware_info: hw_info_append_hw_type : device_name = speaker
10-05 14:56:50.939 461 503 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)

Thanks