config: go.chromium.org/chromiumos/config/go/api/software Index | Files | Directories

package software

import "go.chromium.org/chromiumos/config/go/api/software"

Index

Package Files

audio_config.pb.go bluetooth_config.pb.go brand_config.pb.go build_target.pb.go build_target_id.pb.go factory.pb.go firmware_config.pb.go portage.pb.go power_config.pb.go software_config.pb.go system_image.pb.go wifi_config.pb.go

Variables

var FirmwareType_Type_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "MAIN",
    2:  "EC",
    3:  "PD",
}
var FirmwareType_Type_value = map[string]int32{
    "UNKNOWN": 0,
    "MAIN":    1,
    "EC":      2,
    "PD":      3,
}

type AudioConfig Uses

type AudioConfig struct {
    // Configures fields of AudioConfig that are made public.
    PublicReplication *public_replication.PublicReplication `protobuf:"bytes,9,opt,name=public_replication,json=publicReplication,proto3" json:"public_replication,omitempty"`
    // The name of the audio card.
    CardName string `protobuf:"bytes,1,opt,name=card_name,json=cardName,proto3" json:"card_name,omitempty"`
    // Path to the CRAS card configuration file.
    // See
    // https://chromium.googlesource.com/chromiumos/third_party/adhd/+/master/cras/#card-configuration.
    CardConfigFile string `protobuf:"bytes,2,opt,name=card_config_file,json=cardConfigFile,proto3" json:"card_config_file,omitempty"`
    // Path to the dsp.ini configuration file.
    DspFile string `protobuf:"bytes,3,opt,name=dsp_file,json=dspFile,proto3" json:"dsp_file,omitempty"`
    // Path to the UCM file. Note that this is the UCM verb file (e.g.
    // "HiFi.conf"), NOT the UCM master file (e.g. <sound card name>.conf).
    UcmFile string `protobuf:"bytes,4,opt,name=ucm_file,json=ucmFile,proto3" json:"ucm_file,omitempty"`
    // Path to the UCM master file (e.g. <sound card name>.conf).
    UcmMasterFile string `protobuf:"bytes,5,opt,name=ucm_master_file,json=ucmMasterFile,proto3" json:"ucm_master_file,omitempty"`
    // UCM suffix, if any.
    UcmSuffix string `protobuf:"bytes,6,opt,name=ucm_suffix,json=ucmSuffix,proto3" json:"ucm_suffix,omitempty"`
    // Path to the ALSA module config file.
    ModuleFile string `protobuf:"bytes,7,opt,name=module_file,json=moduleFile,proto3" json:"module_file,omitempty"`
    // Path to the boards specific settings board.ini file.
    BoardFile            string   `protobuf:"bytes,8,opt,name=board_file,json=boardFile,proto3" json:"board_file,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Note that all files should be specified as paths relative to the root of a chromiumos checkout, e.g. "src/overlays/overlay-<target>/audio/HiFi.conf".

func (*AudioConfig) Descriptor Uses

func (*AudioConfig) Descriptor() ([]byte, []int)

func (*AudioConfig) GetBoardFile Uses

func (m *AudioConfig) GetBoardFile() string

func (*AudioConfig) GetCardConfigFile Uses

func (m *AudioConfig) GetCardConfigFile() string

func (*AudioConfig) GetCardName Uses

func (m *AudioConfig) GetCardName() string

func (*AudioConfig) GetDspFile Uses

func (m *AudioConfig) GetDspFile() string

func (*AudioConfig) GetModuleFile Uses

func (m *AudioConfig) GetModuleFile() string

func (*AudioConfig) GetPublicReplication Uses

func (m *AudioConfig) GetPublicReplication() *public_replication.PublicReplication

func (*AudioConfig) GetUcmFile Uses

func (m *AudioConfig) GetUcmFile() string

func (*AudioConfig) GetUcmMasterFile Uses

func (m *AudioConfig) GetUcmMasterFile() string

func (*AudioConfig) GetUcmSuffix Uses

func (m *AudioConfig) GetUcmSuffix() string

func (*AudioConfig) ProtoMessage Uses

func (*AudioConfig) ProtoMessage()

func (*AudioConfig) Reset Uses

func (m *AudioConfig) Reset()

func (*AudioConfig) String Uses

func (m *AudioConfig) String() string

func (*AudioConfig) XXX_DiscardUnknown Uses

func (m *AudioConfig) XXX_DiscardUnknown()

func (*AudioConfig) XXX_Marshal Uses

func (m *AudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AudioConfig) XXX_Merge Uses

func (m *AudioConfig) XXX_Merge(src proto.Message)

func (*AudioConfig) XXX_Size Uses

func (m *AudioConfig) XXX_Size() int

func (*AudioConfig) XXX_Unmarshal Uses

func (m *AudioConfig) XXX_Unmarshal(b []byte) error

type BluetoothConfig Uses

type BluetoothConfig struct {
    // Flags that are passed to the bluetooth daemon on startup.
    // For more details on allowed flags, see:
    //   https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/master/chromeos-config/#flags
    Flags                map[string]bool `protobuf:"bytes,1,rep,name=flags,proto3" json:"flags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

func (*BluetoothConfig) Descriptor Uses

func (*BluetoothConfig) Descriptor() ([]byte, []int)

func (*BluetoothConfig) GetFlags Uses

func (m *BluetoothConfig) GetFlags() map[string]bool

func (*BluetoothConfig) ProtoMessage Uses

func (*BluetoothConfig) ProtoMessage()

func (*BluetoothConfig) Reset Uses

func (m *BluetoothConfig) Reset()

func (*BluetoothConfig) String Uses

func (m *BluetoothConfig) String() string

func (*BluetoothConfig) XXX_DiscardUnknown Uses

func (m *BluetoothConfig) XXX_DiscardUnknown()

func (*BluetoothConfig) XXX_Marshal Uses

func (m *BluetoothConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BluetoothConfig) XXX_Merge Uses

func (m *BluetoothConfig) XXX_Merge(src proto.Message)

func (*BluetoothConfig) XXX_Size Uses

func (m *BluetoothConfig) XXX_Size() int

func (*BluetoothConfig) XXX_Unmarshal Uses

func (m *BluetoothConfig) XXX_Unmarshal(b []byte) error

type BrandConfig Uses

type BrandConfig struct {
    BrandId              *api.DeviceBrandId                          `protobuf:"bytes,1,opt,name=brand_id,json=brandId,proto3" json:"brand_id,omitempty"`
    ScanConfig           *chromeos_config.IdentityScanConfig_BrandId `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"`
    Wallpaper            string                                      `protobuf:"bytes,3,opt,name=wallpaper,proto3" json:"wallpaper,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
    XXX_unrecognized     []byte                                      `json:"-"`
    XXX_sizecache        int32                                       `json:"-"`
}

Contains all of the device-brand-specific configuration that can be updated via new software builds/releases.

During manufacturing, the DeviceBrandId will be set for a given device, which will subsequently determine what BrandConfig shall be selected from the current software-build installed on the device.

func (*BrandConfig) Descriptor Uses

func (*BrandConfig) Descriptor() ([]byte, []int)

func (*BrandConfig) GetBrandId Uses

func (m *BrandConfig) GetBrandId() *api.DeviceBrandId

func (*BrandConfig) GetScanConfig Uses

func (m *BrandConfig) GetScanConfig() *chromeos_config.IdentityScanConfig_BrandId

func (*BrandConfig) GetWallpaper Uses

func (m *BrandConfig) GetWallpaper() string

func (*BrandConfig) ProtoMessage Uses

func (*BrandConfig) ProtoMessage()

func (*BrandConfig) Reset Uses

func (m *BrandConfig) Reset()

func (*BrandConfig) String Uses

func (m *BrandConfig) String() string

func (*BrandConfig) XXX_DiscardUnknown Uses

func (m *BrandConfig) XXX_DiscardUnknown()

func (*BrandConfig) XXX_Marshal Uses

func (m *BrandConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BrandConfig) XXX_Merge Uses

func (m *BrandConfig) XXX_Merge(src proto.Message)

func (*BrandConfig) XXX_Size Uses

func (m *BrandConfig) XXX_Size() int

func (*BrandConfig) XXX_Unmarshal Uses

func (m *BrandConfig) XXX_Unmarshal(b []byte) error

type BuildTarget Uses

type BuildTarget struct {
    // Fields replicated to public configs.
    PublicReplication *public_replication.PublicReplication `protobuf:"bytes,4,opt,name=public_replication,json=publicReplication,proto3" json:"public_replication,omitempty"`
    Id                *BuildTargetId                        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // TODO(shapiroc): Remove once fw targets are used instead.
    OverlayName          string                          `protobuf:"bytes,2,opt,name=overlay_name,json=overlayName,proto3" json:"overlay_name,omitempty"`
    Arc                  *BuildTarget_ArcBuildProperties `protobuf:"bytes,3,opt,name=arc,proto3" json:"arc,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
    XXX_unrecognized     []byte                          `json:"-"`
    XXX_sizecache        int32                           `json:"-"`
}

TODO(shapiroc): Remove this and have clients use type specific build targets. E.g. SystemImage.BuildTarget, Factory.BuildTarget, ...

func (*BuildTarget) Descriptor Uses

func (*BuildTarget) Descriptor() ([]byte, []int)

func (*BuildTarget) GetArc Uses

func (m *BuildTarget) GetArc() *BuildTarget_ArcBuildProperties

func (*BuildTarget) GetId Uses

func (m *BuildTarget) GetId() *BuildTargetId

func (*BuildTarget) GetOverlayName Uses

func (m *BuildTarget) GetOverlayName() string

func (*BuildTarget) GetPublicReplication Uses

func (m *BuildTarget) GetPublicReplication() *public_replication.PublicReplication

func (*BuildTarget) ProtoMessage Uses

func (*BuildTarget) ProtoMessage()

func (*BuildTarget) Reset Uses

func (m *BuildTarget) Reset()

func (*BuildTarget) String Uses

func (m *BuildTarget) String() string

func (*BuildTarget) XXX_DiscardUnknown Uses

func (m *BuildTarget) XXX_DiscardUnknown()

func (*BuildTarget) XXX_Marshal Uses

func (m *BuildTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildTarget) XXX_Merge Uses

func (m *BuildTarget) XXX_Merge(src proto.Message)

func (*BuildTarget) XXX_Size Uses

func (m *BuildTarget) XXX_Size() int

func (*BuildTarget) XXX_Unmarshal Uses

func (m *BuildTarget) XXX_Unmarshal(b []byte) error

type BuildTargetId Uses

type BuildTargetId struct {
    Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An id that other messages can use as a foreign key to specify a BuildTarget. Id messages are equal iff their binary serialization is equal.

func (*BuildTargetId) Descriptor Uses

func (*BuildTargetId) Descriptor() ([]byte, []int)

func (*BuildTargetId) GetValue Uses

func (m *BuildTargetId) GetValue() string

func (*BuildTargetId) ProtoMessage Uses

func (*BuildTargetId) ProtoMessage()

func (*BuildTargetId) Reset Uses

func (m *BuildTargetId) Reset()

func (*BuildTargetId) String Uses

func (m *BuildTargetId) String() string

func (*BuildTargetId) XXX_DiscardUnknown Uses

func (m *BuildTargetId) XXX_DiscardUnknown()

func (*BuildTargetId) XXX_Marshal Uses

func (m *BuildTargetId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildTargetId) XXX_Merge Uses

func (m *BuildTargetId) XXX_Merge(src proto.Message)

func (*BuildTargetId) XXX_Size Uses

func (m *BuildTargetId) XXX_Size() int

func (*BuildTargetId) XXX_Unmarshal Uses

func (m *BuildTargetId) XXX_Unmarshal(b []byte) error

type BuildTarget_ArcBuildProperties Uses

type BuildTarget_ArcBuildProperties struct {
    // Device name to report in ‘ro.product.device’.
    // This is often ‘{product}_cheets’ but it can be something else if
    // desired.
    Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
    // The first Android API level that this build shipped with.
    FirstApiLevel        string   `protobuf:"bytes,2,opt,name=first_api_level,json=firstApiLevel,proto3" json:"first_api_level,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

TODO(chromium:1126527) - Push this into overlay This isn't device specific and shouldn't be allowed as such.

func (*BuildTarget_ArcBuildProperties) Descriptor Uses

func (*BuildTarget_ArcBuildProperties) Descriptor() ([]byte, []int)

func (*BuildTarget_ArcBuildProperties) GetDevice Uses

func (m *BuildTarget_ArcBuildProperties) GetDevice() string

func (*BuildTarget_ArcBuildProperties) GetFirstApiLevel Uses

func (m *BuildTarget_ArcBuildProperties) GetFirstApiLevel() string

func (*BuildTarget_ArcBuildProperties) ProtoMessage Uses

func (*BuildTarget_ArcBuildProperties) ProtoMessage()

func (*BuildTarget_ArcBuildProperties) Reset Uses

func (m *BuildTarget_ArcBuildProperties) Reset()

func (*BuildTarget_ArcBuildProperties) String Uses

func (m *BuildTarget_ArcBuildProperties) String() string

func (*BuildTarget_ArcBuildProperties) XXX_DiscardUnknown Uses

func (m *BuildTarget_ArcBuildProperties) XXX_DiscardUnknown()

func (*BuildTarget_ArcBuildProperties) XXX_Marshal Uses

func (m *BuildTarget_ArcBuildProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildTarget_ArcBuildProperties) XXX_Merge Uses

func (m *BuildTarget_ArcBuildProperties) XXX_Merge(src proto.Message)

func (*BuildTarget_ArcBuildProperties) XXX_Size Uses

func (m *BuildTarget_ArcBuildProperties) XXX_Size() int

func (*BuildTarget_ArcBuildProperties) XXX_Unmarshal Uses

func (m *BuildTarget_ArcBuildProperties) XXX_Unmarshal(b []byte) error

type Factory Uses

type Factory struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Defines config used to generate Chrome OS factory builds. See: https://chromium.googlesource.com/chromiumos/platform/factory

func (*Factory) Descriptor Uses

func (*Factory) Descriptor() ([]byte, []int)

func (*Factory) ProtoMessage Uses

func (*Factory) ProtoMessage()

func (*Factory) Reset Uses

func (m *Factory) Reset()

func (*Factory) String Uses

func (m *Factory) String() string

func (*Factory) XXX_DiscardUnknown Uses

func (m *Factory) XXX_DiscardUnknown()

func (*Factory) XXX_Marshal Uses

func (m *Factory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Factory) XXX_Merge Uses

func (m *Factory) XXX_Merge(src proto.Message)

func (*Factory) XXX_Size Uses

func (m *Factory) XXX_Size() int

func (*Factory) XXX_Unmarshal Uses

func (m *Factory) XXX_Unmarshal(b []byte) error

type Factory_BuildTarget Uses

type Factory_BuildTarget struct {
    // Factory builds currently use portage, but this could change over time
    // as pieces become more decoupled.
    PortageBuildTarget   *Portage_BuildTarget `protobuf:"bytes,1,opt,name=portage_build_target,json=portageBuildTarget,proto3" json:"portage_build_target,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

func (*Factory_BuildTarget) Descriptor Uses

func (*Factory_BuildTarget) Descriptor() ([]byte, []int)

func (*Factory_BuildTarget) GetPortageBuildTarget Uses

func (m *Factory_BuildTarget) GetPortageBuildTarget() *Portage_BuildTarget

func (*Factory_BuildTarget) ProtoMessage Uses

func (*Factory_BuildTarget) ProtoMessage()

func (*Factory_BuildTarget) Reset Uses

func (m *Factory_BuildTarget) Reset()

func (*Factory_BuildTarget) String Uses

func (m *Factory_BuildTarget) String() string

func (*Factory_BuildTarget) XXX_DiscardUnknown Uses

func (m *Factory_BuildTarget) XXX_DiscardUnknown()

func (*Factory_BuildTarget) XXX_Marshal Uses

func (m *Factory_BuildTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Factory_BuildTarget) XXX_Merge Uses

func (m *Factory_BuildTarget) XXX_Merge(src proto.Message)

func (*Factory_BuildTarget) XXX_Size Uses

func (m *Factory_BuildTarget) XXX_Size() int

func (*Factory_BuildTarget) XXX_Unmarshal Uses

func (m *Factory_BuildTarget) XXX_Unmarshal(b []byte) error

type FirmwareBuildConfig Uses

type FirmwareBuildConfig struct {
    BuildTargets         *FirmwareBuildConfig_BuildTargets `protobuf:"bytes,1,opt,name=build_targets,json=buildTargets,proto3" json:"build_targets,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
    XXX_unrecognized     []byte                            `json:"-"`
    XXX_sizecache        int32                             `json:"-"`
}

Config for building firmware components. This is used in the following contexts:

- Firmware builders. - Local development when building from source (i.e. cros_workon start). - New projects that don't yet specify BCS payloads.

When building OS images, firmware payloads are usually pulled from BCS, as specified by the FirmwareConfig message.

func (*FirmwareBuildConfig) Descriptor Uses

func (*FirmwareBuildConfig) Descriptor() ([]byte, []int)

func (*FirmwareBuildConfig) GetBuildTargets Uses

func (m *FirmwareBuildConfig) GetBuildTargets() *FirmwareBuildConfig_BuildTargets

func (*FirmwareBuildConfig) ProtoMessage Uses

func (*FirmwareBuildConfig) ProtoMessage()

func (*FirmwareBuildConfig) Reset Uses

func (m *FirmwareBuildConfig) Reset()

func (*FirmwareBuildConfig) String Uses

func (m *FirmwareBuildConfig) String() string

func (*FirmwareBuildConfig) XXX_DiscardUnknown Uses

func (m *FirmwareBuildConfig) XXX_DiscardUnknown()

func (*FirmwareBuildConfig) XXX_Marshal Uses

func (m *FirmwareBuildConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareBuildConfig) XXX_Merge Uses

func (m *FirmwareBuildConfig) XXX_Merge(src proto.Message)

func (*FirmwareBuildConfig) XXX_Size Uses

func (m *FirmwareBuildConfig) XXX_Size() int

func (*FirmwareBuildConfig) XXX_Unmarshal Uses

func (m *FirmwareBuildConfig) XXX_Unmarshal(b []byte) error

type FirmwareBuildConfig_BuildTargets Uses

type FirmwareBuildConfig_BuildTargets struct {
    // Build target for coreboot.
    Coreboot string `protobuf:"bytes,1,opt,name=coreboot,proto3" json:"coreboot,omitempty"`
    // Build target for depthcharge.
    Depthcharge string `protobuf:"bytes,2,opt,name=depthcharge,proto3" json:"depthcharge,omitempty"`
    // Build target for EC firmware.
    Ec  string `protobuf:"bytes,3,opt,name=ec,proto3" json:"ec,omitempty"`
    // Extra EC build targets to build/include in the EC firmware.
    EcExtras []string `protobuf:"bytes,4,rep,name=ec_extras,json=ecExtras,proto3" json:"ec_extras,omitempty"`
    // Build target for libpayload.
    Libpayload string `protobuf:"bytes,5,opt,name=libpayload,proto3" json:"libpayload,omitempty"`
    // Firmware builds currently use portage, but this could change over time
    // as pieces become more decoupled.
    PortageBuildTarget   *Portage_BuildTarget `protobuf:"bytes,6,opt,name=portage_build_target,json=portageBuildTarget,proto3" json:"portage_build_target,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

Build targets for building firmware components.

func (*FirmwareBuildConfig_BuildTargets) Descriptor Uses

func (*FirmwareBuildConfig_BuildTargets) Descriptor() ([]byte, []int)

func (*FirmwareBuildConfig_BuildTargets) GetCoreboot Uses

func (m *FirmwareBuildConfig_BuildTargets) GetCoreboot() string

func (*FirmwareBuildConfig_BuildTargets) GetDepthcharge Uses

func (m *FirmwareBuildConfig_BuildTargets) GetDepthcharge() string

func (*FirmwareBuildConfig_BuildTargets) GetEc Uses

func (m *FirmwareBuildConfig_BuildTargets) GetEc() string

func (*FirmwareBuildConfig_BuildTargets) GetEcExtras Uses

func (m *FirmwareBuildConfig_BuildTargets) GetEcExtras() []string

func (*FirmwareBuildConfig_BuildTargets) GetLibpayload Uses

func (m *FirmwareBuildConfig_BuildTargets) GetLibpayload() string

func (*FirmwareBuildConfig_BuildTargets) GetPortageBuildTarget Uses

func (m *FirmwareBuildConfig_BuildTargets) GetPortageBuildTarget() *Portage_BuildTarget

func (*FirmwareBuildConfig_BuildTargets) ProtoMessage Uses

func (*FirmwareBuildConfig_BuildTargets) ProtoMessage()

func (*FirmwareBuildConfig_BuildTargets) Reset Uses

func (m *FirmwareBuildConfig_BuildTargets) Reset()

func (*FirmwareBuildConfig_BuildTargets) String Uses

func (m *FirmwareBuildConfig_BuildTargets) String() string

func (*FirmwareBuildConfig_BuildTargets) XXX_DiscardUnknown Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_DiscardUnknown()

func (*FirmwareBuildConfig_BuildTargets) XXX_Marshal Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareBuildConfig_BuildTargets) XXX_Merge Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_Merge(src proto.Message)

func (*FirmwareBuildConfig_BuildTargets) XXX_Size Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_Size() int

func (*FirmwareBuildConfig_BuildTargets) XXX_Unmarshal Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_Unmarshal(b []byte) error

type FirmwareConfig Uses

type FirmwareConfig struct {
    // The main read-only firmware.
    MainRoPayload *FirmwarePayload `protobuf:"bytes,1,opt,name=main_ro_payload,json=mainRoPayload,proto3" json:"main_ro_payload,omitempty"`
    // The main read-write firmware.
    MainRwPayload *FirmwarePayload `protobuf:"bytes,2,opt,name=main_rw_payload,json=mainRwPayload,proto3" json:"main_rw_payload,omitempty"`
    // The embedded controller read-only firmware.
    EcRoPayload *FirmwarePayload `protobuf:"bytes,3,opt,name=ec_ro_payload,json=ecRoPayload,proto3" json:"ec_ro_payload,omitempty"`
    // The libpayload read-only firmware
    PdRoPayload          *FirmwarePayload `protobuf:"bytes,5,opt,name=pd_ro_payload,json=pdRoPayload,proto3" json:"pd_ro_payload,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

Specifies different firmware payloads to use. This is used in the following contexts:

- OS images that specify BCS payloads. - In the factory to flash the RO firmware.

Building firmware is configured with the FirmwareBuildConfig message.

TODO(crbug.com/1071918): Rename to FirmwarePayloadConfig.

func (*FirmwareConfig) Descriptor Uses

func (*FirmwareConfig) Descriptor() ([]byte, []int)

func (*FirmwareConfig) GetEcRoPayload Uses

func (m *FirmwareConfig) GetEcRoPayload() *FirmwarePayload

func (*FirmwareConfig) GetMainRoPayload Uses

func (m *FirmwareConfig) GetMainRoPayload() *FirmwarePayload

func (*FirmwareConfig) GetMainRwPayload Uses

func (m *FirmwareConfig) GetMainRwPayload() *FirmwarePayload

func (*FirmwareConfig) GetPdRoPayload Uses

func (m *FirmwareConfig) GetPdRoPayload() *FirmwarePayload

func (*FirmwareConfig) ProtoMessage Uses

func (*FirmwareConfig) ProtoMessage()

func (*FirmwareConfig) Reset Uses

func (m *FirmwareConfig) Reset()

func (*FirmwareConfig) String Uses

func (m *FirmwareConfig) String() string

func (*FirmwareConfig) XXX_DiscardUnknown Uses

func (m *FirmwareConfig) XXX_DiscardUnknown()

func (*FirmwareConfig) XXX_Marshal Uses

func (m *FirmwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareConfig) XXX_Merge Uses

func (m *FirmwareConfig) XXX_Merge(src proto.Message)

func (*FirmwareConfig) XXX_Size Uses

func (m *FirmwareConfig) XXX_Size() int

func (*FirmwareConfig) XXX_Unmarshal Uses

func (m *FirmwareConfig) XXX_Unmarshal(b []byte) error

type FirmwarePayload Uses

type FirmwarePayload struct {
    // The name of the firmware image used by the firmware updater. Typically
    // the device name, but can differ when a device may have two or more
    // different firmware images.
    FirmwareImageName    string            `protobuf:"bytes,2,opt,name=firmware_image_name,json=firmwareImageName,proto3" json:"firmware_image_name,omitempty"`
    Type                 FirmwareType_Type `protobuf:"varint,3,opt,name=type,proto3,enum=chromiumos.config.api.software.FirmwareType_Type" json:"type,omitempty"`
    Version              *Version          `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Specifies the location of a firmware binary.

func (*FirmwarePayload) Descriptor Uses

func (*FirmwarePayload) Descriptor() ([]byte, []int)

func (*FirmwarePayload) GetFirmwareImageName Uses

func (m *FirmwarePayload) GetFirmwareImageName() string

func (*FirmwarePayload) GetType Uses

func (m *FirmwarePayload) GetType() FirmwareType_Type

func (*FirmwarePayload) GetVersion Uses

func (m *FirmwarePayload) GetVersion() *Version

func (*FirmwarePayload) ProtoMessage Uses

func (*FirmwarePayload) ProtoMessage()

func (*FirmwarePayload) Reset Uses

func (m *FirmwarePayload) Reset()

func (*FirmwarePayload) String Uses

func (m *FirmwarePayload) String() string

func (*FirmwarePayload) XXX_DiscardUnknown Uses

func (m *FirmwarePayload) XXX_DiscardUnknown()

func (*FirmwarePayload) XXX_Marshal Uses

func (m *FirmwarePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwarePayload) XXX_Merge Uses

func (m *FirmwarePayload) XXX_Merge(src proto.Message)

func (*FirmwarePayload) XXX_Size Uses

func (m *FirmwarePayload) XXX_Size() int

func (*FirmwarePayload) XXX_Unmarshal Uses

func (m *FirmwarePayload) XXX_Unmarshal(b []byte) error

type FirmwareType Uses

type FirmwareType struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The type of a firmware binary.

func (*FirmwareType) Descriptor Uses

func (*FirmwareType) Descriptor() ([]byte, []int)

func (*FirmwareType) ProtoMessage Uses

func (*FirmwareType) ProtoMessage()

func (*FirmwareType) Reset Uses

func (m *FirmwareType) Reset()

func (*FirmwareType) String Uses

func (m *FirmwareType) String() string

func (*FirmwareType) XXX_DiscardUnknown Uses

func (m *FirmwareType) XXX_DiscardUnknown()

func (*FirmwareType) XXX_Marshal Uses

func (m *FirmwareType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareType) XXX_Merge Uses

func (m *FirmwareType) XXX_Merge(src proto.Message)

func (*FirmwareType) XXX_Size Uses

func (m *FirmwareType) XXX_Size() int

func (*FirmwareType) XXX_Unmarshal Uses

func (m *FirmwareType) XXX_Unmarshal(b []byte) error

type FirmwareType_Type Uses

type FirmwareType_Type int32
const (
    FirmwareType_UNKNOWN FirmwareType_Type = 0
    FirmwareType_MAIN    FirmwareType_Type = 1
    FirmwareType_EC      FirmwareType_Type = 2
    FirmwareType_PD      FirmwareType_Type = 3
)

func (FirmwareType_Type) EnumDescriptor Uses

func (FirmwareType_Type) EnumDescriptor() ([]byte, []int)

func (FirmwareType_Type) String Uses

func (x FirmwareType_Type) String() string

type Portage Uses

type Portage struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Defines config used to generate portage builds.

func (*Portage) Descriptor Uses

func (*Portage) Descriptor() ([]byte, []int)

func (*Portage) ProtoMessage Uses

func (*Portage) ProtoMessage()

func (*Portage) Reset Uses

func (m *Portage) Reset()

func (*Portage) String Uses

func (m *Portage) String() string

func (*Portage) XXX_DiscardUnknown Uses

func (m *Portage) XXX_DiscardUnknown()

func (*Portage) XXX_Marshal Uses

func (m *Portage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Portage) XXX_Merge Uses

func (m *Portage) XXX_Merge(src proto.Message)

func (*Portage) XXX_Size Uses

func (m *Portage) XXX_Size() int

func (*Portage) XXX_Unmarshal Uses

func (m *Portage) XXX_Unmarshal(b []byte) error

type Portage_BuildTarget Uses

type Portage_BuildTarget struct {
    OverlayName string   `protobuf:"bytes,1,opt,name=overlay_name,json=overlayName,proto3" json:"overlay_name,omitempty"`
    ProfileName string   `protobuf:"bytes,2,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
    UseFlags    []string `protobuf:"bytes,3,rep,name=use_flags,json=useFlags,proto3" json:"use_flags,omitempty"`
    // Features enabled for the given build
    // See: https://wiki.gentoo.org/wiki/FEATURES
    Features             []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Portage_BuildTarget) Descriptor Uses

func (*Portage_BuildTarget) Descriptor() ([]byte, []int)

func (*Portage_BuildTarget) GetFeatures Uses

func (m *Portage_BuildTarget) GetFeatures() []string

func (*Portage_BuildTarget) GetOverlayName Uses

func (m *Portage_BuildTarget) GetOverlayName() string

func (*Portage_BuildTarget) GetProfileName Uses

func (m *Portage_BuildTarget) GetProfileName() string

func (*Portage_BuildTarget) GetUseFlags Uses

func (m *Portage_BuildTarget) GetUseFlags() []string

func (*Portage_BuildTarget) ProtoMessage Uses

func (*Portage_BuildTarget) ProtoMessage()

func (*Portage_BuildTarget) Reset Uses

func (m *Portage_BuildTarget) Reset()

func (*Portage_BuildTarget) String Uses

func (m *Portage_BuildTarget) String() string

func (*Portage_BuildTarget) XXX_DiscardUnknown Uses

func (m *Portage_BuildTarget) XXX_DiscardUnknown()

func (*Portage_BuildTarget) XXX_Marshal Uses

func (m *Portage_BuildTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Portage_BuildTarget) XXX_Merge Uses

func (m *Portage_BuildTarget) XXX_Merge(src proto.Message)

func (*Portage_BuildTarget) XXX_Size Uses

func (m *Portage_BuildTarget) XXX_Size() int

func (*Portage_BuildTarget) XXX_Unmarshal Uses

func (m *Portage_BuildTarget) XXX_Unmarshal(b []byte) error

type Portage_Package Uses

type Portage_Package struct {
    // The package name (PN variable).
    PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
    // The package category (CATEGORY variable).
    Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
    // The package version and revision (PVR variable).
    Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Message describing a package, The corresponding variable names are from https://devmanual.gentoo.org/ebuild-writing/variables/index.html

func (*Portage_Package) Descriptor Uses

func (*Portage_Package) Descriptor() ([]byte, []int)

func (*Portage_Package) GetCategory Uses

func (m *Portage_Package) GetCategory() string

func (*Portage_Package) GetPackageName Uses

func (m *Portage_Package) GetPackageName() string

func (*Portage_Package) GetVersion Uses

func (m *Portage_Package) GetVersion() string

func (*Portage_Package) ProtoMessage Uses

func (*Portage_Package) ProtoMessage()

func (*Portage_Package) Reset Uses

func (m *Portage_Package) Reset()

func (*Portage_Package) String Uses

func (m *Portage_Package) String() string

func (*Portage_Package) XXX_DiscardUnknown Uses

func (m *Portage_Package) XXX_DiscardUnknown()

func (*Portage_Package) XXX_Marshal Uses

func (m *Portage_Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Portage_Package) XXX_Merge Uses

func (m *Portage_Package) XXX_Merge(src proto.Message)

func (*Portage_Package) XXX_Size Uses

func (m *Portage_Package) XXX_Size() int

func (*Portage_Package) XXX_Unmarshal Uses

func (m *Portage_Package) XXX_Unmarshal(b []byte) error

type PowerConfig Uses

type PowerConfig struct {
    // Key/values that define all of the power management preferences.
    Preferences          map[string]string `protobuf:"bytes,1,rep,name=preferences,proto3" json:"preferences,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Defines configuration settings for power management. For more details, see: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/master:src/platform2/chromeos-config/README.md

func (*PowerConfig) Descriptor Uses

func (*PowerConfig) Descriptor() ([]byte, []int)

func (*PowerConfig) GetPreferences Uses

func (m *PowerConfig) GetPreferences() map[string]string

func (*PowerConfig) ProtoMessage Uses

func (*PowerConfig) ProtoMessage()

func (*PowerConfig) Reset Uses

func (m *PowerConfig) Reset()

func (*PowerConfig) String Uses

func (m *PowerConfig) String() string

func (*PowerConfig) XXX_DiscardUnknown Uses

func (m *PowerConfig) XXX_DiscardUnknown()

func (*PowerConfig) XXX_Marshal Uses

func (m *PowerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PowerConfig) XXX_Merge Uses

func (m *PowerConfig) XXX_Merge(src proto.Message)

func (*PowerConfig) XXX_Size Uses

func (m *PowerConfig) XXX_Size() int

func (*PowerConfig) XXX_Unmarshal Uses

func (m *PowerConfig) XXX_Unmarshal(b []byte) error

type SoftwareConfig Uses

type SoftwareConfig struct {
    // Configures fields of AudioConfig that are made public.
    PublicReplication *public_replication.PublicReplication `protobuf:"bytes,12,opt,name=public_replication,json=publicReplication,proto3" json:"public_replication,omitempty"`
    // Defines the hardware design config this software config supports.
    DesignConfigId *api.DesignConfigId                                `protobuf:"bytes,7,opt,name=design_config_id,json=designConfigId,proto3" json:"design_config_id,omitempty"`
    IdScanConfig   *chromeos_config.IdentityScanConfig_DesignConfigId `protobuf:"bytes,8,opt,name=id_scan_config,json=idScanConfig,proto3" json:"id_scan_config,omitempty"`
    // Defines firmware version pinning details (for non-development workflows).
    Firmware *FirmwareConfig `protobuf:"bytes,3,opt,name=firmware,proto3" json:"firmware,omitempty"`
    // TODO(shapiroc): Rename this to match SystemImage.BuildTarget pattern so
    // that it's clear this is build target info only and not other firmware build
    // config (like version pinning info for).
    FirmwareBuildConfig  *FirmwareBuildConfig     `protobuf:"bytes,9,opt,name=firmware_build_config,json=firmwareBuildConfig,proto3" json:"firmware_build_config,omitempty"`
    SystemBuildTarget    *SystemImage_BuildTarget `protobuf:"bytes,13,opt,name=system_build_target,json=systemBuildTarget,proto3" json:"system_build_target,omitempty"`
    FactoryBuildTarget   *Factory_BuildTarget     `protobuf:"bytes,14,opt,name=factory_build_target,json=factoryBuildTarget,proto3" json:"factory_build_target,omitempty"`
    BluetoothConfig      *BluetoothConfig         `protobuf:"bytes,4,opt,name=bluetooth_config,json=bluetoothConfig,proto3" json:"bluetooth_config,omitempty"`
    PowerConfig          *PowerConfig             `protobuf:"bytes,5,opt,name=power_config,json=powerConfig,proto3" json:"power_config,omitempty"`
    AudioConfigs         []*AudioConfig           `protobuf:"bytes,10,rep,name=audio_configs,json=audioConfigs,proto3" json:"audio_configs,omitempty"`
    WifiConfig           *WifiConfig              `protobuf:"bytes,11,opt,name=wifi_config,json=wifiConfig,proto3" json:"wifi_config,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
    XXX_unrecognized     []byte                   `json:"-"`
    XXX_sizecache        int32                    `json:"-"`
}

Contains all of the hardware-design-specific configuration that can be updated via new software builds/releases.

During manufacturing, the SoftwareConfigId will be set for a given device, which will subsequently determine what SoftwareConfig shall be selected from the current software-build installed on the device.

SoftwareConfig payloads can be shared across different hardware-design-configs, if the software payloads are the same.

NEXT ID: 15

func (*SoftwareConfig) Descriptor Uses

func (*SoftwareConfig) Descriptor() ([]byte, []int)

func (*SoftwareConfig) GetAudioConfigs Uses

func (m *SoftwareConfig) GetAudioConfigs() []*AudioConfig

func (*SoftwareConfig) GetBluetoothConfig Uses

func (m *SoftwareConfig) GetBluetoothConfig() *BluetoothConfig

func (*SoftwareConfig) GetDesignConfigId Uses

func (m *SoftwareConfig) GetDesignConfigId() *api.DesignConfigId

func (*SoftwareConfig) GetFactoryBuildTarget Uses

func (m *SoftwareConfig) GetFactoryBuildTarget() *Factory_BuildTarget

func (*SoftwareConfig) GetFirmware Uses

func (m *SoftwareConfig) GetFirmware() *FirmwareConfig

func (*SoftwareConfig) GetFirmwareBuildConfig Uses

func (m *SoftwareConfig) GetFirmwareBuildConfig() *FirmwareBuildConfig

func (*SoftwareConfig) GetIdScanConfig Uses

func (m *SoftwareConfig) GetIdScanConfig() *chromeos_config.IdentityScanConfig_DesignConfigId

func (*SoftwareConfig) GetPowerConfig Uses

func (m *SoftwareConfig) GetPowerConfig() *PowerConfig

func (*SoftwareConfig) GetPublicReplication Uses

func (m *SoftwareConfig) GetPublicReplication() *public_replication.PublicReplication

func (*SoftwareConfig) GetSystemBuildTarget Uses

func (m *SoftwareConfig) GetSystemBuildTarget() *SystemImage_BuildTarget

func (*SoftwareConfig) GetWifiConfig Uses

func (m *SoftwareConfig) GetWifiConfig() *WifiConfig

func (*SoftwareConfig) ProtoMessage Uses

func (*SoftwareConfig) ProtoMessage()

func (*SoftwareConfig) Reset Uses

func (m *SoftwareConfig) Reset()

func (*SoftwareConfig) String Uses

func (m *SoftwareConfig) String() string

func (*SoftwareConfig) XXX_DiscardUnknown Uses

func (m *SoftwareConfig) XXX_DiscardUnknown()

func (*SoftwareConfig) XXX_Marshal Uses

func (m *SoftwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SoftwareConfig) XXX_Merge Uses

func (m *SoftwareConfig) XXX_Merge(src proto.Message)

func (*SoftwareConfig) XXX_Size Uses

func (m *SoftwareConfig) XXX_Size() int

func (*SoftwareConfig) XXX_Unmarshal Uses

func (m *SoftwareConfig) XXX_Unmarshal(b []byte) error

type SystemImage Uses

type SystemImage struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Defines config used to generate Chrome OS system image builds.

func (*SystemImage) Descriptor Uses

func (*SystemImage) Descriptor() ([]byte, []int)

func (*SystemImage) ProtoMessage Uses

func (*SystemImage) ProtoMessage()

func (*SystemImage) Reset Uses

func (m *SystemImage) Reset()

func (*SystemImage) String Uses

func (m *SystemImage) String() string

func (*SystemImage) XXX_DiscardUnknown Uses

func (m *SystemImage) XXX_DiscardUnknown()

func (*SystemImage) XXX_Marshal Uses

func (m *SystemImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemImage) XXX_Merge Uses

func (m *SystemImage) XXX_Merge(src proto.Message)

func (*SystemImage) XXX_Size Uses

func (m *SystemImage) XXX_Size() int

func (*SystemImage) XXX_Unmarshal Uses

func (m *SystemImage) XXX_Unmarshal(b []byte) error

type SystemImage_BuildMetadata Uses

type SystemImage_BuildMetadata struct {
    // Target passed when the build was generated.
    BuildTarget *SystemImage_BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
    // All of the portage packages/versions included in the build.
    Packages             []*Portage_Package `protobuf:"bytes,2,rep,name=packages,proto3" json:"packages,omitempty"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

Defines all of the metadata generated as a result of creating a system build. This metadata is made available for reporting/test-planning/... as an artifact of the build.

func (*SystemImage_BuildMetadata) Descriptor Uses

func (*SystemImage_BuildMetadata) Descriptor() ([]byte, []int)

func (*SystemImage_BuildMetadata) GetBuildTarget Uses

func (m *SystemImage_BuildMetadata) GetBuildTarget() *SystemImage_BuildTarget

func (*SystemImage_BuildMetadata) GetPackages Uses

func (m *SystemImage_BuildMetadata) GetPackages() []*Portage_Package

func (*SystemImage_BuildMetadata) ProtoMessage Uses

func (*SystemImage_BuildMetadata) ProtoMessage()

func (*SystemImage_BuildMetadata) Reset Uses

func (m *SystemImage_BuildMetadata) Reset()

func (*SystemImage_BuildMetadata) String Uses

func (m *SystemImage_BuildMetadata) String() string

func (*SystemImage_BuildMetadata) XXX_DiscardUnknown Uses

func (m *SystemImage_BuildMetadata) XXX_DiscardUnknown()

func (*SystemImage_BuildMetadata) XXX_Marshal Uses

func (m *SystemImage_BuildMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemImage_BuildMetadata) XXX_Merge Uses

func (m *SystemImage_BuildMetadata) XXX_Merge(src proto.Message)

func (*SystemImage_BuildMetadata) XXX_Size Uses

func (m *SystemImage_BuildMetadata) XXX_Size() int

func (*SystemImage_BuildMetadata) XXX_Unmarshal Uses

func (m *SystemImage_BuildMetadata) XXX_Unmarshal(b []byte) error

type SystemImage_BuildTarget Uses

type SystemImage_BuildTarget struct {
    PortageBuildTarget   *Portage_BuildTarget `protobuf:"bytes,1,opt,name=portage_build_target,json=portageBuildTarget,proto3" json:"portage_build_target,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

Defines build target config required to generate a Chrome OS system image. See: https://chromium.googlesource.com/chromiumos/docs/+/master/developer_guide.md#Build-a-disk-image-for-your-board

func (*SystemImage_BuildTarget) Descriptor Uses

func (*SystemImage_BuildTarget) Descriptor() ([]byte, []int)

func (*SystemImage_BuildTarget) GetPortageBuildTarget Uses

func (m *SystemImage_BuildTarget) GetPortageBuildTarget() *Portage_BuildTarget

func (*SystemImage_BuildTarget) ProtoMessage Uses

func (*SystemImage_BuildTarget) ProtoMessage()

func (*SystemImage_BuildTarget) Reset Uses

func (m *SystemImage_BuildTarget) Reset()

func (*SystemImage_BuildTarget) String Uses

func (m *SystemImage_BuildTarget) String() string

func (*SystemImage_BuildTarget) XXX_DiscardUnknown Uses

func (m *SystemImage_BuildTarget) XXX_DiscardUnknown()

func (*SystemImage_BuildTarget) XXX_Marshal Uses

func (m *SystemImage_BuildTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemImage_BuildTarget) XXX_Merge Uses

func (m *SystemImage_BuildTarget) XXX_Merge(src proto.Message)

func (*SystemImage_BuildTarget) XXX_Size Uses

func (m *SystemImage_BuildTarget) XXX_Size() int

func (*SystemImage_BuildTarget) XXX_Unmarshal Uses

func (m *SystemImage_BuildTarget) XXX_Unmarshal(b []byte) error

type Version Uses

type Version struct {
    Major                int32    `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
    Minor                int32    `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Specifies the version of a firmware binary.

func (*Version) Descriptor Uses

func (*Version) Descriptor() ([]byte, []int)

func (*Version) GetMajor Uses

func (m *Version) GetMajor() int32

func (*Version) GetMinor Uses

func (m *Version) GetMinor() int32

func (*Version) ProtoMessage Uses

func (*Version) ProtoMessage()

func (*Version) Reset Uses

func (m *Version) Reset()

func (*Version) String Uses

func (m *Version) String() string

func (*Version) XXX_DiscardUnknown Uses

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal Uses

func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Version) XXX_Merge Uses

func (m *Version) XXX_Merge(src proto.Message)

func (*Version) XXX_Size Uses

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal Uses

func (m *Version) XXX_Unmarshal(b []byte) error

type WifiConfig Uses

type WifiConfig struct {
    // Types that are valid to be assigned to WifiConfig:
    //	*WifiConfig_Ath10KConfig_
    //	*WifiConfig_Rtw88Config_
    //	*WifiConfig_IntelConfig_
    WifiConfig           isWifiConfig_WifiConfig `protobuf_oneof:"wifi_config"`
    XXX_NoUnkeyedLiteral struct{}                `json:"-"`
    XXX_unrecognized     []byte                  `json:"-"`
    XXX_sizecache        int32                   `json:"-"`
}

Sets limits on maximum WiFi transmit power for tablet and non-tablet device configurations. This config must contain properties for ath10k wifi driver or rtw88 wifi driver only.

func (*WifiConfig) Descriptor Uses

func (*WifiConfig) Descriptor() ([]byte, []int)

func (*WifiConfig) GetAth10KConfig Uses

func (m *WifiConfig) GetAth10KConfig() *WifiConfig_Ath10KConfig

func (*WifiConfig) GetIntelConfig Uses

func (m *WifiConfig) GetIntelConfig() *WifiConfig_IntelConfig

func (*WifiConfig) GetRtw88Config Uses

func (m *WifiConfig) GetRtw88Config() *WifiConfig_Rtw88Config

func (*WifiConfig) GetWifiConfig Uses

func (m *WifiConfig) GetWifiConfig() isWifiConfig_WifiConfig

func (*WifiConfig) ProtoMessage Uses

func (*WifiConfig) ProtoMessage()

func (*WifiConfig) Reset Uses

func (m *WifiConfig) Reset()

func (*WifiConfig) String Uses

func (m *WifiConfig) String() string

func (*WifiConfig) XXX_DiscardUnknown Uses

func (m *WifiConfig) XXX_DiscardUnknown()

func (*WifiConfig) XXX_Marshal Uses

func (m *WifiConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WifiConfig) XXX_Merge Uses

func (m *WifiConfig) XXX_Merge(src proto.Message)

func (*WifiConfig) XXX_OneofWrappers Uses

func (*WifiConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*WifiConfig) XXX_Size Uses

func (m *WifiConfig) XXX_Size() int

func (*WifiConfig) XXX_Unmarshal Uses

func (m *WifiConfig) XXX_Unmarshal(b []byte) error

type WifiConfig_Ath10KConfig Uses

type WifiConfig_Ath10KConfig struct {
    // TransmitPowerChain settings when operating in tablet and non-tablet
    // modes.
    TabletModePowerTable    *WifiConfig_Ath10KConfig_TransmitPowerChain `protobuf:"bytes,1,opt,name=tablet_mode_power_table,json=tabletModePowerTable,proto3" json:"tablet_mode_power_table,omitempty"`
    NonTabletModePowerTable *WifiConfig_Ath10KConfig_TransmitPowerChain `protobuf:"bytes,2,opt,name=non_tablet_mode_power_table,json=nonTabletModePowerTable,proto3" json:"non_tablet_mode_power_table,omitempty"`
    XXX_NoUnkeyedLiteral    struct{}                                    `json:"-"`
    XXX_unrecognized        []byte                                      `json:"-"`
    XXX_sizecache           int32                                       `json:"-"`
}

func (*WifiConfig_Ath10KConfig) Descriptor Uses

func (*WifiConfig_Ath10KConfig) Descriptor() ([]byte, []int)

func (*WifiConfig_Ath10KConfig) GetNonTabletModePowerTable Uses

func (m *WifiConfig_Ath10KConfig) GetNonTabletModePowerTable() *WifiConfig_Ath10KConfig_TransmitPowerChain

func (*WifiConfig_Ath10KConfig) GetTabletModePowerTable Uses

func (m *WifiConfig_Ath10KConfig) GetTabletModePowerTable() *WifiConfig_Ath10KConfig_TransmitPowerChain

func (*WifiConfig_Ath10KConfig) ProtoMessage Uses

func (*WifiConfig_Ath10KConfig) ProtoMessage()

func (*WifiConfig_Ath10KConfig) Reset Uses

func (m *WifiConfig_Ath10KConfig) Reset()

func (*WifiConfig_Ath10KConfig) String Uses

func (m *WifiConfig_Ath10KConfig) String() string

func (*WifiConfig_Ath10KConfig) XXX_DiscardUnknown Uses

func (m *WifiConfig_Ath10KConfig) XXX_DiscardUnknown()

func (*WifiConfig_Ath10KConfig) XXX_Marshal Uses

func (m *WifiConfig_Ath10KConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WifiConfig_Ath10KConfig) XXX_Merge Uses

func (m *WifiConfig_Ath10KConfig) XXX_Merge(src proto.Message)

func (*WifiConfig_Ath10KConfig) XXX_Size Uses

func (m *WifiConfig_Ath10KConfig) XXX_Size() int

func (*WifiConfig_Ath10KConfig) XXX_Unmarshal Uses

func (m *WifiConfig_Ath10KConfig) XXX_Unmarshal(b []byte) error

type WifiConfig_Ath10KConfig_ Uses

type WifiConfig_Ath10KConfig_ struct {
    Ath10KConfig *WifiConfig_Ath10KConfig `protobuf:"bytes,1,opt,name=ath10k_config,json=ath10kConfig,proto3,oneof"`
}

type WifiConfig_Ath10KConfig_TransmitPowerChain Uses

type WifiConfig_Ath10KConfig_TransmitPowerChain struct {
    // 2G band power limit (dBm)
    Limit_2G uint32 `protobuf:"varint,1,opt,name=limit_2g,json=limit2g,proto3" json:"limit_2g,omitempty"`
    // 5G band power limit (dBm)
    Limit_5G             uint32   `protobuf:"varint,2,opt,name=limit_5g,json=limit5g,proto3" json:"limit_5g,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

WiFi power chain for use with QCA ath10k drivers. Limits in units of 1 dBm. 5g band power limit applies to all 5g bands.

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) Descriptor Uses

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) Descriptor() ([]byte, []int)

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) GetLimit_2G Uses

func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) GetLimit_2G() uint32

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) GetLimit_5G Uses

func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) GetLimit_5G() uint32

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) ProtoMessage Uses

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) ProtoMessage()

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) Reset Uses

func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) Reset()

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) String Uses

func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) String() string

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_DiscardUnknown Uses

func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_DiscardUnknown()

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Marshal Uses

func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Merge Uses

func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Merge(src proto.Message)

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Size Uses

func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Size() int

func (*WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Unmarshal Uses

func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Unmarshal(b []byte) error

type WifiConfig_IntelConfig Uses

type WifiConfig_IntelConfig struct {
    // TransmitPowerChain settings when operating in tablet and non-tablet
    // modes. Each mode additionally provides chain a and chain b settings.
    // These are power configs for a given antenna, a vs. b.
    TabletModePowerTableA    *WifiConfig_IntelConfig_TransmitPowerChain `protobuf:"bytes,1,opt,name=tablet_mode_power_table_a,json=tabletModePowerTableA,proto3" json:"tablet_mode_power_table_a,omitempty"`
    TabletModePowerTableB    *WifiConfig_IntelConfig_TransmitPowerChain `protobuf:"bytes,2,opt,name=tablet_mode_power_table_b,json=tabletModePowerTableB,proto3" json:"tablet_mode_power_table_b,omitempty"`
    NonTabletModePowerTableA *WifiConfig_IntelConfig_TransmitPowerChain `protobuf:"bytes,3,opt,name=non_tablet_mode_power_table_a,json=nonTabletModePowerTableA,proto3" json:"non_tablet_mode_power_table_a,omitempty"`
    NonTabletModePowerTableB *WifiConfig_IntelConfig_TransmitPowerChain `protobuf:"bytes,4,opt,name=non_tablet_mode_power_table_b,json=nonTabletModePowerTableB,proto3" json:"non_tablet_mode_power_table_b,omitempty"`
    // Wireless Geo Delta Settings version.
    WgdsVersion uint32 `protobuf:"varint,5,opt,name=wgds_version,json=wgdsVersion,proto3" json:"wgds_version,omitempty"`
    // GeoOffsets in different regulatory domains.
    OffsetFcc            *WifiConfig_IntelConfig_GeoOffsets `protobuf:"bytes,6,opt,name=offset_fcc,json=offsetFcc,proto3" json:"offset_fcc,omitempty"`
    OffsetEu             *WifiConfig_IntelConfig_GeoOffsets `protobuf:"bytes,7,opt,name=offset_eu,json=offsetEu,proto3" json:"offset_eu,omitempty"`
    OffsetOther          *WifiConfig_IntelConfig_GeoOffsets `protobuf:"bytes,8,opt,name=offset_other,json=offsetOther,proto3" json:"offset_other,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
    XXX_unrecognized     []byte                             `json:"-"`
    XXX_sizecache        int32                              `json:"-"`
}

func (*WifiConfig_IntelConfig) Descriptor Uses

func (*WifiConfig_IntelConfig) Descriptor() ([]byte, []int)

func (*WifiConfig_IntelConfig) GetNonTabletModePowerTableA Uses

func (m *WifiConfig_IntelConfig) GetNonTabletModePowerTableA() *WifiConfig_IntelConfig_TransmitPowerChain

func (*WifiConfig_IntelConfig) GetNonTabletModePowerTableB Uses

func (m *WifiConfig_IntelConfig) GetNonTabletModePowerTableB() *WifiConfig_IntelConfig_TransmitPowerChain

func (*WifiConfig_IntelConfig) GetOffsetEu Uses

func (m *WifiConfig_IntelConfig) GetOffsetEu() *WifiConfig_IntelConfig_GeoOffsets

func (*WifiConfig_IntelConfig) GetOffsetFcc Uses

func (m *WifiConfig_IntelConfig) GetOffsetFcc() *WifiConfig_IntelConfig_GeoOffsets

func (*WifiConfig_IntelConfig) GetOffsetOther Uses

func (m *WifiConfig_IntelConfig) GetOffsetOther() *WifiConfig_IntelConfig_GeoOffsets

func (*WifiConfig_IntelConfig) GetTabletModePowerTableA Uses

func (m *WifiConfig_IntelConfig) GetTabletModePowerTableA() *WifiConfig_IntelConfig_TransmitPowerChain

func (*WifiConfig_IntelConfig) GetTabletModePowerTableB Uses

func (m *WifiConfig_IntelConfig) GetTabletModePowerTableB() *WifiConfig_IntelConfig_TransmitPowerChain

func (*WifiConfig_IntelConfig) GetWgdsVersion Uses

func (m *WifiConfig_IntelConfig) GetWgdsVersion() uint32

func (*WifiConfig_IntelConfig) ProtoMessage Uses

func (*WifiConfig_IntelConfig) ProtoMessage()

func (*WifiConfig_IntelConfig) Reset Uses

func (m *WifiConfig_IntelConfig) Reset()

func (*WifiConfig_IntelConfig) String Uses

func (m *WifiConfig_IntelConfig) String() string

func (*WifiConfig_IntelConfig) XXX_DiscardUnknown Uses

func (m *WifiConfig_IntelConfig) XXX_DiscardUnknown()

func (*WifiConfig_IntelConfig) XXX_Marshal Uses

func (m *WifiConfig_IntelConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WifiConfig_IntelConfig) XXX_Merge Uses

func (m *WifiConfig_IntelConfig) XXX_Merge(src proto.Message)

func (*WifiConfig_IntelConfig) XXX_Size Uses

func (m *WifiConfig_IntelConfig) XXX_Size() int

func (*WifiConfig_IntelConfig) XXX_Unmarshal Uses

func (m *WifiConfig_IntelConfig) XXX_Unmarshal(b []byte) error

type WifiConfig_IntelConfig_ Uses

type WifiConfig_IntelConfig_ struct {
    IntelConfig *WifiConfig_IntelConfig `protobuf:"bytes,3,opt,name=intel_config,json=intelConfig,proto3,oneof"`
}

type WifiConfig_IntelConfig_GeoOffsets Uses

type WifiConfig_IntelConfig_GeoOffsets struct {
    // Defines the 2.4 GHz upper value for the allowed power to not be crossed
    // by applying the Geo offset.
    Max_2G uint32 `protobuf:"varint,1,opt,name=max_2g,json=max2g,proto3" json:"max_2g,omitempty"`
    // Value to be added to the 2.4GHz WiFi band for chain a. (0.125 dBm)
    Offset_2GA uint32 `protobuf:"varint,2,opt,name=offset_2g_a,json=offset2gA,proto3" json:"offset_2g_a,omitempty"`
    // Value to be added to the 2.4GHz WiFi band for chain b. (0.125 dBm)
    Offset_2GB uint32 `protobuf:"varint,3,opt,name=offset_2g_b,json=offset2gB,proto3" json:"offset_2g_b,omitempty"`
    // Defines the 5 GHz upper value for the allowed power to not be crossed
    // by applying the Geo offset.
    Max_5G uint32 `protobuf:"varint,4,opt,name=max_5g,json=max5g,proto3" json:"max_5g,omitempty"`
    // Value to be added to 5GHz WiFi bands for chain a. (0.125 dBm)
    Offset_5GA uint32 `protobuf:"varint,5,opt,name=offset_5g_a,json=offset5gA,proto3" json:"offset_5g_a,omitempty"`
    // Value to be added to 5GHz WiFi bands for chain b. (0.125 dBm)
    Offset_5GB           uint32   `protobuf:"varint,6,opt,name=offset_5g_b,json=offset5gB,proto3" json:"offset_5g_b,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Offsets which are applied to WiFi power limits depending on the current regulatory domain. Offsets in units of 0.125 dBm. When the current regulatory domain is unknown or has yet to be determined, the base transmit power limits are used without any geo offsets applied. 'geo-offsets-fcc' is used for regulatory domains which follow FCC guidelines, 'geo-offsets-eu' is used for regulatory domains which follow ETSI guidelines, and 'geo-offsets-rest-of-world' is used for regulatory domains which don't follow FCC or ETSI guidelines.

func (*WifiConfig_IntelConfig_GeoOffsets) Descriptor Uses

func (*WifiConfig_IntelConfig_GeoOffsets) Descriptor() ([]byte, []int)

func (*WifiConfig_IntelConfig_GeoOffsets) GetMax_2G Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) GetMax_2G() uint32

func (*WifiConfig_IntelConfig_GeoOffsets) GetMax_5G Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) GetMax_5G() uint32

