mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 17:32:18 +00:00
3cb50c9d37
* I don't think this is actually supposed to have an i686 build
Signed-off-by: Gilver <rockgrub@disroot.org>
* Add: 6.14 and 6.13 patches, EL9 ifcond
* Rel...
Signed-off-by: Gilver <rockgrub@disroot.org>
---------
Signed-off-by: Gilver <rockgrub@disroot.org>
(cherry picked from commit 930b7a723b)
Co-authored-by: Gilver <rockgrub@disroot.org>
47 lines
2.0 KiB
Diff
47 lines
2.0 KiB
Diff
From 5c323385615ec555d628fd0dd2ae532ec91a0556 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Nicolas=20Vi=C3=A9ville?= <nicolas.vieville@uphf.fr>
|
|
Date: Fri, 7 Feb 2025 20:39:02 +0100
|
|
Subject: [PATCH] wl_cfg80211_hybrid.c: new parameter for get_tx_power
|
|
introduced in "wifi: cfg80211: send MLO links tx power info in GET_INTERFACE"
|
|
for kernel >= 6.14.x
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Nicolas Viéville <nicolas.vieville@uphf.fr>
|
|
---
|
|
src/wl/sys/wl_cfg80211_hybrid.c | 10 ++++++++--
|
|
1 file changed, 8 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c
|
|
index 5ffa0b3..5a7f0c4 100644
|
|
--- a/src/wl/sys/wl_cfg80211_hybrid.c
|
|
+++ b/src/wl/sys/wl_cfg80211_hybrid.c
|
|
@@ -101,7 +101,10 @@ static s32 wl_cfg80211_set_tx_power(struct wiphy *wiphy,
|
|
enum tx_power_setting type, s32 dbm);
|
|
#endif
|
|
|
|
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)
|
|
+static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev,
|
|
+ unsigned int link_id, s32 *dbm);
|
|
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
|
|
static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, s32 *dbm);
|
|
#else
|
|
static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, s32 *dbm);
|
|
@@ -1225,7 +1228,10 @@ wl_cfg80211_set_tx_power(struct wiphy *wiphy, enum tx_power_setting type, s32 db
|
|
return err;
|
|
}
|
|
|
|
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)
|
|
+static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev,
|
|
+ unsigned int link_id, s32 *dbm)
|
|
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
|
|
static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, s32 *dbm)
|
|
#else
|
|
static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, s32 *dbm)
|
|
--
|
|
2.48.1
|
|
|