Changes between Version 54 and Version 55 of expansion/gw16146


Ignore:
Timestamp:
05/30/2024 10:08:07 PM (6 months ago)
Author:
Ryan Erbstoesser
Comment:

add mesh section, work in progress

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16146

    v54 v55  
    710710}}}
    711711
     712==== 802.11s Mesh
     713
     714Mesh has a lot of options and is complex in it's nature.
     715
     716Newracom uses and evaluation kit (EVK) on a Raspberry Pi and a lot of mesh functionality and examples about that are shown in this document [https://github.com/Gateworks/nrc7292/blob/master/package/host/doc/AN-7292-007-11s_mesh_network.pdf here] . Gateworks does not use a lot of the scripts and software packages from Newracom despite using the Newracom driver.
     717
     718A basic example to setup a 'mesh point' would be the following:
     7191. Verify proper operation of the GW16146 in standard AP/STA mode first
     7201. Create a wpa_supplicant.conf file that defines the radio as a 'mesh point', example below of a wpa_supplicant.conf file
     721{{{
     722ctrl_interface=/var/run/wpa_supplicant
     723
     724country=US
     725network={
     726    ssid="nrc_mesh"
     727    mode=5
     728    scan_ssid=1
     729    key_mgmt=NONE
     730    beacon_int=100
     731#BW.11ah(Freq)
     732    frequency=5795
     733    freq_list=5795
     734    scan_freq=5795
     735    dot11MeshRetryTimeout=1000
     736    dot11MeshHoldingTimeout=400
     737    dot11MeshMaxRetries=4
     738    mesh_rssi_threshold=-90
     739    mesh_basic_rates= 60 120 240
     740    #no_auto_peer=1
     741}
     742p2p_disabled=1
     743ignore_old_scan_res=1
     744mesh_max_inactivity=-1
     745
     746}}}
     7471. Be sure the wlan0 interface exists and is up
     748{{{
     749ifconfig wlan0 up
     750}}}
     7511. Bring up the radio using wpa_supplicant:
     752{{{
     753
     754wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -dddd &
     755}}}
     756
     757Verify that the interface is in 'mesh' mode by seeing where it says 'type mesh point' in the example below:
     758{{{#!bash
     759# iw wlan0 info
     760Interface wlan0
     761        ifindex 4
     762        wdev 0x1
     763        addr 1c:bc:ec:1b:2a:87
     764        type mesh point
     765        wiphy 0
     766        channel 159 (5795 MHz), width: 20 MHz, center1: 5795 MHz
     767        txpower 30.00 dBm
     768        multicast TXQ:
     769                qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
     770                0       0       28      0       0       0       0       2816            28
     771
     772}}}
     773
    712774==== Adhoc / IBSS Mode
    713775