1type init-qcom-wlan-sh, domain;
2type init-qcom-wlan-sh_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(init-qcom-wlan-sh)
5
6allow init-qcom-wlan-sh vendor_shell_exec:file rx_file_perms;
7allow init-qcom-wlan-sh vendor_toolbox_exec:file rx_file_perms;
8
9# Set the vendor.wlan.driver.version and vendor.wlan.firmware.version property
10set_prop(init-qcom-wlan-sh, vendor_wifi_version)
11
12# /sys/kernel/wifi/wlan/driver_version and /sys/kernel/wifi/wlan/fw/0/version
13allow init-qcom-wlan-sh sysfs_msm_wlan:dir r_dir_perms;
14allow init-qcom-wlan-sh sysfs_msm_wlan:file r_file_perms;
15