One needs to sign modules manually otherwise they do not load:
$ insmod: failed to load /vendor/lib/modules/wlan.ko: Required key not available
we need to sign these modules
$ Compiled sign-file
$ modules version should be same as kernel, if you recompile kernel with clean new keys, you need to sign it again.
$ gcc -Wall -O2 -o scripts/sign-file scripts/sign-file.c -lcrypto
$ scripts/sign-file sha256 out/certs/signing_key.pem out/certs/signing_key.x509 out/drivers/staging/qcacld-3.0/wlan.ko
Now adb push it to internal storage or /data/local/tmp
$ insmod /vendor/lib/modules/wlan.ko or path to module/name.ko
Now check if it works or not