Yeah, sure! No problem.It would be awesome if you could link the page where you found the solution!
Regarding the WifiOffDelayIfNotUsed wakelock, I first read about a fix for it when @metalboy94 mentioned it here. At the time it was regarding the G2 if I'm not mistaken. In the G6 though, the com.lge.wifiext.odex file does not exist. However, @shbang described here how he successfully ported the fix to the G4, this time by patching a file named wifi-service.jar. I basically just ported it further to the G6 by deodexing the /system/framework/oat/arm64/wifi-service.odex to /system/framework/wifi-service.jar and commenting out
Code:
#invoke-virtual {v0}, Landroid/os/PowerManager$WakeLock;->acquire()V
This got rid of my WifiOffDelayIfNotUsed wakelock (at least it no longer shows up in BBS).
Regarding the wlan_rx_wakelock, I just edited the drivers/base/power/wakup.c in the stock kernel source with some of the mods @franciscofranco had introduced to the Nexus 5' FrancoKernel. You can find said mods here. Since my last post I have further modded my kernel with some other mods, this time from the Pixel' FrancoKernel, which can be found here, in order to also block the NETLINK and [timerfd] wakelocks. You can find the source to my kernel here.
After this BBS showed no significant wakelocks anymore, but my phone would still only deep sleep about 50% off the time when connected to my work network (which was still an improvement). Since I can no longer pinpoint what's waking up my phone I have half given up on it. I have captured some packets with tPacketCapture that I intend to look at with WireShark in the future, but I haven't gotten around to yet. If someone manages to further fix this problem please do share!
Cheers!