Configuring Common Wi-Fi Parameters#
The following sections describe common Wi-Fi configuration parameters that enable/disable or configure various Wi-Fi 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 enabled_uapsd = < value > : Enable the U-APSD power save mode and set the relevant parameters. If the Access Point does not support U-APSD power save, the module tries to mimic this mode.
0 - Disable U-APSD mode
1 - Enable U-APSD mode
Default value of enabled_uapsd = 0.
insmod rsi_91x.ko max_sp_len = < value > : U-APSD Service Period Length- This field indicates number of packets delivered by AP to station after receiving one trigger frame. This field value ranges between 0-3 as described below.
0-All buffered packets will be delivered. (Default)
1-Two buffered packets will be delivered.
2-Four buffered packets will be delivered.
3-Six buffered packets will be delivered.
Note: This parameter is valid only when enabled_uapsd is set.
Miscelleneous Features#
insmod rsi_91x.ko lmac_bcon_drop = < value > : LMAC beacon drop feature options.
0 - Disable LMAC BEACON DROP Feature
1 - Enable LMAC BEACON DROP Feature
Default value for LMAC BEACON DROP Feature option is 1 - Enable LMAC BEACON DROP Feature.
Hardware Beacon Miss Threshold
Default Value: 20
Input Parameters: Non-zero value
Output Parameter: None
Reset Required: No
Command: ./onebox_util rpine0 hw_bmiss_threshold < value >
Example:
./onebox_util rpine0 hw_bmiss_threshold 30
Keep Alive Period
Default Value: 90
Input Parameters: Non-zero value
Output Parameter: None
Reset Required: No
Command: ./onebox_util rpine0 keep_alive < value >
Example:
./onebox_util rpine0 keep_alive 100
Get RSSI: Run the following command to retrieve the current RSSI from the LMAC.
Default Value: None
Input Parameters: None
Output Parameter: None
Reset Required: No
Command: ./onebox_util rpine0 get_rssi
Broadcast Filtering
Default Value: None
Input Parameters:
beacon_drop_threshold - value in
msec filter_bcast_in_tim - 1 to enable, 0 to disable
filter_bcast_tim_till_next_cmd - 1 to Enable, 0 to disable
Output Parameter: None
Reset Required: No
Command: ./onebox_util rpine0 < filter_bcast beacon_drop_threshold > < filter_bcast_in_tim > < filter_bcast_tim_till_next_cmd >
Example:
./onebox_util rpine0 filter_bcast 5000 1 0