manufacturing config: add wifi chip.
BUG=chromium:1046971
TEST=generate.sh
Change-Id: Ic62ea19d5abfeb192723b8117860f2651ef5655a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2030126
Tested-by: Xixuan Wu <xixuan@chromium.org>
Tested-by: C Shapiro <shapiroc@chromium.org>
Commit-Queue: C Shapiro <shapiroc@chromium.org>
Reviewed-by: C Shapiro <shapiroc@chromium.org>
diff --git a/descpb.bin b/descpb.bin
index 3c934f5..d74f80e 100644
--- a/descpb.bin
+++ b/descpb.bin
Binary files differ
diff --git a/go/manufacturing/config.pb.go b/go/manufacturing/config.pb.go
index 7c62602..8a13034 100644
--- a/go/manufacturing/config.pb.go
+++ b/go/manufacturing/config.pb.go
@@ -126,16 +126,18 @@
}
// These are the configs that's provided in manufacture stage of a ChromeOS device.
-// Next Tag: 5
+// Next Tag: 6
type Config struct {
ManufacturingId *ConfigID `protobuf:"bytes,1,opt,name=manufacturing_id,json=manufacturingId,proto3" json:"manufacturing_id,omitempty"`
DevicePhase Config_Phase `protobuf:"varint,2,opt,name=device_phase,json=devicePhase,proto3,enum=manufacturing.Config_Phase" json:"device_phase,omitempty"`
Cr50Phase Config_CR50Phase `protobuf:"varint,3,opt,name=cr50_phase,json=cr50Phase,proto3,enum=manufacturing.Config_CR50Phase" json:"cr50_phase,omitempty"`
// Detected based on the cr50 RW version that the DUT is running on.
- Cr50KeyEnv Config_CR50KeyEnv `protobuf:"varint,4,opt,name=cr50_key_env,json=cr50KeyEnv,proto3,enum=manufacturing.Config_CR50KeyEnv" json:"cr50_key_env,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Cr50KeyEnv Config_CR50KeyEnv `protobuf:"varint,4,opt,name=cr50_key_env,json=cr50KeyEnv,proto3,enum=manufacturing.Config_CR50KeyEnv" json:"cr50_key_env,omitempty"`
+ // wifi chip that is installed on the DUT in manufacturing stage.
+ WifiChip string `protobuf:"bytes,5,opt,name=wifi_chip,json=wifiChip,proto3" json:"wifi_chip,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
}
func (m *Config) Reset() { *m = Config{} }
@@ -191,6 +193,13 @@
return Config_CR50_KEYENV_INVALID
}
+func (m *Config) GetWifiChip() string {
+ if m != nil {
+ return m.WifiChip
+ }
+ return ""
+}
+
// Message contains all ChromeOS manufacturing configs.
type ConfigList struct {
Value []*Config `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
@@ -242,32 +251,33 @@
func init() { proto.RegisterFile("manufacturing/config.proto", fileDescriptor_0865c899a120f1e4) }
var fileDescriptor_0865c899a120f1e4 = []byte{
- // 418 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x6f, 0x6b, 0x9b, 0x40,
- 0x1c, 0xc7, 0xa7, 0xf9, 0xb3, 0xe6, 0x97, 0x3f, 0xbd, 0x5e, 0xd7, 0x55, 0x3a, 0xc6, 0xc4, 0x47,
- 0x81, 0x81, 0x16, 0x4b, 0x19, 0x7d, 0x52, 0x68, 0xaa, 0x30, 0x69, 0x97, 0x1d, 0x4e, 0x84, 0xed,
- 0x89, 0x38, 0x35, 0xf6, 0xd8, 0xe2, 0x05, 0x13, 0x85, 0xbc, 0x90, 0xbd, 0xa9, 0xbd, 0xaa, 0xe1,
- 0xdd, 0x16, 0x75, 0xd8, 0x67, 0xf9, 0xfe, 0xf9, 0x7c, 0x73, 0x9e, 0xc2, 0xc5, 0x3a, 0xcc, 0x8a,
- 0x55, 0x18, 0xed, 0x8a, 0x9c, 0x66, 0xa9, 0x11, 0xb1, 0x6c, 0x45, 0x53, 0x7d, 0x93, 0xb3, 0x1d,
- 0xc3, 0xd3, 0x56, 0x76, 0xf1, 0xb6, 0xab, 0x1a, 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9e, 0x19, 0xbf, 0x06, 0x5c,
- 0x89, 0xe0, 0xff, 0xf3, 0x9d, 0xc1, 0x49, 0xc3, 0x27, 0xae, 0x4d, 0xf8, 0x39, 0x31, 0xcc, 0x9a,
- 0xb6, 0xef, 0x21, 0x59, 0x23, 0x00, 0xf5, 0x0d, 0xe0, 0x73, 0x38, 0xe5, 0x8d, 0x07, 0xfb, 0xab,
- 0xbd, 0xf4, 0x1b, 0x8b, 0xaf, 0x00, 0x35, 0x03, 0xe2, 0x7e, 0xb6, 0x90, 0x84, 0x4f, 0xe1, 0xb8,
- 0xe9, 0x5a, 0xb6, 0x8f, 0x64, 0xed, 0x06, 0x40, 0x5c, 0xed, 0x23, 0xdd, 0xee, 0xf0, 0x7b, 0x18,
- 0x94, 0xe1, 0xcf, 0x22, 0x51, 0x24, 0xb5, 0x37, 0x1f, 0x9b, 0x67, 0x9d, 0x2f, 0xc1, 0x15, 0x9d,
- 0xc5, 0xcd, 0xb7, 0x0f, 0x29, 0xd3, 0xa3, 0xa7, 0x9c, 0xad, 0x69, 0xb1, 0xd6, 0x59, 0x9e, 0x1a,
- 0xff, 0x04, 0xdb, 0x1a, 0x34, 0x5b, 0xe5, 0xa1, 0xc1, 0xbf, 0x58, 0x23, 0x65, 0x46, 0x6b, 0xe8,
- 0xfb, 0x90, 0xfb, 0x57, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x51, 0x67, 0x3c, 0xfe, 0x15, 0x03,
- 0x00, 0x00,
+ // 440 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xdb, 0x6a, 0xdb, 0x30,
+ 0x18, 0xc7, 0xa7, 0x9c, 0x16, 0x7f, 0x39, 0x54, 0x55, 0xd7, 0xd5, 0xb4, 0x8c, 0x19, 0x5f, 0x05,
+ 0x06, 0x76, 0x49, 0x29, 0xa3, 0x37, 0x85, 0x26, 0x36, 0x2c, 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xae, 0x53, 0xb1,
+ 0xe1, 0x87, 0x8d, 0x25, 0xd2, 0xd8, 0xfe, 0x27, 0xc4, 0xce, 0xe6, 0xc9, 0x2a, 0x0d, 0x6c, 0xf9,
+ 0x9c, 0xed, 0x58, 0xd8, 0x95, 0x41, 0xdf, 0x3a, 0xd2, 0xbf, 0xfa, 0x13, 0x00, 0x00, 0xff, 0xff,
+ 0x45, 0xbf, 0x98, 0x21, 0x32, 0x03, 0x00, 0x00,
}
diff --git a/src/manufacturing/config.proto b/src/manufacturing/config.proto
index 7d2f402..8b1a63a 100644
--- a/src/manufacturing/config.proto
+++ b/src/manufacturing/config.proto
@@ -11,7 +11,7 @@
import "manufacturing/config_id.proto";
// These are the configs that's provided in manufacture stage of a ChromeOS device.
-// Next Tag: 5
+// Next Tag: 6
message Config {
ConfigID manufacturing_id = 1;
@@ -46,6 +46,9 @@
}
// Detected based on the cr50 RW version that the DUT is running on.
CR50KeyEnv cr50_key_env = 4;
+
+ // wifi chip that is installed on the DUT in manufacturing stage.
+ string wifi_chip = 5;
}
// Message contains all ChromeOS manufacturing configs.