forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,11 @@ PKG_RELEASE=1 | |
PKG_LICENSE:=GPLv2 | ||
PKG_LICENSE_FILES:= | ||
|
||
PKG_SOURCE_URL:=https://github.com/openlumi/rtl8822bs-aml.git | ||
PKG_MIRROR_HASH:=skip | ||
PKG_SOURCE_URL:=https://github.com/openlumi/rtl8723bs.git | ||
PKG_MIRROR_HASH:=ea8c042faf5488f1b1cd0df774a44f62cad5e677d573f464596bf2a9d1fc2567 | ||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_DATE:=2023-05-08 | ||
PKG_SOURCE_VERSION:=4754406f9304959fc0dd1602be1c74eb940bd3c0 | ||
PKG_SOURCE_DATE:=2023-06-13 | ||
PKG_SOURCE_VERSION:=04a0bd2edd1ca95b30f8ff47f59624e1277fadf1 | ||
|
||
PKG_MAINTAINER:=Ivan Belokobylskiy <[email protected]> | ||
PKG_BUILD_PARALLEL:=1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
package/kernel/rtl8723bs-ol/patches/002-fix-build-on-linux-6.7-kernel.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- a/os_dep/linux/ioctl_cfg80211.c | ||
+++ b/os_dep/linux/ioctl_cfg80211.c | ||
@@ -4020,6 +4020,18 @@ static int cfg80211_rtw_start_ap(struct | ||
return ret; | ||
} | ||
|
||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,7,0))|| defined(BUILD_OPENWRT) | ||
+static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev, | ||
+ struct cfg80211_ap_update *info) | ||
+{ | ||
+ int ret = 0; | ||
+ _adapter *adapter = (_adapter *)rtw_netdev_priv(ndev); | ||
+ | ||
+ RTW_INFO(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(ndev)); | ||
+ | ||
+ ret = rtw_add_beacon(adapter, info->beacon.head, info->beacon.head_len, | ||
+ info->beacon.tail, info->beacon.tail_len); | ||
+#else | ||
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev, | ||
struct cfg80211_beacon_data *info) | ||
{ | ||
@@ -4029,6 +4041,7 @@ static int cfg80211_rtw_change_beacon(st | ||
RTW_INFO(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(ndev)); | ||
|
||
ret = rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len); | ||
+#endif | ||
|
||
return ret; | ||
} |