Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add virtual wifi #781

Open
chenzhu005774 opened this issue Nov 6, 2024 · 2 comments
Open

add virtual wifi #781

chenzhu005774 opened this issue Nov 6, 2024 · 2 comments

Comments

@chenzhu005774
Copy link

我尝试添加虚拟 WiFi到我的产品分支上(我的产品硬件是rk3588 arm板)。我尝试将goldfish的wifi 模块添加到我的vender.mk 中,如下所示(其中有部分不是WiFi所需要的,还没来的及删除):

This file is to configure vendor/data partitions of emulator-related products

$(call inherit-product-if-exists, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)

Enable Scoped Storage related

$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)

PRODUCT_SOONG_NAMESPACES +=
device/generic/goldfish
device/generic/goldfish-opengl

PRODUCT_SYSTEM_EXT_PROPERTIES += ro.lockscreen.disable.default=1

DISABLE_RILD_OEM_HOOK := true

PRODUCT_SOONG_NAMESPACES += hardware/google/camera
PRODUCT_SOONG_NAMESPACES += hardware/google/camera/devices/EmulatedCamera

Device modules

PRODUCT_PACKAGES +=
vulkan.ranchu
libandroidemu
libOpenglCodecCommon
libOpenglSystemCommon
libcuttlefish-ril-2
libgoldfish-rild
qemu-adb-keys
qemu-device-state
qemu-props
stagefright
fingerprint.ranchu
hwcomposer.ranchu
toybox_vendor
[email protected]
[email protected]
[email protected]
libcodec2_goldfish_vp8dec
libcodec2_goldfish_vp9dec
libcodec2_goldfish_avcdec
sh_vendor
ip_vendor
iw_vendor
local_time.default
SdkSetup
EmulatorRadioConfig
EmulatorTetheringConfigOverlay
libstagefrighthw
libstagefright_goldfish_vpxdec
libstagefright_goldfish_avcdec
MultiDisplayProvider
libGoldfishProfiler \

ifneq ($(BUILD_EMULATOR_OPENGL),false)
PRODUCT_PACKAGES +=
libGLESv1_CM_emulation
lib_renderControl_enc
libEGL_emulation
libGLESv2_enc
libvulkan_enc
libGLESv2_emulation
libGLESv1_enc
libEGL_angle
libGLESv1_CM_angle
libGLESv2_angle
endif

PRODUCT_PACKAGES +=
[email protected]
[email protected]
PRODUCT_PROPERTY_OVERRIDES += vendor.bt.rootcanal_test_console=off

PRODUCT_PACKAGES +=
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

PRODUCT_PACKAGES +=
[email protected]

PRODUCT_PACKAGES +=
DisplayCutoutEmulationEmu01Overlay
EmulationPixel5Overlay
SystemUIEmulationPixel5Overlay
EmulationPixel4XLOverlay
SystemUIEmulationPixel4XLOverlay
EmulationPixel4Overlay
SystemUIEmulationPixel4Overlay
EmulationPixel4aOverlay
SystemUIEmulationPixel4aOverlay
EmulationPixel3XLOverlay
SystemUIEmulationPixel3XLOverlay
SystemUIEmulationPixel3Overlay
SystemUIEmulationPixel3aOverlay
SystemUIEmulationPixel3aXLOverlay
EmulationPixel2XLOverlay
SystemUIEmulationPixel2XLOverlay
NavigationBarMode2ButtonOverlay \

PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions?=enforce
PRODUCT_PROPERTY_OVERRIDES += ro.hardware.power=ranchu
PRODUCT_PROPERTY_OVERRIDES += ro.crypto.volume.filenames_mode=aes-256-cts

PRODUCT_PROPERTY_OVERRIDES += persist.sys.zram_enabled=1 \

PRODUCT_PACKAGES +=
[email protected] \

Prevent logcat from getting canceled early on in boot

PRODUCT_PROPERTY_OVERRIDES += ro.logd.size=1M \

PRODUCT_PACKAGES +=
[email protected]

WiFi: vendor side

