qcacmn: Add bit mask control for special frame deliver

Add bit mask control for special frames deliver in error
path.

Change-Id: I9f30e53028bf75d02578e5132f62b15ea480d1bd
CRs-Fixed: 3457564
Šī revīzija ir iekļauta:
Yu Tian
2023-04-19 01:19:49 -07:00
revīziju iesūtīja Madan Koyyalamudi
vecāks 296729e604
revīzija fc12609405
4 mainīti faili ar 48 papildinājumiem un 3 dzēšanām

Parādīt failu

@@ -339,6 +339,7 @@ struct wlan_srng_cfg {
* @pointer_timer_threshold_rx: RX REO2SW ring pointer update timer threshold
* @pointer_num_threshold_rx: RX REO2SW ring pointer update entries threshold
* @local_pkt_capture: flag indicating enable/disable of local packet capture
* @special_frame_msk: Special frame mask
*/
struct wlan_cfg_dp_soc_ctxt {
int num_int_ctxts;
@@ -541,6 +542,7 @@ struct wlan_cfg_dp_soc_ctxt {
#ifdef WLAN_FEATURE_LOCAL_PKT_CAPTURE
bool local_pkt_capture;
#endif
uint32_t special_frame_msk;
};
/**
@@ -2524,4 +2526,13 @@ bool wlan_cfg_get_local_pkt_capture(struct wlan_cfg_dp_soc_ctxt *cfg)
return false;
}
#endif
/**
* wlan_cfg_get_special_frame_cfg() - Get special frame mask
* @cfg: soc configuration context
*
* Return: frame mask
*/
uint32_t
wlan_cfg_get_special_frame_cfg(struct wlan_cfg_dp_soc_ctxt *cfg);
#endif /*__WLAN_CFG_H*/