Commit Graph

3426 Commits

Author SHA1 Message Date
Beginner
b875a76417
.gitignore: ignore any .vscode* file (#7266)
.vscode-ctags are being tracked by git. Update .gitignore to
include any .vscode* file

Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>

Co-authored-by: Nicholas Smith <nicholas@nbembedded.com>
2021-07-03 17:19:44 +08:00
dansir
d7bef8a8f4
packages: use old extra_command wrapper (#7259)
* dnsforwarder: use old extra_command wrapper

* zram-swap: use old extra_command wrapper

* ltq-adsl-app: use old extra_command wrapper

* ltq-vdsl-app: use old extra_command wrapper
2021-07-03 14:44:24 +08:00
coolsnowwolf
ee1d80efcc ipq40xx: fix ath10k-ct conflit with ac58u 2021-07-02 22:19:33 +08:00
coolsnowwolf
80abbb1656 x86: add luci-app-qbittorrent by default 2021-07-02 22:17:15 +08:00
qianxu2001
0deda920ef
base-files: NTP change (#7252)
https://help.aliyun.com/document_detail/92704.html
2021-07-02 21:39:39 +08:00
AmadeusGhost
0497ccf1cc
ntfs3: simplified patch (#7255)
However, I'm not sure whether the changes below kernel 4.14
are correct, use at your own risk.
2021-07-02 21:37:47 +08:00
Beginner
34ad4fec88
luci-app-dnsfilter: fixed failure to start (#7247)
Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
2021-07-02 15:36:00 +08:00
coolsnowwolf
4a06bf69e4 ntfs3: backport support to kernel 4.9 2021-07-01 16:59:40 +08:00
coolsnowwolf
adc5d8f12d Version Update to R21.7.1.100 2021-07-01 16:41:11 +08:00
coolsnowwolf
4c552bf00e luci-app-dnsfilter: add zh_Hans po 2021-07-01 15:55:37 +08:00
coolsnowwolf
c2c27b6ddf Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-01 15:51:33 +08:00
coolsnowwolf
dd7d3d8cb6 luci-app-dnsfilter: add package from garypang13 2021-07-01 15:51:22 +08:00
Beginner
12a44d5e54
mac80211: backport fix for nl80211 control port tx (fixes FS#3857) (#7241)
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-01 05:27:14 +00:00
coolsnowwolf
a9b30b2b2d ipsec: disable ESP offload 2021-06-30 22:02:26 +08:00
Beginner
8d192ea9a4
luci-app-turboacc: some minor adjustments (#7235) 2021-06-30 13:58:32 +00:00
coolsnowwolf
382647e995 luci-app-turboacc: use old extra_command wrapper 2021-06-30 21:29:49 +08:00
coolsnowwolf
4a0fbb84ad dropbear: use old extra_command wrapper 2021-06-30 21:26:45 +08:00
coolsnowwolf
370e0d0c6b Update README 2021-06-30 20:46:32 +08:00
coolsnowwolf
2835bb8a84 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-30 20:44:56 +08:00
coolsnowwolf
4f7aaacb00 adjust default package 2021-06-30 20:44:49 +08:00
Crazy365
fc00955465
fix k3screenctrl DEPENDS (#7232)
fix #7228
2021-06-30 20:37:43 +08:00
coolsnowwolf
01e4998f6d qBittorrent: add static build for lazy guys 2021-06-30 19:15:41 +08:00
coolsnowwolf
a7e39ff214 x86: gen EFI image only by default 2021-06-30 17:30:55 +08:00
coolsnowwolf
8fc5020e3e dnsmasq: sync upstream 2021-06-30 16:16:46 +08:00
coolsnowwolf
8e0f468729 ath79: add support for domywifi_dw33d-nor 2021-06-30 13:28:09 +08:00
coolsnowwolf
58ac6952fe Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-30 13:17:44 +08:00
coolsnowwolf
acf2ce3a64 ath79: add support for Arris SBC-AC1750 2021-06-30 13:17:37 +08:00
Beginner
d7e0201ce9
dnsmasq: distinct Ubus names for multiple instances (#7225)
Currently, when using multiple dnsmasq instances they are all assigned
to the same Ubus instance name. This does not work, as only a single
instance can register with Ubus at a time. In the log, this leads to
`Cannot add object to UBus: Invalid argument` error messages.
Furthermore, upstream 3c93e8eb41952a9c91699386132d6fe83050e9be changes
behaviour so that instead of the log, dnsmasq exits at start instead.

With this patch, all dnsmasq instances are assigned unique names so that
they can register with Ubus concurrently. One of the enabled instances
is always assigned the previous default name "dnsmasq" to avoid breaking
backwards compatibility with other software relying on that default.
Previously, a random instance got assigned that name (while the others
produced error logs). Now, the first unnamed dnsmasq config section is
assigned the default name. If there are no unnamed dnsmasq sections the
first encountered named dnsmasq config section is assigned instead.

A similar issue exists for Dbus and was similarly addressed.

Signed-off-by: Etan Kissling <etan.kissling@gmail.com>
[tweaked commit message] dnsmasq was not crashing it is exiting
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Etan Kissling <etan.kissling@gmail.com>
2021-06-30 05:05:20 +00:00
coolsnowwolf
5d99eeef7c luci-app-ipsec-vpnd: add strongswan-mod-kernel-libipsec 2021-06-30 13:04:33 +08:00
coolsnowwolf
0581b059ef ath79: add support for TP-Link TL-WDR6500 v2 2021-06-30 01:16:42 +08:00
Beginner
ced4dc7500
mac80211: fix a regression in starting aggregation sessions on mesh interfaces (#7226)
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-30 01:01:01 +08:00
coolsnowwolf
6add79ce44 fix luci-app-turboacc dependence 2021-06-29 22:37:51 +08:00
Tianling Shen
d05161e2a3
luci-app-turboacc: add the new offloading controller (#7223)
The new LuCI controller rewritten by Tianling, based on the previous
version of luci-app-flowoffload written by Lean and modified by ntlf9t.

This app merged flow offloading and shortcut-fe support into a single
package, and you can switch to each of them easily without conflicts
or rebooting. Also adapted the Qualcomm QCA NSS ECM driver
(controlling is not supported yet).

For DNS caching, the new promgrams dnsforwarder and dnsproxy were
supported, the latter one supports more advanced procotols like DoT,
DoH, and QUIC. It is useful for users whose ISP hijacked their DNS
requests.

Re-licensed under GPL-3.0-only.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-29 14:32:29 +00:00
coolsnowwolf
87d72cae64 mac80211: remove ath11k nss code temporality 2021-06-29 22:24:20 +08:00
Saxon
3e0302e832
Add docker-cli depend (#7217) 2021-06-29 18:38:17 +08:00
coolsnowwolf
892b521774 mac80211: grace code 2021-06-29 17:09:06 +08:00
coolsnowwolf
9faf3ea90d mac80211: add ipq807x dep for ath11k nss 2021-06-29 16:19:40 +08:00
coolsnowwolf
9be314ba8f mac80211: add ath11k nss dependence 2021-06-29 14:07:54 +08:00
coolsnowwolf
37efc3f069 ath11k: Update tx descriptor search index properly 2021-06-29 12:03:04 +08:00
coolsnowwolf
9e2257c44a ath11k: add hw nss ax wifi offload support 2021-06-29 11:47:43 +08:00
coolsnowwolf
aa3cc2ddfa ath11k: add decap offload support 2021-06-29 11:42:28 +08:00
coolsnowwolf
38fcecc1ad ipq807x: add led configuration 2021-06-29 11:38:08 +08:00
coolsnowwolf
b9089dbf09 ipq807x: update current partition directly 2021-06-29 11:37:17 +08:00
coolsnowwolf
a6cc239b86 Update README 2021-06-29 11:21:29 +08:00
Bob Cantor
d444b78fc9 base-files: wifi: tidy up the reconf code
commit 5edbd390d321532d9a697d6895a1a7c71c40bd5d rearranged the
"wifi up" code.

This commit tidies up the "wifi reconf" code so as to
keep it aligned with the "wifi up" code.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:17:51 +08:00
Bob Cantor
420bd45ca2 base-files: wifi: swap the order of some ubus calls
"/sbin/wifi up" makes three ubus calls:
1. ubus call network reload
2. ubus call network.wireless down
3. ubus call network.wireless up

The first and third ubus calls call drv_mac80211_setup,
while the second ubus call triggers wireless_device_setup_cancel,
so the call sequence becomes,

1. drv_mac80211_setup
2. wireless_device_setup_cancel
3. drv_mac80211_setup

This commit swaps the order of the first two ubus calls,
1. ubus call network.wireless down
2. ubus call network reload
3. ubus call network.wireless up

Consequently drv_mac80211_setup is only called once,
and two related bugs (#FS3784 and #FS3902) are no longer triggered
by /sbin/wifi.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:17:32 +08:00
Bob Cantor
5df9eeddbf mac80211: print an error if wifi teardown fails
drv_mac80211_teardown fails silently if the device to be torn down is
not defined.  This commit prints an error message.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:17:01 +08:00
Bob Cantor
00be744e8f mac80211: always call wireless_set_data (FS#3784)
When wifi is turned off, drv_mac80211_teardown sometimes fails (silently)
because the device to be torn down is not defined.

This situation arises if drv_mac80211_setup was called twice when
wifi was turned on.

This commit ensures that the device to be torn down is always defined
in drv_mac80211_teardown.

Steps to reproduce:

1) Use /sbin/wifi to turn on wifi.
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

2) Use /sbin/wifi to turn off wifi.
   uci set wireless.@wifi-device[0].disabled=1
   uci commit
   wifi

3) Observe that wifi is still up.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:16:40 +08:00
Bob Cantor
9cdb2a6cd3 mac80211: fix no_reload logic (FS#3902)
If drv_mac80211_setup is called twice with the same wifi configuration,
then the second call returns early with error HOSTAPD_START_FAILED.
(wifi works nevertheless, despite the fact that setup is incomplete.  But
"ubus call network.wireless status" erroneously reports that radio0 is down.)

The relevant part of drv_mac80211_setup is,

if [ "$no_reload" != "0" ]; then
        add_ap=1
        ubus wait_for hostapd
        local hostapd_res="$(ubus call hostapd config_add "{\"iface\":\"$primary_ap\", \"config\":\"${hostapd_conf_file}\"}")"
        ret="$?"
        [ "$ret" != 0 -o -z "$hostapd_res" ] && {
                wireless_setup_failed HOSTAPD_START_FAILED
                return
        }
        wireless_add_process "$(jsonfilter -s "$hostapd_res" -l 1 -e @.pid)" "/usr/sbin/hostapd" 1 1
fi

This commit sets no_reload = 0 during the second call of drv_mac80211_setup.

It is perhaps worth providing a way to reproduce the situation
where drv_mac80211_setup is called twice.

When /sbin/wifi is used to turn on wifi,
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

/sbin/wifi makes the following ubus calls,
   ubus call network reload
   ubus call network.wireless down
   ubus call network.wireless up

The first and third ubus calls both call drv_mac80211_setup,
while the second ubus call triggers wireless_device_setup_cancel.
So the call sequence becomes,

   drv_mac80211_setup
   wireless_device_setup_cancel
   drv_mac80211_setup

In contrast, when LuCI is used to turn on wifi only a single call
is made to drv_mac80211_setup.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:16:16 +08:00
John Audia
c3b54e78a5 ipq806x: refresh config for kernel 5.4
* With kernel 5.4.128, ran: make kernel_menuconfig CONFIG_TARGET=generic
* Manually added back CONFIG_LEDS_TRIGGER_DISK=y so as not to revert
  f93fcf8923aa ("ipq806x: enable disk-activity LED trigger")

Signed-off-by: John Audia <graysky@archlinux.us>
[minor commit title/message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-06-29 11:14:56 +08:00