Skip to content

Commit

Permalink
Merge tag 'v2023.2.1' into v2023.2.x-hwtest
Browse files Browse the repository at this point in the history
Gluon v2023.2.1
  • Loading branch information
ecsv committed Jan 25, 2024
2 parents 7771b6d + 19c2441 commit 3854bae
Show file tree
Hide file tree
Showing 26 changed files with 137 additions and 243 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ the future development of Gluon.

Please refrain from using the `master` branch for anything else but development purposes!
Use the most recent release instead. You can list all releases by running `git tag`
and switch to one by running `git checkout v2023.2 && make update`.
and switch to one by running `git checkout v2023.2.1 && make update`.

If you're using the autoupdater, do not autoupdate nodes with anything but releases.
If you upgrade using random master commits the nodes *might break* eventually.
Expand Down
2 changes: 1 addition & 1 deletion contrib/ci/minimal-site/site.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- This is an example site configuration for Gluon v2023.2
-- This is an example site configuration
--
-- Take a look at the documentation located at
-- https://gluon.readthedocs.io/ for details.
Expand Down
2 changes: 1 addition & 1 deletion contrib/ci/olsr-site/site.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- This is an example site configuration for Gluon v2023.2
-- This is an example site configuration
--
-- Take a look at the documentation located at
-- https://gluon.readthedocs.io/ for details.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
author = 'Project Gluon'

# The short X.Y version
version = '2023.2'
version = '2023.2.1'
# The full version, including alpha/beta/rc tags
release = version

Expand Down
1 change: 1 addition & 0 deletions docs/releases/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Release Notes
:caption: Gluon 2023.2
:maxdepth: 2

v2023.2.1
v2023.2

.. toctree::
Expand Down
64 changes: 64 additions & 0 deletions docs/releases/v2023.2.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
Gluon 2023.2.1
==============

Added hardware support
----------------------

ath79-generic
~~~~~~~~~~~~~

- Ubiquiti

- UniFi Swiss Army Knife Ultra


ramips-mt7621
~~~~~~~~~~~~~

- D-Link

- COVR-X1860 (A1)


Minor changes
-------------

* Nodes using a fastd VPN connection now report the negotiated method on the status page
(`#2465 <https://github.com/freifunk-gluon/gluon/issues/2465>`_)


Bugfixes
--------

* Fixed hostapd being unable to start an AP when selecting channel 116/120 with HT40
(`#3165 <https://github.com/freifunk-gluon/gluon/issues/3165>`_)

* Fixed occasional reboot issues on some TP-Link WDR3600 and WDR4300 devices
(`Upstream <https://github.com/openwrt/openwrt/issues/13043>`_)
(`#2904 <https://github.com/freifunk-gluon/gluon/issues/2904>`_)



Known issues
------------

* Unstable wireless with certain MediaTek devices (`#3154 <https://github.com/freifunk-gluon/gluon/issues/3154>`_)

* The integration of the BATMAN_V routing algorithm is incomplete.

- Mesh neighbors don't appear on the status page. (`#1726 <https://github.com/freifunk-gluon/gluon/issues/1726>`_)
Many tools have the BATMAN_IV metric hardcoded, these need to be updated to account for the new throughput
metric.
- Throughput values are not correctly acquired for different interface types.
(`#1728 <https://github.com/freifunk-gluon/gluon/issues/1728>`_)
This affects virtual interface types like bridges and VXLAN.

* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown
(`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)

Reducing the TX power in the Advanced Settings is recommended.

* In configurations without VXLAN, the MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled
(`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)

This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).
2 changes: 1 addition & 1 deletion docs/site-example/site.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- This is an example site configuration for Gluon v2023.2
-- This is an example site configuration for Gluon v2023.2.1
--
-- Take a look at the documentation located at
-- https://gluon.readthedocs.io/ for details.
Expand Down
4 changes: 2 additions & 2 deletions docs/user/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Gluon's releases are managed using `Git tags`_. If you are just getting
started with Gluon we recommend to use the latest stable release of Gluon.

Take a look at the `list of gluon releases`_ and notice the latest release,
e.g. *v2023.2*. Always get Gluon using git and don't try to download it
e.g. *v2023.2.1*. Always get Gluon using git and don't try to download it
as a Zip archive as the archive will be missing version information.

Please keep in mind that there is no "default Gluon" build; a site configuration
Expand Down Expand Up @@ -53,7 +53,7 @@ Building the images
-------------------

To build Gluon, first check out the repository. Replace *RELEASE* with the
version you'd like to checkout, e.g. *v2023.2*.
version you'd like to checkout, e.g. *v2023.2.1*.

::

Expand Down
2 changes: 2 additions & 0 deletions docs/user/supported_devices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ ath79-generic
- UniFi AP LR
- UniFi AP Outdoor+
- UniFi AP PRO
- UniFi Swiss Army Knife Ultra

ath79-mikrotik
--------------
Expand Down Expand Up @@ -417,6 +418,7 @@ ramips-mt7621

* D-Link

- COVR-X1860 (A1)
- DAP-X1860 (A1)
- DIR-860L (B1)

Expand Down
6 changes: 3 additions & 3 deletions modules
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ GLUON_FEEDS='gluon packages routing'

