summaryrefslogtreecommitdiffstats
path: root/init.ranchu.rc
diff options
context:
space:
mode:
authorBjoern Johansson <bjoernj@google.com>2018-05-15 15:04:53 -0700
committerbohu <bohu@google.com>2018-06-12 23:09:25 -0700
commit880e708e2162c2b45383e77cae475f541d5cc51e (patch)
tree4877b1ee29db73b7a465fc786eecce3c74dd90f5 /init.ranchu.rc
parent268c72fe011fdaeac8fb68bcb6abf938e3175088 (diff)
downloadandroid_device_generic_goldfish-880e708e2162c2b45383e77cae475f541d5cc51e.tar.gz
android_device_generic_goldfish-880e708e2162c2b45383e77cae475f541d5cc51e.tar.bz2
android_device_generic_goldfish-880e708e2162c2b45383e77cae475f541d5cc51e.zip
Use hostapd without HIDL for virtual access points
Change the init file to use the new hostapd binary that does not have HIDL control interface support. This way we can have both HIDL and non-HIDL hostapd binaries at the same time. The non-HIDL hostapd is used to provide a virtual acccesss point and the HIDL enabled hostapd is used to provide WiFi hotspot functionality. Modify the manifest to make sure that the hostapd HIDL for hotspots is included. BUG: 74401469 Test: run cts -m CtsNetTestCases Change-Id: I6ad2af0415c53e50050d7b91c1beb7dd45f4bbdc
Diffstat (limited to 'init.ranchu.rc')
-rw-r--r--init.ranchu.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.ranchu.rc b/init.ranchu.rc
index 2193c58..9c23a81 100644
--- a/init.ranchu.rc
+++ b/init.ranchu.rc
@@ -56,9 +56,9 @@ service ipv6proxy /vendor/bin/execns router /vendor/bin/ipv6proxy -o eth0 -i wla
group root
disabled
-service emu_hostapd /vendor/bin/execns router /vendor/bin/hw/hostapd /vendor/etc/simulated_hostapd.conf
+service emu_hostapd /vendor/bin/execns -u wifi -g wifi router /vendor/bin/hostapd_nohidl /vendor/etc/simulated_hostapd.conf
user root
- group root wifi
+ group root wifi net_raw net_admin
disabled
service dhcpserver /vendor/bin/execns router /vendor/bin/dhcpserver --range 192.168.232.2,192.168.239.254 --gateway 192.168.232.1 --netmask 255.255.248.0 --exclude-interface eth0