【问题描述】:
测试同事反馈我们的设备在不插SIM卡的情况下,无法打开5G WIFI热点
【问题分析】:
获取logcat日志分析:
[ 408.172055] wlan: [E :VOS] Overriding NV Country(00) from INI (00)
--------- beginning of system
08-03 08:42:26.184 791 791 I wificond: Regulatory domain changed
08-03 08:42:26.185 791 791 E wificond: Failed to find expected wiphy info from NL80211_CMD_GET_WIPHY responses
08-03 08:42:26.185 791 791 I wificond: 2.4Ghz frequencies:
08-03 08:42:26.185 791 791 I wificond: 5Ghz non-DFS frequencies:
08-03 08:42:26.185 791 791 I wificond: 5Ghz DFS frequencies:
08-03 08:42:26.192 975 1667 I EthernetTracker: maybeTrackInterface wlan0
08-03 08:42:26.199 975 1635 W BestClock: java.time.DateTimeException: Missing NTP fix
08-03 08:42:26.201 975 1116 I WifiService: updateInterfaceIpState uid=1000
08-03 08:42:26.204 3617 3617 D WifiTetherSettings: updating display config due to receiving broadcast action android.net.conn.TETHER_STATE_CHANGED
08-03 08:42:26.205 975 1713 I WifiService: getWifiApConfiguration uid=1000
08-03 08:42:26.207 975 1113 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
08-03 08:42:26.213 975 1667 I EthernetTracker: maybeTrackInterface p2p0
08-03 08:42:26.224 975 1113 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: false
08-03 08:42:26.237 548 548 I android.hard[ 408.506293] audit: audit_lost=304 audit_rate_limit=5 audit_backlog_limit=64
[ 408.512282] audit: rate limit exceeded
ware.wifi@1.0-service: Wifi HAL started
08-03 08:42:26.237 975 1639 I WifiVendorHal: Vendor Hal started successfully
08-03 08:42:26.238 975 1640 W system_server: Long monitor contention with owner ClientModeImpl (1639) at boolean com.android.server.wifi.HalDeviceManager.startWifi()(HalDeviceManager.java:1213) waiters=0 in boolean com.android.server.wifi.HalDeviceManager.isWifiStarted() for 1.332s
08-03 08:42:26.242 975 1640 I WifiP2pNative: Registering for interface available listener
08-03 08:42:26.243 975 1639 D HostapdHal: Successfully triggered start of hostapd using HIDL
08-03 08:42:26.256 975 1640 I WifiP2pNative: Registering for interface available listener
08-03 08:42:26.256 975 1640 D WifiP2pNative: P2P InterfaceAvailableListener true
08-03 08:42:26.256 975 1640 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true, Number of clients=0
08-03 08:42:26.256 975 1640 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
08-03 08:42:26.230 4302 4302 W cnss-daemon: type=1400 audit(0.0:480): avc: denied {
execute_no_trans } for path="/vendor/bin/sh" dev="dm-1" ino=385 scontext=u:r:wcnss_service:s0 tcontext=u:object_r:vendor_shell_exec:s0 tclass=file permissive=0
08-03 08:42:26.281 824 824 E cnss-daemon: wlan_service_rps_enable: unable to open /sys/class/net/wlan0/queues/rx-0/rps_cpus
08-03 08:42:26.280 4306 4306 W cnss-daemon: type=1400 audit(0.0:481): avc: denied {
execute_no_trans } for path="/vendor/bin/sh" dev="dm-1" ino=385 scontext=u:r:wcnss_service:s0 tcontext=u:object_r:vendor_shell_exec:s0 tclass=file permissive=0
08-03 08:42:26.291 824 824 E cnss-daemon: wlan_service_rps_enable: unable to open /sys/class/net/wlan0/queues/rx-1/rps_cpus
08-03 08:42:26.290 4307 4307 W cnss-daemon: type=1400 audit(0.0:482): avc: denied {
execute_no_trans } for path="/vendor/bin/sh" dev="dm-1" ino=385 scontext=u:r:wcnss_service:s0 tcontext=u:object_r:vendor_shell_exec:s0 tclass=file permissive=0
08-03 08:42:26.301 824 824 E cnss-daemon: wlan_service_rps_enable: unable to open /sys/class/net/wlan0/queues/rx-2/rps_cpus
08-03 08:42:26.305 450 450 I netd : trafficSwapActiveStatsMap() <105.11ms>
08-03 08:42:26.300 4308 4308 W cnss-daemon: type=1400 audit(0.0:483): avc: denied {
execute_no_trans } for path