Skip to content

Instantly share code, notes, and snippets.

@harrykipper
Last active October 29, 2023 12:10
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harrykipper/d1bedb234c4af0692f7ccd33329a02d7 to your computer and use it in GitHub Desktop.
Save harrykipper/d1bedb234c4af0692f7ccd33329a02d7 to your computer and use it in GitHub Desktop.
ath10k patch to improve upload speeds
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -3399,6 +3399,8 @@
const struct ieee80211_hdr *hdr = (void *)skb->data;
__le16 fc = hdr->frame_control;
+ skb_orphan(skb);
+
if (!vif || vif->type == NL80211_IFTYPE_MONITOR)
return ATH10K_HW_TXRX_RAW;
@3rdEyeBall
Copy link

How can I apply this as a single (if possible) installation for a new imaging of my Ubuntu Desktop. I have a laptop that has this Qualcomm card and it's atrocious.

@cascadingstyletrees
Copy link

Is this still necessary with the 5.x kernels?

@harrykipper
Copy link
Author

Is this still necessary with the 5.x kernels?

Don't know, switched cards a long time ago. The patch comes from this thread https://bbs.archlinux.org/viewtopic.php?pid=1689990#p1689990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment