Skip to content

Commit 74c548a

Browse files
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: Update README.md luci-app-qbittorrent-simple: move to `luci` feeds (coolsnowwolf#10606) rockchip: fix radxa e25 adc-keys power button support mac80211: backports linux 6.1 support ksmbd: fixes build on kernel 6.1
2 parents 279b62b + 9185096 commit 74c548a

File tree

18 files changed

+91
-258
lines changed

18 files changed

+91
-258
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
134134
iKOOLCORE 硬酷R1 多网口小主机 - N5105/N6005 : Cube box, rest fun. 方寸之间,尽享乐趣
135135

136136
(商品介绍页面 - 硬酷科技(支持花呗)):
137+
[优惠券链接](https://taoquan.taobao.com/coupon/unify_apply.htm?sellerId=2208215115814&activityId=85fbaf791c4b45e9aaf5ec8e3d1cb2a9)
137138
[下单链接](https://item.taobao.com/item.htm?ft=t&id=682987219699)
138139

139140
[![r1](doc/r1.jpg)](https://item.taobao.com/item.htm?ft=t&id=682025492099)

doc/r1.jpg

-52.5 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--- a/smb1pdu.c
2+
+++ b/smb1pdu.c
3+
@@ -5851,7 +5851,11 @@ static int smb_populate_readdir_entry(struct ksmbd_conn *conn, int info_level,
4+
*
5+
* Return: 0 on success, otherwise -EINVAL
6+
*/
7+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
8+
+static bool ksmbd_fill_dirent(struct dir_context *ctx, const char *name, int namlen,
9+
+#else
10+
static int ksmbd_fill_dirent(struct dir_context *ctx, const char *name, int namlen,
11+
+#endif
12+
loff_t offset, u64 ino, unsigned int d_type)
13+
{
14+
struct ksmbd_readdir_data *buf =
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
--- a/net/mac80211/rx.c
2+
+++ b/net/mac80211/rx.c
3+
@@ -49,7 +49,11 @@
4+
5+
if (present_fcs_len)
6+
__pskb_trim(skb, skb->len - present_fcs_len);
7+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,1,0)
8+
__pskb_pull(skb, rtap_space);
9+
+#else
10+
+ pskb_pull(skb, rtap_space);
11+
+#endif
12+
13+
hdr = (void *)skb->data;
14+
fc = hdr->frame_control;
15+
@@ -74,8 +78,11 @@
16+
17+
memmove(skb->data + IEEE80211_HT_CTL_LEN, skb->data,
18+
hdrlen - IEEE80211_HT_CTL_LEN);
19+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,1,0)
20+
__pskb_pull(skb, IEEE80211_HT_CTL_LEN);
21+
-
22+
+#else
23+
+ pskb_pull(skb, IEEE80211_HT_CTL_LEN);
24+
+#endif
25+
return skb;
26+
}
27+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--- a/net/mac80211/rc80211_minstrel_ht.c
2+
+++ b/net/mac80211/rc80211_minstrel_ht.c
3+
@@ -1867,7 +1867,11 @@
4+
5+
memset(sample_table, 0xff, sizeof(sample_table));
6+
for (col = 0; col < SAMPLE_COLUMNS; col++) {
7+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,1,0)
8+
prandom_bytes(rnd, sizeof(rnd));
9+
+#else
10+
+ get_random_bytes(rnd, sizeof(rnd));
11+
+#endif
12+
for (i = 0; i < MCS_GROUP_RATES; i++) {
13+
new_idx = (i + rnd[i]) % MCS_GROUP_RATES;
14+
while (sample_table[col][new_idx] != 0xff)

package/kernel/mt76/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=mt76
4-
PKG_RELEASE=5
4+
PKG_RELEASE=6
55

66
PKG_LICENSE:=GPLv2
77
PKG_LICENSE_FILES:=
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
--- a/mt7921/dma.c
2+
--- b/mt7921/dma.c
3+
@@ -283,10 +283,15 @@
4+
if (ret < 0)
5+
return ret;
6+
7+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 0)
8+
netif_tx_napi_add(&dev->mt76.tx_napi_dev, &dev->mt76.tx_napi,
9+
mt7921_poll_tx, NAPI_POLL_WEIGHT);
10+
napi_enable(&dev->mt76.tx_napi);
11+
-
12+
+#else
13+
+ netif_napi_add_tx_weight(&dev->mt76.tx_napi_dev, &dev->mt76.tx_napi,
14+
+ mt7921_poll_tx, NAPI_POLL_WEIGHT);
15+
+ napi_enable(&dev->mt76.tx_napi);
16+
+#endif
17+
return mt7921_dma_enable(dev);
18+
}
19+
20+
--- a/dma.c
21+
--- b/dma.c
22+
@@ -895,7 +895,11 @@
23+
dev->napi_dev.threaded = 1;
24+
25+
mt76_for_each_q_rx(dev, i) {
26+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,1,0)
27+
netif_napi_add(&dev->napi_dev, &dev->napi[i], poll, 64);
28+
+#else
29+
+ netif_napi_add_weight(&dev->napi_dev, &dev->napi[i], poll, 64);
30+
+#endif
31+
mt76_dma_rx_fill(dev, &dev->q_rx[i]);
32+
napi_enable(&dev->napi[i]);
33+
}

package/lean/luci-app-qbittorrent-simple/Makefile

-35
This file was deleted.

package/lean/luci-app-qbittorrent-simple/luasrc/controller/qbittorrent.lua

-24
This file was deleted.

package/lean/luci-app-qbittorrent-simple/luasrc/model/cbi/qbittorrent.lua

-15
This file was deleted.

package/lean/luci-app-qbittorrent-simple/luasrc/view/qbittorrent_status.htm

-26
This file was deleted.

package/lean/luci-app-qbittorrent-simple/po/zh-cn/qbittorrent.po

-29
This file was deleted.

package/lean/luci-app-qbittorrent-simple/root/etc/config/qbittorrent

-4
This file was deleted.

package/lean/luci-app-qbittorrent-simple/root/etc/init.d/qbittorrent

-36
This file was deleted.

package/lean/luci-app-qbittorrent-simple/root/etc/qbittorrent/qBittorrent.conf.example

-66
This file was deleted.

package/lean/luci-app-qbittorrent-simple/root/etc/uci-defaults/50_luci-qbittorrent

-11
This file was deleted.

package/lean/luci-app-qbittorrent-simple/root/usr/share/rpcd/acl.d/luci-app-qbittorrent.json

-11
This file was deleted.

target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <dt-bindings/gpio/gpio.h>
44
#include <dt-bindings/leds/common.h>
55
#include <dt-bindings/pinctrl/rockchip.h>
6+
#include <dt-bindings/input/input.h>
67
#include "rk3568.dtsi"
78

89
/ {

0 commit comments

Comments
 (0)