rtl8189es: bump to latest git HEAD
fix build with mac80211 6.18.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit a5a2aa6319)
This commit is contained in:
@@ -9,9 +9,9 @@ PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_URL:=https://github.com/jwrdegoede/rtl8189ES_linux.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_DATE:=2025-06-21
|
||||
PKG_SOURCE_VERSION:=07f03cf721f5e0317012ece4159834327680ba8b
|
||||
PKG_MIRROR_HASH:=ee990e83859bbc3ee16bd2b7d739e7184fb10147e0675ba71c0aef96f2e6fd01
|
||||
PKG_SOURCE_DATE:=2025-09-27
|
||||
PKG_SOURCE_VERSION:=0a5d04114fac3c9f48a343cb905fbb6a3f9f5df5
|
||||
PKG_MIRROR_HASH:=bd06332470813b5e6919e051c53a897edcbddf97529d893ab0d97eeb74c058ac
|
||||
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
|
||||
@@ -9,16 +9,38 @@
|
||||
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
|
||||
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(5,19, 2))
|
||||
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
|
||||
@@ -4223,7 +4223,7 @@ static int cfg80211_rtw_get_txpower(stru
|
||||
@@ -3253,7 +3253,7 @@ exit:
|
||||
return ret;
|
||||
}
|
||||
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,17,0)
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,17,0)) || defined(BUILD_OPENWRT)
|
||||
static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy, int ifindex, u32 changed)
|
||||
#else
|
||||
static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy, u32 changed)
|
||||
@@ -4165,7 +4165,7 @@ static int cfg80211_rtw_set_txpower(stru
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
||||
struct wireless_dev *wdev,
|
||||
#endif
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,17,0)
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,17,0)) || defined(BUILD_OPENWRT)
|
||||
int ifindex,
|
||||
#endif
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36)) || defined(COMPAT_KERNEL_RELEASE)
|
||||
@@ -4230,10 +4230,10 @@ static int cfg80211_rtw_get_txpower(stru
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
||||
struct wireless_dev *wdev,
|
||||
#endif
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,17,0)
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,17,0)) || defined(BUILD_OPENWRT)
|
||||
int ifindex,
|
||||
#endif
|
||||
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0))
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)) || defined(BUILD_OPENWRT)
|
||||
unsigned int link_id,
|
||||
#endif
|
||||
int *dbm)
|
||||
@@ -5151,7 +5151,7 @@ exit:
|
||||
@@ -5161,7 +5161,7 @@ exit:
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -27,7 +49,7 @@
|
||||
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
|
||||
struct cfg80211_ap_update *params)
|
||||
{
|
||||
@@ -6081,7 +6081,7 @@ static int cfg80211_rtw_set_channel(stru
|
||||
@@ -6091,7 +6091,7 @@ static int cfg80211_rtw_set_channel(stru
|
||||
#endif /*#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0))*/
|
||||
|
||||
static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
|
||||
|
||||
Reference in New Issue
Block a user