Reference Manual

Table Of Contents
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
136
29 Appendix D: Common Configuration Parameters
The common_insert.sh script is used to configure parameters at boot time. The parameters with their usage and
input values are described below.
29.1 RF Power Mode parameter
The RF Power Mode parameter is used to set the power mode at which the RF operates. It is applicable for each
protocol. By default, it is set to high power TX and high power RX. The following are the possible configurable
values:
0x00 - For Both TX and RX High Power
0x11 - For Both TX and RX Medium Power
0x22 - For Both TX and RX LOW Power
0x10 - For High Power TX and Medium RX Power
0x20 - For High Power TX and LOW RX Power
0x01 - For Medium TX and RX High Power
0x21 - For Medium Power TX and LOW RX Power
0x02 - For Low Power TX and RX High Power
0x12 - For LOW Power TX and Medium RX Power
WLAN_RF_PWR_MODE is used to set the rf power mode for WLAN protocol.
BT_RF_PWR_MODE is used to set the rf power mode for Bluetooth protocol.
Example:
WLAN_RF_PWR_MODE=0x00
The above sets high TX and high RX power for WLAN.
BT_RF_PWR_MODE=0x00
The above sets high TX and high RX power for Bluetooth.
29.2 Country selection
This parameter is used to set the module in a specific country. This is set commonly across all protocols. The
following country codes are applicable.
0 - World Domain
840 - US Domain Maps to US Region
276 - Germany Maps to EU Region
392 - Japan Maps to Japan Region
Example:
SET_COUNTRY_CODE=0
The above sets the module in the world domain.
29.3 Antenna selection
This variable is used to select the antenna to be used. The following are the possible values:
2 – Select internal antenna
3 – Select external antenna
Example:
ANT_SEL_VALUE=2
The above line selects the internal antenna. The Operation starts on this antenna.
In the NL80211 mode priority is given for the country code from "sta_settings /hostapd.conf / iw" than the
country code from common_insert.sh. It is recommended to use same country code in all inputs to avoid
confusion. 