PRODUCT_PACKAGES +=
mac80211_create_radios
createns
dhcpclient
execns
hostapd
hostapd_nohidl
netmgr
wifi_forwarder
wpa_supplicant \

Vibrator

PRODUCT_PACKAGES +=
android.hardware.vibrator-service.example

Identity

PRODUCT_PACKAGES +=
android.hardware.identity-service.example

Input Classifier HAL

PRODUCT_PACKAGES +=
[email protected]

Extension implementation for Jetpack WindowManager

PRODUCT_PACKAGES +=
androidx.window.sidecar

for 32, 32+64 guest, default using omx, but can be

modified at command line as follows

-qemu -append qemu.media.ccodec= can override it; default 0

PRODUCT_PROPERTY_OVERRIDES +=
debug.stagefright.ccodec=0

Enable Incremental on the device via kernel driver

PRODUCT_PROPERTY_OVERRIDES += ro.incremental.enable=yes

PRODUCT_COPY_FILES +=
device/generic/goldfish/emulator-info.txt:data/misc/emulator/version.txt
device/generic/goldfish/data/etc/apns-conf.xml:data/misc/apns/apns-conf.xml
device/generic/goldfish/radio/RadioConfig/radioconfig.xml:data/misc/emulator/config/radioconfig.xml
device/generic/goldfish/data/etc/iccprofile_for_sim0.xml:data/misc/modem_simulator/iccprofile_for_sim0.xml
device/google/cuttlefish/host/commands/modem_simulator/files/iccprofile_for_sim0_for_CtsCarrierApiTestCases.xml:data/misc/modem_simulator/iccprofile_for_carrierapitests.xml
device/generic/goldfish/data/etc/numeric_operator.xml:data/misc/modem_simulator/etc/modem_simulator/files/numeric_operator.xml
device/generic/goldfish/data/etc/local.prop:data/local.prop
device/generic/goldfish/init.qemu-adb-keys.sh:$(TARGET_COPY_OUT_SYSTEM_EXT)/bin/init.qemu-adb-keys.sh
device/generic/goldfish/init.ranchu-core.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-core.sh
device/generic/goldfish/init.ranchu-net.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-net.sh
device/generic/goldfish/wifi/init.wifi.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.wifi.sh
device/generic/goldfish/init.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.ranchu.rc
device/generic/goldfish/init.system_ext.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.system_ext.rc
device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
device/generic/goldfish/ueventd.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc
device/generic/goldfish/input/goldfish_rotary.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/goldfish_rotary.idc
device/generic/goldfish/input/qwerty2.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/qwerty2.idc
device/generic/goldfish/input/qwerty.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/qwerty.kl
device/generic/goldfish/input/virtio_input_multi_touch_1.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_1.idc
device/generic/goldfish/input/virtio_input_multi_touch_2.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_2.idc
device/generic/goldfish/input/virtio_input_multi_touch_3.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_3.idc
device/generic/goldfish/input/virtio_input_multi_touch_4.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_4.idc
device/generic/goldfish/input/virtio_input_multi_touch_5.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_5.idc
device/generic/goldfish/input/virtio_input_multi_touch_6.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_6.idc
device/generic/goldfish/input/virtio_input_multi_touch_7.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_7.idc
device/generic/goldfish/input/virtio_input_multi_touch_8.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_8.idc
device/generic/goldfish/input/virtio_input_multi_touch_9.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_9.idc
device/generic/goldfish/input/virtio_input_multi_touch_10.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_10.idc
device/generic/goldfish/input/virtio_input_multi_touch_11.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_11.idc
device/generic/goldfish/display_settings_freeform.xml:$(TARGET_COPY_OUT_VENDOR)/etc/display_settings_freeform.xml
device/generic/goldfish/display_settings.xml:$(TARGET_COPY_OUT_VENDOR)/etc/display_settings.xml
device/generic/goldfish/data/etc/config.ini:config.ini
device/generic/goldfish/wifi/simulated_hostapd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/simulated_hostapd.conf
device/generic/goldfish/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml
system/bt/vendor_libs/test_vendor_lib/data/controller_properties.json:vendor/etc/bluetooth/controller_properties.json
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml
frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml
frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml
device/generic/goldfish/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
device/generic/goldfish/camera/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml
device/generic/goldfish/camera/media_codecs_google_video_default.xml:${TARGET_COPY_OUT_VENDOR}/etc/media_codecs_google_video.xml
device/generic/goldfish/camera/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml
device/generic/goldfish/camera/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
frameworks/native/data/etc/android.hardware.camera.ar.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.ar.xml
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml
frameworks/native/data/etc/android.hardware.camera.concurrent.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.concurrent.xml
frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml
frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml
frameworks/native/data/etc/android.software.vulkan.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml
frameworks/native/data/etc/android.software.opengles.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml
frameworks/native/data/etc/android.software.autofill.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.autofill.xml
frameworks/native/data/etc/android.software.verified_boot.xml:${TARGET_COPY_OUT_PRODUCT}/etc/permissions/android.software.verified_boot.xml
device/generic/goldfish/data/etc/permissions/privapp-permissions-goldfish.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-goldfish.xml
hardware/google/camera/devices/EmulatedCamera/hwl/configs/emu_camera_back.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/emu_camera_back.json
hardware/google/camera/devices/EmulatedCamera/hwl/configs/emu_camera_front.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/emu_camera_front.json
hardware/google/camera/devices/EmulatedCamera/hwl/configs/emu_camera_depth.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/emu_camera_depth.json \

