qcacmn: Add logic to wait for wds del resp before peer create

WDS entry should be removed before adding peer with same mac address.
iIn DBDC mode, this can be ensured only by waiting for response for WDS
delete from FW before creating peer. Add logic to defer AUTH until WDS
is removed from FW.

Change-Id: Ie76d08c4817f953504913ae6cc49fc5388169e4a
CRs-Fixed: 2270592
This commit is contained in:
Kiran Venkatappa
2018-07-19 22:22:29 +05:30
committed by nshrivas
parent d359eb4268
commit ed35f4499d
7 changed files with 262 additions and 0 deletions

View File

@@ -118,6 +118,20 @@ struct cdp_cmn_ops {
void (*txrx_peer_ast_set_type)
(ol_txrx_soc_handle soc, void *ast_hdl,
enum cdp_txrx_ast_entry_type type);
#if defined(FEATURE_AST) && defined(AST_HKV1_WORKAROUND)
void (*txrx_peer_ast_set_cp_ctx)(ol_txrx_soc_handle soc,
void *ast_entry,
void *cp_ctx);
void * (*txrx_peer_ast_get_cp_ctx)(ol_txrx_soc_handle soc,
void *ast_entry);
bool (*txrx_peer_ast_get_wmi_sent)(ol_txrx_soc_handle soc,
void *ast_entry);
void (*txrx_peer_ast_free_entry)(ol_txrx_soc_handle soc,
void *ast_entry);
#endif
enum cdp_txrx_ast_entry_type (*txrx_peer_ast_get_type)
(ol_txrx_soc_handle soc, void *ast_hdl);
@@ -803,6 +817,9 @@ struct ol_if_ops {
uint32_t flags);
void (*peer_del_wds_entry)(void *ol_soc_handle,
uint8_t *wds_macaddr);
#if defined(FEATURE_AST) && defined(AST_HKV1_WORKAROUND)
void (*peer_del_wds_cp_ctx)(void *cp_ctx);
#endif
QDF_STATUS
(*lro_hash_config)(struct wlan_objmgr_psoc *ctrl_psoc,
struct cdp_lro_hash_config *rx_offld_hash);