OPENWRT_REPO=https://github.com/openwrt/openwrt.git
OPENWRT_BRANCH=openwrt-23.05
OPENWRT_COMMIT=59fd8f08cf544a7f0fcaf700ca9af9292de3adcc
OPENWRT_COMMIT=c909fdad1870361d5a6f0c0a2437d062e988f559

PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git
PACKAGES_GLUON_COMMIT=53ea3b89771fc7d7a80f1800ce25e98dfe1633aa

PACKAGES_PACKAGES_REPO=https://github.com/openwrt/packages.git
PACKAGES_PACKAGES_BRANCH=openwrt-23.05
PACKAGES_PACKAGES_COMMIT=4e9c89801b8171c5e926aa14eea63af623ae5798
PACKAGES_PACKAGES_COMMIT=d877e449358210c6b0b59e8480f885e6d424a32b

PACKAGES_ROUTING_REPO=https://github.com/openwrt/routing.git
PACKAGES_ROUTING_BRANCH=openwrt-23.05
PACKAGES_ROUTING_COMMIT=81cdbd3b62ed07834a8cd2203adb73fc358f8271
PACKAGES_ROUTING_COMMIT=2a3bad8349f1fad631aea8daa4f20343a8cc4457
1 change: 1 addition & 0 deletions package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ function M.is_outdoor_device()
'tplink,wbs210-v1',
'tplink,wbs210-v2',
'tplink,wbs510-v1',
'ubnt,uk-ultra',
'ubnt,unifi-ap-outdoor-plus',
'ubnt,unifiac-mesh',
'ubnt,unifiac-mesh-pro',
Expand Down
6 changes: 5 additions & 1 deletion package/gluon-mesh-vpn-fastd/src/respondd.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static bool get_peer_connection(struct json_object **ret, struct json_object *co
if (!key)
return false;

struct json_object *peer, *connection, *established;
struct json_object *peer, *connection, *established, *method;
if (!json_object_object_get_ex(peers, key, &peer) ||
!json_object_object_get_ex(peer, "connection", &connection))
return false;
Expand All @@ -229,6 +229,10 @@ static bool get_peer_connection(struct json_object **ret, struct json_object *co
struct json_object *jso = json_object_new_double(established_time/1000.0);
json_object_set_serializer(jso, json_object_double_to_json_string, "%.3f", NULL);
json_object_object_add(*ret, "established", jso);

if (json_object_object_get_ex(connection, "method", &method)) {
json_object_object_add(*ret, "method", json_object_get(method));
}
}
else {
*ret = NULL;
Expand Down
8 changes: 5 additions & 3 deletions package/gluon-status-page/javascript/status-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,12 @@
tr.appendChild(th);

var td = document.createElement('td');
if (peer[1] && peer[1].established != null)
td.textContent = _['connected'] + ' (' + formats.time(peer[1].established) + ')';
else
if (peer[1] && peer[1].established != null) {
var method = peer[1].method ? ', ' + peer[1].method : '';
td.textContent = _['connected'] + ' (' + formats.time(peer[1].established) + method + ')';
} else {
td.textContent = _['not connected'];
}
tr.appendChild(td);

tbody.appendChild(tr);
Expand Down
2 changes: 1 addition & 1 deletion package/gluon-status-page/javascript/status-page.min.js

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From: David Bauer <[email protected]>
Date: Thu, 18 Jan 2024 00:52:09 +0100
Subject: mac80211: silence warning for missing rate information

Silence warnings for missing rate information.

These warnings do not provide value. Instead, they might rotate more
crucial information out of the kernel message ringbuffer.

Link: https://github.com/freifunk-gluon/gluon/issues/3160

Signed-off-by: David Bauer <[email protected]>

diff --git a/package/kernel/mac80211/patches/subsys/999-silence-missing-rate.patch b/package/kernel/mac80211/patches/subsys/999-silence-missing-rate.patch
new file mode 100644
index 0000000000000000000000000000000000000000..a34455f78960ded59b60d3d9600823b39fc7b7a2
--- /dev/null
+++ b/package/kernel/mac80211/patches/subsys/999-silence-missing-rate.patch
@@ -0,0 +1,11 @@
+--- a/net/mac80211/mesh_hwmp.c
++++ b/net/mac80211/mesh_hwmp.c
+@@ -350,7 +350,7 @@ u32 airtime_link_metric_get(struct ieee8
+ return MAX_METRIC;
+
+ rate = ewma_mesh_tx_rate_avg_read(&sta->mesh->tx_rate_avg);
+- if (WARN_ON(!rate))
++ if (!rate)
+ return MAX_METRIC;
+
+ err = (fail_avg << ARITH_SHIFT) / 100;

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Signed-off-by: Sven Eckelmann <[email protected]>
Forwarded: no

diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 1bf4db6e5f0554bce5e93d024563becd10ec81ba..0438c14c119526bbd909ea23254482d5b4d43b9d 100644
index 6ff627b03813bb2de0cd1f465014cc74031106a3..fdd03142dbe655e5085241f5a781b807fbda3f5e 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -1093,7 +1093,7 @@ drv_mac80211_setup() {
@@ -1098,7 +1098,7 @@ drv_mac80211_setup() {

set_default rxantenna 0xffffffff
set_default txantenna 0xffffffff
Expand Down
Loading

0 comments on commit 3854bae

Please sign in to comment.