qcacld-3.0: Increment TDLS discovery attempts after tx completion
TDLS peer discovery count is incremented every time after TDLS discovery frame is queued for the peer till max attempts are reached. But sometimes due to host or firmware scan the frames could get flushed and still the discovery attempts counter is incremented resulting in reduced possibility of discovering the peer. So increment TDLS discovery attempts after successful tx completion of the TDLS discovery frames. CRs-Fixed: 3647289 Change-Id: I7e3fe1973b34276ed5ea20a7114f3635ed59c6ef
This commit is contained in:

committed by
Ravindra Konda

parent
7b00fab179
commit
3d6edc5fb8
@@ -193,6 +193,19 @@ void wlan_tdls_handle_p2p_client_connect(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_objmgr_vdev *vdev)
|
||||
{}
|
||||
#endif /* WLAN_FEATURE_TDLS_CONCURRENCIES */
|
||||
|
||||
/**
|
||||
* wlan_tdls_increment_discovery_attempts() - Increment TDLS peer discovery
|
||||
* attempts
|
||||
* @psoc: Pointer to PSOC object
|
||||
* @vdev_id: Vdev id
|
||||
* @peer_addr: Peer mac address
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void wlan_tdls_increment_discovery_attempts(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t vdev_id,
|
||||
uint8_t *peer_addr);
|
||||
#else
|
||||
|
||||
#ifdef FEATURE_SET
|
||||
@@ -267,5 +280,11 @@ void wlan_tdls_handle_p2p_client_connect(struct wlan_objmgr_psoc *psoc,
|
||||
static inline
|
||||
void wlan_tdls_notify_start_bss_failure(struct wlan_objmgr_psoc *psoc)
|
||||
{}
|
||||
|
||||
static inline
|
||||
void wlan_tdls_increment_discovery_attempts(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t vdev_id,
|
||||
uint8_t *peer_addr)
|
||||
{}
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user