mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
rtl8852ce: Add base driver v1.19.16.1-0-g1fe335ba1.20240815_PC
- support Android-14 - support Linux kernel 6.9 - support 6G regulation - support Thermal protection - support TX shortcut to reduce CPU loading - fix some coverity issues - Use RTW regulatory version rtk_8852CE_M.2_2230-67-52 - default enable con-current and MCC Bug 4667769 Bug 4667981 Change-Id: Iee069ecdd1f00a0b78285d0a4ef5778ed9ace478 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3195601 Tested-by: Shobek Attupurath <sattupurath@nvidia.com> Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
This commit is contained in:
committed by
Jon Hunter
parent
5220de6faa
commit
7dd632ff96
54
drivers/net/wireless/realtek/rtl8852ce/include/rtw_swcrypto.h
Executable file
54
drivers/net/wireless/realtek/rtl8852ce/include/rtw_swcrypto.h
Executable file
@@ -0,0 +1,54 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Copyright(c) 2007 - 2017 Realtek Corporation.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of version 2 of the GNU General Public License as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef __RTW_SWCRYPTO_H_
|
||||
#define __RTW_SWCRYPTO_H_
|
||||
|
||||
#define NEW_CRYPTO 1
|
||||
|
||||
#if 0 //RTW_PHL_TX: mark un-finished codes for reading
|
||||
int _rtw_core_ccmp_encrypt(u8 *key, u32 key_len, uint hdrlen, u8 *phdr, uint datalen, u8 *pdata);
|
||||
#endif
|
||||
|
||||
|
||||
int _rtw_ccmp_encrypt(_adapter *padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen);
|
||||
int _rtw_ccmp_decrypt(_adapter *padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen);
|
||||
|
||||
int _rtw_gcmp_encrypt(_adapter *padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen);
|
||||
int _rtw_gcmp_decrypt(_adapter *padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen);
|
||||
|
||||
#ifdef CONFIG_RTW_MESH_AEK
|
||||
int _aes_siv_encrypt(const u8 *key, size_t key_len,
|
||||
const u8 *pw, size_t pwlen,
|
||||
size_t num_elem, const u8 *addr[], const size_t *len, u8 *out);
|
||||
int _aes_siv_decrypt(const u8 *key, size_t key_len,
|
||||
const u8 *iv_crypt, size_t iv_c_len,
|
||||
size_t num_elem, const u8 *addr[], const size_t *len, u8 *out);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_IEEE80211W) | defined(CONFIG_TDLS)
|
||||
u8 _bip_ccmp_protect(const u8 *key, size_t key_len,
|
||||
const u8 *data, size_t data_len, u8 *mic);
|
||||
u8 _bip_gcmp_protect(u8 *whdr_pos, size_t len,
|
||||
const u8 *key, size_t key_len,
|
||||
const u8 *data, size_t data_len, u8 *mic);
|
||||
#endif /* CONFIG_IEEE80211W */
|
||||
|
||||
#ifdef CONFIG_TDLS
|
||||
void _tdls_generate_tpk(void *sta, const u8 *own_addr, const u8 *bssid);
|
||||
#endif /* CONFIG_TDLS */
|
||||
|
||||
#endif /* __RTW_SWCRYPTO_H_ */
|
||||
|
||||
Reference in New Issue
Block a user