The implementation of the PHY counter is identical for both QCA808x and
QCA807x series devices. This includes counters for both good and bad CRC
frames in the RX and TX directions, which are active when CRC checking
is enabled.
This patch series introduces PHY counter functions into a shared library,
enabling counter support for the QCA808x and QCA807x families through this
common infrastructure. Additionally, CRC checking is enabled within
config_init() to ensure accurate counter recording.
Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
---
Luo Jie (3):
net: phy: qcom: Add PHY counter support
net: phy: qcom: qca808x: Support PHY counter
net: phy: qcom: qca807x: Support PHY counter
drivers/net/phy/qcom/qca807x.c | 10 +++++
drivers/net/phy/qcom/qca808x.c | 7 ++++
drivers/net/phy/qcom/qcom-phy-lib.c | 82 +++++++++++++++++++++++++++++++++++++
drivers/net/phy/qcom/qcom.h | 16 ++++++++
4 files changed, 115 insertions(+)
---
base-commit: c523058713abac66b0d83ae12a0574d76cd7df2b
change-id: 20250709-qcom_phy_counter-49fe93241fdd
Best regards,
--
Luo Jie <quic_luoj@quicinc.com>