Skip to content

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

Open
lukas-mbag wants to merge 15 commits intomdlayher:mainfrom
mercedes-benz:Supernovatux/main
Open

Add methods to retrieve physical device information (continuation)#138
lukas-mbag wants to merge 15 commits intomdlayher: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
Copy link
Copy Markdown
Contributor Author

lukas-mbag commented Nov 27, 2025

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
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