qcacld-3.0: Move PN replay detect logic in objmgr peer

Control path use the data path variables to detect PN replay
and also modify the same.

Thus move the PN replay detect logic in objmgr peer in control path.

Change-Id: I8d1cd4b86eac3f6a7343c4616e398579bc4932ae
CRs-Fixed: 2658077
This commit is contained in:
Abhishek Singh
2020-04-10 13:16:52 +05:30
gecommit door nshrivas
bovenliggende ed5d08c7f3
commit 90f388b9de
2 gewijzigde bestanden met toevoegingen van 32 en 32 verwijderingen

Bestand weergeven

@@ -61,11 +61,17 @@ struct wlan_disconnect_info {
/**
* struct peer_mlme_priv_obj - peer MLME component object
* @last_pn_valid if last PN is valid
* @last_pn: last pn received
* @rmf_pn_replays: rmf pn replay count
* @is_pmf_enabled: True if PMF is enabled
* @last_assoc_received_time: last assoc received time
* @last_disassoc_deauth_received_time: last disassoc/deauth received time
*/
struct peer_mlme_priv_obj {
uint8_t last_pn_valid;
uint64_t last_pn;
uint32_t rmf_pn_replays;
bool is_pmf_enabled;
qdf_time_t last_assoc_received_time;
qdf_time_t last_disassoc_deauth_received_time;