Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realtek driver doesn't report StationInfo #27

Open
Beanow opened this issue Aug 26, 2020 · 0 comments
Open

Realtek driver doesn't report StationInfo #27

Beanow opened this issue Aug 26, 2020 · 0 comments

Comments

@Beanow
Copy link

Beanow commented Aug 26, 2020

For the rtl8723bs driver a station dump doesn't return the current station, even when it's active.
I've reported this upstream https://bugzilla.kernel.org/show_bug.cgi?id=209051

Though there's a possible workaround by getting the station by BSSID.

Example of this driver's behavior.

$ iw dev wlan0 link
Connected to <BSSID> (on wlan0)
	SSID: <SSID>
	freq: 2427
	signal: -45 dBm
	tx bitrate: 72.2 MBit/s

$ iw dev wlan0 station get <BSSID>
Station <BSSID> (on wlan0)
	rx packets:	1428888
	tx packets:	6618022
	tx failed:	0
	signal:  	-45 dBm
	tx bitrate:	72.2 MBit/s
	current time:	1598466194518 ms

$ iw dev wlan0 station dump

My use case is to use the Prometheus node_exporter wifi collector. Which is missing details (like signal strength) as it relies on StationInfo.

Realizing it may be icky to add workarounds for specific devices here, still wanted to report as this method seems fairly important to the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant