wifi: mac80211: align control-port TX skbs - #351
Open
markfeathers wants to merge 1 commit into
Open
Conversation
markfeathers
force-pushed
the
linux-5.10.y-ath10k-fixes
branch
from
July 31, 2026 17:20
9ee66e5 to
6c5a76c
Compare
Control-port frames are allocated differently from ordinary netdev TX packets. Use netdev_alloc_skb_ip_align() so they receive the usual network-packet alignment. This path can expose driver assumptions when converting Ethernet control-port frames for transmission. ath10k's native-WiFi TX path, for example, removes the QoS Control field with skb_pull(2). This fixes WPA2 EAPOL transmission on QCA9377 ath10k_sdio devices when wpa_supplicant sends EAPOL through NL80211_CMD_CONTROL_PORT_FRAME. Assisted-by: codex:gpt-5.6-terra Signed-off-by: Mark Featherston <mark@embeddedts.com>
markfeathers
force-pushed
the
linux-5.10.y-ath10k-fixes
branch
from
July 31, 2026 17:31
6c5a76c to
83dbc37
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Align NL80211 control-port TX skbs with normal netdev TX allocation. This restores WPA2 EAPOL transmission for QCA9377 ath10k_sdio when modern wpa_supplicant uses NL80211_CMD_CONTROL_PORT_FRAME.