Driver error -wifi

Hello community :D

I’ve added a wifi driver to my source code, and it was successful… Now I can scan and connect to wifi.

The problem is that I can not do tethering ( ethernet to wifi AP), noting that Ap works fine without ethernet

Attached in my logcat : https://del.dog/grunamynaf.log

Hello @appropriate_eagle13 even I am trying to install wifi driver on my Avenger96 board.

Right now, whenever I try to connect with WiFi I get error

wlan0: unsupported driver ‘nl80211’

Can you please let me know how to resolve this?

Thanks in advance

hi @appropriate_eagle13 and @Sourabh1107 , could you give me information regarding, that how can I add wifi driver to the build?

Thank you in advance. :slight_smile:

hello @gyengeb
adding wifi to the build is done with directives from the manufacturer/supplier of the wifi chip.
Sadly, such information is protected by a non-disclosure agreement when you get the chip.
but, as far as I can tell you, there are a lot of modifications and some files to be added to the build.
but in general, the process isn’t that hard.
Hints: compiling the driver on it’s own, adding .ko file to the build …

Thank you @appropriate_eagle13 for the quick answer.
Maybe do you a setep-by-step guide about this topic?

hey
sadly I can’t , it’s due to the NDA with the chip manufacturer, because almost every step is in their manual

you can use this tutorial for regular linux driver , wifi as an example. How to install the Realtek RTL8821CE driver - Ethical hacking and penetration testing
The steps aren’t so different (between aosp and linux)
Hint : check the scripts