qcacmn: Add INI option to enable FISA feature

Add INI dp_rx_fisa_enable to enable/disable FISA feature.
Disable the feature by default.

Change-Id: I0cc524956e32ab9f2b5c556d8ae2e1855e8d3513
CRs-Fixed: 2599917
This commit is contained in:
Manjunathappa Prakash
2020-01-08 00:10:27 -08:00
committed by nshrivas
부모 bb0b78c688
커밋 d501c32614
3개의 변경된 파일48개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -180,6 +180,7 @@ struct wlan_srng_cfg {
* @rx_toeplitz_hash_key: toeplitz key pointer used for hash computation over
* 5 tuple flow entry
* @pktlog_buffer_size: packet log buffer size
* @is_rx_fisa_enabled: flag to enable/disable FISA Rx
*/
struct wlan_cfg_dp_soc_ctxt {
int num_int_ctxts;
@@ -276,6 +277,7 @@ struct wlan_cfg_dp_soc_ctxt {
uint16_t rx_flow_max_search;
uint8_t *rx_toeplitz_hash_key;
uint8_t pktlog_buffer_size;
uint8_t is_rx_fisa_enabled;
};
/**
@@ -1275,4 +1277,14 @@ wlan_cfg_is_rx_mon_protocol_flow_tag_enabled(struct wlan_cfg_dp_soc_ctxt *cfg);
*/
void wlan_cfg_fill_interrupt_mask(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx,
int interrupt_mode, bool is_monitor_mode);
/**
* wlan_cfg_is_rx_fisa_enabled() - Get Rx FISA enabled flag
*
*
* @cfg: soc configuration context
*
* Return: true if enabled, false otherwise.
*/
bool wlan_cfg_is_rx_fisa_enabled(struct wlan_cfg_dp_soc_ctxt *cfg);
#endif