|
@@ -338,6 +338,7 @@ struct wlan_srng_cfg {
|
|
* based ILP feature is enabled
|
|
* based ILP feature is enabled
|
|
* @pointer_timer_threshold_rx: RX REO2SW ring pointer update timer threshold
|
|
* @pointer_timer_threshold_rx: RX REO2SW ring pointer update timer threshold
|
|
* @pointer_num_threshold_rx: RX REO2SW ring pointer update entries threshold
|
|
* @pointer_num_threshold_rx: RX REO2SW ring pointer update entries threshold
|
|
|
|
+ * @local_pkt_capture: flag indicating enable/disable of local packet capture
|
|
*/
|
|
*/
|
|
struct wlan_cfg_dp_soc_ctxt {
|
|
struct wlan_cfg_dp_soc_ctxt {
|
|
int num_int_ctxts;
|
|
int num_int_ctxts;
|
|
@@ -537,6 +538,9 @@ struct wlan_cfg_dp_soc_ctxt {
|
|
#endif
|
|
#endif
|
|
uint16_t pointer_timer_threshold_rx;
|
|
uint16_t pointer_timer_threshold_rx;
|
|
uint8_t pointer_num_threshold_rx;
|
|
uint8_t pointer_num_threshold_rx;
|
|
|
|
+#ifdef WLAN_FEATURE_LOCAL_PKT_CAPTURE
|
|
|
|
+ bool local_pkt_capture;
|
|
|
|
+#endif
|
|
};
|
|
};
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -2502,4 +2506,17 @@ wlan_cfg_get_pointer_timer_threshold_rx(struct wlan_cfg_dp_soc_ctxt *cfg);
|
|
uint8_t
|
|
uint8_t
|
|
wlan_cfg_get_pointer_num_threshold_rx(struct wlan_cfg_dp_soc_ctxt *cfg);
|
|
wlan_cfg_get_pointer_num_threshold_rx(struct wlan_cfg_dp_soc_ctxt *cfg);
|
|
|
|
|
|
|
|
+#ifdef WLAN_FEATURE_LOCAL_PKT_CAPTURE
|
|
|
|
+static inline
|
|
|
|
+bool wlan_cfg_get_local_pkt_capture(struct wlan_cfg_dp_soc_ctxt *cfg)
|
|
|
|
+{
|
|
|
|
+ return cfg->local_pkt_capture;
|
|
|
|
+}
|
|
|
|
+#else
|
|
|
|
+static inline
|
|
|
|
+bool wlan_cfg_get_local_pkt_capture(struct wlan_cfg_dp_soc_ctxt *cfg)
|
|
|
|
+{
|
|
|
|
+ return false;
|
|
|
|
+}
|
|
|
|
+#endif
|
|
#endif /*__WLAN_CFG_H*/
|
|
#endif /*__WLAN_CFG_H*/
|