Closed Philipansari closed 9 months ago
@kapilkedawat ++
Hi @Philipansari , we will add basic support for link info.
The difference that you see b/w hosted-ng and older esp8089 based on driver is that esp8089 driver is based on mac80211 whereas this is a full mac solution where most of the things are done in firmware.
@Philipansari this was added in https://github.com/espressif/esp-hosted/commit/14e409823e788caa65abfa3984c40198292af720
Tested the new changes. Now the output is defined without throwing an error:
$ iw espsta0 link
Connected to ea:38:82:53:3c:c5 (on espsta0)
SSID: MyStation
freq: 2412
RX: 6485 bytes (60 packets)
TX: 5040 bytes (17 packets)
signal: -60 dBm
Thanks for the integration!
I try to use an ESP32-C3 chip as a wifi-card on an OpenWRT Linux System. Overall the Setup is working as intended:
Using the CLI, I am able to bring up the interface, execute a scan, change the mac-address and connect to a station.
This is working fine. Great project by the way!
However, getting information about the link is not working as intended for a generic cfg80211 driver:
Current Output:
Expected Output (i.e.):
I believe the current esp-hosted driver is capable of supporting these features. Probably only the wiphy device (?) needs to get these features registered in the cfg80211 standard?
Can you please point out where to adjust the driver in order to enable this feature?
Maybe helpful information
Before I switched to this project I used an old driver for the ESP8089. There it is possible to read out the connection information and use a few other functions that are helpful for the web-based control by LUCI on the OpenWRT-System.
iw list
for esp-hosted driveriw list
for an older esp-wifi driver (based on esp8089)