func (*WifiConfig_IntelConfig_GeoOffsets) GetOffset_2GA Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) GetOffset_2GA() uint32

func (*WifiConfig_IntelConfig_GeoOffsets) GetOffset_2GB Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) GetOffset_2GB() uint32

func (*WifiConfig_IntelConfig_GeoOffsets) GetOffset_5GA Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) GetOffset_5GA() uint32

func (*WifiConfig_IntelConfig_GeoOffsets) GetOffset_5GB Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) GetOffset_5GB() uint32

func (*WifiConfig_IntelConfig_GeoOffsets) ProtoMessage Uses

func (*WifiConfig_IntelConfig_GeoOffsets) ProtoMessage()

func (*WifiConfig_IntelConfig_GeoOffsets) Reset Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) Reset()

func (*WifiConfig_IntelConfig_GeoOffsets) String Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) String() string

func (*WifiConfig_IntelConfig_GeoOffsets) XXX_DiscardUnknown Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_DiscardUnknown()

func (*WifiConfig_IntelConfig_GeoOffsets) XXX_Marshal Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WifiConfig_IntelConfig_GeoOffsets) XXX_Merge Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_Merge(src proto.Message)

func (*WifiConfig_IntelConfig_GeoOffsets) XXX_Size Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_Size() int

func (*WifiConfig_IntelConfig_GeoOffsets) XXX_Unmarshal Uses

