[Desire 816 Original Android Development] gwhite5:
Here is the suspect kernel panic for my D816w from the wlan kernel module:

[ 1256.394132] c0 962 wlan: loading driver v3.0.10.085
[ 1256.394148] c0 962 wcnss_debug : wcnss_device_ready(): penv->nv_downloaded = 0x1
[ 1256.421411] c0 962 wlan: [E :VOS] INFO: NV version = 2 is loaded, driver supports NV version = 3
[ 1256.421432] c0 962 wlan: [E :VOS] INFO: Driver supports NV3 CH144 by default, NV2 is currently loaded, NV2 will be used.
[ 1256.467005] c0 4079 wlan: [4079:E :CTL] Failed to start device with status eHAL_STATUS_FAILURE(5)
[ 1256.467039] c0 4079 wlan: [4079:E :CTL] Device Error detected code: 3 - transitioning to stopped state
[ 1256.467084] c0 962 VOS ASSERT in vos_start Line 900
[ 1256.467092] c0 962 ------------[ cut here ]------------
[ 1256.467109] c0 962 WARNING: at ../../../../../../kernel/htc/msm8974/drivers/staging/prima/CORE/VOSS/src/vos_api.c:900 vos_start+0x1cc/0x3f4()
[ 1256.467137] c0 962 [<c010eadc>] (unwind_backtrace+0x0/0x138) from [<c01be498>] (warn_slowpath_null+0x38/0x50)
[ 1256.467155] c0 962 [<c01be498>] (warn_slowpath_null+0x38/0x50) from [<c08e2124>] (vos_start+0x1cc/0x3f4)
[ 1256.467176] c0 962 [<c08e2124>] (vos_start+0x1cc/0x3f4) from [<c07c0370>] (hdd_wlan_startup+0x9d8/0x1450)
[ 1256.467196] c0 962 [<c07c0370>] (hdd_wlan_startup+0x9d8/0x1450) from [<c07c0f14>] (hdd_driver_init+0x12c/0x1e8)
[ 1256.467214] c0 962 [<c07c0f14>] (hdd_driver_init+0x12c/0x1e8) from [<c07c0ff4>] (kickstart_driver+0x24/0x38)
[ 1256.467233] c0 962 [<c07c0ff4>] (kickstart_driver+0x24/0x38) from [<c01d9ff0>] (param_attr_store+0x4c/0x74)
[ 1256.467253] c0 962 [<c01d9ff0>] (param_attr_store+0x4c/0x74) from [<c02da2a4>] (sysfs_write_file+0x108/0x13c)
[ 1256.467273] c0 962 [<c02da2a4>] (sysfs_write_file+0x108/0x13c) from [<c02873f0>] (vfs_write+0xbc/0x1ac)
[ 1256.467291] c0 962 [<c02873f0>] (vfs_write+0xbc/0x1ac) from [<c028757c>] (sys_write+0x38/0x64)
[ 1256.467308] c0 962 [<c028757c>] (sys_write+0x38/0x64) from [<c01088c0>] (ret_fast_syscall+0x0/0x30)
[ 1256.467321] c0 962 ---[ end trace da227214a82491b9 ]---
[ 1256.467336] c0 962 VOS BUG in hdd_wlan_startup Line 10053
[ 1256.467364] c0 962 ------------[ cut here ]------------
[ 1256.467373] c0 962 kernel BUG at ../../../../../../kernel/htc/msm8974/drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c:10053!
[ 1256.467386] c0 962 Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 1256.467398] c0 962 CPU: 0 Tainted: G W (3.4.0-g8949ce3 #1)
[ 1256.467410] c0 962 PC is at hdd_wlan_startup+0xa04/0x1450
[ 1256.467421] c0 962 LR is at hdd_wlan_startup+0xa04/0x1450
[ 1256.467432] c0 962 pc : [<c07c039c>] lr : [<c07c039c>] psr: 60000013
[ 1256.467438] c0 962 sp : ec3b5e60 ip : 00000000 fp : 00000003
[ 1256.467448] c0 962 r10: 00000001 r9 : 00000000 r8 : c1114488
[ 1256.467458] c0 962 r7 : 00000000 r6 : c133f308 r5 : ed8d6360 r4 : ed8d6100
[ 1256.467469] c0 962 r3 : 271ae91c r2 : 271ae91c r1 : 01c38000 r0 : 00000046
[ 1256.467480] c0 962 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 1256.467491] c0 962 Control: 10c5387d Table: 2ccc806a DAC: 00000015
[ 1256.467500] c0 962
[ 1256.467503] c0 962 PC: 0xc07c031c:
[ 1256.467510] c0 962 031c e59f3600 eb04bc00 e594234c e3a01000 e3a03006 e5940264 e2822f7f e2822001
[ 1256.467541] c0 962 033c eb00d250 e3500000 0a000007 e58d0000 e3a01002 e59f2680 e58d0004 e59f35c4
[ 1256.467571] c0 962 035c e3a00005 eb04bbf0 ea00003e e5940260 eb0486f9 e3500000 0a000009 e59f35a4
[ 1256.467601] c0 962 037c e3a00005 e3a01001 e59f2650 eb04bbe6 e59f1590 e3022745 e59f0644 eb100a56
[ 1256.467631] c0 962 039c e7f001f2 e594334c e5d33a35 e3530001 1a000002 e5940264 e59f1628 eb02ac16
[ 1256.467660] c0 962 03bc e1a00005 ebffdfb7 e5940264 eb0287b9 e3500000 0a000009 e58d0000 e3a01001
[ 1256.467690] c0 962 03dc e3a00005 e59f2600 e59f3600 eb04bbce e3a00005 e3a01001 e59f25f4 ea000006
[ 1256.467720] c0 962 03fc e1a00005 ebffdf78 e2507000 0a000048 e59f25e0 e3a00005 e3a01001 e59f3504
[ 1256.467751] c0 962
[ 1256.467755] c0 962 LR: 0xc07c031c:
[ 1256.467762] c0 962 031c e59f3600 eb04bc00 e594234c e3a01000 e3a03006 e5940264 e2822f7f e2822001
[ 1256.467791] c0 962 033c eb00d250 e3500000 0a000007 e58d0000 e3a01002 e59f2680 e58d0004 e59f35c4
[ 1256.467821] c0 962 035c e3a00005 eb04bbf0 ea00003e e5940260 eb0486f9 e3500000 0a000009 e59f35a4
[ 1256.467851] c0 962 037c e3a00005 e3a01001 e59f2650 eb04bbe6 e59f1590 e3022745 e59f0644 eb100a56
[ 1256.467881] c0 962 039c e7f001f2 e594334c e5d33a35 e3530001 1a000002 e5940264 e59f1628 eb02ac16
[ 1256.467910] c0 962 03bc e1a00005 ebffdfb7 e5940264 eb0287b9 e3500000 0a000009 e58d0000 e3a01001
[ 1256.467941] c0 962 03dc e3a00005 e59f2600 e59f3600 eb04bbce e3a00005 e3a01001 e59f25f4 ea000006
[ 1256.467971] c0 962 03fc e1a00005 ebffdf78 e2507000 0a000048 e59f25e0 e3a00005 e3a01001 e59f3504
[ 1256.468002] c0 962
[ 1256.468005] c0 962 SP: 0xec3b5de0:
[ 1256.468013] c0 962 5de0 20200010 32363920 37360020 5d363333 00000020 c1114488 00000000 00000001
[ 1256.468042] c0 962 5e00 00000003 c07c03a0 60000013 c01087d4 00000000 c0108568 00000046 01c38000
[ 1256.468073] c0 962 5e20 271ae91c 271ae91c ed8d6100 ed8d6360 c133f308 00000000 c1114488 00000000
[ 1256.468103] c0 962 5e40 00000001 00000003 00000000 ec3b5e60 c07c039c c07c039c 60000013 ffffffff
[ 1256.468132] c0 962 5e60 000000b4 000000ce 000000f6 0000006c 000000f0 000000af 20000013 ffffffff
[ 1256.468162] c0 962 5e80 ec3b5edc c01084e0 ec3b4000 c122aa44 c135f9e8 ceb402c8 aff06cf6 20000013
[ 1256.468192] c0 962 5ea0 00000003 00000000 c1380000 00013c28 00000000 00000000 00000000 ec3b5f0c
[ 1256.468220] c0 962 5ec0 c135f9e0 c11c583c ec3b5f88 eefa8a80 c122aa44 00000003 00000000 271ae91c
[ 1256.468251] c0 962
[ 1256.468254] c0 962 R4: 0xed8d6080:
[ 1256.468262] c0 962 6080 00000000 ed8d6084 ed8d6084 00000000 00000000 00000000 00000000 00000000
[ 1256.468290] c0 962 60a0 00000500 ed8d60a4 ed8d60a4 c0b6d6f8 00000500 ed8d60b4 ed8d60b4 c0b6d7b0
[ 1256.468320] c0 962 60c0 00000001 00000000 ed8d60c8 ed8d60c8 00000000 00000000 00000500 ed8d60dc
[ 1256.468350] c0 962 60e0 ed8d60dc c0b7fb3c 00000500 ed8d60ec ed8d60ec c0b67bf0 00000000 00000000
[ 1256.468379] c0 962 6100 00000000 00000000 00000000 00000000 c0c5a364 c115304c 00000001 00000000
[ 1256.468407] c0 962 6120 0010030e 003ba815 00000002 00000000 00000001 00000000 00101009 00ff01f4
[ 1256.468437] c0 962 6140 00000006 c0c5aabc 00000407 ffffffff ffffffff 00000000 00000000 00000000
[ 1256.468465] c0 962 6160 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1256.468494] c0 962
[ 1256.468498] c0 962 R5: 0xed8d62e0:
[ 1256.468505] c0 962 62e0 ed8d62dc 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1256.468533] c0 962 6300 00000000 ed8d6304 ed8d6304 00000000 00000000 00000000 00000000 c120e4e4
[ 1256.468562] c0 962 6320 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c1420500
[ 1256.468590] c0 962 6340 c124e6d0 c0c5aad4 c0c5ac34 00000016 00000016 00000000 00000000 00000000
[ 1256.468620] c0 962 6360 c135f9e8 f0ee5000 ed8d6100 ed8d636c ed8d636c 00000000 00000004 00000000
[ 1256.468649] c0 962 6380 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1256.468678] c0 962 63a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1256.468706] c0 962 63c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1256.468735] c0 962
[ 1256.468738] c0 962 R6: 0xc133f288:
[ 1256.468745] c0 962 f288 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1256.468774] c0 962 f2a8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1256.468802] c0 962 f2c8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1256.468830] c0 962 f2e8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1256.468861] c0 962 f308 00000000 00000000 00000000 00000000 c0e10759 de694b94 c11d5e34 00010001
[ 1256.468892] c0 962 f328 00000000 00000000 00000000 c12c8480 c04ebc80 c133f318 ffffffff 00000000
[ 1256.468921] c0 962 f348 00000000 00000000 00000000 00000000 86be5701 00000124 00000000 00000000
[ 1256.468950] c0 962 f368 00000000 00000000 00000001 00000001 00000000 00000000 00000000 00000001
[ 1256.468978] c0 962
[ 1256.468982] c0 962 R8: 0xc1114408:
[ 1256.468989] c0 962 4408 0fbd0b82 c561aad9 046a0e5f ceb6af04 90d34de8 5a0fecb3 a5d9c4e1 6f0565ba
[ 1256.469019] c0 962 4428 31608756 fbbc260d 3ab7828b f06b23d0 ae0ec13c 64d26067 eff5ff44 5eb26e31
[ 1256.469049] c0 962 4448 26d23bd8 11c6d2c7 36447c36 b986da79 f0f54048 2be520d0 8237eb6a 5b449c83
[ 1256.469079] c0 962 4468 26274834 5fb95fba 761aa663 ada31f46 9fc3a056 86fa546a 00000001 00000000
[ 1256.469108] c0 962 4488 271ae91c 00000009 c01181c0 c0118288 c01182a0 c01182b8 c01182b8 c01182bc
[ 1256.469138] c0 962 44a8 c01182bc c0118338 c0118420 c0118430 c0118370 c01183b8 c01183ec c0118484
[ 1256.469168] c0 962 44c8 c0118448 0007b0d7 00000012 ffffffff 00000000 fa002000 fa003000 00000000
[ 1256.469198] c0 962 44e8 00000000 2e000000 00000000 00000000 00000000 7001c040 40000900 00010000
[ 1256.469229] c0 962 Process netd (pid: 962, stack limit = 0xec3b42f0)
[ 1256.469239] c0 962 Stack: (0xec3b5e60 to 0xec3b6000)
[ 1256.469252] c0 962 5e60: 000000b4 000000ce 000000f6 0000006c 000000f0 000000af 20000013 ffffffff
[ 1256.469268] c0 962 5e80: ec3b5edc c01084e0 ec3b4000 c122aa44 c135f9e8 ceb402c8 aff06cf6 20000013
[ 1256.469282] c0 962 5ea0: 00000003 00000000 c1380000 00013c28 00000000 00000000 00000000 ec3b5f0c
[ 1256.469298] c0 962 5ec0: c135f9e0 c11c583c ec3b5f88 eefa8a80 c122aa44 00000003 00000000 271ae91c
[ 1256.469313] c0 962 5ee0: 00000000 eedbe808 eefa0670 00000004 c11c583c ec3b5f88 eefa8a80 c122aa44
[ 1256.469328] c0 962 5f00: 00000003 c07c0f14 00000000 c135f9e8 c133f308 c07c0ff4 dce46000 c01d9ff0
[ 1256.469343] c0 962 5f20: 00000004 e149f640 eefa8c80 e149f658 ec3b5f88 c02da2a4 00000004 de5eea80
[ 1256.469359] c0 962 5f40: 00000004 b6e73758 ee7de400 ec3b5f88 00000000 c02873f0 de5eea80 b6e73758
[ 1256.469373] c0 962 5f60: de5eea80 00000004 00000000 00000000 b6e73758 ec3b4000 00000000 c028757c
[ 1256.469388] c0 962 5f80: 00000021 00000001 00000000 00000000 b6e73758 00000021 00000004 00000004
[ 1256.469403] c0 962 5fa0: c0108a44 c01088c0 b6e73758 00000021 00000021 b6e73758 00000004 00000000
[ 1256.469418] c0 962 5fc0: b6e73758 00000021 00000004 00000004 b688f000 b6b4b0f0 b688e070 00000003
[ 1256.469433] c0 962 5fe0: b6b460d8 b6244ef0 b6e7104d b6d1747c 00070010 00000021 6e5533ac 80826eeb
[ 1256.469453] c0 962 [<c07c039c>] (hdd_wlan_startup+0xa04/0x1450) from [<c07c0f14>] (hdd_driver_init+0x12c/0x1e8)
[ 1256.469471] c0 962 [<c07c0f14>] (hdd_driver_init+0x12c/0x1e8) from [<c07c0ff4>] (kickstart_driver+0x24/0x38)
[ 1256.469490] c0 962 [<c07c0ff4>] (kickstart_driver+0x24/0x38) from [<c01d9ff0>] (param_attr_store+0x4c/0x74)
[ 1256.469508] c0 962 [<c01d9ff0>] (param_attr_store+0x4c/0x74) from [<c02da2a4>] (sysfs_write_file+0x108/0x13c)
[ 1256.469526] c0 962 [<c02da2a4>] (sysfs_write_file+0x108/0x13c) from [<c02873f0>] (vfs_write+0xbc/0x1ac)
[ 1256.469543] c0 962 [<c02873f0>] (vfs_write+0xbc/0x1ac) from [<c028757c>] (sys_write+0x38/0x64)
[ 1256.469560] c0 962 [<c028757c>] (sys_write+0x38/0x64) from [<c01088c0>] (ret_fast_syscall+0x0/0x30)
[ 1256.469575] c0 962 Code: e59f1590 e3022745 e59f0644 eb100a56 (e7f001f2)
[ 1256.469722] c0 962 ---[ end trace da227214a82491ba ]---
[ 1256.469733] c0 962 Kernel panic - not syncing: Fatal exception
[ 1256.469749] c3 0 CPU3: stopping
[ 1256.469767] c3 0 [<c010eadc>] (unwind_backtrace+0x0/0x138) from [<c010d788>] (handle_IPI+0x144/0x238)
[ 1256.469784] c3 0 [<c010d788>] (handle_IPI+0x144/0x238) from [<c0102858>] (gic_handle_irq+0x138/0x164)
[ 1256.469795] c3 0 unwind: Unknown symbol address c0102858
[ 1256.469803] c3 0 unwind: Index not found c0102858
[ 1256.469813] c2 0 CPU2: stopping
[ 1256.469853] c2 0 [<c010eadc>] (unwind_backtrace+0x0/0x138) from [<c010d788>] (handle_IPI+0x144/0x238)
[ 1256.469881] c2 0 [<c010d788>] (handle_IPI+0x144/0x238) from [<c0102858>] (gic_handle_irq+0x138/0x164)
[ 1256.469907] c2 0 unwind: Unknown symbol address c0102858
[ 1256.469920] c2 0 unwind: Index not found c0102858
[ 1256.469942] c0 962 set_restart_reason: set restart reason = 776655aa
[ 1256.469965] c0 962 set_restart_msg: set restart msg = `KP: Fatal exception'
[ 1257.470057] c0 962 wcnss crash shutdown 0
[ 1257.470073] c0 962 Rebooting in 5 seconds..
[ 1262.470257] c0 962 Kernel command line: console=none androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 zcache androidboot.emmc=true androidboot.serialno=FA4BKWW03876 ats=0 vmalloc=400m androidboot.baseband=1.13.3230.16.05 androidboot.efuse_info=FL androidboot.mode=normal androidboot.bootloader=3.19.0.0000 kernelflag=0x0 debugflag=0x0 androidboot.devicerev=2 abnrst=1 radioflag=0x0 radioflagex1=0x0 radioflagex2=0x0 androidboot.pagesize=2048 androidboot.cid=HTC__J15 androidboot.mid=0P9C70000 imc_online_log=0 color_ID= acpu.footprint=(0x6) androidboot.dq=PASS androidboot.batt_poweron=good_battery kmemleak=off rpm_debug.enable=0 androidboot.carrier=HTC-GCC androidboot.keycaps=qwerty androidboot.ddrmid=(0x6) androidboot.lb=1 uif=? td.sf=1 td.td=1 td.ofs=328 td.prd=1 td.dly=0 td.tmo=300 hlog.ofs=628 un.ofs=696 bpht=0x3E8 mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_a5_truly_novatek_35521_720p_video dap=6
[ 1262.470308] c0 962 [K] Going down for restart now
[ 1262.470325] c0 962 msm_restart: Kernel command line: console=none androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 zcache androidboot.emmc=true androidboot.serialno=********3876 ats=0 vmalloc=400m androidboot.baseband=1.13.3230.16.05 androidboot.efuse_info=FL androidboot.mode=normal androidboot.bootloader=3.19.0.0000 kernelflag=0x0 debugflag=0x0 androidboot.devicerev=2 abnrst=1 radioflag=0x0 radioflagex1=0x0 radioflagex2=0x0 androidboot.pagesize=2048 androidboot.cid=HTC__J15 androidboot.mid=0P9C70000 imc_online_log=0 color_ID= acpu.footprint=(0x6) androidboot.dq=PASS androidboot.batt_poweron=good_battery kmemleak=off rpm_debug.enable=0 androidboot.carrier=HTC-GCC androidboot.keycaps=qwerty androidboot.ddrmid=(0x6) androidboot.lb=1 uif=? td.sf=1 td.td=1 td.ofs=328 td.prd=1 td.dly=0 td.tmo=300 hlog.ofs=628 un.ofs=696 bpht=0x3E8 mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_a5_truly_novatek_35521_720p_video dap=6
[ 1262.470948] c0 962 msm_restart_prepare: restart by command: []
[ 1262.470956] c0 962
[ 1262.470964] c0 962 [K] Restarting Linux version 3.4.0-g8949ce3 (blinky@cyanogenmod) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Sat May 28 17:18:48 PDT 2016
[ 1262.470974] c0 962
[ 1262.471070] c0 962 failed to disable wdog debug: -4
[ 1262.471085] c0 962 Calling SCM to disable SPMI PMIC arbiter

No errors detected
[4189912]

###[ RAMDUMP Mode ]###

[4190404] ramdump_real_rst_msg: KP: Fatal exception
[4190420] ramdump_show_rst_msg: IMEM: 0x776655AA

EDIT: It seems like I'm on a modem that's too old after using Google to find others with the same problem, like this One E8 user. I may go and look for a newer one later, but it's back to CM12.1 for now.