Android 12에서는 기기가 두 개의 액세스 포인트(AP) 인터페이스를 생성할 수 있는 Wi-Fi AP/AP 동시 실행 기능이 도입되었습니다. 이 기능을 사용하면 기기에서 듀얼 밴드 동시(DBS) Wi-Fi 핫스팟(소프트 AP)을 통해 테더링을 지원할 수 있습니다. 단일 Wi-Fi 핫스팟을 통한 테더링 지원에 관해 자세히 알아보려면 Wi-Fi 핫스팟(소프트 AP) 지원을 참고하세요.
이 페이지에서는 이 기능이 사용 설정된 경우의 기기 동작과 기기 제조업체 및 공급업체를 위한 구현 세부정보를 설명합니다.
작동 방식
Wi-Fi AP/AP 동시 실행이 지원되는 경우 기기는 2.4GHz 대역에서 작동하는 인터페이스 하나와 5GHz 대역에서 작동하는 인터페이스 하나 등 AP 인터페이스 두 개를 만들 수 있습니다. 그런 다음 각 AP 인터페이스에 클라이언트를 연결할 수 있습니다.
Wi-Fi HAL은 두 AP 인터페이스와 브리지로 연결된 단일 인터페이스를 생성하고 스택이 소프트 AP를 사용 설정할 때 이 인터페이스를 Wi-Fi 및 연결 스택에 노출합니다. 소프트 AP가 사용 설정된 후 Wi-Fi HAL은 두 인터페이스를 사용할 수 있음을 표시하고 각 AP의 정보(예: 작업 채널, 대역폭, BSSID)를 업데이트합니다.
전력을 절약하기 위해 프레임워크는 일정 시간 동안 사용되지 않는 미사용 AP(2.4GHz, 5GHz 또는 6GHz)를 사용 중지합니다. 프레임워크는 연결된 클라이언트가 없을 때 AP를 비활성 상태로 간주합니다. 기기 제조업체는 이 비활성 기간을 맞춤설정할 수 있습니다. 자세한 내용은 비활성 기간 맞춤설정을 참고하세요.
기기는 다음과 같이 브리지로 연결된 소프트 AP 구성 중 하나를 사용하여 Wi-Fi AP/AP 동시 실행을 지원합니다.
대역 두 개 구성(채널은 프레임워크 또는 드라이버에 의해 자동으로 선택됨)
듀얼 밴드 AP에서 채널 두 개 구성
요구사항
Wi-Fi AP/AP 동시 실행을 구현하려면 기기가 다음 요구사항을 충족해야 합니다.
Wi-Fi 칩이나 펌웨어는 동시 AP 연결 두 개를 지원해야 합니다. 펌웨어는 두 연결 모두에 대해 채널과 대역의 모든 조합을 지원해야 합니다. 성능 문제를 피하려면 2x2+2x2 DBS 지원 Wi-Fi 칩을 사용하는 것이 좋습니다.
기기가 Wi-Fi 공급업체 HAL의 다음 메서드를 지원해야 합니다.
IWifiChip.createBridgedApIface()
IWifiChip.removeIfaceInstanceFromBridgedApIface()
IWifiApIface.resetToFactoryMacAddress()
IWifiApIface.getBridgedInstances()
구현
Wi-Fi AP/AP 동시 실행을 구현하려면 다음을 따르세요.
런타임 리소스 오버레이를 사용하여 다음 함수 중 하나 이상을 사용 설정합니다(기본적으로 사용 중지됨).
config_wifiBridgedSoftApSupported: 브리지로 연결된 여러 AP를 지원합니다.
config_wifiStaWithBridgedSoftApConcurrencySupported: 스테이션(STA) 및 브리지로 연결된 여러 AP의 동시 실행을 지원합니다.
AIDL Wi-Fi HAL 또는 HIDL Wi-Fi HAL 1.6을 사용하는 기기의 경우
Wi-Fi HAL 인터페이스 조합에서 AP_BRIDGED를 정의합니다. 자세한 내용은 Wi-Fi 다중 인터페이스 동시 실행을 참고하세요.
config_wifiFrameworkSoftApShutDownIdleInstanceInBridgedModeTimeoutMillisecond: 기본 종료 시간 제한 간격. SoftApConfiguration#setBridgedModeOpportunisticShutdownEnabled가 사용 설정된 경우에만 유효합니다.
(13부터 사용 가능)
config_wifiFrameworkSoftApDisableBridgedModeShutdownIdleInstanceWhenCharging:
충전 시 비활성 종료 타이머를 사용 중지할지 여부를 나타냅니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Wi-Fi AP/AP concurrency\n\nAndroid 12 introduces Wi-Fi AP/AP concurrency, which\nlets devices create two access point (AP) interfaces. This feature lets\ndevices support tethering through a dual band simultaneous (DBS) Wi-Fi\nhotspot (soft AP). For details on supporting tethering through a single Wi-Fi\nhotspot, see\n[Wi-Fi Hotspot (Soft AP) Support](/docs/core/connect/wifi-softap).\n\nThis page describes the device behavior when this feature is enabled and\nimplementation details for device manufacturers and vendors.\n\nHow it works\n------------\n\n| **Note:** Android 12 supports the 2.4 GHz and 5 GHz bands for Wi-Fi AP/AP concurrency. Android 13 adds support for the 6 GHz band.\n\nWhen Wi-Fi AP/AP concurrency is supported, the device can create two AP\ninterfaces, for example, one interface working on the 2.4 GHz band and one\non the 5 GHz band. Clients can then connect to each of the AP interfaces.\n\nThe Wi-Fi HAL generates a single bridged interface with the two AP\ninterfaces and exposes it to the Wi-Fi and connectivity stack when the stack\nenables a soft AP. After the soft AP is enabled, the Wi-Fi HAL indicates that\ntwo interfaces are available and updates the information\n(such as operation channel, bandwidth, and BSSID) for each AP.\n\nTo save power, the framework disables an unused AP (2.4 GHz, 5 GHz, or\n6 GHz) after a period of inactivity. The framework considers an AP to be\ninactive when no client is connected. Device manufacturers can customize the\nlength of this inactive period. For more information, see\n[Customize the inactivity period](#customize).\n\nDevices support Wi-Fi AP/AP concurrency by using one of the following\nbridged soft AP configurations:\n\n- Configuring two bands (the channel is automatically selected by the framework or the driver)\n- Configuring two channels on a dual-band AP\n\nRequirements\n------------\n\nTo implement Wi-Fi AP/AP concurrency, devices must meet the following\nrequirements:\n\n- The Wi-Fi chip or firmware must support two concurrent AP\n connections. The firmware must support all channel and band combinations\n for both connections. To avoid performance issues, we recommend using\n a 2x2+2x2 DBS capable Wi-Fi chip.\n\n- The device must support the following methods in the Wi-Fi Vendor HAL:\n\n - `IWifiChip.createBridgedApIface()`\n - `IWifiChip.removeIfaceInstanceFromBridgedApIface()`\n - `IWifiApIface.resetToFactoryMacAddress()`\n - `IWifiApIface.getBridgedInstances()`\n\nImplementation\n--------------\n\nTo implement Wi-Fi AP/AP concurrency, do the following:\n\n1. Enable at least one of the following functions (disabled by default) using\n [runtime resource overlays](/docs/core/architecture/rros):\n\n - `config_wifiBridgedSoftApSupported`: Supports multiple APs that are bridged together.\n - `config_wifiStaWithBridgedSoftApConcurrencySupported`: Supports concurrency of a station (STA) and multiple bridged APs.\n2. For devices using the AIDL Wi-Fi HAL or HIDL Wi-Fi HAL 1.6,\n define `AP_BRIDGED` in the Wi-Fi HAL interface combination. For more\n details, see\n [Wi-Fi multi-interface concurrency](/docs/core/connect/wifi-hal#wi-fi_multi-interface_concurrency).\n\n3. Configure the bridged soft AP configuration by calling one of the following\n methods:\n\n - [`SoftApConfiguration.Builder#setBands`](https://cs.android.com/android/platform/superproject/+/android-latest-release:packages/modules/Wifi/framework/java/android/net/wifi/SoftApConfiguration.java?q=%22Builder%20setBands%22)\n - [`SoftApConfiguration.Builder#setChannels`](https://cs.android.com/android/platform/superproject/+/android-latest-release:packages/modules/Wifi/framework/java/android/net/wifi/SoftApConfiguration.java?q=%22Builder%20setChannels%22)\n4. Register a callback to obtain the device capabilities using\n `WifiManager#registerSoftApCallback`. The `SoftApCallback` callback\n provides the following methods for a bridged soft AP configuration:\n\n - [`SoftApCallback#onInfoChanged`](https://cs.android.com/android/platform/superproject/+/android-latest-release:packages/modules/Wifi/framework/java/android/net/wifi/WifiManager.java?q=%22void%20onInfoChanged%28@NonNull%20List%22): Provides information about the running soft AP instances.\n - [`SoftApCallback#onConnectedClientsChanged`](https://cs.android.com/android/platform/superproject/+/android-latest-release:packages/modules/Wifi/framework/java/android/net/wifi/WifiManager.java?q=%22onConnectedClientsChanged%28@NonNull%20SoftApInfo%22): Provides a list of connected clients for a soft AP instance.\n\nCustomize the inactivity period\n-------------------------------\n\nTo customize the length of the inactivity period, configure the following\noverlay, which is found\nin [`packages/modules/Wifi/service/ServiceWifiResources/res/values/config.xml`](https://cs.android.com/android/platform/superproject/+/android-latest-release:packages/modules/Wifi/service/ServiceWifiResources/res/values/config.xml):\n\n- `config_wifiFrameworkSoftApShutDownIdleInstanceInBridgedModeTimeoutMillisecond`:\n The default shutdown timeout interval. Only valid if\n `SoftApConfiguration#setBridgedModeOpportunisticShutdownEnabled` is enabled.\n\n- (Available from 13)\n `config_wifiFrameworkSoftApDisableBridgedModeShutdownIdleInstanceWhenCharging`:\n Indicates whether to disable the inactivity shutdown timer when charging."]]