WIP: Add 802.11s support (issue #5)
Now it's possible to configure ddmesh-wifi (ADHOC only or ADHOC + 802.11s) We're use wpad-mesh-openssl package
Config example:
config wifi-iface
option network 'mesh'
option device 'radio0'
option network 'wifi'
option mode 'mesh'
option mesh_id 'Freifunk-Mesh-Net'
option ssid 'Freifunk-Mesh-Net'
option encryption 'none'
wireless info:
o2 Box 6431 @ r987:/# iw dev wlan0 station dump
Station ce:40:d0:96:ae:88 (on wlan0)
inactive time: 56 ms
rx bytes: 30054
rx packets: 422
tx bytes: 1001
tx packets: 9
tx retries: 12
tx failed: 4
rx drop misc: 2
signal: -22 dBm
signal avg: -22 dBm
Toffset: 149060327449 us
tx bitrate: 6.5 MBit/s MCS 0
rx duration: 0 us
mesh llid: 4882
mesh plid: 55447
mesh plink: ESTAB
mesh local PS mode: ACTIVE
mesh peer PS mode: UNKNOWN
mesh non-peer PS mode: ACTIVE
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
short slot time:yes
connected time: 21 seconds
o2 Box 6431 @ r987:/#
messages:
o2 Box 6431 @ r987:/# tcpdump -i wlan0 icmp
[ 2515.015053] device wlan0 entered promiscuous mode
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), capture size 262144 bytes
12:15:51.918502 IP 10.201.7.240 > 10.201.3.223: ICMP echo request, id 45853, seq 71, length 64
12:15:52.927958 IP 10.201.7.240 > 10.201.3.223: ICMP echo request, id 45853, seq 72, length 64
12:15:54.007772 IP 10.201.7.240 > 10.201.3.223: ICMP echo request, id 45853, seq 73, length 64
12:15:54.950250 IP 10.201.7.240 > 10.201.3.223: ICMP echo request, id 45853, seq 74, length 64
12:15:55.957870 IP 10.201.7.240 > 10.201.3.223: ICMP echo request, id 45853, seq 75, length 64
ADHOC+AP+MESH
Netgear R6220 @ r2024:~# iw wlan0 info
Interface wlan0
ifindex 753
wdev 0x14
addr cc:40:d0:96:ae:88
ssid Freifunk-Mesh-Net
type IBSS
wiphy 0
channel 13 (2472 MHz), width: 20 MHz, center1: 2472 MHz
txpower 18.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 3591 0 0 0 0 1091528 3591
Netgear R6220 @ r2024:~# iw wlan0-1 info
Interface wlan0-1
ifindex 754
wdev 0x15
addr ce:40:d0:96:ae:88
type mesh point
wiphy 0
channel 13 (2472 MHz), width: 20 MHz, center1: 2472 MHz
txpower 18.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 69 0 0 0 0 4692 69
Netgear R6220 @ r2024:~# iw wlan0-2 info
Interface wlan0-2
ifindex 756
wdev 0x16
addr ca:40:d0:96:ae:88
ssid Freifunk Dresden [2024]
type AP
wiphy 0
channel 13 (2472 MHz), width: 20 MHz, center1: 2472 MHz
txpower 18.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 2 0 0 0 0 122 2
am ende soll noch
/usr/lib/ddmesh/ddmesh-bmxd.sh add_if wlan0
ausgeführt werden.
TODO:
-
add wpad-mesh-openssl package -
build test enviroment -
allow configure ADHOC and/or 802.11s via GUI -
test all targets
Merge request reports
Activity
changed milestone to %Firmware 6.1.0
added enhancement / feature label
added Feedback/Discussion needed label
added 2 commits
@stephan Kannst du kurz prüfen und mir sagen was ich hier falsch mache ? in Menu taucht ddmesh-wifi-mesh nicht immer auf: es muss zu erst ddmesh-wifi-basic betätigt werden
Edited by Yaroslav Petrov@stephan Ich habe dass Problem gefunden: Paket ddmesh-wifi-extra macht böse sachen (Meldungen unten): Multitarget lasst sich nicht mehr korrekt konfigurieren, fehlen teilweiser benötigte Pakete. Vermutlich es funktioniert mit TP-Link Routern, aber bei neuen Routern mit Ath10k, Ath9k etc. geht es nicht. Also ich schneide es zu erst raus.
tmp/.config-package.in:4205:error: recursive dependency detected! For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:4205: symbol PACKAGE_ddmesh-wifi depends on PACKAGE_kmod-cfg80211 For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:16143: symbol PACKAGE_kmod-cfg80211 is selected by PACKAGE_kmod-mac80211 For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:16430: symbol PACKAGE_kmod-mac80211 is selected by PACKAGE_kmod-ath For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:15526: symbol PACKAGE_kmod-ath is selected by PACKAGE_kmod-ath10k-ct For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:15619: symbol PACKAGE_kmod-ath10k-ct is selected by PACKAGE_ddmesh-wifi-extra For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:4227: symbol PACKAGE_ddmesh-wifi-extra depends on PACKAGE_ddmesh-wifi
added 31 commits
-
5d0f0ec5...7681f01e - 30 commits from branch
master
- 94de2764 - Merge branch 'master' into 'mesh-openssl'
-
5d0f0ec5...7681f01e - 30 commits from branch
changed milestone to %Firmware 6.4.x (802.11s - mesh)