Atom for wifi module version number

Tracks the internally maintained version number which will be used to
identify wifi code adoption for OEMs that build the module from source
code.

Bug: 285012754
Test: compile
Change-Id: Id29d2aff0445c366405b83c955e584232cc82315
Merged-In: Id29d2aff0445c366405b83c955e584232cc82315
(cherry picked from commit 53608c1efb043db52560b661de088fb31348b1ed)
diff --git a/stats/atoms.proto b/stats/atoms.proto
index a0a6836..a0711da 100644
--- a/stats/atoms.proto
+++ b/stats/atoms.proto
@@ -1269,6 +1269,7 @@
     extensions 10188; // UwbActivityInfo uwb_activity_info
     extensions 10189; // CachedAppsHighWaterMark cached_apps_high_watermark
     extensions 10190; // WifiAwareCapabilities wifi_aware_capabilities
+    extensions 10193; // WifiModuleInfo wifi_module_info
     extensions 99999; // Atom99999 atom_99999
 
     // DO NOT USE field numbers above 100,000 in AOSP.
diff --git a/stats/atoms/wifi/wifi_extension_atoms.proto b/stats/atoms/wifi/wifi_extension_atoms.proto
index 9d4f4b1..1151741 100644
--- a/stats/atoms/wifi/wifi_extension_atoms.proto
+++ b/stats/atoms/wifi/wifi_extension_atoms.proto
@@ -48,9 +48,26 @@
 
     // Pull metrics
     optional WifiAwareCapabilities wifi_aware_capabilities = 10190 [(module) = "wifi"];
+    optional WifiModuleInfo wifi_module_info = 10193 [(module) = "wifi"];
 }
 
 /**
+ * Pulled atom for tracking wifi version number.
+ */
+message WifiModuleInfo {
+    enum BuildType {
+        TYPE_UNKNOWN = 0;
+        TYPE_BUILT_FROM_SOURCE = 1;
+        TYPE_PREBUILT = 2;
+    }
+    // Version number of the wifi module
+    optional int32 version_number = 1;
+    // The type of the wifi module
+    optional BuildType build_type = 2;
+}
+
+
+/**
  * Logged when wifi aware data path is completed
  */
 message WifiAwareNdpReported {