While researching, I realized that the official CM kernel for ville uses a quite old version (188.8.131.52) of the prima wlan driver. Using the sources from Code Aurora Forum (external/wlan/prima/) I tried building the kernel with prima wlan driver version 184.108.40.2062 and 220.127.116.117, but they do not compile against the cm-11 ville kernel. For other android smartphones, I found multiple kernels which use recent prima wlan drivers (like freexperia/android_Kernel_sony_msm8x27 on github, SyNtheticNightmar3/CM_Harkness_Kernel on github, and others). With the prima wlan source from the CM Harkness Kernel, which says it is using prima wlan driver version 18.104.22.168, I could compile the cm-11 ville kernel, but flashing a complete cm-11 built with this dirver source (and the corresponding prima wlan firmware in /system/etc/firmware/wlan/prima) does not work.
The dmesg log from my cm-11 ville build using the prima driver source from the Harkness kernel (originaly from some Sony device) states the following, related to the wifi device:
<3>[ 54.279261] wlan: [649:F :HDD] hdd_driver_init: WCNSS driver not ready
I would very much appreciate your support!
(Sorry for the crude, external references; the forum prevents me from posting outgoing links.)