Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files17
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- halhwimg8822b_bb.c
- halhwimg8822b_bb.h
- halhwimg8822b_mac.c
- halhwimg8822b_mac.h
- halhwimg8822b_rf.c
- halhwimg8822b_rf.h
- halphyrf_8822b.c
- halphyrf_8822b.h
- phydm_hal_api8822b.c
- phydm_hal_api8822b.h
- phydm_iqk_8822b.c
- phydm_iqk_8822b.h
- phydm_regconfig8822b.c
- phydm_regconfig8822b.h
- phydm_rtl8822b.c
- phydm_rtl8822b.h
- version_rtl8822b.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/staging/rtlwifi/phydm/rtl8822b/phydm_hal_api8822b.h
Text · 2,611 bytes/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
*
* Copyright(c) 2007 - 2016 Realtek Corporation.
*
* Contact Information:
* wlanfae <[email protected]>
* Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
* Hsinchu 300, Taiwan.
*
* Larry Finger <[email protected]>
*
*****************************************************************************/
#ifndef __INC_PHYDM_API_H_8822B__
#define __INC_PHYDM_API_H_8822B__
/*2016.08.01 (HW user guide version: R27, SW user guide version: R05,
* Modification: R31)
*/
#define PHY_CONFIG_VERSION_8822B "27.5.31"
#define INVALID_RF_DATA 0xffffffff
#define INVALID_TXAGC_DATA 0xff
#define config_phydm_read_rf_check_8822b(data) (data != INVALID_RF_DATA)
#define config_phydm_read_txagc_check_8822b(data) (data != INVALID_TXAGC_DATA)
u32 config_phydm_read_rf_reg_8822b(struct phy_dm_struct *dm,
enum odm_rf_radio_path rf_path, u32 reg_addr,
u32 bit_mask);
bool config_phydm_write_rf_reg_8822b(struct phy_dm_struct *dm,
enum odm_rf_radio_path rf_path,
u32 reg_addr, u32 bit_mask, u32 data);
bool config_phydm_write_txagc_8822b(struct phy_dm_struct *dm, u32 power_index,
enum odm_rf_radio_path path, u8 hw_rate);
u8 config_phydm_read_txagc_8822b(struct phy_dm_struct *dm,
enum odm_rf_radio_path path, u8 hw_rate);
bool config_phydm_switch_band_8822b(struct phy_dm_struct *dm, u8 central_ch);
bool config_phydm_switch_channel_8822b(struct phy_dm_struct *dm, u8 central_ch);
bool config_phydm_switch_bandwidth_8822b(struct phy_dm_struct *dm,
u8 primary_ch_idx,
enum odm_bw bandwidth);
bool config_phydm_switch_channel_bw_8822b(struct phy_dm_struct *dm,
u8 central_ch, u8 primary_ch_idx,
enum odm_bw bandwidth);
bool config_phydm_trx_mode_8822b(struct phy_dm_struct *dm,
enum odm_rf_path tx_path,
enum odm_rf_path rx_path, bool is_tx2_path);
bool config_phydm_parameter_init(struct phy_dm_struct *dm,
enum odm_parameter_init type);
/* ======================================================================== */
/* These following functions can be used for PHY DM only*/
bool phydm_write_txagc_1byte_8822b(struct phy_dm_struct *dm, u32 power_index,
enum odm_rf_radio_path path, u8 hw_rate);
void phydm_init_hw_info_by_rfe_type_8822b(struct phy_dm_struct *dm);
s32 phydm_get_condition_number_8822B(struct phy_dm_struct *dm);
/* ======================================================================== */
#endif /* __INC_PHYDM_API_H_8822B__ */