Go to file
Sven Eckelmann ad2873f74a ipq807x: Enable bridge-mgr to control port mac address learning
The switch in the IPQ807x/IPQ60xx devices will automatically learn the mac
addresses behind a port. But it will not unlearn this entry when some mac
switches from the ethernet port to the CPU port. This will for example
happens when a device roams from on AP to another AP. At least when both
are APs are bridging the wifi traffic directly or indirectly (mesh) to the
same ethernet broadcast domain.

As result, the roaming device can no longer receive any ethernet packets
which the AP is expected to receive on the ethernet port. This state will
be kept for a couple of minutes until the entry in the FDB is dropped
automatically. But it is still possible for the wifi device to send data
via the ethernet during this whole time.

One solution is to just disable learning on all ports. The other option
would be to enable the qca bridge-mgr which takes care of gathering the
events from the bridge and forwards it to the qca-ssdk (to manipulate the
state of the switch). The latter option was chosen to follow the approach
which QCA is also using in their QSDK.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-05-09 12:58:18 +02:00
.github/workflows ucentral: development update 2021-05-08 09:25:38 +02:00
backports ucentral: development update 2021-05-09 12:38:33 +02:00
docker ucentral: development update 2021-05-04 13:51:23 +02:00
feeds ipq807x: Enable bridge-mgr to control port mac address learning 2021-05-09 12:58:18 +02:00
patches ipq807x: Enable bridge-mgr to control port mac address learning 2021-05-09 12:58:18 +02:00
profiles ucentral: development update 2021-05-08 18:47:45 +02:00
.gitignore open-converged-wireless: Import 21.02 based uCentral tree 2021-03-25 12:19:47 +01:00
build.sh ucentral: development update 2021-05-04 13:51:23 +02:00
config.yml ucentral: development update 2021-04-13 12:45:19 +02:00
dock-run.sh open-converged-wireless: Import 21.02 based uCentral tree 2021-03-25 12:19:47 +01:00
Makefile open-converged-wireless: Import 21.02 based uCentral tree 2021-03-25 12:19:47 +01:00
README.md ucentral: development update 2021-03-31 20:24:10 +02:00
setup.py open-converged-wireless: Import 21.02 based uCentral tree 2021-03-25 12:19:47 +01:00

Setting up your build machine

Requires a recent linux installation. Older systems without python 3.7 will have trouble. See this link for details: https://openwrt.org/docs/guide-developer/quickstart-build-images

Install build packages: sudo apt install build-essential libncurses5-dev gawk git libssl-dev gettext zlib1g-dev swig unzip time rsync python3 python3-setuptools python3-yaml.

Doing a native build on Linux

First we need to clone and setup our tree. This will result in an openwrt/.

./setup.py --setup

Next we need to select the profile and base package selection. This setup will install the feeds, packages and generate the .config file.

cd openwrt
./scripts/gen_config.py ea8300

Finally we can build the tree.

make -j X V=s