Miracast Support on NXP AOSP (Marvell WIFI W8997-M1216)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Miracast Support on NXP AOSP (Marvell WIFI W8997-M1216)

6,108件の閲覧回数
tommaso_merciai
Contributor II

Hi,

We are trying to port WIFI Display Miracast support into NXP AOSP using Marvell chip WIFI W8997-M1216 (NXP's AOSP 9-1.0.0/10-1.0.0). Below the steps that we have done to try port Miracast support into NXP AOSP.
1) Test using:
  • CPU: imx8mq/imx8qm/imx8qxp
  • OS: Android 9-1.0.0 / 10-1.0.0
  • WI-FI  chip: Marvell sd8997
  • Miracast Dongle: Miracast Microsoft dongle
  • Chromecast

 

I'm able to patch the android Framework to scan the Miracast WI-FI Display (P2P) device using Android UI "Cast" button. 
To do that we apply the following patch:
 
-----------------------------------------------------------------------------------------------------------------------------------------------
Under sd8997 Driver we add the following config to support wifi-display and wifidirect:
 
android9/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/seco_c20_android_defconfig
# WIDI/WI-FI Display support
CONFIG_SD8997_WIFI_DIRECT_SUPPORT=y
CONFIG_SD8997_WIFI_DISPLAY_SUPPORT=y
CONFIG_SD8997_UAP_SUPPORT=y
CONFIG_SD8997_STA_SUPPORT=y
 
 
android9/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/seco/seco-imx8mq-c20.dtsi:
sd8xxx-wlan {
         //drvdbg  = <0x37>;
         drv_mode = <0x7>;
         cfg80211_wext = <0xf>;
         sta_name = "wlan";
         wfd_name = "p2p";
         max_vir_bss = <1>;
         cal_data_cfg = "mrvl/cal_data.conf";
         fw_name = "mrvl/sdsd8997_combo_v4.bin";
         reg_alpha2 = "US";
         p2p_enh = <1>;
         auto_ds=<0>;
         inact_tmo = <3000>;
         gtk_rekey_offload = <1>;
         cfg80211_drcs = <0>;
    };
 
-----------------------------------------------------------------------------------------------------------------------------------------------
We patch also the wpa_supplicant:
external/wpa_supplicant_8/wpa_supplicant/android.config
# Wi-Display Support
CONFIG_DRIVER_NL80211=y
CONFIG_CTRL_IFACE=y
CONFIG_P2P=y
CONFIG_AP=y
CONFIG_WPS=y
CONFIG_WPS2=y
CONFIG_WIFI_DISPLAY=y
 
-----------------------------------------------------------------------------------------------------------------------------------------------
We do some test on Linux Android side:
For debugging purpose we try to enstablish p2p connection to the Miracast Dongle using wpa_cli command line, using the following steps:
We add support for p2p0 interface in wpa_supplicant system service:
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
    -ip2p0 -dd -Dnl80211 -c/data/vendor/wifi/wpa/p2p_supplicant.conf \
    -puse_multi_chan_concurrent=1 \
    -N -iwlan0 -Dnl80211 -c/data/vendor/wifi/wpa/wpa_supplicant.conf \
    -puse_multi_chan_concurrent=1 \
    -N -iuap0 -Dnl80211 -c/data/vendor/wifi/wpa/wpa_supplicant.conf \
    -puse_multi_chan_concurrent=1 \
    -C /data/vendor/wifi/wpa/sockets \
    -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
    interface android.hardware.wifi.supplicant@1.0::ISupplicant default
    interface android.hardware.wifi.supplicant@1.1::ISupplicant default
    class main
    socket wpa_wlan0 dgram 660 wifi wifi
    disabled
    oneshot
The following p2p_supplicant.conf has been used:
disable_scan_offload=1
p2p_go_vht=1
p2p_no_group_iface=1
Then from Terminal, we use the following commands:
$ wpa_cli -i p2p0
>p2p_find
>p2p_stop_find
We check wich devices respond to the p2p broadcast using:
> p2p_peers
c6:9d:ed:f5:9b:d5
ce:d4:2e:0d:7e:a0
Then we try to connect to c6:9d:ed:f5:9b:d5 (Miracast dongle) using:
> p2p_connect c6:9d:ed:f5:9b:d5 pbc persistent go_intent=15
[ 6995.396507] wlan: TX P2P Group Owner Negotiation Req Frame, channel=11
OK
> [ 6995.423559] wlan: RX P2P Group Owner Negotiation Rsp Frame, channel=11
[ 6995.889253] wlan: RX P2P Group Owner Negotiation Req Frame, channel=6
[ 6995.896310] wlan: TX P2P Group Owner Negotiation Rsp Frame, channel=6
[ 6995.910499] wlan: RX P2P Group Owner Negotiation Confirm Frame, channel=6
<3>P2P-GO-NEG-SUCCESS role=GO freq=5180 ht40=1 peer_dev=c6:9d:ed:f5:9b:d5 peer_iface=c6:9d:ed:f5:9b:d5 wps_method=PBC
> [ 6995.972541] Can not set data rate in disconnected state
[ 6996.075345] wlan: SCAN COMPLETED: scanned AP count=2
<3>CTRL-EVENT-SCAN-STARTED
[ 6996.089259] wlan: Starting AP
> [ 6996.098539] Get vht_cap from beacon ies: 0x33d179b0
[ 6996.120450] wlan: AP started
[ 6996.126010] Set AC=3, txop=47 cwmin=3, cwmax=7 aifs=1
[ 6996.133543] Set AC=2, txop=94 cwmin=7, cwmax=15 aifs=1
[ 6996.145022] Set AC=0, txop=0 cwmin=15, cwmax=63 aifs=3
[ 6996.156095] Set AC=1, txop=0 cwmin=15, cwmax=1023 aifs=7
<3>AP-ENABLED
<3>CTRL-EVENT-CONNECTED - Connection to c2:e4:34:fc:f4:e5 completed [id=4 id_str=]
<3>CTRL-EVENT-STATE-CHANGE id=4 state=9 BSSID=c2:e4:34:fc:f4:e5 SSID=DIRECT-Tr-Android_3c7e
<3>WPS-PBC-ACTIVE
<3>WPS-ENROLLEE-SEEN c6:9d:ed:f5:9b:d5 56789abc-def0-1234-5678-90abcdef0123 7-0050F204-1 0x2288 4 1 [MSDisplayAdapter_D5]
<3>WPS-ENROLLEE-SEEN c6:9d:ed:f5:9b:d5 56789abc-def0-1234-5678-90abcdef0123 7-0050F204-1 0x2288 4 1 [MSDisplayAdapter_D5]
<3>WPS-ENROLLEE-SEEN c6:9d:ed:f5:9b:d5 56789abc-def0-1234-5678-90abcdef0123 7-0050F204-1 0x2288 4 1 [MSDisplayAdapter_D5]
<3>WPS-ENROLLEE-SEEN c6:9d:ed[ 6996.456647] wlan: EVENT: MICRO_AP_STA_ASSOC c6:XX:XX:XX:9b:d5
:f5:9b:d5 56789abc-def0-1234-5678-90abcdef0123 7-0050F204-1 0x2288 4 1 [MSDisplayAdapter_D5]
<3>P2P-DEVICE-FOUND c6:9d:ed:f5:9b:d5 p2p_dev_addr=c6:9d:ed:f5:9b:d5 pri_dev_type=7-0050F204-1 name='MSDisplayAdapter_D5' config_methods=0x88 dev_capab=0x25 group_capab=0x0 wfd_dev_info=0x015d022a0032 new
=0
<3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
<3>CTRL-EVENT-EAP-STARTED c6:9d:ed:f5:9b:d5
<3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
<3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
<3>WPS-REG-SUCCESS c6:9d:ed:f5:9b:d5 56789abc-def0-1234-5678-90abcdef0123
<3>P2P-GROUP-FORMATION-SUCCESS
<3>P2[ 6997.510226] wlan: EVENT: MICRO_AP_STA_DEAUTH c6:XX:XX:XX:9b:d5
[ 6997.517335] wlan: deauth station c6:XX:XX:XX:9b:d5
P-GROUP-STARTED p2p0 GO ssid="DIR[ 6997.523297] wlan: deauth station c6:XX:XX:XX:9b:d5
ECT-Tr-Android_3c7e" freq=5180 passphrase="E7FSdGMv" go_dev_addr=c2:e4:34:fc:f4:e5 [PERSISTENT]
<3>WPS-PBC-DISABLE
<3>WPS-SUCCESS
<3>CTRL-EVENT-EAP-FAILURE c6:9d:ed:f5:9b:d5
<3>WPS-ENROLLEE-SEEN c6:9d:ed[ 6997.784148] wlan: EVENT: MICRO_AP_STA_ASSOC c6:XX:XX:XX:9b:d5
:f5:9b:d5 56789abc-def0-1234-5678-90abcdef0123 7-0050F204-1 0x2288 4 1 [MSDisplayAdapter_D5]
<3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
<3>AP-STA-CONNECTED c6:9d:ed:f5:9b:d5 p2p_dev_addr=c6:9d:ed:f5:9b:d5
> [ 6998.807525] ADDBA RSP: Failed(c6:XX:XX:XX:9b:d5 tid=6)
[ 7003.469641] ADDBA RSP: Failed(c6:XX:XX:XX:9b:d5 tid=6)
 