func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_Unmarshal(b []byte) error

type WifiConfig_IntelConfig_TransmitPowerChain Uses

type WifiConfig_IntelConfig_TransmitPowerChain struct {
    // 2G band power limit: All 2G band channels. (0.125 dBm)
    Limit_2G uint32 `protobuf:"varint,1,opt,name=limit_2g,json=limit2g,proto3" json:"limit_2g,omitempty"`
    // 5G band 1 power limit: 5.15G-5.35G channels. (0.125 dBm)
    Limit_5G_1 uint32 `protobuf:"varint,2,opt,name=limit_5g_1,json=limit5g1,proto3" json:"limit_5g_1,omitempty"`
    // 5G band 2 power limit: 5.35G-5.47G channels. (0.125 dBm)
    Limit_5G_2 uint32 `protobuf:"varint,3,opt,name=limit_5g_2,json=limit5g2,proto3" json:"limit_5g_2,omitempty"`
    // 5G band 3 power limit: 5.47G-5.725G channels. (0.125 dBm)
    Limit_5G_3 uint32 `protobuf:"varint,4,opt,name=limit_5g_3,json=limit5g3,proto3" json:"limit_5g_3,omitempty"`
    // 5G band 4 power limit: 5.725G-5.95G channels. (0.125 dBm)
    Limit_5G_4           uint32   `protobuf:"varint,5,opt,name=limit_5g_4,json=limit5g4,proto3" json:"limit_5g_4,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

WiFi power chain for use with Intel drivers. Limits in units of 0.125 dBm.

func (*WifiConfig_IntelConfig_TransmitPowerChain) Descriptor Uses

func (*WifiConfig_IntelConfig_TransmitPowerChain) Descriptor() ([]byte, []int)

func (*WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_2G Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_2G() uint32

func (*WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_1 Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_1() uint32

func (*WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_2 Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_2() uint32

func (*WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_3 Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_3() uint32

func (*WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_4 Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_4() uint32

func (*WifiConfig_IntelConfig_TransmitPowerChain) ProtoMessage Uses

func (*WifiConfig_IntelConfig_TransmitPowerChain) ProtoMessage()

func (*WifiConfig_IntelConfig_TransmitPowerChain) Reset Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) Reset()

func (*WifiConfig_IntelConfig_TransmitPowerChain) String Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) String() string

func (*WifiConfig_IntelConfig_TransmitPowerChain) XXX_DiscardUnknown Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_DiscardUnknown()

func (*WifiConfig_IntelConfig_TransmitPowerChain) XXX_Marshal Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WifiConfig_IntelConfig_TransmitPowerChain) XXX_Merge Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_Merge(src proto.Message)

func (*WifiConfig_IntelConfig_TransmitPowerChain) XXX_Size Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_Size() int

func (*WifiConfig_IntelConfig_TransmitPowerChain) XXX_Unmarshal Uses

func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_Unmarshal(b []byte) error

type WifiConfig_Rtw88Config Uses

type WifiConfig_Rtw88Config struct {
    // TransmitPowerChain settings when operating in tablet and non-tablet
    // modes.
    TabletModePowerTable    *WifiConfig_Rtw88Config_TransmitPowerChain `protobuf:"bytes,1,opt,name=tablet_mode_power_table,json=tabletModePowerTable,proto3" json:"tablet_mode_power_table,omitempty"`
    NonTabletModePowerTable *WifiConfig_Rtw88Config_TransmitPowerChain `protobuf:"bytes,2,opt,name=non_tablet_mode_power_table,json=nonTabletModePowerTable,proto3" json:"non_tablet_mode_power_table,omitempty"`
    // GeoOffsets in different regulatory domains.
    OffsetFcc            *WifiConfig_Rtw88Config_GeoOffsets `protobuf:"bytes,3,opt,name=offset_fcc,json=offsetFcc,proto3" json:"offset_fcc,omitempty"`
    OffsetEu             *WifiConfig_Rtw88Config_GeoOffsets `protobuf:"bytes,4,opt,name=offset_eu,json=offsetEu,proto3" json:"offset_eu,omitempty"`
    OffsetOther          *WifiConfig_Rtw88Config_GeoOffsets `protobuf:"bytes,5,opt,name=offset_other,json=offsetOther,proto3" json:"offset_other,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
    XXX_unrecognized     []byte                             `json:"-"`
    XXX_sizecache        int32                              `json:"-"`
}

