Hello rizwan,
It is too less information you submitted about your WIFI module, so it is very hard to give you corresponding advice for your question, but generally speaking, for compiling WIFI driver, steps are like below:
------Compiling it independently to be a module( .ko)
Copy WIFI driver's source code to a directory.
------Modifying Makefile of the driver.
(1) Modifying Cross Compiler path
(2) Modifying Linux kernel path
(3) run make command
If you have done it by using above similar steps, and met issue you said, you can check if there exists the file in source code.
Hope above information can help you!
Best Regards,
Weidong