blob: e9750ff575797a4e5b98fac7e742ae776efeca8a [file] [log] [blame]
allow hal_wifi_ext wlan_device:chr_file w_file_perms;
# Allow wifi hal access to LOWI
allow hal_wifi_ext location:unix_stream_socket connectto;
# write to files owned by location daemon
allow hal_wifi_ext location_socket:dir search;
allow hal_wifi_ext location_socket:sock_file write;
allow hal_wifi_ext location_data_file:{ file fifo_file } create_file_perms;
allow hal_wifi_ext location:unix_dgram_socket sendto;
allow hal_wifi_ext wifihal_socket:dir rw_dir_perms;
allow hal_wifi_ext wifihal_socket:sock_file create_file_perms;
# Write wlan driver/fw version into property
set_prop(hal_wifi_ext, vendor_wifi_version)
# Allow wifi_ext to report callbacks to gril-service app
allow hal_wifi_ext grilservice_app:binder call;
userdebug_or_eng(`
# debugfs entries are only needed in user-debug or eng builds
# Allow wifi hal to access wlan debugfs directories
allow hal_wifi_ext debugfs_wlan:dir r_dir_perms;
')