Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

horseface1110
Copy link
Contributor

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

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
@horseface1110
Copy link
Contributor Author

After applying the above changes, the testing environment described in
the README under "Testing environment (virtio)" is now successfully running.

Sample output from ip link show:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
3: vw0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:76:77:30:00:00 brd ff:ff:ff:ff:ff:ff
4: vw1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:76:77:31:00:00 brd ff:ff:ff:ff:ff:ff

@jserv jserv requested a review from jychen0611 May 30, 2025 17:39
Copy link
Collaborator

@jychen0611 jychen0611 left a 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.

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.

2 participants