Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in
  • Firmware Firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Firmware-DeveloperFirmware-Developer
  • FirmwareFirmware
  • Merge requests
  • !13

WIP: Add 802.11s support (issue #5)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Yaroslav Petrov requested to merge mesh-openssl into master Oct 03, 2019
  • Overview 3
  • Commits 6
  • Pipelines 5
  • Changes 3

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
Edited Oct 20, 2019 by Yaroslav Petrov
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: mesh-openssl