Adam Shih | 46ca81b | 2021-07-05 09:22:16 +0800 | [diff] [blame] | 1 | type hal_wifi_ext, domain; |
| 2 | hal_server_domain(hal_wifi_ext, hal_wifi) |
| 3 | |
| 4 | type hal_wifi_ext_exec, exec_type, vendor_file_type, file_type; |
| 5 | init_daemon_domain(hal_wifi_ext) |
| 6 | |
| 7 | # Allow to start the IWifi:wifi_ext service |
| 8 | add_hwservice(hal_wifi_ext, hal_wifi_ext_hwservice); |
| 9 | |
| 10 | # Allow to set up bridged interface |
| 11 | allowxperm hal_wifi_ext self:udp_socket ioctl { SIOCBRADDBR SIOCBRDELBR SIOCBRADDIF SIOCBRDELIF}; |
chenpaul | a4f909f | 2021-11-05 16:28:33 +0800 | [diff] [blame^] | 12 | |
| 13 | userdebug_or_eng(` |
| 14 | allow hal_wifi_ext wifi_logging_data_file:dir rw_dir_perms; |
| 15 | allow hal_wifi_ext wifi_logging_data_file:file create_file_perms; |
| 16 | ') |