qcacmn: Easymesh feature support

Current IPA/WLAN driver does not support the WDS feature.
Packets are dropped if they came via end-node which is not
in direct connection with root AP.

Fix is to enable WDS support and update the same to IPA
driver and create/update AST entries for end-node in
roaming, new src port learn case. Send WDS support to IPA
at wdi init and AP client connect event.

CRs-Fixed: 3226348
Change-Id: I26211613334b33d0d601629405597be329a56774
This commit is contained in:
Devender Kumar
2022-06-27 15:28:13 +05:30
کامیت شده توسط Madan Koyyalamudi
والد b1461c9317
کامیت 3035192763
7فایلهای تغییر یافته به همراه308 افزوده شده و 37 حذف شده

مشاهده پرونده

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -198,6 +199,25 @@
512, \
CFG_VALUE_OR_DEFAULT, "IPA tx buffer count")
/*
* <ini>
* gIPAWds - IPA WDS Enable
* @Default: false
*
* This ini specifies to enable WDS for IPA
*
* Related: N/A
*
* Supported Feature: IPA
*
* Usage: Internal
*
* </ini>
*/
#define CFG_DP_IPA_WDS_STATUS \
CFG_INI_BOOL("gIPAWds", \
false, "Ctrl to enable WDS for EasyMesh")
#define CFG_IPA \
CFG(CFG_DP_IPA_OFFLOAD_CONFIG) \
CFG(CFG_DP_IPA_DESC_SIZE) \
@@ -205,6 +225,6 @@
CFG(CFG_DP_IPA_MEDIUM_BANDWIDTH_MBPS) \
CFG(CFG_DP_IPA_LOW_BANDWIDTH_MBPS) \
CFG(CFG_DP_IPA_ENABLE_FORCE_VOTING) \
CFG(CFG_DP_IPA_UC_TX_BUF_COUNT)
CFG(CFG_DP_IPA_UC_TX_BUF_COUNT) \
CFG(CFG_DP_IPA_WDS_STATUS)
#endif /* _CFG_IPA_H_ */