func (*WifiConfig_Rtw88Config) Descriptor Uses

func (*WifiConfig_Rtw88Config) Descriptor() ([]byte, []int)

func (*WifiConfig_Rtw88Config) GetNonTabletModePowerTable Uses

func (m *WifiConfig_Rtw88Config) GetNonTabletModePowerTable() *WifiConfig_Rtw88Config_TransmitPowerChain

func (*WifiConfig_Rtw88Config) GetOffsetEu Uses

func (m *WifiConfig_Rtw88Config) GetOffsetEu() *WifiConfig_Rtw88Config_GeoOffsets

func (*WifiConfig_Rtw88Config) GetOffsetFcc Uses

func (m *WifiConfig_Rtw88Config) GetOffsetFcc() *WifiConfig_Rtw88Config_GeoOffsets

func (*WifiConfig_Rtw88Config) GetOffsetOther Uses

func (m *WifiConfig_Rtw88Config) GetOffsetOther() *WifiConfig_Rtw88Config_GeoOffsets

func (*WifiConfig_Rtw88Config) GetTabletModePowerTable Uses

func (m *WifiConfig_Rtw88Config) GetTabletModePowerTable() *WifiConfig_Rtw88Config_TransmitPowerChain

func (*WifiConfig_Rtw88Config) ProtoMessage Uses

