Remove wifi_logger related sepolicy settings

Due to the fact that /vendor/bin/wifi_logger no longer exists
on the P21 master branch any more, we remove obsolete sepolicy.
Also, move another rule to the correct package.

Bug: 201599426
Test: wlan_logger in Pixel Logger is workable
Change-Id: I5d27cb4033bd41d128d8b56d510165e9dfa206fd
diff --git a/wifi_ext/file_contexts b/wifi_ext/file_contexts
index acbd266..ab8343b 100644
--- a/wifi_ext/file_contexts
+++ b/wifi_ext/file_contexts
@@ -1,3 +1,6 @@
 # Wifi
 /vendor/bin/hw/vendor\.google\.wifi_ext@1\.0-service-vendor          u:object_r:hal_wifi_ext_exec:s0
 /vendor/bin/hw/vendor\.google\.wifi_ext@1\.0-service-vendor-lazy     u:object_r:hal_wifi_ext_exec:s0
+
+# Wifi logger
+/data/vendor/wifi/wlan_logs(/.*)?                               u:object_r:wifi_logging_data_file:s0
diff --git a/wifi_ext/hal_wifi_ext.te b/wifi_ext/hal_wifi_ext.te
index 7f20b42..2ed274e 100644
--- a/wifi_ext/hal_wifi_ext.te
+++ b/wifi_ext/hal_wifi_ext.te
@@ -9,3 +9,8 @@
 
 # Allow to set up bridged interface
 allowxperm hal_wifi_ext self:udp_socket ioctl { SIOCBRADDBR SIOCBRDELBR SIOCBRADDIF SIOCBRDELIF};
+
+userdebug_or_eng(`
+  allow hal_wifi_ext wifi_logging_data_file:dir rw_dir_perms;
+  allow hal_wifi_ext wifi_logging_data_file:file create_file_perms;
+')