-
Notifications
You must be signed in to change notification settings - Fork 45
Support Linux 6.14 by about get_tx_power #78
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
base: main
Are you sure you want to change the base?
Support Linux 6.14 by about get_tx_power #78
Conversation
After applying the above changes, the testing environment described in Sample output from ip link show: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the following sentence to the commit message:
Since the current virtual interface does not support Multi-Link Operation (MLO),
there is no need to update the "get_tx_power" logic to handle per-link TX power.
3c5bc25
to
2a87f71
Compare
MLO clarification added to the commit message as suggested. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebase the latest main
branch.
2a87f71
to
2e9546f
Compare
Rebased with the latest main. |
You don't have to say words like "Please let me know if anything else is needed" since reviewers are notified by GitHub every time git activities trigger events. Concentrate on your work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow the citation style of commit 800ad32 for lean and informative messages.
Update vwifi_get_tx_power to match the new callback signature introduced in Linux commit 7a53af85 ("wifi: cfg80211: send MLO links tx power info in GET_INTERFACE"), which adds a link_id parameter to support reporting TX power on a per-link basis under Multi-Link Operation (MLO). Since vwifi does not support MLO, the implementation remains unchanged aside from updating the function prototype. Compatibility with older kernels is preserved using version checks.
2e9546f
to
f82e7df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The subject of git commit message was misleading. Improve it.
Linux kernel 6.14 introduced an additional link_id parameter to the get_tx_power callback. This commit updates vwifi_get_tx_power to match the new prototype while preserving compatibility with earlier kernels.
ref:
torvalds/linux@7a53af8