
As part of the VoW IGMP improvements, which deals with conversion of igmp packets to unicast packets, the following changes are done when the new feature is enabled: 1. IGMP/MLD packets with special addresses (addresses not part of any multicast group) will be converted to all existing clients of the AP. These packets will be directly fed to igmp multicast to unicast conversion module. 2. The IGMP/MLD packets with group specific addresses will first go to multicast enhancement module, where they will be allowed to pass and will be converted to unicast. 3. The new feature will be enabled only when multicast enhancement feature is enabled, which will be ensured at the configuration level. FR : 61063 Change-Id: I06fc796af288f387b05e34f9b62028d648cdc8cc
43 rader
1.6 KiB
C
43 rader
1.6 KiB
C
/*
|
|
* Copyright (c) 2016-2020 The Linux Foundation. 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
|
|
* above copyright notice and this permission notice appear in all
|
|
* copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
|
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
|
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
|
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
|
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
#ifndef _DP_TXRX_ME_H_
|
|
#define _DP_TXRX_ME_H_
|
|
uint16_t
|
|
dp_tx_me_send_convert_ucast(struct cdp_soc_t *soc, uint8_t vdev_id,
|
|
qdf_nbuf_t nbuf,
|
|
uint8_t newmac[][QDF_MAC_ADDR_SIZE],
|
|
uint8_t new_mac_cnt, uint8_t tid);
|
|
void dp_tx_me_alloc_descriptor(struct cdp_soc_t *soc, uint8_t pdev_id);
|
|
void dp_tx_me_free_descriptor(struct cdp_soc_t *soc, uint8_t pdev_id);
|
|
void dp_tx_me_exit(struct dp_pdev *pdev);
|
|
QDF_STATUS
|
|
dp_tx_prepare_send_me(struct dp_vdev *vdev, qdf_nbuf_t nbuf);
|
|
QDF_STATUS
|
|
dp_tx_prepare_send_igmp_me(struct dp_vdev *vdev, qdf_nbuf_t nbuf);
|
|
extern int
|
|
dp_me_mcast_convert(struct cdp_soc_t *soc,
|
|
uint8_t vdev_id,
|
|
uint8_t pdev_id,
|
|
qdf_nbuf_t wbuf);
|
|
extern int
|
|
dp_igmp_me_mcast_convert(struct cdp_soc_t *soc,
|
|
uint8_t vdev_id,
|
|
uint8_t pdev_id,
|
|
qdf_nbuf_t wbuf);
|
|
#endif
|