qcacmn: Allow rx UDP packets during roaming before peer map is received
In VoIP cases, no or minimal packet drop is expected during roaming. Currently, data packets are dropped in host if they are received after roam sync indication from firmware and before peer map indication is received due to invalid peer. This change allows rx UDP data packets during roaming before peer map indication is received from FW if peer's auth_status received in roam_sync_indication from FW is authorised. Change-Id: Ic518b7cd0aef48a2b0f8c923a2e20838b07f3d1f CRs-Fixed: 3168603
This commit is contained in:

committed by
Madan Koyyalamudi

parent
5ad83e6c56
commit
ecaa0f1f6c
@@ -611,6 +611,27 @@ void dp_rx_peer_unmap_handler(struct dp_soc *soc, uint16_t peer_id,
|
||||
uint8_t vdev_id, uint8_t *peer_mac_addr,
|
||||
uint8_t is_wds, uint32_t free_wds_count);
|
||||
|
||||
#ifdef DP_RX_UDP_OVER_PEER_ROAM
|
||||
/**
|
||||
* dp_rx_reset_roaming_peer() - Reset the roamed peer in vdev
|
||||
* @soc - dp soc pointer
|
||||
* @vdev_id - vdev id
|
||||
* @peer_mac_addr - mac address of the peer
|
||||
*
|
||||
* This function resets the roamed peer auth status and mac address
|
||||
* after peer map indication of same peer is received from firmware.
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void dp_rx_reset_roaming_peer(struct dp_soc *soc, uint8_t vdev_id,
|
||||
uint8_t *peer_mac_addr);
|
||||
#else
|
||||
static inline void dp_rx_reset_roaming_peer(struct dp_soc *soc, uint8_t vdev_id,
|
||||
uint8_t *peer_mac_addr)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
/**
|
||||
* dp_rx_mlo_peer_map_handler() - handle MLO peer map event from firmware
|
||||
|
Reference in New Issue
Block a user