qcacmn: Add ini to control rate filter for rx avg
Adds ini field to control the filter for rx avg rate calculation. 0 : Filter Disabled 11000 : Max rate filter (in kbps) supported for filter Change-Id: I6ae88b7af3d4c1fae033101e77b308949e5b3d1e CRs-Fixed: 3628056
Esse commit está contido em:
@@ -4193,6 +4193,8 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
|
||||
wlan_soc_local_pkt_capture_cfg_attach(psoc, wlan_cfg_ctx);
|
||||
wlan_soc_umac_reset_cfg_attach(psoc, wlan_cfg_ctx);
|
||||
wlan_cfg_ctx->rx_buffer_size = cfg_get(psoc, CFG_DP_RX_BUFFER_SIZE);
|
||||
wlan_cfg_ctx->avg_rate_stats_filter_val =
|
||||
cfg_get(psoc, CFG_DP_STATS_AVG_RATE_FILTER);
|
||||
return wlan_cfg_ctx;
|
||||
}
|
||||
|
||||
@@ -4447,7 +4449,8 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
|
||||
cfg_get(psoc, CFG_SPECIAL_FRAME_MSK);
|
||||
wlan_soc_umac_reset_cfg_attach(psoc, wlan_cfg_ctx);
|
||||
wlan_cfg_ctx->rx_buffer_size = cfg_get(psoc, CFG_DP_RX_BUFFER_SIZE);
|
||||
|
||||
wlan_cfg_ctx->avg_rate_stats_filter_val =
|
||||
cfg_get(psoc, CFG_DP_STATS_AVG_RATE_FILTER);
|
||||
return wlan_cfg_ctx;
|
||||
}
|
||||
#endif
|
||||
|
Referência em uma nova issue
Block a user