blob: 2ed274e135963e75720aa23a498150cb06a58b4d [file] [log] [blame]
Adam Shih46ca81b2021-07-05 09:22:16 +08001type hal_wifi_ext, domain;
2hal_server_domain(hal_wifi_ext, hal_wifi)
3
4type hal_wifi_ext_exec, exec_type, vendor_file_type, file_type;
5init_daemon_domain(hal_wifi_ext)
6
7# Allow to start the IWifi:wifi_ext service
8add_hwservice(hal_wifi_ext, hal_wifi_ext_hwservice);
9
10# Allow to set up bridged interface
11allowxperm hal_wifi_ext self:udp_socket ioctl { SIOCBRADDBR SIOCBRDELBR SIOCBRADDIF SIOCBRDELIF};
chenpaula4f909f2021-11-05 16:28:33 +080012
13userdebug_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')