但是这似乎并没有工作,日志如下:
d9545132a0b4:/ # logcat |grep wifi
11-06 16:25:12.422 0 0 I init : Sending signal 9 to service 'wificond' (pid 8540) process group...
11-06 16:25:12.438 0 0 I init : Service 'wificond' (pid 8540) received signal 9
11-06 16:25:17.262 0 0 I init : starting service 'wificond'...
11-06 16:25:17.445 0 0 I init : Sending signal 9 to service 'wificond' (pid 8622) process group...
11-06 16:25:17.461 0 0 I init : Service 'wificond' (pid 8622) received signal 9
11-06 16:27:31.155 0 0 I init : Parsing file /system/etc/init/wifi.rc...
11-06 16:27:31.155 0 0 I init : Parsing file /system/etc/init/wificond.rc...
11-06 16:27:31.156 0 0 I init : Parsing file /vendor/etc/init/[email protected]...
11-06 17:59:19.797 54 54 D vold_prepare_subdirs: Setting up mode 771 uid 0 gid 1000 context null on path: /data/misc_de/0/apexdata/com.android.wifi
11-06 17:59:19.814 56 56 I derive_classpath: ReadClasspathFragment /apex/com.android.wifi/etc/classpaths/bootclasspath.pb
11-06 17:59:19.815 56 56 I derive_classpath: export BOOTCLASSPATH /apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar
11-06 17:59:25.238 107 107 I [email protected]: Wifi Hal is booting up...
11-06 17:59:25.248 107 107 I HidlServiceManagement: Registered [email protected]::IWifi/default
11-06 17:59:25.248 107 107 I HidlServiceManagement: Removing namespace from process name [email protected] to [email protected].
11-06 17:59:25.438 200 200 I wificond: wificond is starting up...
11-06 17:59:25.454 200 200 I HidlServiceManagement: Registered [email protected]::IKeystore/default
11-06 17:59:26.451 276 300 I SystemConfig: Reading permissions from /vendor/etc/permissions/android.hardware.wifi.direct.xml
11-06 17:59:26.454 276 300 I SystemConfig: Reading permissions from /vendor/etc/permissions/android.hardware.wifi.xml
11-06 17:59:26.455 276 300 I SystemConfig: Reading permissions from /vendor/etc/permissions/android.hardware.wifi.passpoint.xml
11-06 17:59:26.464 276 276 D CompatConfig: No directory /apex/com.android.wifi/etc/compatconfig, skipping
11-06 17:59:26.758 276 276 D PackageManager: Directories scanned as system partitions: [/system:0, /vendor:524288, /odm:4194304, /oem:262144, /system/product:1048576, /system/system_ext:2097152, /apex/com.android.wifi:8388608, /apex/com.android.vndk.v31:8388608, /apex/com.android.tzdata:8388608, /apex/com.android.tethering:8388608, /apex/com.android.sdkext:8388608, /apex/com.android.scheduling:8388608, /apex/com.android.runtime:8388608, /apex/com.android.resolv:8388608, /apex/com.android.permission:8388608, /apex/com.android.os.statsd:8388608, /apex/com.android.neuralnetworks:8388608, /apex/com.android.mediaprovider:8388608, /apex/com.android.media.swcodec:8388608, /apex/com.android.media:8388608, /apex/com.android.ipsec:8388608, /apex/com.android.i18n:8388608, /apex/com.android.extservices:8388608, /apex/com.android.conscrypt:8388608, /apex/com.android.art:8388608, /apex/com.android.appsearch:8388608, /apex/com.android.adbd:8388608]
11-06 17:59:26.907 276 276 W PackageSettings: Missing permission state for package: com.android.wifi.resources
11-06 17:59:27.475 276 276 I SystemServiceManager: Starting com.android.server.wifi.WifiService
11-06 17:59:27.477 276 276 I WifiContext: Found Wifi Resources APK at: com.android.wifi.resources
11-06 17:59:27.484 276 276 V NetworkScoreManager: registerNetworkScoreCallback: callback=com.android.server.wifi.WifiNetworkScoreCache@e630b22, executor=com.android.wifi.x.android.os.HandlerExecutor@bdc49b3
11-06 17:59:27.528 200 200 I wificond: New wificond event callback registered
11-06 17:59:27.528 276 276 D WifiCountryCode: Default country code from system property ro.boot.wificountrycode is null
11-06 17:59:27.532 276 276 I WifiService: Registering wifi
11-06 17:59:27.533 276 276 I SystemServiceManager: Starting com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:27.533 276 276 I WifiScanningService: Creating wifiscanner
11-06 17:59:27.534 276 276 I WifiScanningService: Publishing wifiscanner
11-06 17:59:27.535 276 276 I SystemServiceManager: Starting com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:27.536 276 276 I WifiP2pService: Registering wifip2p
11-06 17:59:27.799 276 276 I SystemServerTiming: OnBootPhase_480_com.android.server.wifi.WifiService
11-06 17:59:27.799 276 276 I SystemServerTiming: OnBootPhase_480_com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:27.799 276 276 I SystemServerTiming: OnBootPhase_480_com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:27.842 276 276 I SystemServerTiming: OnBootPhase_500_com.android.server.wifi.WifiService
11-06 17:59:27.843 276 276 I SystemServerTiming: OnBootPhase_500_com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:27.843 276 276 I WifiScanningService: Starting wifiscanner
11-06 17:59:27.843 276 276 I SystemServerTiming: OnBootPhase_500_com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:27.860 276 360 D HalDevMgr: IWifi registration notification: [email protected]::IWifi, name=default, preexisting=true
11-06 17:59:27.860 276 370 I android_os_HwBinder: HwBinder: Starting thread pool for getting: [email protected]::IWifi/default
11-06 17:59:27.862 276 370 D WifiNl80211Manager: tearing down interfaces in wificond
11-06 17:59:27.866 107 107 E [email protected]: Can not initialize the vendor function pointer table
11-06 17:59:27.866 107 107 I [email protected]: processing vendor HALs descriptions in /vendor/etc/wifi/vendor_hals
11-06 17:59:27.866 107 107 E [email protected]: failed to open /vendor/etc/wifi/vendor_hals
11-06 17:59:27.866 107 107 E [email protected]: Wifi HAL start failed
11-06 17:59:27.873 276 374 I WifiScanningService: wifi driver unloaded
11-06 17:59:27.876 276 370 E WifiSelfRecovery: Restarting wifi for reason: WifiNative Failure
11-06 17:59:27.921 276 276 I SystemServerTiming: OnBootPhase_520_com.android.server.wifi.WifiService
11-06 17:59:27.921 276 276 I SystemServerTiming: OnBootPhase_520_com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:27.921 276 276 I SystemServerTiming: OnBootPhase_520_com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:27.977 276 276 I SystemServerTiming: OnBootPhase_550_com.android.server.wifi.WifiService
11-06 17:59:27.977 276 276 I SystemServerTiming: OnBootPhase_550_com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:27.977 276 276 I SystemServerTiming: OnBootPhase_550_com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:28.083 276 276 I SystemServerTiming: OnBootPhase_600_com.android.server.wifi.WifiService
11-06 17:59:28.083 276 276 I SystemServerTiming: OnBootPhase_600_com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:28.083 276 276 I SystemServerTiming: OnBootPhase_600_com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:28.181 276 276 V StorageManagerService: Package com.android.wifi.resources does not have legacy storage
11-06 17:59:28.184 276 276 I SystemServerTiming: ssm.onStartUser-0_com.android.server.wifi.WifiService
11-06 17:59:28.184 276 276 I SystemServerTiming: ssm.onStartUser-0_com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:28.184 276 276 I SystemServerTiming: ssm.onStartUser-0_com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:28.360 603 619 V WifiManager: SoftApCallbackProxy: send InfoChanged, newInfo: SoftApInfo{bandwidth= 0, frequency= 0, wifiStandard= 0, mApInstanceIdentifier= null, mIdleShutdownTimeoutMillis= 0}
11-06 17:59:28.455 276 647 I ActivityManager: ntv ?? 2780: [email protected] (pid 107) native
11-06 17:59:28.455 276 647 I ActivityManager: ntv ?? 1390: wificond (pid 200) native
11-06 17:59:28.945 450 465 V WifiManager: SoftApCallbackProxy: send InfoChanged, newInfo: SoftApInfo{bandwidth= 0, frequency= 0, wifiStandard= 0, mApInstanceIdentifier= null, mIdleShutdownTimeoutMillis= 0}
11-06 17:59:29.303 276 296 I ActivityManagerTiming: OnBootPhase_1000_com.android.server.wifi.WifiService
11-06 17:59:29.303 276 296 I ActivityManagerTiming: OnBootPhase_1000_com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:29.303 276 296 I ActivityManagerTiming: OnBootPhase_1000_com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:29.362 963 963 D vold_prepare_subdirs: Setting up mode 771 uid 0 gid 1000 context null on path: /data/misc_ce/0/apexdata/com.android.wifi
11-06 17:59:29.378 276 303 I SystemServerTimingAsync: ssm.onUnlockingUser-0_com.android.server.wifi.WifiService
11-06 17:59:29.379 276 303 I SystemServerTimingAsync: ssm.onUnlockingUser-0_com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:29.379 276 303 I SystemServerTimingAsync: ssm.onUnlockingUser-0_com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:29.402 276 303 I SystemServerTimingAsync: ssm.onUnlockedUser-0_com.android.server.wifi.WifiService
11-06 17:59:29.402 276 303 I SystemServerTimingAsync: ssm.onUnlockedUser-0_com.android.server.wifi.scanner.WifiScanningService
11-06 17:59:29.402 276 303 I SystemServerTimingAsync: ssm.onUnlockedUser-0_com.android.server.wifi.p2p.WifiP2pService
11-06 17:59:29.877 276 370 D WifiController: Recovery in progress, start wifi
11-06 17:59:29.878 107 107 E [email protected]: Can not initialize the vendor function pointer table
11-06 17:59:29.878 107 107 I [email protected]: processing vendor HALs descriptions in /vendor/etc/wifi/vendor_hals
11-06 17:59:29.878 107 107 E [email protected]: failed to open /vendor/etc/wifi/vendor_hals
11-06 17:59:29.878 107 107 E [email protected]: Wifi HAL start failed
11-06 17:59:29.879 276 374 I WifiScanningService: wifi driver unloaded

@chenzhu005774
Copy link
Author

image
mac80211 仿真存在

@llinsongming
Copy link

没看懂,老哥教教

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants