My Dell XPS15 9560 laptop (running on linux kernel 5.0.9), has a Qualcomm wireless adapter, whose Tx rate is capped at 1 Mbps. I want to make it better, if at all possible.
$ lspci -k | grep -A4 -e Qualcomm
Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32).
Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
Linux wireless warns (last line of referenced page):
TX speeds are extremely poor on certain chips (QCA6174 is one). A patch (source) solves the issue in most cases.
I've never applied any patch to any system's software component. Concretely where and how should I apply the patch on Arch ? I've a number of posts on that (here and especially here, the latter explains the diff syntax in the provided patch) so I know the patch at hand is about adding two lines (one of them blank).
EDIT on what I did so far:
I want to know the installed driver's version and dependencies:
$ lsmod | grep ath
ath10k_pci 61440 0
ath10k_core 552960 1 ath10k_pci
ath 36864 1 ath10k_core
mac80211 950272 1 ath10k_core
cfg80211 798720 3 ath,mac80211,ath10k_core
So everything depends on ath10k_pci. No news here.
Using the canonical path /sys/class/net/<iface>/device/:
$ readlink /sys/class/net/wifi0/device/driver
../../bus/pci/drivers/ath10k_pci
so the "where" resolves as /sys/bus/pci/drivers/ath10k_pci/. Going down that fs-tree branch further, there are a number of sub-directories and files, quite a few are compiled binaries (it seems).
I don't know of any cmd to directly query loaded driver's versions, so I'm no closer to learning what the installed driver's version is.
I guess I need to test that patch on the Qualcomm ath10k_pci WiFi driver on Arch.