I think the problem is due to this last 2 lines. The 2 devices don't establish the p2p connection though we sent and intent of 15 to begin the GO in the p2p connection.
-----------------------------------------------------------------------------------------------------------------------------------------------
We also work on Android Framework, in particular: we enable wifi-display scan apply the following patch:
 
android9/frameworks/base/services/core/java/com/android/server/display/DisplayManagerService.java
private void registerWifiDisplayAdapterLocked() {
-        if (mContext.getResources().getBoolean(
-                com.android.internal.R.bool.config_enableWifiDisplay)
-                || SystemProperties.getInt(FORCE_WIFI_DISPLAY_ENABLE, -1) == 1) {
+    
             mWifiDisplayAdapter = new WifiDisplayAdapter(
                     mSyncRoot, mContext, mHandler, mDisplayAdapterListener,
                     mPersistentDataStore);
             registerDisplayAdapterLocked(mWifiDisplayAdapter);
-        }
     }
 
     private boolean shouldRegisterNonEssentialDisplayAdaptersLocked() {
-----------------------------------------------------------------------------------------------------------------------------------------------
We try also to apply this patch for Android 9:
 
----------------------------------------------------------------------------------------------------------------------------------------------
When we try to enstablish P2P Connection with Miracast Dongle using:
 
"Cast Button"->Settings->MSDisplayAdapter_D5 (our Miracast Dongle name)
 
We receive the following output from terminal (driver side):
 
[  151.990113] wlan: TX P2P Invitation Request, channel=11
[  152.006884] aic32x4: i=19, mdac= 0x02
[  152.007995] wlan: RX P2P Invitation Response, channel=11
[  152.067310] Can not set data rate in disconnected state
[  152.163092] wlan: SCAN COMPLETED: scanned AP count=3
[  152.177968] wlan: Starting AP
[  152.182260] Get vht_cap from beacon ies: 0x33d179b0
[  152.199820] wlan: AP started
[  152.204497] Set AC=3, txop=47 cwmin=3, cwmax=7 aifs=1
[  152.213305] Set AC=2, txop=94 cwmin=7, cwmax=15 aifs=1
[  152.221077] Set AC=0, txop=0 cwmin=15, cwmax=63 aifs=3
[  152.228876] Set AC=1, txop=0 cwmin=15, cwmax=1023 aifs=7
[  155.276297] wlan: EVENT: MICRO_AP_STA_ASSOC c6:XX:XX:XX:9b:d5
[  165.811059] ADDBA RSP: Failed(c6:XX:XX:XX:9b:d5 tid=6)
[  166.624309] wlan: deauth station ff:XX:XX:XX:ff:ff
[  166.630449] wlan: Stoping AP
-------------------------------------------------------------------------------------------------------------------------------------------------
Under logcat we have the following output:
 
06-18 11:17:29.620  2851  2874 E DEBUg-SECO --> : debug 468
06-18 11:17:29.622  4103  4103 D P2P     : Peers changed
06-18 11:17:29.624  4103  4103 D P2P     : Request peers info
06-18 11:17:29.624  2851  2943 V WifiP2pService: Security Exception, cannot access peer list
[  378.455450] wlan: p2p0 START SCAN
06-18 11:17:33.124  2851  2862 E DEBUg-SECO --> : debug 677
06-1[  381.633642] wlan: ABORT SCAN start
8 11:17:33.124  2851  2874 E DEBU[  381.639896] IOCTL failed: ffff80000cd83c00 id=0x10000, sub_id=0x10003 action=1, status_code=0x80000007
g-SECO --> : debug 260 mWifiDisplayOnSetting
06-18 11:17:33.124 [  381.655655] wlan: SCAN COMPLETED: scanned AP count=0
 2851  2874 E DEBUg-SECO --> : debug 261 mWifiP2pEnabled
06-18 11:17:33.124  2851  2874 E DEBUg-SECO --> : debug 260 mWifiDispla[  381.671175] aic32x4: i=19, mdac= 0x02
yOnSetting
06-18 11:17:33.124  2851  2874 E DEBUg-SECO --> : debug 261 mWifiP2pEnabled
06-18 11:17:29.353  2748  2748 I chatty  : uid=1010(wifi) /system/bin/wificond identical 24 lines
06-18[  381.693048] wlan: TX P2P Invitation Request, channel=11
 11:17:29.615  2748  2748 W wificond: No handler for scan result notification from interface with index: 6
06-18 11:17:33.124  2851  2874 I WifiDisplayController: Connecting to Wifi display: M[  381.713785] wlan: RX P2P Invitation Response, channel=11
SDisplayAdapter_D5
06-18 11:17:33.126  2694  4075 I audio_hw_primary: start_output_stream_primary... 0xe78d1000, device 1024, address , mode 0
06-18 11:17:33.126  2694  4075 I audio_hw_primary: select_output_device(), headphone 0 ,headset 0 ,speaker 0, earpiece 0,
06-18 11:17:33.126  2851  2943 D SupplicantP2pIfaceHal: entering stopFind()
06-18 11:17:33.126  3077  3077 V MediaRouter: Adding route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_LI
VE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:33.127  2851  2851 V M[  381.781543] Can not set data rate in disconnected state
ediaRouter: Adding route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  gr
oupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:33.127  2851  2851 V MediaRouter: Selecting route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE
_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:33.127  2851  2851 E DEBUg-SECO --> : debug 726
06-18 11:17:33.131  3077  3077 V MediaRouter: Selecting route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE
_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:33.132  2851  3338 E DEBUg-SECO --> : debug 726
06-18 11:17:33.134[  381.880174] wlan: SCAN COMPLETED: scanned AP count=3
  3527  3527 V MediaRouter: Adding route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting...[  381.896467] wlan: Starting AP
, category=RouteCategory{ name=Sy[  381.903954] Get vht_cap from beacon ies: 0x33d179b0
stem types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:33.134  3527  3527 V MediaRouter: S[  381.923601] wlan: AP started
electing route: RouteInfo{ name=M[  381.931745] Set AC=3, txop=47 cwmin=3, cwmax=7 aifs=1
SDisplayAdapter_D5, description=Wireless display, status=Connecti[  381.940365] Set AC=2, txop=94 cwmin=7, cwmax=15 aifs=1
ng..., category=RouteCategory{ na[  381.950625] Set AC=0, txop=0 cwmin=15, cwmax=63 aifs=3
me=System types=ROUTE_TYPE_LIVE_A[  381.958720] Set AC=1, txop=0 cwmin=15, cwmax=1023 aifs=7
UDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:33.135  2851  3338 E DEBUg-SECO --> : debug 726
06-18 11:17:33.136  2851  3338 E DEBUg-SECO --> : debug 657
06-18 11:17:33.136  2851  3338 E DEBUg-SECO --> : debug 662
06-18 11:17:33.136  2851  3338 E DEBUg-SECO --> : debug 726
06-18 11:17:33.175  3361  3361 I wpa_supplicant: P2P-FIND-STOPPED
06-18 11:17:33.175  2748  2748 W wificond: No handler for scan result notification from interface with index: 6
06-18 11:17:33.176  2851  2943 D SupplicantP2pIfaceHal: stopFind() completed successfully.
06-18 11:17:33.176  2851  3059 D SupplicantP2pIfaceCallback: Search stopped on p2p0
06-18 11:17:33.176  2851  2943 D SupplicantP2pIfaceHal: leaving stopFind()
06-18 11:17:33.176  2851  2943 D SupplicantP2pIfaceHal: entering getGroupCapability(c6:9d:ed:f5:9b:d5)
06-18 11:17:33.176  2851  2943 D SupplicantP2pIfaceHal: getGroupCapability(c6:9d:ed:f5:9b:d5) completed successfully.
06-18 11:17:33.176  2851  2943 D SupplicantP2pIfaceHal: leaving getGroupCapability(c6:9d:ed:f5:9b:d5) with result = 42
06-18 11:17:33.176  2851  2943 D SupplicantP2pIfaceHal: entering getSsid(c6:9d:ed:f5:9b:d5)
06-18 11:17:33.178  2851  2943 D SupplicantP2pIfaceHal: getSsid(c6:9d:ed:f5:9b:d5) completed successfully.
06-18 11:17:33.178  2851  2943 D SupplicantP2pIfaceHal: leaving getSsid(c6:9d:ed:f5:9b:d5) with result = DIRECT-WA-Android_3c7e
06-18 11:17:33.178  2851  2943 D SupplicantP2pIfaceHal: entering getNetwork(1)
06-18 11:17:33.179  2851  2943 D SupplicantP2pIfaceHal: getNetwork(1) completed successfully.
06-18 11:17:33.179  2851  2943 D SupplicantP2pIfaceHal: leaving getNetwork(1) with result = android.hardware.wifi.supplicant@1.0::ISupplicantP2pNetwork@Proxy
06-18 11:17:33.179  2851  2943 D SupplicantP2pIfaceHal: entering getClientList(1)
06-18 11:17:33.179  2851  2943 D SupplicantP2pIfaceHal: getClientList(1) completed successfully.
06-18 11:17:33.179  2851  2943 D SupplicantP2pIfaceHal: leaving getClientList(1) with result = [[B@fa6f754]
06-18 11:17:33.179  2851  2943 D SupplicantP2pIfaceHal: entering reinvoke(1, c6:9d:ed:f5:9b:d5)
06-18 11:17:33.180  2851  2872 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: false
06-18 11:17:33.180  2851  2943 D SupplicantP2pIfaceHal: reinvoke(1, c6:9d:ed:f5:9b:d5) completed successfully.
06-18 11:17:33.180  2851  2943 D SupplicantP2pIfaceHal: leaving reinvoke(1, c6:9d:ed:f5:9b:d5)
06-18 11:17:33.183  2851  2874 I WifiDisplayController: Initiated connection to Wifi display: MSDisplayAdapter_D5
06-18 11:17:33.186  4103  4103 D P2P     : Peers changed
06-18 11:17:33.187  2851  2874 E DEBUg-SECO --> : debug 468
06-18 11:17:33.189  4103  4103 D P2P     : Request peers info
06-18 11:17:33.190  2851  2943 V WifiP2pService: Security Exception, cannot access peer list
06-18 11:17:33.199  2694  4075 W audio_hw_primary: output card 0, port 0 device 0x400
06-18 11:17:33.199  2694  4075 W audio_hw[  382.237582] wlan: EVENT: MICRO_AP_STA_ASSOC c6:XX:XX:XX:9b:d5
_primary: rate 48000, channel 2 period_size 0xc0
06-18 11:17:33.218  3361  3361 I wpa_supplicant: P2P-INVITATION-RESULT status=0
06-18 11:17:33.219  2851  3059 D SupplicantP2pIfaceCallback: Invitation completed with status: 0
06-18 11:17:33.284  3361  3361 I wpa_supplicant: p2p0: interface state UNINITIALIZED->HT_SCAN
06-18 11:17:33.388  2851  2872 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: false
06-18 11:17:33.388  2748  2748 W wificond: No handler for scan result notification from interface with index: 6
06-18 11:17:33.389  3361  3361 E wpa_supplicant: Using interface p2p0 with hwaddr c2:e4:34:fc:f4:e5 and ssid "DIRECT-WA-Android_3c7e"
06-18 11:17:33.390  3361  3361 W wpa_supplicant: Device is trying to offload WPS Probe Response while not supporting this
06-18 11:17:33.390  3361  3361 W wpa_supplicant: Device is trying to offload P2P Probe Response while not supporting this
06-18 11:17:33.424  2851  2872 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: true
06-18 11:17:33.427  2851  2872 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: true
06-18 11:17:33.460  3361  3361 I wpa_supplicant: p2p0: interface state HT_SCAN->ENABLED
06-18 11:17:33.460  3361  3361 I wpa_supplicant: p2p0: AP-ENABLED
06-18 11:17:33.460  3361  3361 I wpa_supplicant: p2p0: CTRL-EVENT-CONNECTED - Connection to c2:e4:34:fc:f4:e5 completed [id=2 id_str=]
06-18 11:17:33.461  3361  3361 I wpa_supplicant: P2P-GROUP-STARTED p2p0 GO ssid="DIRECT-WA-Android_3c7e" freq=5180 go_dev_addr=c2:e4:34:fc:f4:e5 [PERSISTENT]
06-18 11:17:33.462  2851  3059 D SupplicantP2pIfaceCallback: Group p2p0 started on p2p0
06-18 11:17:33.465  2851  2943 D SupplicantP2pIfaceHal: entering listNetworks()
06-18 11:17:33.466  2851  2943 D SupplicantP2pIfaceHal: listNetworks() completed successfully.
06-18 11:17:33.466  2851  2943 D SupplicantP2pIfaceHal: leaving listNetworks() with result = [1, 2]
06-18 11:17:33.466  2851  2943 D SupplicantP2pIfaceHal: entering getNetwork(1)
06-18 11:17:33.467  2851  2943 D SupplicantP2pIfaceHal: getNetwork(1) completed successfully.
06-18 11:17:33.467  2851  2943 D SupplicantP2pIfaceHal: leaving getNetwork(1) with result = android.hardware.wifi.supplicant@1.0::ISupplicantP2pNetwork@Proxy
06-18 11:17:33.467  2851  2943 D SupplicantP2pIfaceHal: entering isCurrent(1)
06-18 11:17:33.467  2851  2943 D SupplicantP2pIfaceHal: isCurrent(1) completed successfully.
06-18 11:17:33.467  2851  2943 D SupplicantP2pIfaceHal: leaving isCurrent(1) with result = false
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: entering getSsid(1)
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: getSsid(1) completed successfully.
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: leaving getSsid(1) with result = [68, 73, 82, 69, 67, 84, 45, 87, 65, 45, 65, 110, 100, 114, 111, 105, 100, 95, 51, 99, 55, 101]
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: entering getBssid(1)
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: getBssid(1) completed successfully.
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: leaving getBssid(1) with result = [B@b480ff2
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: entering isGo(1)
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: isGo(1) completed successfully.
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: leaving isGo(1) with result = true
06-18 11:17:33.468  2851  2943 D SupplicantP2pIfaceHal: entering getNetwork(2)
06-18 11:17:33.469  2851  2943 W SupplicantP2pIfaceHal: getNetwork(2) failed: 1 ()
06-18 11:17:33.469  2851  2943 D SupplicantP2pIfaceHal: leaving getNetwork(2) with result = null
06-18 11:17:33.469  2851  2943 E SupplicantP2pIfaceHal: getNetwork got null network
06-18 11:17:33.469  2851  2943 E SupplicantP2pIfaceHal: Failed to retrieve network object for 2
06-18 11:17:33.469  2851  2943 D SupplicantP2pIfaceHal: entering saveConfig()
06-18 11:17:33.469  2851  2943 W SupplicantP2pIfaceHal: saveConfig() failed: 1 ()
06-18 11:17:33.469  2851  2943 D SupplicantP2pIfaceHal: leaving saveConfig()
06-18 11:17:33.469  2851  2943 D SupplicantP2pIfaceHal: entering setGroupIdle(p2p0, 10)
06-18 11:17:33.470  2851  2943 D SupplicantP2pIfaceHal: setGroupIdle(p2p0, 10) completed successfully.
06-18 11:17:33.470  2851  2943 D SupplicantP2pIfaceHal: leaving setGroupIdle(p2p0, 10)
06-18 11:17:33.471  2681  2726 D CommandListener: Setting iface cfg
06-18 11:17:33.472  2681  2726 D CommandListener: Trying to bring up p2p0
06-18 11:17:33.473  2681  2726 D TetherController: tetherInterface(p2p0)
06-18 11:17:33.476  2681  2726 E Netd    : getIfIndex: cannot find interface p2p0
06-18 11:17:33.476  2681  2726 E Netd    : inconceivable! added interface p2p0 with no index
06-18 11:17:33.477  2681  2726 D TetherController: Starting tethering services
06-18 11:17:33.488  2681  2726 D TetherController: Sending update msg to dnsmasq [update_ifaces|p2p0]
06-18 11:17:33.488  2681  2726 D TetherController: Tethering services running
06-18 11:17:33.492  2851  2943 D WifiP2pService: Started Dhcp server on p2p0
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 27 (11:11010)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 28 (11:11010)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 30 (11:11012)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 31 (11:11012)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 33 (11:11014)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 34 (11:11014)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 36 (11:11016)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 37 (11:11016)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 40 (11:11018)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 41 (11:11018)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 42 (8:11019)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 43 (8:11020)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 44 (11:11021)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 45 (11:11021)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 46 (11:11022)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 47 (11:11022)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 50 (11:11026)
06-18 11:17:33.508  7105  7105 E dnsmasq : Closing inherited file descriptor 51 (11:11026)
06-18 11:17:33.518  7105  7105 I dnsmasq : started, version 2.51 cachesize 150
06-18 11:17:33.518  7105  7105 I dnsmasq : compile time options: IPv6 GNU-getopt no-I18N DHCP no-scripts
06-18 11:17:33.518  7105  7105 W dnsmasq : warning: no upstream servers configured
06-18 11:17:33.518  7105  7105 I dnsmasq : DHCP, IP range 192.168.49.2 -- 192.168.49.254, lease time 1h
06-18 11:17:33.518  7105  7105 I dnsmasq : DHCP, IP range 192.168.48.2 -- 192.168.48.254, lease time 1h
06-18 11:17:33.518  7105  7105 I dnsmasq : DHCP, IP range 192.168.47.2 -- 192.168.47.254, lease time 1h
06-18 11:17:33.518  7105  7105 I dnsmasq : DHCP, IP range 192.168.46.2 -- 192.168.46.254, lease time 1h
06-18 11:17:33.518  7105  7105 I dnsmasq : DHCP, IP range 192.168.45.2 -- 192.168.45.254, lease time 1h
06-18 11:17:33.518  7105  7105 I dnsmasq : DHCP, IP range 192.168.44.2 -- 192.168.44.254, lease time 1h
06-18 11:17:33.518  7105  7105 I dnsmasq : DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h
06-18 11:17:33.519  7105  7105 I dnsmasq : DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h
06-18 11:17:33.519  7105  7105 I dnsmasq : read /etc/hosts - 2 addresses
06-18 11:17:33.519  7105  7105 I dnsmasq : Closing wildcard listener family=2
06-18 11:17:33.519  7105  7105 I dnsmasq : Closing wildcard listener family=10
06-18 11:17:33.741  3361  3361 I wpa_supplicant: P2P-DEVICE-FOUND c6:9d:ed:f5:9b:d5 p2p_dev_addr=c6:9d:ed:f5:9b:d5 pri_dev_type=7-0050F204-1 name='MSDisplayAdapter_D5' config_methods=0x88 dev_capab=0x25 g
roup_capab=0x0 wfd_dev_info=0x015d022a0032 new=0
06-18 11:17:33.741  3361  3361 W wpa_supplicant: Device is trying to offload WPS Probe Response while not supporting this
06-18 11:17:33.741  3361  3361 W wpa_supplicant: Device is trying to offload P2P Probe Response while not supporting this
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback: Device discovered on p2p0: Device: MSDisplayAdapter_D5
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  deviceAddress: c6:9d:ed:f5:9b:d5
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  primary type: 7-0050F204-1
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  secondary type: null
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  wps: 136
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  grpcapab: 0
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  devcapab: 37
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  status: 3
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  wfdInfo: WFD enabled: trueWFD DeviceInfo: 349
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  WFD CtrlPort: 554
06-18 11:17:33.742  2851  3059 D SupplicantP2pIfaceCallback:  WFD MaxThroughput: 50
06-18 11:17:33.743  3361  3361 I wpa_supplicant: p2p0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
06-18 11:17:33.746  2851  2874 E DEBUg-SECO --> : debug 468
06-18 11:17:33.746  4103  4103 D P2P     : Peers changed
06-18 11:17:33.750  4103  4103 D P2P     : Request peers info
06-18 11:17:33.751  2851  2943 V WifiP2pService: Security Exception, cannot access peer list
06-18 11:17:33.758  3361  3361 I wpa_supplicant: p2p0: AP-STA-CONNECTED c6:9d:ed:f5:9b:d5 p2p_dev_addr=c6:9d:ed:f5:9b:d5
06-18 11:17:33.758  2851  3059 D SupplicantP2pIfaceCallback: STA authorized on p2p0
06-18 11:17:33.758  2851  2943 D SupplicantP2pIfaceHal: entering setGroupIdle(p2p0, 0)
06-18 11:17:33.759  2851  2943 D SupplicantP2pIfaceHal: setGroupIdle(p2p0, 0) completed successfully.
06-18 11:17:33.759  2851  2943 D SupplicantP2pIfaceHal: leaving setGroupIdle(p2p0, 0)
06-18 11:17:33.761  2851  2874 E DEBUg-SECO --> : debug 468
06-18 11:17:33.762  2851  2874 I WifiDisplayController: Connected to Wifi display: MSDisplayAdapter_D5
06-18 11:17:33.762  2851  2874 I WifiDisplayController: Stopping Wifi display scan.
06-18 11:17:33.762  4103  4103 D P2P     : Peers changed
06-18 11:17:33.763  2851  2874 I WifiDisplayController: Listening for RTSP connection on 192.168.49.1:7236 from Wifi display: MSDisplayAdapter_D5
06-18 11:17:33.763  2851  2943 D SupplicantP2pIfaceHal: entering setMiracastMode(1)
06-18 11:17:33.764  2851  2943 D SupplicantP2pIfaceHal: setMiracastMode(1) completed successfully.
06-18 11:17:33.764  2851  2943 D SupplicantP2pIfaceHal: leaving setMiracastMode(1)
06-18 11:17:33.765  2851  2943 D SupplicantP2pIfaceHal: entering stopFind()
06-18 11:17:33.765  2851  2943 D SupplicantP2pIfaceHal: stopFind() completed successfully.
06-18 11:17:33.765  2851  2943 D SupplicantP2pIfaceHal: leaving stopFind()
06-18 11:17:33.766  4103  4103 D P2P     : Request peers info
06-18 11:17:33.766  2851  2851 V MediaRouter: Selecting route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE
_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:33.766  3527  3527 V MediaRouter: Selecting route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE
_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:33.767  2851  3055 E DEBUg-SECO --> : debug 726
06-18 11:17:33.767  3077  3077 V MediaRouter: Selecting route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE
_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:33.768  2851  2943 V WifiP2pService: Security Exception, cannot access peer list
06-18 11:17:33.768  4103  4103 D P2P     : Connection changed
06-18 11:17:33.771  4103  4103 D P2P     : Request conn info
06-18 11:17:33.772  4103  4103 D P2P     : Received info
06-18 11:17:33.772  4103  4103 D P2P     : New info
06-18 11:17:33.773  4103  4103 D P2P     : I'm master
06-18 11:17:33.773  4103  4103 D P2P     : Server started
06-18 11:17:34.015  7105  7105 I dnsmasq : DHCPDISCOVER(p2p0) c6:9d:ed:f5:9b:d5
06-18 11:17:34.015  7105  7105 I dnsmasq : DHCPOFFER(p2p0) 192.168.49.234 c6:9d:ed:f5:9b:d5
06-18 11:17:34.922  7105  7105 I dnsmasq : DHCPDISCOVER(p2p0) c6:9d:ed:f5:9b:d5
06-18 11:17:34.923  7105  7105 I dnsmasq : DHCPOFFER(p2p0) 192.168.49.234 c6:9d:ed:f5:9b:d5
06-18 11:17:35.920  7105  7105 I dnsmasq : DHCPDISCOVER(p2p0) c6:9d:ed:f5:9b:d5
06-18 11:17:35.920  7105  7105 I dnsmasq : DHCPOFFER(p2p0) 192.168.49.234 c6:9d:ed:f5:9b:d5
06-18 11:17:36.387  2694  3576 W audio_hw_primary: do_out_standby... 0xe78d1000
06-18 11:17:36.924  7105  7105 I dnsmasq : DHCPDISCOVER(p2p0) c6:9d:ed:f5:9b:d5
06-18 11:17:36.924  7105  7105 I dnsmasq : DHCPOFFER(p2p0) 192.168.49.234 c6:9d:ed:f5:9b:d5
06-18 11:17:36.929  7105  7105 I dnsmasq : DHCPREQUEST(p2p0) 192.168.49.234 c6:9d:ed:f5:9b:d5
06-18 11:17:36.929  7105  7105 I dnsmasq : DHCPACK(p2p0) 192.168.49.234 c6:9d:ed:f5:9b:d5
[  385.725026] ADDBA RSP: Failed(c6:XX:XX:XX:9b:d5 tid=6)
06-18 11:17:37.232  2745  7126 I NetworkSession: incoming connection from 192.168.49.234:48530 (socket 10)
06-18 11:17:37.232  2745  7126 I NetworkSession: added clientSession 2
06-18 11:17:37.232  2745  7128 I WifiDisplaySource: We now have a client (2) connected.
06-18 11:17:37.282  2745  7128 I WifiDisplaySource: Picked video resolution 1280 x 720 p30
06-18 11:17:37.282  2745  7128 I WifiDisplaySource: Picked AVC profile 1, level 1
06-18 11:17:37.282  2745  7128 I WifiDisplaySource: Using AAC audio.
06-18 11:17:37.283  2745  7128 E HDCP    : Unable to locate libstagefright_hdcp.so
06-18 11:17:37.283  2745  7128 E WifiDisplaySource: Failed to set HDCP observer.
06-18 11:17:37.283  2745  7128 E WifiDisplaySource: Unable to instantiate HDCP component. Not using HDCP after all.
06-18 11:17:37.313  2745  7136 I OMXClient: IOmx service obtained
06-18 11:17:37.314  2749  2797 I OMXMaster: makeComponentInstance(OMX.google.h264.encoder) in omx@1.0-service process
06-18 11:17:37.315  2745  7128 I Converter: using audio bitrate of 128000 bps, video bitrate of 3000000 bps
06-18 11:17:37.316  2745  7136 E ACodec  : Encoder could not be configured to emit SPS/PPS before IDR frames. (err -1010)
06-18 11:17:37.316  2745  7136 E ACodec  : [OMX.google.h264.encoder] configureCodec returning error -1010
06-18 11:17:37.316  2745  7136 E ACodec  : signalError(omxError 0x80001001, internalError -1010)
06-18 11:17:37.316  2745  7135 E MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 3
06-18 11:17:37.316  2745  7128 E MediaCodec: configure failed with err 0xfffffc0e, resetting...
06-18 11:17:37.318  2745  7136 I OMXClient: IOmx service obtained
06-18 11:17:37.319  2749  2797 I OMXMaster: makeComponentInstance(OMX.google.h264.encoder) in omx@1.0-service process
06-18 11:17:37.320  2745  7128 I Converter: We going to manually prepend SPS and PPS to IDR frames.
06-18 11:17:37.321  2745  7136 W OMXUtils: do not know color format 0x7f000789 = 2130708361
06-18 11:17:37.322  2749  2797 E OMXNodeInstance: setParameter(0xec1a7a80:google.h264.encoder, ParamVideoIntraRefresh(0x6000006)) ERROR: UnsupportedIndex(0x8000101a)
06-18 11:17:37.322  2745  7136 E ACodec  : Setting intra macroblock refresh mode (-1010) failed: 0x0
06-18 11:17:37.322  2745  7136 E ACodec  : [OMX.google.h264.encoder] configureCodec returning error -1010
06-18 11:17:37.322  2745  7136 E ACodec  : signalError(omxError 0x80001001, internalError -1010)
06-18 11:17:37.322  2745  7135 E MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 3
06-18 11:17:37.322  2745  7128 E MediaCodec: configure failed with err 0xfffffc0e, resetting...
06-18 11:17:37.324  2745  7136 I OMXClient: IOmx service obtained
06-18 11:17:37.324  2749  2797 I OMXMaster: makeComponentInstance(OMX.google.h264.encoder) in omx@1.0-service process
06-18 11:17:37.327  2745  7128 E PlaybackSession: video converter returned err -1010
06-18 11:17:37.327  2851  2874 I WifiDisplayController: Lost RTSP connection with Wifi display due to error 1: MSDisplayAdapter_D5
06-18 11:17:37.327  2851  2874 I WifiDisplayController: Wifi display connection failed!
06-18 11:17:37.829  2851  2874 I WifiDisplayController: Retrying [  386.341364] wlan: deauth station ff:XX:XX:XX:ff:ff
Wifi display connection.  Retries[  386.349325] wlan: Stoping AP
 left: 2
06-18 11:17:37.829  285[  386.354719] wlan: EVENT: MICRO_AP_STA_DEAUTH c6:XX:XX:XX:9b:d5
1  2874 I WifiDisplayController: Stopped listening for RTSP connection on 192.168.49.1:7236 from Wifi display: MSDisplayAdapter_D5
06-18 11:17:37.830  2745  712[  386.375982] wlan: AP stopped
8 I WifiDisplaySource: We're stopped.
06-18 11:17:37.831  2851  2874 I WifiDisplayController: Disconnecting from Wifi display: MSDisplayAdapter_D5
06-18 11:17:37.832  2851  2943 D SupplicantP2pIfaceHal: entering setMiracastMode(0)
06-18 11:17:37.833  2851  2851 V MediaRouter: Removing route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_
LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.833  2851  2851 V MediaRouter: Selecting route: RouteInfo{ name=HDMI, description=null, status=n[  386.436902] wlan: p2p0 START SCAN
ull, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
06-18 11:17:37.833  2851  2851 E DEBUg-SECO --> : debug 726
06-18 11:17:37.833  3527  3527 V MediaRouter: Removing route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_
LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.833  3527  3527 V MediaRouter: Selecting route: RouteInfo{ name=HDMI, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  g
roupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
06-18 11:17:37.833  2851  2862 E DEBUg-SECO --> : debug 726
06-18 11:17:37.834  3077  3077 V MediaRouter: Removing route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_
LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.834  3077  3077 V MediaRouter: Selecting route: RouteInfo{ name=HDMI, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  g
roupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
06-18 11:17:37.834  2851  2943 D SupplicantP2pIfaceHal: setMiracastMode(0) completed successfully.
06-18 11:17:37.834  2851  2943 D SupplicantP2pIfaceHal: leaving setMiracastMode(0)
06-18 11:17:37.834  2851  2943 D SupplicantP2pIfaceHal: entering groupRemove(p2p0)
06-18 11:17:37.834  2851  3055 E DEBUg-SECO --> : debug 631
06-18 11:17:37.834  3361  3361 I wpa_supplicant: P2P-GROUP-REMOVED p2p0 GO reason=REQUESTED
06-18 11:17:37.834  2851  3055 E DEBUg-SECO --> : debug 633
06-18 11:17:37.834  2851  3055 E DEBUg-SECO --> : debug 633
06-18 11:17:37.835  2851  3059 D SupplicantP2pIfaceCallback: Group p2p0 removed from p2p0
06-18 11:17:37.835  3361  3361 I wpa_supplicant: p2p0: interface state ENABLED->DISABLED
06-18 11:17:37.835  2851  3055 E DEBUg-SECO --> : debug 726
06-18 11:17:37.835  3361  3361 I wpa_supplicant: p2p0: AP-STA-DISCONNECTED c6:9d:ed:f5:9b:d5 p2p_dev_addr=c6:9d:ed:f5:9b:d5
06-18 11:17:37.835  2851  3059 D SupplicantP2pIfaceCallback: STA deauthorized on p2p0
06-18 11:17:37.836  2851  3338 E DEBUg-SECO --> : debug 726
06-18 11:17:37.836  2851  2872 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: true
06-18 11:17:37.843  3361  3361 I wpa_supplicant: p2p0: AP-DISABLED
06-18 11:17:37.875  2851  2872 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: false
06-18 11:17:37.893  3361  3361 I wpa_supplicant: p2p0: CTRL-EVENT-DISCONNECTED bssid=c2:e4:34:fc:f4:e5 reason=3 locally_generated=1
06-18 11:17:37.893  2851  2943 D SupplicantP2pIfaceHal: groupRemove(p2p0) completed successfully.
06-18 11:17:37.893  2851  2943 D SupplicantP2pIfaceHal: leaving groupRemove(p2p0)
06-18 11:17:37.894  2851  2874 I WifiDisplayController: Disconnected from Wifi display: MSDisplayAdapter_D5
06-18 11:17:37.894  2851  2874 I WifiDisplayController: Connecting to Wifi display: MSDisplayAdapter_D5
06-18 11:17:37.894  2681  2726 D TetherController: untetherInterface(p2p0)
06-18 11:17:37.897  2851  2851 V MediaRouter: Adding route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_LI
VE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.897  2851  2851 V MediaRouter: Selecting route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE
_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.897  2851  2851 E DEBUg-SECO --> : debug 726
06-18 11:17:37.898  3077  3077 V MediaRouter: Adding route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_LI
VE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.898  3527  3527 V MediaRouter: Adding route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_LI
VE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.898  3527  3527 V MediaRouter: Selecting route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE
_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.900  2851  3055 E DEBUg-SECO --> : debug 726
06-18 11:17:37.900  3077  3077 V MediaRouter: Selecting route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE
_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.901  2851  3338 E DEBUg-SECO --> : debug 657
06-18 11:17:37.901  2851  3338 E DEBUg-SECO --> : debug 662
06-18 11:17:37.901  2851  2862 E DEBUg-SECO --> : debug 726
06-18 11:17:37.901  2851  3558 E DEBUg-SECO --> : debug 726
06-18 11:17:37.905  2681  2717 E Netd    : Interface index 6 was never in a currently-connected netId
06-18 11:17:37.905  2681  2717 I Netd    : Destroyed 1 sockets on fe80::c0e4:34ff:fefc:f4e5 in 0.3 ms
06-18 11:17:37.906  2681  2726 D TetherController: Stopping tethering services
06-18 11:17:37.906  7105  7105 I dnsmasq : exiting on receipt of SIGTERM
06-18 11:17:37.907  2681  2726 D TetherController: Tethering services stopped
06-18 11:17:37.907  2851  2943 D WifiP2pService: Stopped Dhcp server
06-18 11:17:37.908  2681  2726 D CommandListener: Clearing all IP addresses on p2p0
06-18 11:17:37.908  2681  2717 E Netd    : Interface index 6 was never in a currently-connected netId
06-18 11:17:37.919  2851  2943 D SupplicantP2pIfaceHal: entering setGroupIdle(p2p0, 0)
06-18 11:17:37.919  2851  2943 D SupplicantP2pIfaceHal: setGroupIdle(p2p0, 0) completed successfully.
06-18 11:17:37.920  2851  2943 D SupplicantP2pIfaceHal: leaving setGroupIdle(p2p0, 0)
06-18 11:17:37.922  4103  4103 D P2P     : Peers changed
06-18 11:17:37.922  2851  2874 I WifiDisplayController: Canceling connection to Wifi display: MSDisplayAdapter_D5
06-18 11:17:37.923  2851  2851 V MediaRouter: Removing route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_
LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.923  2851  2851 V MediaRouter: Selecting route: RouteInfo{ name=HDMI, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  g
roupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
06-18 11:17:37.924  2851  2851 E DEBUg-SECO --> : debug 726
06-18 11:17:37.924  3527  3527 V MediaRouter: Removing route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_
LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.924  3527  3527 V MediaRouter: Selecting route: RouteInfo{ name=HDMI, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  g
roupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
06-18 11:17:37.925  3077  3077 V MediaRouter: Removing route: RouteInfo{ name=MSDisplayAdapter_D5, description=Wireless display, status=Connecting..., category=RouteCategory{ name=System types=ROUTE_TYPE_
LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
06-18 11:17:37.925  3077  3077 V MediaRouter: Selecting route: RouteInfo{ name=HDMI, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  g
roupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
06-18 11:17:37.925  2851  3338 E DEBUg-SECO --> : debug 726
06-18 11:17:37.925  2851  2943 E WifiP2pService: Unhandled message { when=-90ms what=147497 obj=Device:
06-18 11:17:37.925  2851  2943 E WifiP2pService:  deviceAddress: c6:9d:ed:f5:9b:d5
06-18 11:17:37.925  2851  2943 E WifiP2pService:  primary type: null
06-18 11:17:37.925  2851  2943 E WifiP2pService:  secondary type: null
06-18 11:17:37.925  2851  2943 E WifiP2pService:  wps: 0
06-18 11:17:37.925  2851  2943 E WifiP2pService:  grpcapab: 0
06-18 11:17:37.925  2851  2943 E WifiP2pService:  devcapab: 0
06-18 11:17:37.925  2851  2943 E WifiP2pService:  status: 4
06-18 11:17:37.925  2851  2943 E WifiP2pService:  wfdInfo: null target=com.android.internal.util.StateMachine$SmHandler }
06-18 11:17:37.926  2851  2943 E WifiP2pService: Dropping connect requeset
06-18 11:17:37.926  2851  2943 E WifiP2pService:  address: c6:9d:ed:f5:9b:d5
06-18 11:17:37.926  2851  2943 E WifiP2pService:  wps:  setup: 0
06-18 11:17:37.926  2851  2943 E WifiP2pService:  BSSID: null
06-18 11:17:37.926  2851  2943 E WifiP2pService:  pin: null
06-18 11:17:37.926  2851  2943 E WifiP2pService:
06-18 11:17:37.926  2851  2943 E WifiP2pService:  groupOwnerIntent: 0
06-18 11:17:37.926  2851  2943 E WifiP2pService:  persist: -2
06-18 11:17:37.926  2851  3558 E DEBUg-SECO --> : debug 631
06-18 11:17:37.926  2851  3558 E DEBUg-SECO --> : debug 633
06-18 11:17:37.926  2851  3558 E DEBUg-SECO --> : debug 633
06-18 11:17:37.926  2851  3055 E DEBUg-SECO --> : debug 726
06-18 11:17:37.926  2851  2874 I WifiDisplayController: Starting Wifi display scan.
06-18 11:17:37.926  2851  2874 I WifiDisplayController: Failed to cancel connection to Wifi display: MSDisplayAdapter_D5, reason=2
06-18 11:17:37.926  2851  3055 E DEBUg-SECO --> : debug 726
06-18 11:17:37.926  2851  2874 E DEBUg-SECO --> : debug 459
06-18 11:17:37.926  2851  2874 E DEBUg-SECO --> : debug 468
06-18 11:17:37.926  2851  2874 E DEBUg-SECO --> : debug 468
06-18 11:17:37.927  2851  2943 D SupplicantP2pIfaceHal: entering find(120)
06-18 11:17:37.927  4103  4103 D P2P     : Request peers info
06-18 11:17:37.927  2851  2943 D SupplicantP2pIfaceHal: find(120) completed successfully.
06-18 11:17:37.927  2851  2943 D SupplicantP2pIfaceHal: leaving find(120)
06-18 11:17:37.929  2851  2874 E DEBUg-SECO --> : debug 468
06-18 11:17:37.936  2851  2943 V WifiP2pService: Security Exception, cannot access peer list
06-18 11:17:37.937  4103  4103 D P2P     : Connection changed
06-18 11:17:37.941  4103  4103 D P2P     : Request conn info
06-18 11:17:37.942  4103  4103 D P2P     : Received info
06-18 11:17:37.942  4103  4103 D P2P     : New info
06-18 11:17:37.952  2851  3338 E DEBUg-SECO --> : debug 726
[  389.698660] wlan: SCAN COMPLETED: scanned AP count=1
06-18 11:17:41.198  2748  2748 W wificond: No handler for scan result notification from interface with index: 6
06-18 11:17:41.199  3361  3361 I wpa_supplicant: P2P-DEVICE-FOUND ce:d4:2e:0d:7e:a0 p2p_dev_addr=ce:d4:2e:0d:7e:a0 pri_dev_type=7-0050F204-1 name='[LG] webOS TV SM8200PLA' config_methods=0x1188 dev_capab=
0x25 group_capab=0x0 wfd_dev_info=0x01111c440032 vendor_elems=1 new=0
06-18 11:17:41.200  2851  2872 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: false
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback: Device discovered on p2p0: Device: [LG] webOS TV SM8200PLA
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  deviceAddress: ce:d4:2e:0d:7e:a0
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  primary type: 7-0050F204-1
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  secondary type: null
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  wps: 4488
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  grpcapab: 0
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  devcapab: 37
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  status: 3
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  wfdInfo: WFD enabled: trueWFD DeviceInfo: 273
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  WFD CtrlPort: 7236
06-18 11:17:41.200  2851  3059 D SupplicantP2pIfaceCallback:  WFD MaxThroughput: 50
06-18 11:17:41.204  4103  4103 D P2P     : Peers changed
06-18 11:17:41.204  2851  2874 E DEBUg-SECO --> : debug 468
06-18 11:17:41.207  4103  4103 D P2P     : Request peers info
06-18 11:17:41.208  2851  2943 V WifiP2pService: Security Exception, cannot access peer list
[  390.038581] wlan: p2p0 START SCAN
[  390.171519] wlan: SCAN COMPLETED: scanned AP count=1
06-18 11:17:41.671  3361  3361 I wpa_supplicant: P2P-DEVICE-FOUND c6:9d:ed:f5:9b:d5 p2p_dev_addr=c6:9d:ed:f5:9b:d5 pri_dev_type=7-0050F204-1 name='MSDisplayAdapter_D5' config_methods=0x88 dev_capab=0x25 g
roup_capab=0x2a wfd_dev_info=0x015d022a0032 new=0
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback: Device discovered on p2p0: Device: MSDisplayAdapter_D5
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  deviceAddress: c6:9d:ed:f5:9b:d5
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  primary type: 7-0050F204-1
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  secondary type: null
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  wps: 136
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  grpcapab: 42
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  devcapab: 37
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  status: 3
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  wfdInfo: WFD enabled: trueWFD DeviceInfo: 349
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  WFD CtrlPort: 554
06-18 11:17:41.673  2851  3059 D SupplicantP2pIfaceCallback:  WFD MaxThroughput: 50
06-18 11:17:41.673  2851  2872 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: false
06-18 11:17:41.675  2851  2874 E DEBUg-SECO --> : debug 468
06-18 11:17:41.677  2851  3055 E DEBUg-SECO --> : debug 726
06-18 11:17:41.677  4103  4103 D P2P     : Peers changed
06-18 11:17:41.680  4103  4103 D P2P     : Request peers info
06-18 11:17:41.681  2851  2943 V WifiP2pService: Security Exception, cannot access peer list
[  390.408020] wlan: p2p0 START SCAN
[  390.542274] wlan: SCAN COMPLETED: scanned AP count=1
06-18 11:17:42.043  2851  2872 I EthernetTracker: interfaceLinkStateChanged, iface: p2p0, up: false
[  390.777801] wlan: p2p0 START SCAN
[  390.911981] wlan: SCAN COMPLETED: scanned AP count=1
[  391.250128] wlan: p2p0 START SCAN
[  391.388113] wlan: SCAN COMPLETED: scanned AP count=1
[  391.520208] wlan: p2p0 START SCAN
[  391.654845] wlan: SCAN COMPLETED: scanned AP count=1
[  391.787693] wlan: p2p0 START SCAN
[  391.917136] wlan: SCAN COMPLETED: scanned AP count=1
[  392.050930] wlan: p2p0 START SCAN
[  392.180461] wlan: SCAN COMPLETED: scanned AP count=1
06-18 11:17:43.419  2851  2872 I chatty  : uid=1000(syst
-----------------------------------------------------------------------------------------------------------------------------------------------------
We need also a guide to completely support sd8997 Marvell wifi driver and Android HAL library to bring up WIFI-DISPLAY support. We need something like that to completely support W8997-M1216 (sd8997) and related sources HAL libraries and drivers. 
The guide:
means the presence of the files listed below:
pastedImage_5.png
 
Can you give us some tips to support Miracast source and sync from our imx8 board? I have attached to this link some screen of our test during the p2p pair phase.
The test is done trying to pair:
1) MSDisplayAdapter_D5 (dongle Miracast)
2) [LG] webOS TV SM8200PLA (TV)
3) Xiaomi Mi A1 (Android Phone)
Using imx8qxp Android 10-1.0.0, imx8mq Android 9-1.0.0 (As Miracast Source)
Let me know if you need more information about that.
Thanks in advance.
Tommaso
4 返答(返信)

5,018件の閲覧回数
Mingsheng-KMX
Contributor I

Would you tell me how to get the linux driver for the ublox w2 wifi device. 

0 件の賞賛
返信

5,800件の閲覧回数
achyut_hegde
Contributor III

Hello Tommaso,

Are you fixed to use 8997 or the imx8mq board or Android P for your development?

If you check the latest android 10 AOSP package from NXP, it has the driver for 8997 and Wi-Fi/BT HAL integrated into it.

It would be a good data point to check it out.

Next step would be get the P2P working first. Last time when I checked, Wi-Fi display was not working. But P2P connections would always go through with 8887, 8801 and 8987 modules that u-blox offers.

Thanks

Achyut

0 件の賞賛
返信

5,800件の閲覧回数
tommaso_merciai
Contributor II

Hi Gusarambula,

At the moment we are able to enstablish connection with LG smart TV patching AOSP wpa_supplicant. We are stuck on encoder issue.

 

Let me explain:

First we try to bring-up Miracast support on imx8mq, only for test. Imx8mq is not the final solution but at the moment is the only board that have sd8997 wifi chip. Using this setup and patching NXP AOSP wpa_supplicant we establish p2p connection with LG Smartv.

After that we stop the test, because we read on NXP documentation about imx8mq vpu don't support encoding.

 

We start then to test imx8qm. First of all we test imx8qm vpu encoding using "screenrecord" command line tool. It seems does not work. Before continuing we have to solve encoding. Below you can find our log.

 

218|imx8qm:/data/misc/ # screenrecord test                                
07-06 09:13:16.596 31102 31202 I chatty  : uid=1000(system) WifiStateMachin identical 13 lines
07-06 09:13:19.611 31102 31202 E WifiVendorHal: getWifiLinkLayerStats(l.937) failed {.code = ERROR_NOT_AVAILABLE, .description = }
07-06 09:13:20.289 32343 32347 I OMXClient: IOmx service obtained
07-06 09:13:20.290 32330 32330 I OMXMaster: makeComponentInstance(OMX.Freescale.std.video_encoder.avc.hw-based) in omx@1.0-service process
07-06 09:13:20.305 32330 32334 W OMXNodeInstance: [0xed6b2004:Freescale.std._encoder.avc.hw-based] component does not support metadata mode; using fallback
07-06 09:13:20.306 32343 32347 W OMXUtils: do not know color format 0x6 = 6
07-06 09:13:20.306 32343 32347 W OMXUtils: do not know color format 0x7f000789 = 2130708361
07-06 09:13:20.307 32343 32347 I ACodec  : setupAVCEncoderParameters with [profile: Baseline] [level: Level1]
07-06 09:13:20.307 32343 32347 I ACodec  : [OMX.Freescale.std.video_encoder.avc.hw-based] cannot encode color aspects. Ignoring.
07-06 09:13:20.307 32343 32347 I ACodec  : [OMX.Freescale.std.video_encoder.avc.hw-based] cannot encode HDR static metadata. Ignoring.
07-06 09:13:20[121200.379676] type=1400 audit(1594026660.186:794): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=1
.307 32343 32347 I ACodec  : setupVideoEncoder succeeded
07-06 0[121200.397678] type=1400 audit(1594026800.386:795): avc: denied { dac_read_search } for pid=32343 comm="screenrecord" capability=2 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=1
9:13:20.308 32343 32347 W OMXUtils: do not know color format 0x7f[121200.421995] type=1400 audit(1594026800.386:795): avc: denied { dac_read_search } for pid=32343 comm="screenrecord" capability=2 scontext=u:r:she
ll:s0 tcontext=u:r:shell:s0 tclass=capability permissive=1
000789 = 2130708361
07-06 09:13:20.308 32330 32334 E OMXNodeInst[121200.445144] type=1400 audit(1594026800.386:796): avc: denied { unlink } for pid=32343 comm="screenrecord" name="test" dev="mmcblk0p12" ino=389769 scontext=u:r:shell
:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
ance: getConfig(0xed6b2004:Freescale.std._encoder.avc.hw-based, C[121200.472066] type=1400 audit(1594026800.386:796): avc: denied { unlink } for pid=32343 comm="screenrecord" name="test" dev="mmcblk0p12" ino=3897
69 scontext=u:r:shell:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
onfigLatency(0x6f800005)) ERROR: NotImplemented(0x80001006)
07-0[121200.477446] tw9992_set_power(512)
6 09:13:20.308 32330 32334 E OMXNodeInstance: getConfig(0xed6b200[121200.497894] type=1400 audit(1594026800.386:797): avc: denied { create } for pid=32343 comm="screenrecord" name="test" scontext=u:r:shell:s0 tco
ntext=u:object_r:system_data_file:s0 tclass=file permissive=1
4:Freescale.std._encoder.avc.hw-based, ConfigAndroidVendorExtensi[121200.515469] tw9992_set_power(512)
on(0x6f100004)) ERROR: NotImplemented(0x80001006)
07-06 09:13:20[121200.531102] type=1400 audit(1594026800.386:797): avc: denied { create } for pid=32343 comm="screenrecord" name="test" scontext=u:r:shell:s0 tcontext=u:object_r:system_data_file:s0 tclass=file pe
rmissive=1
.309 32330 32334 D GraphicBufferSource: setting dataspace: 0x104,[121200.563915] type=1400 audit(1594026800.386:798): avc: denied { write open } for pid=32343 comm="screenrecord" path="/data/misc/test" dev="
mmcblk0p12" ino=389769 scontext=u:r:shell:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
 acquired=0
07-06 09:13:20.310 32330 32334 D GraphicBufferSource: requesting color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M))
07-06 09:13:20.311  3330  3330 W AshmemAllocator: ashmem_create_region(12) returning hidl_memory(0xeed80082c100, 12)
07-06 09:13:20.327  3330  3330 I chatty  : uid=1000(system) allocator@1.0-s identical 4 lines
07-06 09:13:20.327  3330  3330 W AshmemAllocator: ashmem_create_region(12) returning hidl_memory(0xeed80082c100, 12)
07-06 09:13:20.328  3330  3330 W AshmemAllocator: ashmem_create_region(1572864) returning hidl_memory(0xeed80082c100, 1572864)
07-06 09:13:20.333  3330  3330 I chatty  : uid=1000(system) allocator@1.0-s identical 2 lines
07-06 09:13:20.333  3330  3330 W AshmemAllocator: ashmem_create_region(1572864) returning hidl_memory(0xeed80082c100, 1572864)
07-06 09:13:20.368 32330 32330 I display : open gpu gralloc module!
07-06 09:13:20.386 32343 32343 I screenrecord: type=1400 audit(0.0:795): avc: denied { dac_read_search } for capability=2 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=1
07-06 09:13:20.472 32330 32353 D GraphicBufferSource: got buffer with new dataSpace #104
07-06 09:13:20.474 32343 32347 D ACodec  : dataspace changed to 0x10c10000 (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) (R:2(Limited), S:1(BT709), T:3(SMPTE_170M))
07-06 09:13:20.386 32343 32343 I screenrecord: type=1400 audit(0.0:796): avc: denied { unlink } for name="test" dev="mmcblk0p12" ino=389769 scontext=u:r:shell:s0 tcontext=u:object_r:system_data_file:s0 tclass=fil
e permissive=1
07-06 09:13:20.577 32330 32349 I OMXPlayer: LEVEL: 1 FUNCTION: ProcessDataBuffer LINE: 1324
07-06 09:13:20.577 32330 32349 I OMXPlayer: PrepareForPreprocess failed
07-06 09:13:20.386 32343 32343 I screenrecord: type=1400 audit(0.0:798): avc: denied { write open } for path="/data/misc/test" dev="mmcblk0p12" ino=389769 scontext=u:r:shell:s0 tcontext=u:object_r:system_dat
a_file:s0 tclass=file permissive=1
07-06 09:13:22.626 31102 31202 E WifiVendorHal: getWifiLinkLayerStats(l.937) failed {.code = ERROR_NOT_AVAILABLE, .description = }

 

Can you help us on this point? Thanks in advance.

 

Regards.

Tommaso Merciai

0 件の賞賛
返信

5,800件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Tommaso, 

I was asking internally and wireless chipsets usually provide L2 level Wi-Fi Direct connection over p2p0 interface and each customer manages the upper level Miracast stack.

For P2P operation (and considering this is Android), uBlox has a 8997 driver/firmware release and the Vendor HAL code needed to bring up wireless chipset on Android.

Are you able to successfully enable Wi-Fi Direct connection using p2p0 interface?

Regards,

0 件の賞賛
返信