diff options
author | 2024-01-20 14:58:25 +0000 | |
---|---|---|
committer | 2024-02-06 17:32:45 +0000 | |
commit | ae80067ee2b8e2c407fd51172be191b99d68499c (patch) | |
tree | f8b7fa3ddd44727a6632d34c81f0614eb14657a5 /wifi_upload_hook.py | |
parent | 25086e44df23f4a20fd5e7502d9672881cd74904 (diff) |
wifi: Moves p2p creation to WifiNative
The P2P may be establish alone without STA interface, it means that
the P2P may require to enable vendor hal by itself. Considering the vendor HAL
start/stop is being controlled in WifiNative. Moves p2p creation to WifiNative
to allow WifiNative to maintain every iface status and decides whether or not
vendor hal should start or not.
Also add synchronized to protect mP2pIface since it may be updated by
API call (teardownInterface) and destory callback.
Bug: 295792510
Test: atest -c FrameworksWifiTests
Change-Id: I59d1b7a0d27e361526d0a3a7b7c6d9ff56ac37a2
Diffstat (limited to 'wifi_upload_hook.py')
0 files changed, 0 insertions, 0 deletions