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

@@ -107,6 +107,25 @@ void dp_peer_ast_set_type(struct dp_soc *soc,
struct dp_ast_entry *ast_entry,
enum cdp_txrx_ast_entry_type type);
#if defined(FEATURE_AST) && defined(AST_HKV1_WORKAROUND)
void dp_peer_ast_set_cp_ctx(struct dp_soc *soc,
struct dp_ast_entry *ast_entry,
void *cp_ctx);
void *dp_peer_ast_get_cp_ctx(struct dp_soc *soc,
struct dp_ast_entry *ast_entry);
void dp_peer_ast_send_wds_del(struct dp_soc *soc,
struct dp_ast_entry *ast_entry);
bool dp_peer_ast_get_wmi_sent(struct dp_soc *soc,
struct dp_ast_entry *ast_entry);
void dp_peer_ast_free_entry(struct dp_soc *soc,
struct dp_ast_entry *ast_entry);
#endif
/*
* dp_get_vdev_from_soc_vdev_id_wifi3() -
* Returns vdev object given the vdev id