summaryrefslogtreecommitdiff
path: root/non_plat
diff options
context:
space:
mode:
Diffstat (limited to 'non_plat')
-rw-r--r--non_plat/property.te2
-rw-r--r--non_plat/property_contexts2
-rw-r--r--non_plat/vendor_init.te2
3 files changed, 6 insertions, 0 deletions
diff --git a/non_plat/property.te b/non_plat/property.te
index 86b6189..ec7f67d 100644
--- a/non_plat/property.te
+++ b/non_plat/property.te
@@ -315,3 +315,5 @@ type mtk_powerhal_prop, property_type;
#=============MTK Wifi wlan_assistant property=============
type mtk_nvram_ready_prop, property_type, mtk_core_property_type;
+#=============allow wifi hotspot to read property===========
+type mtk_wifi_hotspot_prop, property_type, mtk_core_property_type;
diff --git a/non_plat/property_contexts b/non_plat/property_contexts
index f2b9749..7b077fd 100644
--- a/non_plat/property_contexts
+++ b/non_plat/property_contexts
@@ -342,3 +342,5 @@ vendor.powerhal. u:object_r:mtk_powerhal_prop:s0
#=============MTK Wifi wlan_assistant property=============
vendor.mtk.nvram.ready u:object_r:mtk_nvram_ready_prop:s0
+#=============Wi-Fi Hotspot==============
+wifi.sap.interface u:object_r:mtk_wifi_hotspot_prop:s0
diff --git a/non_plat/vendor_init.te b/non_plat/vendor_init.te
index 5b37552..5f13164 100644
--- a/non_plat/vendor_init.te
+++ b/non_plat/vendor_init.te
@@ -66,3 +66,5 @@ allow vendor_init kernel:key search;
# Purpose: /dev/block/mmcblk0p10
allow vendor_init expdb_block_device:blk_file rw_file_perms;
+
+set_prop(vendor_init, mtk_wifi_hotspot_prop) \ No newline at end of file