func (*WifiConfig_Rtw88Config) ProtoMessage()

func (*WifiConfig_Rtw88Config) Reset Uses

func (m *WifiConfig_Rtw88Config) Reset()

func (*WifiConfig_Rtw88Config) String Uses

func (m *WifiConfig_Rtw88Config) String() string

func (*WifiConfig_Rtw88Config) XXX_DiscardUnknown Uses

func (m *WifiConfig_Rtw88Config) XXX_DiscardUnknown()

func (*WifiConfig_Rtw88Config) XXX_Marshal Uses

func (m *WifiConfig_Rtw88Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WifiConfig_Rtw88Config) XXX_Merge Uses

func (m *WifiConfig_Rtw88Config) XXX_Merge(src proto.Message)

func (*WifiConfig_Rtw88Config) XXX_Size Uses

func (m *WifiConfig_Rtw88Config) XXX_Size() int

func (*WifiConfig_Rtw88Config) XXX_Unmarshal Uses

func (m *WifiConfig_Rtw88Config) XXX_Unmarshal(b []byte) error

type WifiConfig_Rtw88Config_ Uses

type WifiConfig_Rtw88Config_ struct {
    Rtw88Config *WifiConfig_Rtw88Config `protobuf:"bytes,2,opt,name=rtw88_config,json=rtw88Config,proto3,oneof"`
}

