mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacmn: Initialize the PN and plumb it to HW
Initialize the PN to the value which is given by upper layer and plumb it to HW. Change-Id: If6b14d2b9b92e4571a85cb20dc445608d5f56961 CRs-Fixed: 2350954
This commit is contained in:
parent
d60134e91d
commit
d3eb8bcff8
1 changed files with 6 additions and 8 deletions
|
|
@ -2452,14 +2452,12 @@ dp_set_pn_check_wifi3(struct cdp_vdev *vdev_handle, struct cdp_peer *peer_handle
|
|||
params.std.addr_hi =
|
||||
(uint64_t)(rx_tid->hw_qdesc_paddr) >> 32;
|
||||
|
||||
if (sec_type != cdp_sec_type_wapi) {
|
||||
params.u.upd_queue_params.update_pn_valid = 0;
|
||||
} else {
|
||||
/*
|
||||
* Setting PN valid bit for WAPI sec_type,
|
||||
* since WAPI PN has to be started with
|
||||
* predefined value
|
||||
*/
|
||||
if (pn_size) {
|
||||
QDF_TRACE(QDF_MODULE_ID_TXRX,
|
||||
QDF_TRACE_LEVEL_INFO_HIGH,
|
||||
"%s PN set for TID:%d pn:%x:%x:%x:%x",
|
||||
__func__, i, rx_pn[3], rx_pn[2],
|
||||
rx_pn[1], rx_pn[0]);
|
||||
params.u.upd_queue_params.update_pn_valid = 1;
|
||||
params.u.upd_queue_params.pn_31_0 = rx_pn[0];
|
||||
params.u.upd_queue_params.pn_63_32 = rx_pn[1];
|
||||
|
|
|
|||
Loading…
Reference in a new issue