blob: f8a3dd1c7fab3ad25da6c12c57a6ec1ef20b8bd4 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: chromiumos/config/api/software/wifi_config.proto
package software
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// 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.
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:"-"`
}
func (m *WifiConfig) Reset() { *m = WifiConfig{} }
func (m *WifiConfig) String() string { return proto.CompactTextString(m) }
func (*WifiConfig) ProtoMessage() {}
func (*WifiConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_394edccf34e4f0c0, []int{0}
}
func (m *WifiConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WifiConfig.Unmarshal(m, b)
}
func (m *WifiConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WifiConfig.Marshal(b, m, deterministic)
}
func (m *WifiConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_WifiConfig.Merge(m, src)
}
func (m *WifiConfig) XXX_Size() int {
return xxx_messageInfo_WifiConfig.Size(m)
}
func (m *WifiConfig) XXX_DiscardUnknown() {
xxx_messageInfo_WifiConfig.DiscardUnknown(m)
}
var xxx_messageInfo_WifiConfig proto.InternalMessageInfo
type isWifiConfig_WifiConfig interface {
isWifiConfig_WifiConfig()
}
type WifiConfig_Ath10KConfig_ struct {
Ath10KConfig *WifiConfig_Ath10KConfig `protobuf:"bytes,1,opt,name=ath10k_config,json=ath10kConfig,proto3,oneof"`
}
type WifiConfig_Rtw88Config_ struct {
Rtw88Config *WifiConfig_Rtw88Config `protobuf:"bytes,2,opt,name=rtw88_config,json=rtw88Config,proto3,oneof"`
}
type WifiConfig_IntelConfig_ struct {
IntelConfig *WifiConfig_IntelConfig `protobuf:"bytes,3,opt,name=intel_config,json=intelConfig,proto3,oneof"`
}
func (*WifiConfig_Ath10KConfig_) isWifiConfig_WifiConfig() {}
func (*WifiConfig_Rtw88Config_) isWifiConfig_WifiConfig() {}
func (*WifiConfig_IntelConfig_) isWifiConfig_WifiConfig() {}
func (m *WifiConfig) GetWifiConfig() isWifiConfig_WifiConfig {
if m != nil {
return m.WifiConfig
}
return nil
}
func (m *WifiConfig) GetAth10KConfig() *WifiConfig_Ath10KConfig {
if x, ok := m.GetWifiConfig().(*WifiConfig_Ath10KConfig_); ok {
return x.Ath10KConfig
}
return nil
}
func (m *WifiConfig) GetRtw88Config() *WifiConfig_Rtw88Config {
if x, ok := m.GetWifiConfig().(*WifiConfig_Rtw88Config_); ok {
return x.Rtw88Config
}
return nil
}
func (m *WifiConfig) GetIntelConfig() *WifiConfig_IntelConfig {
if x, ok := m.GetWifiConfig().(*WifiConfig_IntelConfig_); ok {
return x.IntelConfig
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*WifiConfig) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*WifiConfig_Ath10KConfig_)(nil),
(*WifiConfig_Rtw88Config_)(nil),
(*WifiConfig_IntelConfig_)(nil),
}
}
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 (m *WifiConfig_Ath10KConfig) Reset() { *m = WifiConfig_Ath10KConfig{} }
func (m *WifiConfig_Ath10KConfig) String() string { return proto.CompactTextString(m) }
func (*WifiConfig_Ath10KConfig) ProtoMessage() {}
func (*WifiConfig_Ath10KConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_394edccf34e4f0c0, []int{0, 0}
}
func (m *WifiConfig_Ath10KConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WifiConfig_Ath10KConfig.Unmarshal(m, b)
}
func (m *WifiConfig_Ath10KConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WifiConfig_Ath10KConfig.Marshal(b, m, deterministic)
}
func (m *WifiConfig_Ath10KConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_WifiConfig_Ath10KConfig.Merge(m, src)
}
func (m *WifiConfig_Ath10KConfig) XXX_Size() int {
return xxx_messageInfo_WifiConfig_Ath10KConfig.Size(m)
}
func (m *WifiConfig_Ath10KConfig) XXX_DiscardUnknown() {
xxx_messageInfo_WifiConfig_Ath10KConfig.DiscardUnknown(m)
}
var xxx_messageInfo_WifiConfig_Ath10KConfig proto.InternalMessageInfo
func (m *WifiConfig_Ath10KConfig) GetTabletModePowerTable() *WifiConfig_Ath10KConfig_TransmitPowerChain {
if m != nil {
return m.TabletModePowerTable
}
return nil
}
func (m *WifiConfig_Ath10KConfig) GetNonTabletModePowerTable() *WifiConfig_Ath10KConfig_TransmitPowerChain {
if m != nil {
return m.NonTabletModePowerTable
}
return nil
}
// WiFi power chain for use with QCA ath10k drivers. Limits in units
// of 1 dBm. 5g band power limit applies to all 5g bands.
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:"-"`
}
func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) Reset() {
*m = WifiConfig_Ath10KConfig_TransmitPowerChain{}
}
func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) String() string {
return proto.CompactTextString(m)
}
func (*WifiConfig_Ath10KConfig_TransmitPowerChain) ProtoMessage() {}
func (*WifiConfig_Ath10KConfig_TransmitPowerChain) Descriptor() ([]byte, []int) {
return fileDescriptor_394edccf34e4f0c0, []int{0, 0, 0}
}
func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WifiConfig_Ath10KConfig_TransmitPowerChain.Unmarshal(m, b)
}
func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WifiConfig_Ath10KConfig_TransmitPowerChain.Marshal(b, m, deterministic)
}
func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Merge(src proto.Message) {
xxx_messageInfo_WifiConfig_Ath10KConfig_TransmitPowerChain.Merge(m, src)
}
func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_Size() int {
return xxx_messageInfo_WifiConfig_Ath10KConfig_TransmitPowerChain.Size(m)
}
func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) XXX_DiscardUnknown() {
xxx_messageInfo_WifiConfig_Ath10KConfig_TransmitPowerChain.DiscardUnknown(m)
}
var xxx_messageInfo_WifiConfig_Ath10KConfig_TransmitPowerChain proto.InternalMessageInfo
func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) GetLimit_2G() uint32 {
if m != nil {
return m.Limit_2G
}
return 0
}
func (m *WifiConfig_Ath10KConfig_TransmitPowerChain) GetLimit_5G() uint32 {
if m != nil {
return m.Limit_5G
}
return 0
}
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 (m *WifiConfig_Rtw88Config) Reset() { *m = WifiConfig_Rtw88Config{} }
func (m *WifiConfig_Rtw88Config) String() string { return proto.CompactTextString(m) }
func (*WifiConfig_Rtw88Config) ProtoMessage() {}
func (*WifiConfig_Rtw88Config) Descriptor() ([]byte, []int) {
return fileDescriptor_394edccf34e4f0c0, []int{0, 1}
}
func (m *WifiConfig_Rtw88Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WifiConfig_Rtw88Config.Unmarshal(m, b)
}
func (m *WifiConfig_Rtw88Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WifiConfig_Rtw88Config.Marshal(b, m, deterministic)
}
func (m *WifiConfig_Rtw88Config) XXX_Merge(src proto.Message) {
xxx_messageInfo_WifiConfig_Rtw88Config.Merge(m, src)
}
func (m *WifiConfig_Rtw88Config) XXX_Size() int {
return xxx_messageInfo_WifiConfig_Rtw88Config.Size(m)
}
func (m *WifiConfig_Rtw88Config) XXX_DiscardUnknown() {
xxx_messageInfo_WifiConfig_Rtw88Config.DiscardUnknown(m)
}
var xxx_messageInfo_WifiConfig_Rtw88Config proto.InternalMessageInfo
func (m *WifiConfig_Rtw88Config) GetTabletModePowerTable() *WifiConfig_Rtw88Config_TransmitPowerChain {
if m != nil {
return m.TabletModePowerTable
}
return nil
}
func (m *WifiConfig_Rtw88Config) GetNonTabletModePowerTable() *WifiConfig_Rtw88Config_TransmitPowerChain {
if m != nil {
return m.NonTabletModePowerTable
}
return nil
}
func (m *WifiConfig_Rtw88Config) GetOffsetFcc() *WifiConfig_Rtw88Config_GeoOffsets {
if m != nil {
return m.OffsetFcc
}
return nil
}
func (m *WifiConfig_Rtw88Config) GetOffsetEu() *WifiConfig_Rtw88Config_GeoOffsets {
if m != nil {
return m.OffsetEu
}
return nil
}
func (m *WifiConfig_Rtw88Config) GetOffsetOther() *WifiConfig_Rtw88Config_GeoOffsets {
if m != nil {
return m.OffsetOther
}
return nil
}
// 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.
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:"-"`
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) Reset() {
*m = WifiConfig_Rtw88Config_TransmitPowerChain{}
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) String() string { return proto.CompactTextString(m) }
func (*WifiConfig_Rtw88Config_TransmitPowerChain) ProtoMessage() {}
func (*WifiConfig_Rtw88Config_TransmitPowerChain) Descriptor() ([]byte, []int) {
return fileDescriptor_394edccf34e4f0c0, []int{0, 1, 0}
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WifiConfig_Rtw88Config_TransmitPowerChain.Unmarshal(m, b)
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WifiConfig_Rtw88Config_TransmitPowerChain.Marshal(b, m, deterministic)
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Merge(src proto.Message) {
xxx_messageInfo_WifiConfig_Rtw88Config_TransmitPowerChain.Merge(m, src)
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_Size() int {
return xxx_messageInfo_WifiConfig_Rtw88Config_TransmitPowerChain.Size(m)
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) XXX_DiscardUnknown() {
xxx_messageInfo_WifiConfig_Rtw88Config_TransmitPowerChain.DiscardUnknown(m)
}
var xxx_messageInfo_WifiConfig_Rtw88Config_TransmitPowerChain proto.InternalMessageInfo
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_2G() uint32 {
if m != nil {
return m.Limit_2G
}
return 0
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_5G_1() uint32 {
if m != nil {
return m.Limit_5G_1
}
return 0
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_5G_3() uint32 {
if m != nil {
return m.Limit_5G_3
}
return 0
}
func (m *WifiConfig_Rtw88Config_TransmitPowerChain) GetLimit_5G_4() uint32 {
if m != nil {
return m.Limit_5G_4
}
return 0
}
// 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.
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:"-"`
}
func (m *WifiConfig_Rtw88Config_GeoOffsets) Reset() { *m = WifiConfig_Rtw88Config_GeoOffsets{} }
func (m *WifiConfig_Rtw88Config_GeoOffsets) String() string { return proto.CompactTextString(m) }
func (*WifiConfig_Rtw88Config_GeoOffsets) ProtoMessage() {}
func (*WifiConfig_Rtw88Config_GeoOffsets) Descriptor() ([]byte, []int) {
return fileDescriptor_394edccf34e4f0c0, []int{0, 1, 1}
}
func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WifiConfig_Rtw88Config_GeoOffsets.Unmarshal(m, b)
}
func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WifiConfig_Rtw88Config_GeoOffsets.Marshal(b, m, deterministic)
}
func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_Merge(src proto.Message) {
xxx_messageInfo_WifiConfig_Rtw88Config_GeoOffsets.Merge(m, src)
}
func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_Size() int {
return xxx_messageInfo_WifiConfig_Rtw88Config_GeoOffsets.Size(m)
}
func (m *WifiConfig_Rtw88Config_GeoOffsets) XXX_DiscardUnknown() {
xxx_messageInfo_WifiConfig_Rtw88Config_GeoOffsets.DiscardUnknown(m)
}
var xxx_messageInfo_WifiConfig_Rtw88Config_GeoOffsets proto.InternalMessageInfo
func (m *WifiConfig_Rtw88Config_GeoOffsets) GetOffset_2G() uint32 {
if m != nil {
return m.Offset_2G
}
return 0
}
func (m *WifiConfig_Rtw88Config_GeoOffsets) GetOffset_5G() uint32 {
if m != nil {
return m.Offset_5G
}
return 0
}
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 (m *WifiConfig_IntelConfig) Reset() { *m = WifiConfig_IntelConfig{} }
func (m *WifiConfig_IntelConfig) String() string { return proto.CompactTextString(m) }
func (*WifiConfig_IntelConfig) ProtoMessage() {}
func (*WifiConfig_IntelConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_394edccf34e4f0c0, []int{0, 2}
}
func (m *WifiConfig_IntelConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WifiConfig_IntelConfig.Unmarshal(m, b)
}
func (m *WifiConfig_IntelConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WifiConfig_IntelConfig.Marshal(b, m, deterministic)
}
func (m *WifiConfig_IntelConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_WifiConfig_IntelConfig.Merge(m, src)
}
func (m *WifiConfig_IntelConfig) XXX_Size() int {
return xxx_messageInfo_WifiConfig_IntelConfig.Size(m)
}
func (m *WifiConfig_IntelConfig) XXX_DiscardUnknown() {
xxx_messageInfo_WifiConfig_IntelConfig.DiscardUnknown(m)
}
var xxx_messageInfo_WifiConfig_IntelConfig proto.InternalMessageInfo
func (m *WifiConfig_IntelConfig) GetTabletModePowerTableA() *WifiConfig_IntelConfig_TransmitPowerChain {
if m != nil {
return m.TabletModePowerTableA
}
return nil
}
func (m *WifiConfig_IntelConfig) GetTabletModePowerTableB() *WifiConfig_IntelConfig_TransmitPowerChain {
if m != nil {
return m.TabletModePowerTableB
}
return nil
}
func (m *WifiConfig_IntelConfig) GetNonTabletModePowerTableA() *WifiConfig_IntelConfig_TransmitPowerChain {
if m != nil {
return m.NonTabletModePowerTableA
}
return nil
}
func (m *WifiConfig_IntelConfig) GetNonTabletModePowerTableB() *WifiConfig_IntelConfig_TransmitPowerChain {
if m != nil {
return m.NonTabletModePowerTableB
}
return nil
}
func (m *WifiConfig_IntelConfig) GetWgdsVersion() uint32 {
if m != nil {
return m.WgdsVersion
}
return 0
}
func (m *WifiConfig_IntelConfig) GetOffsetFcc() *WifiConfig_IntelConfig_GeoOffsets {
if m != nil {
return m.OffsetFcc
}
return nil
}
func (m *WifiConfig_IntelConfig) GetOffsetEu() *WifiConfig_IntelConfig_GeoOffsets {
if m != nil {
return m.OffsetEu
}
return nil
}
func (m *WifiConfig_IntelConfig) GetOffsetOther() *WifiConfig_IntelConfig_GeoOffsets {
if m != nil {
return m.OffsetOther
}
return nil
}
// WiFi power chain for use with Intel drivers. Limits in units
// of 0.125 dBm.
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:"-"`
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) Reset() {
*m = WifiConfig_IntelConfig_TransmitPowerChain{}
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) String() string { return proto.CompactTextString(m) }
func (*WifiConfig_IntelConfig_TransmitPowerChain) ProtoMessage() {}
func (*WifiConfig_IntelConfig_TransmitPowerChain) Descriptor() ([]byte, []int) {
return fileDescriptor_394edccf34e4f0c0, []int{0, 2, 0}
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WifiConfig_IntelConfig_TransmitPowerChain.Unmarshal(m, b)
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WifiConfig_IntelConfig_TransmitPowerChain.Marshal(b, m, deterministic)
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_Merge(src proto.Message) {
xxx_messageInfo_WifiConfig_IntelConfig_TransmitPowerChain.Merge(m, src)
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_Size() int {
return xxx_messageInfo_WifiConfig_IntelConfig_TransmitPowerChain.Size(m)
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) XXX_DiscardUnknown() {
xxx_messageInfo_WifiConfig_IntelConfig_TransmitPowerChain.DiscardUnknown(m)
}
var xxx_messageInfo_WifiConfig_IntelConfig_TransmitPowerChain proto.InternalMessageInfo
func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_2G() uint32 {
if m != nil {
return m.Limit_2G
}
return 0
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_1() uint32 {
if m != nil {
return m.Limit_5G_1
}
return 0
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_2() uint32 {
if m != nil {
return m.Limit_5G_2
}
return 0
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_3() uint32 {
if m != nil {
return m.Limit_5G_3
}
return 0
}
func (m *WifiConfig_IntelConfig_TransmitPowerChain) GetLimit_5G_4() uint32 {
if m != nil {
return m.Limit_5G_4
}
return 0
}
// 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.
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:"-"`
}
func (m *WifiConfig_IntelConfig_GeoOffsets) Reset() { *m = WifiConfig_IntelConfig_GeoOffsets{} }
func (m *WifiConfig_IntelConfig_GeoOffsets) String() string { return proto.CompactTextString(m) }
func (*WifiConfig_IntelConfig_GeoOffsets) ProtoMessage() {}
func (*WifiConfig_IntelConfig_GeoOffsets) Descriptor() ([]byte, []int) {
return fileDescriptor_394edccf34e4f0c0, []int{0, 2, 1}
}
func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WifiConfig_IntelConfig_GeoOffsets.Unmarshal(m, b)
}
func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WifiConfig_IntelConfig_GeoOffsets.Marshal(b, m, deterministic)
}
func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_Merge(src proto.Message) {
xxx_messageInfo_WifiConfig_IntelConfig_GeoOffsets.Merge(m, src)
}
func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_Size() int {
return xxx_messageInfo_WifiConfig_IntelConfig_GeoOffsets.Size(m)
}
func (m *WifiConfig_IntelConfig_GeoOffsets) XXX_DiscardUnknown() {
xxx_messageInfo_WifiConfig_IntelConfig_GeoOffsets.DiscardUnknown(m)
}
var xxx_messageInfo_WifiConfig_IntelConfig_GeoOffsets proto.InternalMessageInfo
func (m *WifiConfig_IntelConfig_GeoOffsets) GetMax_2G() uint32 {
if m != nil {
return m.Max_2G
}
return 0
}
func (m *WifiConfig_IntelConfig_GeoOffsets) GetOffset_2GA() uint32 {
if m != nil {
return m.Offset_2GA
}
return 0
}
func (m *WifiConfig_IntelConfig_GeoOffsets) GetOffset_2GB() uint32 {
if m != nil {
return m.Offset_2GB
}
return 0
}
func (m *WifiConfig_IntelConfig_GeoOffsets) GetMax_5G() uint32 {
if m != nil {
return m.Max_5G
}
return 0
}
func (m *WifiConfig_IntelConfig_GeoOffsets) GetOffset_5GA() uint32 {
if m != nil {
return m.Offset_5GA
}
return 0
}
func (m *WifiConfig_IntelConfig_GeoOffsets) GetOffset_5GB() uint32 {
if m != nil {
return m.Offset_5GB
}
return 0
}
func init() {
proto.RegisterType((*WifiConfig)(nil), "chromiumos.config.api.software.WifiConfig")
proto.RegisterType((*WifiConfig_Ath10KConfig)(nil), "chromiumos.config.api.software.WifiConfig.Ath10kConfig")
proto.RegisterType((*WifiConfig_Ath10KConfig_TransmitPowerChain)(nil), "chromiumos.config.api.software.WifiConfig.Ath10kConfig.TransmitPowerChain")
proto.RegisterType((*WifiConfig_Rtw88Config)(nil), "chromiumos.config.api.software.WifiConfig.Rtw88Config")
proto.RegisterType((*WifiConfig_Rtw88Config_TransmitPowerChain)(nil), "chromiumos.config.api.software.WifiConfig.Rtw88Config.TransmitPowerChain")
proto.RegisterType((*WifiConfig_Rtw88Config_GeoOffsets)(nil), "chromiumos.config.api.software.WifiConfig.Rtw88Config.GeoOffsets")
proto.RegisterType((*WifiConfig_IntelConfig)(nil), "chromiumos.config.api.software.WifiConfig.IntelConfig")
proto.RegisterType((*WifiConfig_IntelConfig_TransmitPowerChain)(nil), "chromiumos.config.api.software.WifiConfig.IntelConfig.TransmitPowerChain")
proto.RegisterType((*WifiConfig_IntelConfig_GeoOffsets)(nil), "chromiumos.config.api.software.WifiConfig.IntelConfig.GeoOffsets")
}
func init() {
proto.RegisterFile("chromiumos/config/api/software/wifi_config.proto", fileDescriptor_394edccf34e4f0c0)
}
var fileDescriptor_394edccf34e4f0c0 = []byte{
// 682 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0xcd, 0x6e, 0xd3, 0x4e,
0x14, 0xc5, 0xff, 0xee, 0xbf, 0x49, 0xd3, 0xeb, 0x64, 0x33, 0xa2, 0x6a, 0xea, 0x42, 0x05, 0xac,
0x58, 0x39, 0x8d, 0x53, 0x43, 0xb7, 0x71, 0x45, 0xa1, 0x95, 0x50, 0x91, 0x55, 0x81, 0x04, 0x52,
0x87, 0x89, 0x63, 0x3b, 0x23, 0x6a, 0x4f, 0x64, 0xbb, 0xa4, 0x4b, 0x10, 0x0b, 0x3e, 0x1e, 0x80,
0x07, 0x60, 0xc3, 0x3b, 0xf0, 0x3e, 0x2c, 0x78, 0x0b, 0x64, 0x7b, 0xfc, 0x95, 0x36, 0x69, 0x62,
0x19, 0x96, 0x33, 0x27, 0xf3, 0x9b, 0x93, 0xeb, 0x7b, 0x8f, 0x06, 0x76, 0x8d, 0x91, 0xc7, 0x1c,
0x7a, 0xe1, 0x30, 0xbf, 0x63, 0x30, 0xd7, 0xa2, 0x76, 0x87, 0x8c, 0x69, 0xc7, 0x67, 0x56, 0x30,
0x21, 0x9e, 0xd9, 0x99, 0x50, 0x8b, 0xe2, 0x58, 0x90, 0xc7, 0x1e, 0x0b, 0x18, 0xda, 0xc9, 0x4e,
0xc8, 0x5c, 0x20, 0x63, 0x2a, 0x27, 0x27, 0xee, 0x7f, 0xdf, 0x00, 0x78, 0x49, 0x2d, 0x7a, 0x10,
0x69, 0xe8, 0x0c, 0x5a, 0x24, 0x18, 0x75, 0x77, 0xdf, 0x72, 0x4a, 0x5b, 0xb8, 0x2b, 0x3c, 0x10,
0x95, 0x47, 0xf2, 0x7c, 0x8c, 0x9c, 0x21, 0x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