qcacld-3.0: Introduce wlan_dp_is_local_pkt_capture_enabled()
Introduce wlan_dp_is_local_pkt_capture_enabled API. Change-Id: I608c927301bf145bf8fd2e222c047ca20c58a72b CRs-Fixed: 3576511
This commit is contained in:

committed by
Rahul Choudhary

parent
e5d35ade60
commit
be5651b42e
@@ -73,4 +73,22 @@ void wlan_dp_set_fst_in_cmem(bool fst_in_cmem);
|
||||
* Return: None
|
||||
*/
|
||||
void wlan_dp_set_fisa_dynamic_aggr_size_support(bool dynamic_aggr_size_support);
|
||||
|
||||
#ifdef WLAN_FEATURE_LOCAL_PKT_CAPTURE
|
||||
/**
|
||||
* wlan_dp_is_local_pkt_capture_enabled() - Get local packet capture config
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: true if local packet capture is enabled from ini
|
||||
* false otherwise
|
||||
*/
|
||||
bool
|
||||
wlan_dp_is_local_pkt_capture_enabled(struct wlan_objmgr_psoc *psoc);
|
||||
#else
|
||||
static inline bool
|
||||
wlan_dp_is_local_pkt_capture_enabled(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif /* WLAN_FEATURE_LOCAL_PKT_CAPTURE */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user