RS9116N Open Source Driver Technical Reference Manual
Version 1.7
silabs.com | Building a more connected world. 2 | Page
Table of Contents
1 Introduction to RS9116 nLink Driver .................................................................................................................... 5
2 Getting Started with RS9116 nLink Driver ............................................................................................................ 6
2.1 Hardware Requirements ................................................................................................................................. 6
2.2 Software Requirements .................................................................................................................................. 6
2.3 Software Package Contents ........................................................................................................................... 6
3 Compilation Steps .................................................................................................................................................. 7
3.1 Building the Driver from the Local Path .......................................................................................................... 7
3.2 Building the Driver from Kernel Source ........................................................................................................... 8
4 Installing the nLink Driver ..................................................................................................................................... 9
4.1 Installation of Modules .................................................................................................................................... 9
4.2 Installation in Wi-Fi Only Mode ..................................................................................................................... 11
4.2.1 Wi-Fi Station Mode........................................................................................................................................... 11
4.2.2 Wi-Fi Access Point (AP) Mode ......................................................................................................................... 17
4.3 Installation in Bluetooth Only Modes (BT/BLE) ............................................................................................. 19
4.3.1 Bluetooth classic only mode ............................................................................................................................. 19
4.3.2 Bluetooth LE Only Mode .................................................................................................................................. 20
4.3.3 Bluetooth Classic + Bluetooth LE Mode ............................................................................................................ 21
4.4 Installation in Wi-Fi + Bluetooth Classic Coexistence Mode ......................................................................... 21
4.5 Installation in Wi-Fi + Bluetooth LE Coexistence Mode ................................................................................ 21
4.6 Installation in Wi-Fi + Bluetooth Classic + Bluetooth LE Coexistence Mode ................................................. 22
4.7 Uninstalling the Driver ................................................................................................................................... 23
5 Configuration Using Wireless Tools ................................................................................................................... 25
5.1 Using the iw Wireless Tool............................................................................................................................ 25
5.2 Software Rfkill ............................................................................................................................................... 31
6 Wi-Fi Protected Setup (WPS) ............................................................................................................................... 32
6.1 STA Mode WPS Configuration ..................................................................................................................... 32
6.2 AP Mode WPS Push Button Configuration ................................................................................................... 33
7 Sniffer Mode (Promiscuous Mode) ..................................................................................................................... 34
8 Background Scan & Roaming ............................................................................................................................. 36
8.1 Configuring Background Scan Parameters through debugfs ........................................................................ 36
8.2 Setting Bgscan SSID through Debugfs ......................................................................................................... 37
9 Power Save ........................................................................................................................................................... 38
9.1 Power Save Modes ....................................................................................................................................... 38
9.2 Device Sleep Mode ....................................................................................................................................... 38
9.3 Wakeup Procedures and Data Retrieval ....................................................................................................... 38
9.4 Configuring LP Device Power Save for USB and SDIO Interface ................................................................. 39
9.5 Configuring ULP device power save for SDIO interface ............................................................................... 39
9.6 Configuration of ULP GPIO Handshake and GPIO Numbers ....................................................................... 40
9.7 Enabling Power Save ................................................................................................................................... 40
9.8 Configure Power Save Parameters/Profiles through debugfs Dynamically .................................................. 41
9.9 USB Auto Suspend ....................................................................................................................................... 42
10 Steps to Configure 802.11W (PMF) ..................................................................................................................... 43
10.1 Configuring and Compiling Driver for PMF in client mode ............................................................................ 43
10.2 Configuring and Compiling Driver for PMF in AP Mode ................................................................................ 43
11 Antenna Selection ................................................................................................................................................ 44
11.1 To Select External Antenna .......................................................................................................................... 44
11.2 To Select Internal Antenna ........................................................................................................................... 44
12 Bluetooth hciconfig and hcitool Usage .............................................................................................................. 45
12.1 BT Device Connection using Bluetoothctl ..................................................................................................... 46
12.2 L2 Test Commands ...................................................................................................................................... 47
13 PER Driver ............................................................................................................................................................. 49
14 Appendix A: Driver Details .................................................................................................................................. 50
14.1 Debug Zone Prints ........................................................................................................................................ 50
14.2 Version ......................................................................................................................................................... 50
14.3 Station Stats ................................................................................................................................................. 51