qcacmn: Add CDP API to set key in data path

1. Add CDP API to set encryption key in datapath.
   Used to perform RX TKIP demic.
2. Fixes to RX TKIP demic function.

Change-Id: Ia14caeb71a320b4746f4303cf6611f1b6e4947ae
CRs-Fixed: 2214749
This commit is contained in:
Pramod Simha
2018-06-20 12:05:44 -07:00
committed by nshrivas
parent 366c1e01e6
commit 6e10cb2dd6
7 changed files with 130 additions and 69 deletions

View File

@@ -422,6 +422,8 @@ void dp_set_overload(struct cdp_pdev *pdev_handle, bool overload);
bool dp_peer_is_inact(void *peer_handle);
void dp_init_inact_timer(struct dp_soc *soc);
void dp_free_inact_timer(struct dp_soc *soc);
void dp_set_michael_key(struct cdp_peer *peer_handle,
bool is_unicast, uint32_t *key);
/*
* dp_get_mac_id_for_pdev() - Return mac corresponding to pdev for mac