mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-06 06:11:31 +00:00
[ rockchip-dev ] Adjust and re-enable broken patches
This commit is contained in:
parent
b6f1503dfd
commit
e7aeffb108
3 changed files with 1265 additions and 730 deletions
File diff suppressed because it is too large
Load diff
|
@ -301875,7 +301875,7 @@ new file mode 100644
|
||||||
index 0000000000000..324b45bd223fd
|
index 0000000000000..324b45bd223fd
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/net/wireless/rtl8188eu/include/wifi.h
|
+++ b/drivers/net/wireless/rtl8188eu/include/wifi.h
|
||||||
@@ -0,0 +1,1103 @@
|
@@ -0,0 +1,1105 @@
|
||||||
+/******************************************************************************
|
+/******************************************************************************
|
||||||
+ *
|
+ *
|
||||||
+ * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
|
+ * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
|
||||||
|
@ -302608,7 +302608,9 @@ index 0000000000000..324b45bd223fd
|
||||||
+ * According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
|
+ * According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
|
||||||
+ */
|
+ */
|
||||||
+#define IEEE80211_MIN_AMPDU_BUF 0x8
|
+#define IEEE80211_MIN_AMPDU_BUF 0x8
|
||||||
|
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,19,0))
|
||||||
+#define IEEE80211_MAX_AMPDU_BUF 0x40
|
+#define IEEE80211_MAX_AMPDU_BUF 0x40
|
||||||
|
+#endif
|
||||||
+
|
+
|
||||||
+/* Spatial Multiplexing Power Save Modes */
|
+/* Spatial Multiplexing Power Save Modes */
|
||||||
+#define WLAN_HT_CAP_SM_PS_STATIC 0
|
+#define WLAN_HT_CAP_SM_PS_STATIC 0
|
||||||
|
@ -311898,7 +311900,7 @@ new file mode 100644
|
||||||
index 0000000000000..fadf117a54b6a
|
index 0000000000000..fadf117a54b6a
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/net/wireless/rtl8188eu/os_dep/os_intfs.c
|
+++ b/drivers/net/wireless/rtl8188eu/os_dep/os_intfs.c
|
||||||
@@ -0,0 +1,1273 @@
|
@@ -0,0 +1,1276 @@
|
||||||
+/******************************************************************************
|
+/******************************************************************************
|
||||||
+ *
|
+ *
|
||||||
+ * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
+ * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
||||||
|
@ -312553,7 +312555,10 @@ index 0000000000000..fadf117a54b6a
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
|
+static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
|
||||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0))
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
|
||||||
|
+ ,struct net_device *sb_dev
|
||||||
|
+ ,select_queue_fallback_t fallback
|
||||||
|
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0))
|
||||||
+ ,void *unused
|
+ ,void *unused
|
||||||
+ ,select_queue_fallback_t fallback
|
+ ,select_queue_fallback_t fallback
|
||||||
+#elif (LINUX_VERSION_CODE == KERNEL_VERSION(3, 13, 0))
|
+#elif (LINUX_VERSION_CODE == KERNEL_VERSION(3, 13, 0))
|
Loading…
Add table
Reference in a new issue