ath10k: add new wmi interface of NF cal period
Introduce a new wmi interface controls noise floor (NF) calibration period via debugfs as firmware has introduced it on v10.2. It allows users to modify frequency of NF calibration in millisecond and changes RSSI reporting frequency consequently. Short calibration period will trigger more frequent NF calibration, so that RSSI reported in receive frames is more realistic. Till now calibration was done at 30 seconds. Signed-off-by: Peter Oh <poh@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
@@ -436,6 +436,7 @@ static struct wmi_pdev_param_map wmi_pdev_param_map = {
|
||||
.fast_channel_reset = WMI_PDEV_PARAM_UNSUPPORTED,
|
||||
.burst_dur = WMI_PDEV_PARAM_UNSUPPORTED,
|
||||
.burst_enable = WMI_PDEV_PARAM_UNSUPPORTED,
|
||||
.cal_period = WMI_PDEV_PARAM_UNSUPPORTED,
|
||||
};
|
||||
|
||||
static struct wmi_pdev_param_map wmi_10x_pdev_param_map = {
|
||||
@@ -488,6 +489,7 @@ static struct wmi_pdev_param_map wmi_10x_pdev_param_map = {
|
||||
.fast_channel_reset = WMI_10X_PDEV_PARAM_FAST_CHANNEL_RESET,
|
||||
.burst_dur = WMI_10X_PDEV_PARAM_BURST_DUR,
|
||||
.burst_enable = WMI_10X_PDEV_PARAM_BURST_ENABLE,
|
||||
.cal_period = WMI_10X_PDEV_PARAM_CAL_PERIOD,
|
||||
};
|
||||
|
||||
/* firmware 10.2 specific mappings */
|
||||
|
Reference in New Issue
Block a user