ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
#### 本章主要内容: * 介绍Wi-Fi P2P相关知识; * 介绍Android中WifiP2pService、wpa_supplicant的相关代码。 #### 本章所涉及的源代码文件名及位置 * WifiP2pSettings.java  ~~~ packages/apps/Settings/src/com/android/settings/wifi/p2p/WifiP2pSettings.java ~~~ * WifiP2pService.java   ~~~ frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java ~~~ * p2p_supplicant.c  ~~~ external/wpa_supplicant_8/wpa_supplicant/p2p_supplicant.c ~~~ * driver.h  ~~~ external/wpa_supplicant_8/src/drivers/driver.h ~~~ * p2p.c  ~~~ external/wpa_supplicant_8/src/p2p/p2p.c ~~~ * driver_nl80211.c  ~~~ external/wpa_supplicant_8/src/drivers/driver_nl80211.c ~~~ * ctrl_iface.c  ~~~ external/wpa_supplicant_8/wpa_supplicant/ctrl_iface.c ~~~ * p2p_pd.c  ~~~ external/wpa_supplicant_8/src/p2p/p2p_pd.c ~~~ * p2p_go_neg.c  ~~~ external/wpa_supplicant_8/src/p2p/p2p_go_neg.c ~~~