mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacmn: Set-key convergence for non-TLV boards
The tx_iv flag of wapi has been changed from an array of type u32 to array of type u8 this change adds support for it . Change-Id: Ia0e57e25c151e7f7f232cf8dc07d59d5a19b47e0
This commit is contained in:
parent
7622cd32b0
commit
d52b36da63
1 changed files with 4 additions and 5 deletions
|
|
@ -386,13 +386,12 @@ static QDF_STATUS send_setup_install_key_cmd_non_tlv(wmi_unified_t wmi_handle,
|
|||
/* since wk_recviv and wk_txiv initialized in reverse order,
|
||||
* Before indicating the Target FW, Reversing TSC and RSC
|
||||
*/
|
||||
for (i = (WPI_IV_LEN-1), j = 0; i >= 0; i--, j++)
|
||||
*(((uint8_t *)&cmd->wpi_key_rsc_counter)+j) =
|
||||
for (i = (WPI_IV_LEN-1), j = 0; i >= 0; i--, j++) {
|
||||
cmd->wpi_key_rsc_counter[j] =
|
||||
param->rx_iv[i];
|
||||
|
||||
for (i = (WPI_IV_LEN/4-1), j = 0; i >= 0; i--, j++)
|
||||
*(((uint32_t *)&cmd->wpi_key_tsc_counter)+j) =
|
||||
cmd->wpi_key_tsc_counter[j] =
|
||||
param->tx_iv[i];
|
||||
}
|
||||
|
||||
qdf_print("RSC:");
|
||||
for (i = 0; i < 16; i++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue