Integration Manual

JODY-W3 series - System integration manual
UBX-19011209 - R07 Software Page 49 of 71
C2-Restricted
The following commands set up the 5 GHz 802.11ax access point and the security mechanisms:
uaputl -i uap0 bss_stop
uaputl -i uap0 htstreamcfg 0x22
uaputl -i uap0 sys_cfg_rates 0x8c 0x98 0xb0 0x12 0x24 0x48 0x60 0x6c
uaputl -i uap0 sys_cfg_channel 44
# 20/40MHz, SGI, Rx LDPC, Rx STBC, GF, Tx STBC, MCS0-15
uaputl -i uap0 httxcfg 0x11ff
uaputl -i uap0 sys_cfg_11n 1 0x11ff 3 0 0xffff
# no beamformee
uaputl -i uap0 vhtcfg 2 3 1 0x338161B0 0xfffa 0xfffa
uaputl -i uap0 sys_cfg_ssid JODY-W3-5G
uaputl -i uap0 sys_cfg_auth 0
uaputl -i uap0 sys_cfg_protocol 32
uaputl -i uap0 sys_cfg_wpa_passphrase 12345678
uaputl -i uap0 sys_cfg_cipher 8 8
uaputl -i uap0 bss_start
The following commands set up the 2.4 GHz 802.11n access point:
uaputl -i muap0 bss_stop
uaputl -i muap0 sys_cfg_rates 0x82 0x84 0x8b 0x96 0x0C 0x12 0x18 0x24 0x30 0x48 0x60 0x6c
uaputl -i muap0 sys_cfg_channel 6
# 20/40MHz, SGI, Rx LDPC, Rx STBC, Tx STBC, MCS0-15
uaputl -i muap0 sys_cfg_11n 1 0x01ef 3 0 0xffff
uaputl -i muap0 sys_cfg_ssid JODY-W3-2G
uaputl -i muap0 sys_cfg_auth 0
uaputl -i muap0 sys_cfg_protocol 1
uaputl -i muap0 sys_cfg_cipher 0 0
uaputl -i muap0 bss_start
The following commands assign IP addresses to the two interfaces:
ifconfig uap0 192.168.1.1 up
ifconfig muap0 192.168.2.1 up
It is normally appropriate to run a DHCP server on the network interfaces to automatically assign IP
addresses to the connected clients, as shown below for the uap0 interface:
# File: udhcpd.conf
interface uap0
start 192.168.1.10
end 192.168.1.200
option subnet 255.255.255.0
Command to start the DHCP server:
udhcpd udhcpd.conf
3.8.6.3 Configuration of 802.11ax for kernel 4.x
Additional configuration must be applied for Linux kernel 4.x to enforce 802.11ax operation before
starting the access point. This is due to missing 802.11ax definitions in the 4.x kernel.
# File: config/11axcfg_80-2x2.conf
# Band config
[Band]
# band config, 1: 2.4G, 2: 5G
02
[/Band]
# HE Capability
[HECap]
# ID
ff 00
# Length
1a 00