qcacmn: cdp: Implement API cdp_set_key_sec_type
Peer key security type is set in cdp_set_pn_check, this API is called in key install step, but only update Ucast field even if in Mcast key install. This may be set wrongly if Ucast and Mcast security modes are different. Add a new API to set security modes of differ key types separately. Change-Id: Icaa63139d117de75633ca1f81eb618c6b9294b53 CRs-Fixed: 2617461
This commit is contained in:
@@ -1140,6 +1140,11 @@ dp_set_pn_check_wifi3(struct cdp_soc_t *soc, uint8_t vdev_id,
|
||||
uint8_t *peer_mac, enum cdp_sec_type sec_type,
|
||||
uint32_t *rx_pn);
|
||||
|
||||
QDF_STATUS
|
||||
dp_set_key_sec_type_wifi3(struct cdp_soc_t *soc, uint8_t vdev_id,
|
||||
uint8_t *peer_mac, enum cdp_sec_type sec_type,
|
||||
bool is_unicast);
|
||||
|
||||
void *dp_get_pdev_for_mac_id(struct dp_soc *soc, uint32_t mac_id);
|
||||
|
||||
QDF_STATUS
|
||||
|
Reference in New Issue
Block a user