cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

eeprom.h (485B)


      1/* SPDX-License-Identifier: ISC */
      2/* Copyright (C) 2020 MediaTek Inc. */
      3
      4#ifndef __MT7921_EEPROM_H
      5#define __MT7921_EEPROM_H
      6
      7#include "mt7921.h"
      8
      9enum mt7921_eeprom_field {
     10	MT_EE_CHIP_ID =		0x000,
     11	MT_EE_VERSION =		0x002,
     12	MT_EE_MAC_ADDR =	0x004,
     13	MT_EE_WIFI_CONF =	0x07c,
     14	__MT_EE_MAX =		0x3bf
     15};
     16
     17#define MT_EE_WIFI_CONF_TX_MASK			BIT(0)
     18#define MT_EE_WIFI_CONF_BAND_SEL		GENMASK(3, 2)
     19
     20enum mt7921_eeprom_band {
     21	MT_EE_NA,
     22	MT_EE_5GHZ,
     23	MT_EE_2GHZ,
     24	MT_EE_DUAL_BAND,
     25};
     26
     27#endif