crosh: network_diag: dump `iw reg get`

Dump regulatory information. This used to be printed more prominently in
kernel logs every time it changed, but recent kernels have made such
changes silent by default, as they can introduce a lot of log noise.

BUG=none
TEST=crosh -> `network_diag --wifi --no-log`

Change-Id: I73c005d02d53eabc11220a0d59a8eff31dfd26b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2599450
Tested-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Matthew Wang <matthewmwang@chromium.org>
Commit-Queue: Brian Norris <briannorris@chromium.org>
diff --git a/crosh/network_diag b/crosh/network_diag
index 022e394..b7b209d 100755
--- a/crosh/network_diag
+++ b/crosh/network_diag
@@ -514,6 +514,7 @@
 }
 
 diag_wifi_internal () {
+  local ifc
   for ifc in $(get_iflist); do
     if is_wifi "${ifc}" ; then
       echo "iw dev ${ifc} survey dump:"
@@ -526,6 +527,8 @@
       "${IW}" dev "${ifc}" link | output_anonymize | grep -v SSID
     fi
   done
+  echo "iw reg get:"
+  "${IW}" reg get
 }
 
 # Perform diagnostics on a WAN interface