qcacmn: Add support for local pkt capture cfg ini
Add support for local pkt capture cfg ini. Change-Id: I7b7e50010d71482d97de46d87ed2c70c78e74cd2 CRs-Fixed: 3415783
This commit is contained in:

committed by
Madan Koyyalamudi

vanhempi
0419d28f6e
commit
9de0de3f01
@@ -3752,6 +3752,22 @@ static void wlan_soc_tx_capt_cfg_attach(struct cdp_ctrl_objmgr_psoc *psoc,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_LOCAL_PKT_CAPTURE
|
||||
static void
|
||||
wlan_soc_local_pkt_capture_cfg_attach(struct cdp_ctrl_objmgr_psoc *psoc,
|
||||
struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx)
|
||||
{
|
||||
wlan_cfg_ctx->local_pkt_capture =
|
||||
cfg_get(psoc, CFG_DP_LOCAL_PKT_CAPTURE);
|
||||
}
|
||||
#else
|
||||
static void
|
||||
wlan_soc_local_pkt_capture_cfg_attach(struct cdp_ctrl_objmgr_psoc *psoc,
|
||||
struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
wlan_cfg_soc_update_tgt_params(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx,
|
||||
struct cdp_ctrl_objmgr_psoc *psoc)
|
||||
@@ -4243,7 +4259,7 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
|
||||
wlan_cfg_ctx->pointer_num_threshold_rx =
|
||||
cfg_get(psoc, CFG_DP_POINTER_NUM_THRESHOLD_RX);
|
||||
wlan_soc_tx_packet_inspect_attach(psoc, wlan_cfg_ctx);
|
||||
|
||||
wlan_soc_local_pkt_capture_cfg_attach(psoc, wlan_cfg_ctx);
|
||||
return wlan_cfg_ctx;
|
||||
}
|
||||
#endif
|
||||
|
Viittaa uudesa ongelmassa
Block a user