Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Laird 60-SIPT Wi-Fi Module

The Trizeps VIII is available with Laird 60-SIPT Wi-Fi Module.
It includes a powerful Marvell 88W997 chipset capable of 802.11ac, 2×2 MU-MIMO, Bluetooth 4.2, and Bluetooth 5 ready.

Please also view the documentation from Laird regarding implementing the driver into the OS.

Install Driver and Power-Up Interface

Date

Description

Download

15.04.2019

Binary Package for Sterling-60 Release 7.0.0.52 & kuk_imx_4.14.78_1.0.0_ga

st60_7.0.0.52_rootfspatch_20190415.tar.gz

*) Note that the driver backport might need to be compiled against your specific kernel to work!

  • Copy the files from the above package or the files you compiled to the root filesystem.

  • Install kernel-modules:

$ insmod compat/compat.ko
$ insmod net/wireless/cfg80211.ko
$ insmod net/mac80211/mac80211.ko
$ insmod drivers/net/wireless/laird/lrdmwl.ko
$ insmod drivers/net/wireless/laird/lrdmwl_pcie.ko
  • Enable the Wireless interface ( nPCIE1_W_DISABLE)

$ echo 81 > /sys/class/gpio/export
$ echo out > /sys/class/gpio/gpio81/direction
$ echo 1 > /sys/class/gpio/gpio81/value
  • Interface up:

$ ifconfig wlan0 up

Scan and Connect to Wi-Fi Network

Simple Scan

$ iw wlan0 scan

Connect manually using wpa_cli

Start wpa_supplicant:

$ wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf &

Run wpa_cli:

$ wpa_cli
wpa_cli v2.6
Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi> and contributors

This software may be distributed under the terms of the BSD license.
See README for more details.


Selected interface 'wlan0'

Interactive mode

Use the scan command to list available networks:

> scan_results
> bssid / frequency / signal level / flags / ssid
a8:9d:21:9d:fe:ec       5300    -78     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP][ESS] WLAN-EXAMPLE-5G
a8:9d:21:9d:fe:e4       2412    -90     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP][ESS] WLAN-EXAMPLE-2.4G

To connect to one of them, you will first need to create a network:

> add_network
1

The output ('1') is the network ID used in the next commands:

> set_network 1 ssid "WLAN_EXAMPLE-5G"
> set_network 1 psk "YourWLANPassword"

The 'list_networks' commands show which networks have been set up ( i.e. WLAN_EXAMPLE-5G).
With 'select_network <network ID>' you select the network to which wpa_cli should connect:

> select_network 1

Will trigger connection to the previously set up network WLAN_EXAMPLE-5G.

The wlan0 interface needs to be assigned an IP address, to have it functional. Either through DHCP or manually.

Notes

Enable & Disable the WLAN function of the Device

GPIO3_17 ( GPIO81; see Using a GPIO in Linux) can be used to enable and disable the WLAN function.
Set GPIO high to enable; set GPIO low to disable the WLAN function.

  • No labels