qcacmn: Add support to configure phy error mask

The monitor status ring is configured for filtering
in undecoded phy error packets. Each phy error can
be controlled using a specific error mask configuration.

Added below cfg80211tool command to configure phy error
mask for filtering undecoded phy error packets.

cfg80211tool wifix set_phyrx_error_mask mask_0to31 mask_32to63
cfg80211tool wifix get_phyrx_error_mask

Change-Id: I5e4f6a49458cc534d6d1d0f7f2a7424f3cc747b4
This commit is contained in:
Basamma Yakkanahalli
2022-02-11 22:10:26 +05:30
committed by Madan Koyyalamudi
parent e85fbce095
commit 3498dbc3a6
6 changed files with 169 additions and 1 deletions

View File

@@ -862,6 +862,16 @@ struct cdp_ctrl_ops {
uint8_t vdev_id,
uint32_t *val);
#endif
#ifdef QCA_UNDECODED_METADATA_SUPPORT
QDF_STATUS (*txrx_set_pdev_phyrx_error_mask)(struct cdp_soc_t *soc,
uint8_t pdev_id,
uint32_t mask,
uint32_t mask_cont);
QDF_STATUS (*txrx_get_pdev_phyrx_error_mask)(struct cdp_soc_t *soc,
uint8_t pdev_id,
uint32_t *mask,
uint32_t *mask_cont);
#endif
};
struct cdp_me_ops {