Configuring Common Software Parameters#
The following sections describe common software configuration parameters that enable/disable or configure various features of the SiWx91x RCP Driver.
Note: The following
insmod
command may be used to configure multiple parameters at the same time. Note that this only applies to the parameters below that are configuring usinginsmod
.Replace
module_param
with the module parameter to be configured and <value> with the corresponding value that needs to be assigned. Module parameters in this section are grouped according to the corresponding feature.insmod rsi_91x.ko [module_param = <value>], [module_param = <value>], ... , [module_param = <value>]
Power Save Features#
insmod rsi_91x.ko lp_handshake_mode = < value > Low power mode handshake type selection.
0 - No handshake Mode (Default)
1 - GPIO Handshake Mode
insmod rsi_91x.ko default_deep_sleep_enable = < value > : Enable/disable deep sleep.
0 - Disable deep sleep (Default)
1 - Enable deep sleep
Developer Mode Configuration Parameters#
insmod rsi_91x.ko power_save_opt = < value >: Module parameter to configure Power Save options.
0 - Disable Duty Cycling & Undestined Packet Drop
1 - Enable Duty Cycling
2 - Enable Undestined Packet Drop
3 - Enable Duty Cycling & Undestined Packet Drop (Default)
insmod rsi_91x.ko standby_assoc_chain_sel = < value > : LP/HP Chain Selection in standby associated mode
0 - HP Chain Enabled
1 - LP Chain Enabled(Default)
insmod rsi_91x.ko feature_bitmap_9116 = < value > :
For 3.3V, set FEATURE_BITMAP_9116=0
For 1.8V, set FEATURE_BITMAP_9116=2
For 3.3V and 5 Mhz bandwidth, set FEATURE_BITMAP_9116=32 (For testing purposes only)
Default value is 0.
insmod rsi_91x.ko anchor_point_gap = < value >
Default value is 1.
insmod rsi_91x.ko sleep_clk_source_sel = < value >: Sleep clock source selection has the following possible values with each representing a different source.
0 - Use RC clock as sleep clock
1 - Use 32 KHz clock from external XTAL OSCILLATOR
2 - Use 32 KHz bypass clock on UULP_GPIO_3
3 - Use 32 KHz bypass clock on UULP_GPIO_4
Default value is 0.
insmod rsi_91x.ko rsi_91x.ko sleep_ind_gpio_sel = < value > : sleep indication from device to host.
0 - UULP_GPIO_3
1 - UULP_GPIO_0
Default value is 0.
insmod rsi_91x.ko host_intf_on_demand = < value > : Host Interface on Demand Feature has the following possible values.
0 - Disable Host Interface on Demand Feature
1 - Enable Host Interface on Demand Feature
Default value for Host Interface on Demand Feature Options is 0, which indicates that Host Interface on Demand Feature is disabled.
insmod rsi_91x.ko ext_opt = < value > : Extended Options
ext_opt | ANT_SEL_0(VC3) | ANT_SEL_1(VC2) | ANT_SEL_2(VC1) |
---|---|---|---|
0 | Reserved | ||
1 | ULP GPIO 4 | ULP GPIO 5 | ULP GPIO 0 |
2 | Virtual Switch | ||
3 | Reserved |
Default value for Extended options is 0.
insmod rsi_91x.ko pta_config = < value > : PTA 3-Wire Co-Existence has following options.
0 - PTA_CONFIG_DISABLED(default)
1 - PTA_CONFIG_1 Aggressive Grant
2 - PTA_CONFIG_2 Protect Response Tx
3 - PTA_CONFIG_3 Protect both Tx and Response Tx
Default value is 0.
Miscellaneous Features#
insmod rsi_91x.ko driver_mode_value = < value >: Enable sniffer mode support. Default value is 1.
1 - End to end mode
7 - Sniffer mode
insmod rsi_sdio.ko sdio_clock = < value >: Set the SDIO clock while while installing the driver (only for SDIO interface). The range is 1- 50 MHz. Default value is 50 MHz.
Note: This parameter can only be used with the
rsi_sdio.ko
kernel module.insmod rsi_91x.ko ulp_gpio_read = < value >: In GPIO handshake, this param configures Host GPIO read pin. It will vary from platform to platform. Default value is 0xFF.
insmod rsi_91x.ko ulp_gpio_write = < value >: In GPIO handshake, this param configures Host GPIO write pin. It will vary from platform to platform. Default value is 0xFF.