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 files62
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- b43.h
- bus.c
- bus.h
- debugfs.c
- debugfs.h
- dma.c
- dma.h
- leds.c
- leds.h
- lo.c
- lo.h
- main.c
- main.h
- phy_a.h
- phy_ac.c
- phy_ac.h
- phy_common.c
- phy_common.h
- phy_g.c
- phy_g.h
- phy_ht.c
- phy_ht.h
- phy_lcn.c
- phy_lcn.h
- phy_lp.c
- phy_lp.h
- phy_n.c
- phy_n.h
- pio.c
- pio.h
- ppr.c
- ppr.h
- radio_2055.c
- radio_2055.h
- radio_2056.c
- radio_2056.h
- radio_2057.c
- radio_2057.h
- radio_2059.c
- radio_2059.h
- rfkill.c
- rfkill.h
- sdio.c
- sdio.h
- sysfs.c
- sysfs.h
- tables.c
- tables.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/net/wireless/broadcom/b43/ppr.h
Text · 1,297 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef LINUX_B43_PPR_H_
#define LINUX_B43_PPR_H_
#include <linux/types.h>
#define B43_PPR_CCK_RATES_NUM 4
#define B43_PPR_OFDM_RATES_NUM 8
#define B43_PPR_MCS_RATES_NUM 8
#define B43_PPR_RATES_NUM (B43_PPR_CCK_RATES_NUM + \
B43_PPR_OFDM_RATES_NUM * 2 + \
B43_PPR_MCS_RATES_NUM * 4)
struct b43_ppr_rates {
u8 cck[B43_PPR_CCK_RATES_NUM];
u8 ofdm[B43_PPR_OFDM_RATES_NUM];
u8 ofdm_20_cdd[B43_PPR_OFDM_RATES_NUM];
u8 mcs_20[B43_PPR_MCS_RATES_NUM]; /* SISO */
u8 mcs_20_cdd[B43_PPR_MCS_RATES_NUM];
u8 mcs_20_stbc[B43_PPR_MCS_RATES_NUM];
u8 mcs_20_sdm[B43_PPR_MCS_RATES_NUM];
};
struct b43_ppr {
/* All powers are in qdbm (Q5.2) */
union {
u8 __all_rates[B43_PPR_RATES_NUM];
struct b43_ppr_rates rates;
};
};
struct b43_wldev;
enum b43_band;
void b43_ppr_clear(struct b43_wldev *dev, struct b43_ppr *ppr);
void b43_ppr_add(struct b43_wldev *dev, struct b43_ppr *ppr, int diff);
void b43_ppr_apply_max(struct b43_wldev *dev, struct b43_ppr *ppr, u8 max);
void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min);
u8 b43_ppr_get_max(struct b43_wldev *dev, struct b43_ppr *ppr);
bool b43_ppr_load_max_from_sprom(struct b43_wldev *dev, struct b43_ppr *ppr,
enum b43_band band);
#endif /* LINUX_B43_PPR_H_ */