| | 712 | ==== 802.11s Mesh |
| | 713 | |
| | 714 | Mesh has a lot of options and is complex in it's nature. |
| | 715 | |
| | 716 | Newracom 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 | |
| | 718 | A basic example to setup a 'mesh point' would be the following: |
| | 719 | 1. Verify proper operation of the GW16146 in standard AP/STA mode first |
| | 720 | 1. Create a wpa_supplicant.conf file that defines the radio as a 'mesh point', example below of a wpa_supplicant.conf file |
| | 721 | {{{ |
| | 722 | ctrl_interface=/var/run/wpa_supplicant |
| | 723 | |
| | 724 | country=US |
| | 725 | network={ |
| | 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 | } |
| | 742 | p2p_disabled=1 |
| | 743 | ignore_old_scan_res=1 |
| | 744 | mesh_max_inactivity=-1 |
| | 745 | |
| | 746 | }}} |
| | 747 | 1. Be sure the wlan0 interface exists and is up |
| | 748 | {{{ |
| | 749 | ifconfig wlan0 up |
| | 750 | }}} |
| | 751 | 1. Bring up the radio using wpa_supplicant: |
| | 752 | {{{ |
| | 753 | |
| | 754 | wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -dddd & |
| | 755 | }}} |
| | 756 | |
| | 757 | Verify 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 |
| | 760 | Interface 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 | |