Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files111
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Kconfig
- Makefile
- ahb.c
- ani.c
- ani.h
- antenna.c
- ar5008_initvals.h
- ar5008_phy.c
- ar9001_initvals.h
- ar9002_calib.c
- ar9002_hw.c
- ar9002_initvals.h
- ar9002_mac.c
- ar9002_phy.c
- ar9002_phy.h
- ar9003_2p2_initvals.h
- ar9003_aic.c
- ar9003_aic.h
- ar9003_buffalo_initvals.h
- ar9003_calib.c
- ar9003_eeprom.c
- ar9003_eeprom.h
- ar9003_hw.c
- ar9003_mac.c
- ar9003_mac.h
- ar9003_mci.c
- ar9003_mci.h
- ar9003_paprd.c
- ar9003_phy.c
- ar9003_phy.h
- ar9003_rtt.c
- ar9003_rtt.h
- ar9003_wow.c
- ar9330_1p1_initvals.h
- ar9330_1p2_initvals.h
- ar9340_initvals.h
- ar9462_2p0_initvals.h
- ar9462_2p1_initvals.h
- ar9485_initvals.h
- ar953x_initvals.h
- ar955x_1p0_initvals.h
- ar9565_1p0_initvals.h
- ar9565_1p1_initvals.h
- ar956x_initvals.h
- ar9580_1p0_initvals.h
- ath9k.h
- beacon.c
- btcoex.c
- btcoex.h
- calib.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/net/wireless/ath/ath9k/phy.h
Text · 1,945 bytes/*
* Copyright (c) 2008-2011 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef PHY_H
#define PHY_H
#define CHANSEL_DIV 15
#define CHANSEL_2G(_freq) (((_freq) * 0x10000) / CHANSEL_DIV)
#define CHANSEL_5G(_freq) (((_freq) * 0x8000) / CHANSEL_DIV)
#define AR_PHY_BASE 0x9800
#define AR_PHY(_n) (AR_PHY_BASE + ((_n)<<2))
#define AR_PHY_TX_PWRCTRL_TX_GAIN_TAB_MAX 0x0007E000
#define AR_PHY_TX_PWRCTRL_TX_GAIN_TAB_MAX_S 13
#define AR_PHY_TX_GAIN_CLC 0x0000001E
#define AR_PHY_TX_GAIN_CLC_S 1
#define AR_PHY_TX_GAIN 0x0007F000
#define AR_PHY_TX_GAIN_S 12
#define AR_PHY_CLC_TBL1 0xa35c
#define AR_PHY_CLC_I0 0x07ff0000
#define AR_PHY_CLC_I0_S 16
#define AR_PHY_CLC_Q0 0x0000ffd0
#define AR_PHY_CLC_Q0_S 5
#define ANTSWAP_AB 0x0001
#define REDUCE_CHAIN_0 0x00000050
#define REDUCE_CHAIN_1 0x00000051
#define AR_PHY_CHIP_ID 0x9818
#define AR_PHY_TIMING11_SPUR_FREQ_SD 0x3FF00000
#define AR_PHY_TIMING11_SPUR_FREQ_SD_S 20
#define AR_PHY_PLL_CONTROL 0x16180
#define AR_PHY_PLL_MODE 0x16184
enum ath9k_ant_div_comb_lna_conf {
ATH_ANT_DIV_COMB_LNA1_MINUS_LNA2,
ATH_ANT_DIV_COMB_LNA2,
ATH_ANT_DIV_COMB_LNA1,
ATH_ANT_DIV_COMB_LNA1_PLUS_LNA2,
};
#endif