Skip to content

wifi: mac80211: align control-port TX skbs - #351

Open
markfeathers wants to merge 1 commit into
linux-5.10.yfrom
linux-5.10.y-ath10k-fixes
Open

wifi: mac80211: align control-port TX skbs#351
markfeathers wants to merge 1 commit into
linux-5.10.yfrom
linux-5.10.y-ath10k-fixes

Conversation

@markfeathers

Copy link
Copy Markdown
Contributor

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.

@markfeathers
markfeathers force-pushed the linux-5.10.y-ath10k-fixes branch from 9ee66e5 to 6c5a76c Compare July 31, 2026 17:20
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
markfeathers force-pushed the linux-5.10.y-ath10k-fixes branch from 6c5a76c to 83dbc37 Compare July 31, 2026 17:31
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.

1 participant