summaryrefslogtreecommitdiff
path: root/iwinfo_nl80211.c
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2023-01-06 10:56:54 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-01-06 15:13:10 +0100
commit5914d7113ecf77de63eb21fc233684d1a1a52ca5 (patch)
tree0938e51d4796ddecae2e1dc80c2c9aaf9d612906 /iwinfo_nl80211.c
parent8d158096a9882d3090c7e180a296ca7b035b4865 (diff)
downloadiwinfo-5914d7113ecf77de63eb21fc233684d1a1a52ca5.tar.gz
iwinfo: devices: add Qualcomm Atheros IPQ8074 WiSoC
Add detection of the Qualcomm Atheros IPQ8074 WiSoC using the compatible string from device tree. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'iwinfo_nl80211.c')
-rw-r--r--iwinfo_nl80211.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c
index a78343f..916192f 100644
--- a/iwinfo_nl80211.c
+++ b/iwinfo_nl80211.c
@@ -3491,6 +3491,11 @@ static int nl80211_hardware_id_from_fdt(struct iwinfo_hardware_id *id, const cha
id->device_id = 0x003c;
id->subsystem_vendor_id = 0x168c;
id->subsystem_device_id = 0x4019;
+ } else if (!strcmp(compat, "qcom,ipq8074-wifi")) {
+ id->vendor_id = 0x168c;
+ id->device_id = 0x8074;
+ id->subsystem_vendor_id = 0x168c;
+ id->subsystem_device_id = 0x8074;
} else if (!strcmp(compat, "mediatek,mt7622-wmac")) {
id->vendor_id = 0x14c3;
id->device_id = 0x7622;