type WifiConfig_Rtw88Config_GeoOffsets Uses

type WifiConfig_Rtw88Config_GeoOffsets struct {
    // Value to be added to the 2.4GHz WiFi band. (0.125 dBm)
    Offset_2G uint32 `protobuf:"varint,1,opt,name=offset_2g,json=offset2g,proto3" json:"offset_2g,omitempty"`
    // Value to be added to all 5GHz WiFi bands. (0.125 dBm)
    Offset_5G            uint32   `protobuf:"varint,2,opt,name=offset_5g,json=offset5g,proto3" json:"offset_5g,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Offsets which are applied to WiFi power limits depending on the current regulatory domain. Offsets in units of 0.125 dBm. The sum of a geo offset and any power limit to which it applies cannot exceed 255. When the current regulatory domain is unknown or has yet to be determined, the base transmit power limits are used without any geo offsets applied. 'geo-offsets-fcc' is used for regulatory domains which follow FCC guidelines, 'geo-offsets-eu' is used for regulatory domains which follow ETSI guidelines, and 'geo-offsets-rest-of-world' is used for regulatory domains which don't follow FCC or ETSI guidelines.

func (*WifiConfig_Rtw88Config_GeoOffsets) Descriptor Uses

func (*WifiConfig_Rtw88Config_GeoOffsets) Descriptor() ([]byte, []int)

func (*WifiConfig_Rtw88Config_GeoOffsets) GetOffset_2G Uses

func (m *WifiConfig_Rtw88Config_GeoOffsets) GetOffset_2G() uint32

func (*WifiConfig_Rtw88Config_GeoOffsets) GetOffset_5G Uses

func (m *WifiConfig_Rtw88Config_GeoOffsets) GetOffset_5G() uint32

func (*WifiConfig_Rtw88Config_GeoOffsets) ProtoMessage Uses

func (*WifiConfig_Rtw88Config_GeoOffsets) ProtoMessage()

func (*WifiConfig_Rtw88Config_GeoOffsets) Reset Uses

func (m *WifiConfig_Rtw88Config_GeoOffsets) Reset()

func (*WifiConfig_Rtw88Config_GeoOffsets) String Uses

func (m *WifiConfig_Rtw88Config_GeoOffsets) String() string

func (*WifiConfig_Rtw88Config_GeoOffsets) XXX_DiscardUnknown Uses

func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_DiscardUnknown()

func (*WifiConfig_Rtw88Config_GeoOffsets) XXX_Marshal Uses

func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WifiConfig_Rtw88Config_GeoOffsets) XXX_Merge Uses

func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_Merge(src proto.Message)

func (*WifiConfig_Rtw88Config_GeoOffsets) XXX_Size Uses

func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_Size() int

func (*WifiConfig_Rtw88Config_GeoOffsets) XXX_Unmarshal Uses

func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_Unmarshal(b []byte) error

type WifiConfig_Rtw88Config_TransmitPowerChain Uses

type WifiConfig_Rtw88Config_TransmitPowerChain struct {
    // 2G band power limit: All 2G band channels. (0.125 dBm)
    Limit_2G uint32 `protobuf:"varint,1,opt,name=limit_2g,json=limit2g,proto3" json:"limit_2g,omitempty"`
    // 5G band 1 power limit: 5.15G-5.35G channels. (0.125 dBm)
    Limit_5G_1 uint32 `protobuf:"varint,2,opt,name=limit_5g_1,json=limit5g1,proto3" json:"limit_5g_1,omitempty"`
    // 5G band 3 power limit: 5.47G-5.725G channels. (0.125 dBm)
    Limit_5G_3 uint32 `protobuf:"varint,3,opt,name=limit_5g_3,json=limit5g3,proto3" json:"limit_5g_3,omitempty"`
    // 5G band 4 power limit: 5.725G-5.95G channels. (0.125 dBm)
    Limit_5G_4           uint32   `protobuf:"varint,4,opt,name=limit_5g_4,json=limit5g4,proto3" json:"limit_5g_4,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

WiFi power chain for use with Realtek rtw88 drivers. Limits in units of 0.125 dBm. 5g band 2 (channels 5.35G-5.47G) power limit is not supported.

func (*WifiConfig_Rtw88Config_TransmitPowerChain) Descriptor Uses

func (*WifiConfig_Rtw88Config_TransmitPowerChain) Descriptor() ([]byte, []int)

func (*WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_2G Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_2G() uint32

func (*WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_5G_1 Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_5G_1() uint32

func (*WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_5G_3 Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_5G_3() uint32

func (*WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_5G_4 Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_5G_4() uint32

func (*WifiConfig_Rtw88Config_TransmitPowerChain) ProtoMessage Uses

func (*WifiConfig_Rtw88Config_TransmitPowerChain) ProtoMessage()

func (*WifiConfig_Rtw88Config_TransmitPowerChain) Reset Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) Reset()

func (*WifiConfig_Rtw88Config_TransmitPowerChain) String Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) String() string

func (*WifiConfig_Rtw88Config_TransmitPowerChain) XXX_DiscardUnknown Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_DiscardUnknown()

func (*WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Marshal Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Merge Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Merge(src proto.Message)

func (*WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Size Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Size() int

func (*WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Unmarshal Uses

func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Unmarshal(b []byte) error

Directories

PathSynopsis
chromeos_config

Package software imports 6 packages (graph) and is imported by 1 packages. Updated 2020-09-18. Refresh now. Tools for package owners.