qcacmn: Code movement to enable multipass support without WDS

Currently the code to support Multipass on SAP is
present along with the code to support WDS. Hence with
the code in its current state, we will not be able to
enable Multipass support without enabling WDS.

Move the multipass support code out of the WDS support
code, to be able to enable Multipass for chipsets which
do not use WDS.

Change-Id: Id17035f1ada9bde56ca2c61fd4688fa3454b0b11
CRs-Fixed: 3479991
This commit is contained in:
Rakesh Pillai
2023-04-13 02:02:52 -07:00
committed by Madan Koyyalamudi
parent 0e1360e358
commit cdab8dab71
7 changed files with 407 additions and 397 deletions

View File

@@ -63,6 +63,11 @@
#endif
#endif
#define DP_MAX_VLAN_IDS 4096
#define DP_VLAN_UNTAGGED 0
#define DP_VLAN_TAGGED_MULTICAST 1
#define DP_VLAN_TAGGED_UNICAST 2
/**
* struct htt_dbgfs_cfg - structure to maintain required htt data
* @msg_word: htt msg sent to upper layer
@@ -5331,4 +5336,15 @@ dp_get_peer_hw_link_id(struct dp_soc *soc,
return 0;
}
#ifdef QCA_MULTIPASS_SUPPORT
/**
* dp_tx_remove_vlan_tag() - Remove 4 bytes of vlan tag
* @vdev: DP vdev handle
* @nbuf: network buffer
*
* Return: void
*/
void dp_tx_remove_vlan_tag(struct dp_vdev *vdev, qdf_nbuf_t nbuf);
#endif
#endif /* #ifndef _DP_INTERNAL_H_ */