WiFi 学习资料整理-> Android WiFi
Android 12 WiFi Connect 流程[1] 章节讲到 mWifiNative.connectToNetwork
WifiNative
android-12.0.0_r2/packages/modules/Wifi/service/java/com/android/server/wifi/WifiNative.java
2577 /**
2578 * Enable/Disable auto reconnect functionality in wpa_supplicant.
2579 *
2580 * @param ifaceName Name of the interface.
2581 * @param enable true to enable auto reconnecting, false to disable.
2582 * @return true if request is sent successfully, false otherwise.
2583 */
2584 public boolean enableStaAutoReconnect(@NonNull String ifaceName, b