qcacmn: Fix peer authentication for wds client
Fix the peer authentication for wds client, in SDX_WKK wds client needs to get authenticate when packets receive from exception path as wds client is not directly associated, authentication is done by verifying from ast table Change-Id: I93051d67fc3d5be0af9242e6579f44883b3f757d CRs-Fixed: 3534370
此提交包含在:
@@ -760,6 +760,28 @@ dp_peer_send_wds_disconnect(struct dp_soc *soc, struct dp_peer *peer)
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* dp_peer_check_ast_offload() - check ast offload support is enable or not
|
||||
* @soc: soc handle
|
||||
*
|
||||
* Return: false in case of IPA and true/false in IPQ case
|
||||
*
|
||||
*/
|
||||
#if defined(IPA_OFFLOAD) && defined(QCA_WIFI_QCN9224)
|
||||
static inline bool dp_peer_check_ast_offload(struct dp_soc *soc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#else
|
||||
static inline bool dp_peer_check_ast_offload(struct dp_soc *soc)
|
||||
{
|
||||
if (soc->ast_offload_support)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* dp_peer_get_ast_info_by_soc_wifi3() - search the soc AST hash table
|
||||
* and return ast entry information
|
||||
@@ -781,7 +803,7 @@ static bool dp_peer_get_ast_info_by_soc_wifi3
|
||||
struct dp_soc *soc = (struct dp_soc *)soc_hdl;
|
||||
struct dp_peer *peer = NULL;
|
||||
|
||||
if (soc->ast_offload_support)
|
||||
if (dp_peer_check_ast_offload(soc))
|
||||
return false;
|
||||
|
||||
qdf_spin_lock_bh(&soc->ast_lock);
|
||||
|
新增問題並參考
封鎖使用者