[LG Optimus L3 II, L5 II, L7 II, L9 II] weritos:
That I just have not tried

As a result, I get three outcomes:

1.

CONFIG_CFG80211=y
CONFIG_LIBRA_SDIOIF=m

<6>[ 19.867614] wlan: loading driver v0.2.2.644_20140307_PKTCNT_POLL_patch

<4>[ 19.867936] smps3: Failed to create debugfs directory

<7>[ 19.868123] pmapp_rpc_req_reply: successfully connected to 0x70001 rpc version

<3>[ 19.878484] [703:F :HDD] hdd_module_init: Libra WLAN not detected yet.

<3>[ 20.133886] [703:F :HDD] hdd_module_init: Libra WLAN not detected yet.

<3>[ 20.394183] [703:F :HDD] hdd_module_init: Libra WLAN not detected yet.

<3>[ 20.654031] [703:F :HDD] hdd_module_init: Libra WLAN not detected yet.

<3>[ 20.914213] [703:F :HDD] hdd_module_init: Libra WLAN not detected yet.

<3>[ 21.174141] [703:F :HDD] hdd_module_init: Libra WLAN not detected yet.

<7>[ 21.374193] SELinux: initialized (dev mmcblk1, type vfat), uses genfs_contexts

<7>[ 21.429206] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts

<3>[ 21.434031] [703:F :HDD] hdd_module_init: Libra WLAN not detected yet.

<3>[ 21.434198] [703:F :VOS] vos_chipPowerDown: Libra WLAN sdio device is NULL

<3>[ 21.434204] exiting

2.

CONFIG_CFG80211=m
CONFIG_LIBRA_SDIOIF=m

<4>[ 17.927833] wlan: module license 'Proprietary' taints kernel.

<4>[ 17.927846] Disabling lock debugging due to kernel taint

<4>[ 17.967824] wlan: Unknown symbol cfg80211_send_unprot_deauth (err 0)

<4>[ 17.967876] wlan: Unknown symbol wiphy_register (err 0)

<4>[ 17.967896] wlan: Unknown symbol ieee80211_channel_to_frequency (err 0)

<4>[ 17.967913] wlan: Unknown symbol cfg80211_remain_on_channel_expired (err 0)

<4>[ 17.967968] wlan: Unknown symbol wiphy_unregister (err 0)

<4>[ 17.968098] wlan: Unknown symbol cfg80211_ready_on_channel (err 0)

<4>[ 17.968118] wlan: Unknown symbol __ieee80211_get_channel (err 0)

<4>[ 17.968174] wlan: Unknown symbol wiphy_free (err 0)

<4>[ 17.968199] wlan: Unknown symbol cfg80211_get_bss (err 0)

<4>[ 17.968266] wlan: Unknown symbol cfg80211_disconnected (err 0)

<4>[ 17.968281] wlan: Unknown symbol cfg80211_michael_mic_failure (err 0)

<4>[ 17.968303] wlan: Unknown symbol cfg80211_ibss_joined (err 0)

<4>[ 17.968348] wlan: Unknown symbol cfg80211_inform_bss (err 0)

<4>[ 17.968403] wlan: Unknown symbol cfg80211_scan_done (err 0)

<4>[ 17.968423] wlan: Unknown symbol cfg80211_roamed (err 0)

<4>[ 17.968436] wlan: Unknown symbol cfg80211_put_bss (err 0)

<4>[ 17.968464] wlan: Unknown symbol wiphy_new (err 0)

<4>[ 17.968538] wlan: Unknown symbol cfg80211_connect_result (err 0)

<4>[ 17.968568] wlan: Unknown symbol cfg80211_new_sta (err 0)

<4>[ 17.968633] wlan: Unknown symbol cfg80211_rx_mgmt (err 0)

<4>[ 17.968649] wlan: Unknown symbol ieee80211_frequency_to_channel (err 0)

<4>[ 17.968668] wlan: Unknown symbol cfg80211_mgmt_tx_status (err 0)

<4>[ 17.968686] wlan: Unknown symbol cfg80211_del_sta (err 0)

<3>[ 17.979583] libra_detect_card_change: Could not trigger card change

<6>[ 17.986131] libra_sdioif_exit: Unloaded Successfully

3

CONFIG_CFG80211=y
CONFIG_LIBRA_SDIOIF=y

