Skip to content

Add methods to retrieve physical device information (continuation) - #138

Merged
SuperQ merged 17 commits into
mdlayher:mainfrom
mercedes-benz:Supernovatux/main
Jun 23, 2026
Merged

Add methods to retrieve physical device information (continuation)#138
SuperQ merged 17 commits into
mdlayher:mainfrom
mercedes-benz:Supernovatux/main

Conversation

@lukas-mbag

Copy link
Copy Markdown
Contributor

Continuing the work started in #99 by @Supernovatux

----- original PR Text -----
Based on #17 by @dhduvall. It was very hard to rebase the 7 year old PR. So I created a new one here. Borrows most of the code from the old one.

Additions and changes
Added parsing of VHTCapabilities
Handles VHT MCS and HT MCS.
Uses "golang.org/x/sys/unix" instead of "github.com/mdlayher/wifi/internal/nl80211"
Uses c.get instead of c.execute wherever appropriate in getPHYs()
As this PR includes the first lines of Go code I've written (and copied thanks to dhduvall). This will probably need some review :) Suggestions for improvements are welcome!

Supernovatux and others added 5 commits January 4, 2025 00:50
@lukas-mbag
lukas-mbag force-pushed the Supernovatux/main branch 2 times, most recently from 0cf42a3 to 5dc8f40 Compare October 30, 2025 12:37
@lukas-mbag

lukas-mbag commented Nov 27, 2025

Copy link
Copy Markdown
Contributor Author

After fixing linter issues and errors from merging of the current main, I think this PR can be merged now.

I did not change functionality of the original PR, but did remove unnecessary and incomplete Frequency-to-Channel (and vice versa) Functions. Currently the Parsing of the Attributes of the PHY-Messages does not cover all Attributes, but the existing ones can be useful.

@lukas-mbag
lukas-mbag marked this pull request as ready for review November 27, 2025 12:30
Comment thread client_linux.go Outdated
@SuperQ

SuperQ commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

Would you mind rebasing this against main?

@lukas-mbag

Copy link
Copy Markdown
Contributor Author

will pick up the topic in the next few days ...

@SuperQ

SuperQ commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Thanks!

@SuperQ
SuperQ merged commit 596668b into mdlayher:main Jun 23, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants