Split host and guest wifi_relay

BUG: 78296257
Test: Local build and boot w/wifi
Change-Id: I6f85b8b6583c44a9ce9e71f52489e4c071e54844
diff --git a/shared/config/init.vsoc.rc b/shared/config/init.vsoc.rc
index 325547c..da4a0aa 100644
--- a/shared/config/init.vsoc.rc
+++ b/shared/config/init.vsoc.rc
@@ -137,7 +137,7 @@
     disabled
 
 
-service wifi_relay /vendor/bin/wifi_relay
+service wifi_setup /vendor/bin/wifi_setup
     class late_start
     user root
 
diff --git a/shared/device.mk b/shared/device.mk
index e1aa0f5..6383ee7 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -60,7 +60,7 @@
     socket_forward_proxy \
     usbforward \
     VSoCService \
-    wifi_relay \
+    wifi_setup \
     wpa_supplicant.vsoc.conf \
     vsoc_input_service \
     vport_trigger \
diff --git a/shared/sepolicy/file_contexts b/shared/sepolicy/file_contexts
index b6d65be..35caefc 100644
--- a/shared/sepolicy/file_contexts
+++ b/shared/sepolicy/file_contexts
@@ -31,7 +31,7 @@
 /vendor/bin/socket_forward_proxy  u:object_r:socket_forward_proxy_exec:s0
 /vendor/bin/vsoc_input_service  u:object_r:vsoc_input_service_exec:s0
 /vendor/bin/vsoc_guest_region_e2e_test  u:object_r:vsoc_guest_region_e2e_test_exec:s0
-/vendor/bin/wifi_relay  u:object_r:wifi_relay_exec:s0
+/vendor/bin/wifi_setup  u:object_r:wifi_setup_exec:s0
 /vendor/bin/vport_trigger  u:object_r:vport_trigger_exec:s0
 /vendor/bin/rename_netiface  u:object_r:rename_netiface_exec:s0
 /vendor/bin/hw/android\.hardware\.bluetooth@1\.0-service\.sim             u:object_r:hal_bluetooth_sim_exec:s0
diff --git a/shared/sepolicy/wifi_relay.te b/shared/sepolicy/wifi_relay.te
deleted file mode 100644
index 1d2c122..0000000
--- a/shared/sepolicy/wifi_relay.te
+++ /dev/null
@@ -1,5 +0,0 @@
-type wifi_relay, domain;
-type wifi_relay_exec, exec_type, vendor_file_type, file_type;
-
-init_daemon_domain(wifi_relay)
-allow wifi_relay self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
diff --git a/shared/sepolicy/wifi_setup.te b/shared/sepolicy/wifi_setup.te
new file mode 100644
index 0000000..96e8e15
--- /dev/null
+++ b/shared/sepolicy/wifi_setup.te
@@ -0,0 +1,5 @@
+type wifi_setup, domain;
+type wifi_setup_exec, exec_type, vendor_file_type, file_type;
+
+init_daemon_domain(wifi_setup)
+allow wifi_setup self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;