4>[ 104.230901] wlan: module license 'Proprietary' taints kernel.

<4>[ 104.245933] Disabling lock debugging due to kernel taint

<4>[ 104.302209] wlan: Unknown symbol libra_sdiocmd52 (err 0)

<4>[ 104.302713] wlan: Unknown symbol libra_sdio_configure_suspend_resume (err 0)

<4>[ 104.302946] wlan: Unknown symbol libra_sdio_memcpy_toio (err 0)

<4>[ 104.303388] wlan: Unknown symbol libra_sdio_register_shutdown_hdlr (err 0)

<4>[ 104.303734] wlan: Unknown symbol libra_getsdio_funcdev (err 0)

<4>[ 104.303946] wlan: Unknown symbol libra_sdio_writesb (err 0)

<4>[ 104.328054] wlan: Unknown symbol libra_claim_host (err 0)

<4>[ 104.328391] wlan: Unknown symbol gCard_rem_event_var (err 0)

<4>[ 104.328764] wlan: Unknown symbol libra_enable_sdio_irq (err 0)

<4>[ 104.329038] wlan: Unknown symbol libra_disable_sdio_irq_capability (err 0)

<4>[ 104.329396] wlan: Unknown symbol libra_sdio_readsb (err 0)

<4>[ 104.329729] wlan: Unknown symbol libra_sdio_setprivdata (err 0)

<4>[ 104.330094] wlan: Unknown symbol libra_detect_card_change (err 0)

<4>[ 104.330374] wlan: Unknown symbol libra_sdio_set_clock (err 0)

<4>[ 104.330769] wlan: Unknown symbol libra_sdio_getprivdata (err 0)

<4>[ 104.342353] wlan: Unknown symbol gShutdown_event_var (err 0)

<4>[ 104.342376] wlan: Unknown symbol libra_sdio_configure (err 0)

<4>[ 104.342396] wlan: Unknown symbol libra_release_host (err 0)

<4>[ 104.342419] wlan: Unknown symbol libra_sdio_notify_card_removal (err 0)

<4>[ 104.342468] wlan: Unknown symbol libra_sdio_memcpy_fromio (err 0)

<4>[ 104.342494] wlan: Unknown symbol libra_sdio_get_card_id (err 0)

<4>[ 104.342546] wlan: Unknown symbol libra_sdio_deconfigure (err 0)

<4>[ 104.342564] wlan: Unknown symbol chip_power_qrf6285 (err 0)

<4>[ 104.342594] wlan: Unknown symbol libra_enable_sdio_irq_in_chip (err 0)

I think that all this is due to the fact that the stock firmware there is a patch for WiFi

I see only one way out, it is necessary to disable checking the kernel vermagic

In stock firmware have files in bin:

ftm_ptt
ptt_socket_app
At the core is registered in the launch of these services

[B]ptt_socket_app[/B]
##### malloc failed***\00pttSocketApp: Could not send data to the HDD
\00FTM driver response time out\00Wlan FTM Test APP: diagpkt_alloc succeeded\00Wlan FTM Test APP: diagpkt_subsys_alloc failed\00pttSocketApp: malloc failed
\00%s:Client Connection died
\00pttSocketApp: bad message from client, len[%x]\00IPC Recv failed\00pttSocketApp: %s - error while reading ipc
\00%s: Passing rcvd Message with ani mesgId [%x] radio %d\00pttSocketApp: sending to the driver msgType=%x subtype=%x len=%d\00%s: Rcvd eANIAPI_AUTOTEST_ID_SME_MSG, animsgId = [%x]\00%s: Rcvd RTT_REBOOT Message, rebooting...\00%s: Rcvd eANIAPI_AUTOTEST_ID_ENABLE_ADAPTER animsgId = [%x]\00%s: Rcvd eANIAPI_AUTOTEST_ID_DISABLE_ADAPTER, animsgId = [%x]
\00%s: Rcvd a eANIAPI_AUTOTEST_ID_CFG_SET_REQ, animsgId = [%x]
\00 Sending sendAlreadyRegisteredMessage msg of length %d to client\00%s: Could not send message to the Client\00%s: Client connection does not exist dropping the msg
\00/etc/firmware/wlan/qcom_wlan_nv.bin\00/system/etc/wifi/WCN1314_qcom_wlan_nv.bin\00/persist/WCNSS_qcom_wlan_nv.bin\00PRIMA NV File