aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-10-09 16:04:29 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-10-18 23:01:19 +0200
commit185ea1e61474c971ef2abcc98df4666f01c0f942 (patch)
treeca03c9cdfb4816f81a94b15aebba23f2a724bb8f
parent30e32dcad5c542e7463800c64d33e5b2ca88da81 (diff)
downloadbackports-185ea1e61474c971ef2abcc98df4666f01c0f942.tar.gz
headers: Add ETH_P_MAPv5.12.19-1
This define was added in kernel 4.14 and is used by qmi_wwan now. The code was copied from the upstream kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--backport/backport-include/linux/if_ether.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/backport/backport-include/linux/if_ether.h b/backport/backport-include/linux/if_ether.h
index ac071993..ff2e7513 100644
--- a/backport/backport-include/linux/if_ether.h
+++ b/backport/backport-include/linux/if_ether.h
@@ -47,6 +47,12 @@
#define ETH_P_PREAUTH 0x88C7 /* 802.11 Preauthentication */
#endif
+#ifndef ETH_P_MAP
+#define ETH_P_MAP 0x00F9 /* Qualcomm multiplexing and
+ * aggregation protocol
+ */
+#endif
+
#ifndef ETH_MIN_MTU
#define ETH_MIN_MTU 68
#endif