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 files101
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- TODO
- basic_types.h
- drv_types.h
- ethernet.h
- hal_init.c
- ieee80211.c
- ieee80211.h
- mlme_linux.c
- mlme_osdep.h
- mp_custom_oid.h
- os_intfs.c
- osdep_intf.h
- osdep_service.h
- recv_linux.c
- recv_osdep.h
- rtl8712_bitdef.h
- rtl8712_cmd.c
- rtl8712_cmd.h
- rtl8712_cmdctrl_bitdef.h
- rtl8712_cmdctrl_regdef.h
- rtl8712_debugctrl_bitdef.h
- rtl8712_debugctrl_regdef.h
- rtl8712_edcasetting_bitdef.h
- rtl8712_edcasetting_regdef.h
- rtl8712_efuse.c
- rtl8712_efuse.h
- rtl8712_event.h
- rtl8712_fifoctrl_bitdef.h
- rtl8712_fifoctrl_regdef.h
- rtl8712_gp_bitdef.h
- rtl8712_gp_regdef.h
- rtl8712_hal.h
- rtl8712_interrupt_bitdef.h
- rtl8712_io.c
- rtl8712_led.c
- rtl8712_macsetting_bitdef.h
- rtl8712_macsetting_regdef.h
- rtl8712_powersave_bitdef.h
- rtl8712_powersave_regdef.h
- rtl8712_ratectrl_bitdef.h
- rtl8712_ratectrl_regdef.h
- rtl8712_recv.c
- rtl8712_recv.h
- rtl8712_regdef.h
- rtl8712_security_bitdef.h
- rtl8712_spec.h
- rtl8712_syscfg_bitdef.h
- rtl8712_syscfg_regdef.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/staging/rtl8712/rtl8712_gp_bitdef.h
Text · 2,652 bytes/******************************************************************************
*
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
*
* 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.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*
* Modifications for inclusion into the Linux staging tree are
* Copyright(c) 2010 Larry Finger. All rights reserved.
*
* Contact information:
* WLAN FAE <[email protected]>
* Larry Finger <[email protected]>
*
******************************************************************************/
#ifndef __RTL8712_GP_BITDEF_H__
#define __RTL8712_GP_BITDEF_H__
/*GPIO_CTRL*/
#define _GPIO_MOD_MSK 0xFF000000
#define _GPIO_MOD_SHT 24
#define _GPIO_IO_SEL_MSK 0x00FF0000
#define _GPIO_IO_SEL_SHT 16
#define _GPIO_OUT_MSK 0x0000FF00
#define _GPIO_OUT_SHT 8
#define _GPIO_IN_MSK 0x000000FF
#define _GPIO_IN_SHT 0
/*SYS_PINMUX_CFG*/
#define _GPIOSEL_MSK 0x0003
#define _GPIOSEL_SHT 0
/*LED_CFG*/
#define _LED1SV BIT(7)
#define _LED1CM_MSK 0x0070
#define _LED1CM_SHT 4
#define _LED0SV BIT(3)
#define _LED0CM_MSK 0x0007
#define _LED0CM_SHT 0
/*PHY_REG*/
#define _HST_RDRDY_SHT 0
#define _HST_RDRDY_MSK 0xFF
#define _HST_RDRDY BIT(_HST_RDRDY_SHT)
#define _CPU_WTBUSY_SHT 1
#define _CPU_WTBUSY_MSK 0xFF
#define _CPU_WTBUSY BIT(_CPU_WTBUSY_SHT)
/* 11. General Purpose Registers (Offset: 0x02E0 - 0x02FF)*/
/* 8192S GPIO Config Setting (offset 0x2F1, 1 byte)*/
/*----------------------------------------------------------------------------*/
#define GPIOMUX_EN BIT(3) /* When this bit is set to "1",
* GPIO PINs will switch to MAC
* GPIO Function
*/
#define GPIOSEL_GPIO 0 /* UART or JTAG or pure GPIO*/
#define GPIOSEL_PHYDBG 1 /* PHYDBG*/
#define GPIOSEL_BT 2 /* BT_coex*/
#define GPIOSEL_WLANDBG 3 /* WLANDBG*/
#define GPIOSEL_GPIO_MASK (~(BIT(0) | BIT(1)))
/* HW Radio OFF switch (GPIO BIT) */
#define HAL_8192S_HW_GPIO_OFF_BIT BIT(3)
#define HAL_8192S_HW_GPIO_OFF_MASK 0xF7
#define HAL_8192S_HW_GPIO_WPS_BIT BIT(4)
#endif /*__RTL8712_GP_BITDEF_H__*/