Comments (9)
Try to add one line in init.rc as following:
# Prepare for wifi
setprop wifi.interface wlan0
setprop wifi.direct.interface p2p0
Then rebuild again, thanks
from cookers.
I've added the propriety, it does not change the behavior in the android interface.
Do you need some logs ?
@@ -76,6 +75,7 @@ on early-boot
# Prepare for wifi
setprop wifi.interface wlan0
setprop wifi.ap.interface wlan0
+ setprop wifi.direct.interface p2p0
from cookers.
Did your WiFi Direct setting page showing any interface name such as "Android_8a68" ???
Yes, provide some log please.
from cookers.
I made a mistake with the propriety name. I have corrected the property name and it still does not work.
WiFi Direct setting page is not showing any interface name such as "Android_8a68".
Here are the logs :
dmesg_wifidirect_issue.log
logcat_wifidirect_issue.log
For information, the property is well set :
edm1_imx6:/ # getprop wifi.direct.interface
p2p0
edm1_imx6:/ # ndc interface list
110 0 can0
110 0 can1
110 0 eth0
110 0 ip6_vti0
110 0 ip6tnl0
110 0 ip_vti0
110 0 lo
110 0 p2p0
110 0 sit0
110 0 wlan0
200 0 Interface list completed
from cookers.
I think the root cause is NXP has not implement P2P HIDL layer as following log:
08-14 05:43:46.954 788 788 D WifiP2pSettings: NO dashboard tiles for WifiP2pSettings
08-14 05:43:46.996 355 468 D WifiP2pNative: Setup P2P interface
08-14 05:43:46.996 355 468 E HalDevMgr: getAllChipInfo: called but mWifi is null!?
08-14 05:43:46.996 355 468 W HalDevMgr: stopWifi called but mWifi is null!?
08-14 05:43:46.996 355 468 E WifiP2pNative: Failed to create P2p iface in HalDeviceManager
08-14 05:43:46.996 355 468 E WifiP2pService: Failed to setup interface for P2P
08-14 05:43:58.265 355 417 D WificondControl: Scan result ready event
08-14 05:44:38.279 355 723 D WificondControl: Scan result ready event
It need takes some effort to trace, maybe naming issue or really no support WiFi direct on Android 9 (I think it's this one).
I just tested Android 10 and it works fine, NXP was be implement P2P HAL layer, but Android 10 only support IMX8 series, sorry for cause your inconvenience, it could be don't work at this moment.
If you really need this function, please send mail to [email protected] and discuss your requirement, thanks.
from cookers.
I ported WiFi P2P HAL layer already, please issue 'repo sync' for source code upgrading and try again 😄
from cookers.
Thanks, I will test it this morning.
from cookers.
It works. Thanks a lot.
from cookers.
Thanks for your feedback, please also feedback to our sales if possible.
from cookers.
Related Issues (20)
- QCA Firmware versions for wandboard HOT 5
- Android 9, edm1 imx6 quad (wandboard), WebView slow video playing HOT 4
- PICO-PI-IMX7 - Wifi Not working HOT 18
- Kernel print logs - Issue HOT 17
- TechNexion Android tn-p9.0.0_2.0.1_8m-ga_tn1.0 default mode in landscape HOT 8
- How to differenciate wandboard imx6q and wandboard imx6qp in early u-boot stage to differenciate dtb file to load HOT 5
- Repo init error HOT 2
- How to change fame rate pico-wizard-imx8m-mini with 10.1 " panel HOT 8
- 10.1" Display Touch screen Problem HOT 7
- Prebuilt Android image HOT 1
- Application as system app HOT 11
- TEP 0700 imx7 RS232 not working properly HOT 11
- TEP 0700 imx7 Android 7.1.1 WebView not working HOT 4
- Android 11 repo sync error HOT 3
- GPIOD_JNI_TEST not working HOT 29
- SELinux Policy Android 9 HOT 2
- imx7d pico pi, Invalid vbmeta image HOT 7
- Flash android image (test.img) in a TEP0700 device with 16gb of memory
- drivers specification
- TEP 0700 imx7 Android 9 image not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cookers.