docs: update wifi country code docs.

This commit is contained in:
muhaidong
2022-09-03 16:45:27 +08:00
parent 3056fe4964
commit 2dc3784f49
2 changed files with 20 additions and 31 deletions

View File

@ -1365,13 +1365,7 @@ The following table depicts which country info is used in different Wi-Fi modes
For scan:
- If schan+nchan-1 >11 :
Use active scan from schan to 11 and use passive scan from 12 to 14.
- If schan+nchan-1 <= 11 :
Use active scan from schan to schan+nchan-1 and use passive scan from schan+nchan to 14.
Use active scan from 1 to 11 and use passive scan from 12 to 14.
Always keep in mind that if an AP with hidden SSID and station is set to a passive scan channel, the passive scan will not find it. In other words, if the application hopes to find the AP with hidden SSID in every channel, the policy of country info should be configured to WIFI_COUNTRY_POLICY_MANUAL.
@ -1381,24 +1375,25 @@ The following table depicts which country info is used in different Wi-Fi modes
For scan:
- If schan+nchan-1 >11 :
Use active scan from schan to 11 and use passive scan from 12 to schan+nchan-1.
- If schan+nchan-1 <= 11 :
Use active scan from schan to schan+nchan-1.
* - AP
- WIFI_COUNTRY_POLICY_AUTO
- Always use the configured country info.
* - AP
- WIFI_COUNTRY_POLICY_MANUAL
- Always use the configured country info.
* - Station/AP-coexistence
- WIFI_COUNTRY_POLICY_AUTO
- If the station does not connect to any external AP, the AP uses the configured country info. If the station connects to an external AP, the AP has the same country info as the station.
- Station: Same as station mode with policy WIFI_COUNTRY_POLICY_AUTO.
AP: If the station does not connect to any external AP, the AP uses the configured country info. If the station connects to an external AP, the AP has the same country info as the station.
Same as station mode with policy WIFI_COUNTRY_POLICY_AUTO.
* - Station/AP-coexistence
- WIFI_COUNTRY_POLICY_MANUAL
- Station: Same as station mode with policy WIFI_COUNTRY_POLICY_MANUAL.
AP: Same as AP mode with policy WIFI_COUNTRY_POLICY_MANUAL.
Home Channel

View File

@ -1365,13 +1365,7 @@ Wi-Fi 国家/地区代码
扫描时:
- 如果 schan+nchan-1>11
主动扫描起始信道至信道 11被动扫描信道 12 至 信道 14。
- 如果 schan+nchan-1<=11
主动扫描起始信道至信道 schan+nchan-1被动扫描信道 schan+nchan 至 信道 14。
主动扫描信道 1 至信道 11被动扫描信道 12 至 信道 14。
请记住,如果带有隐藏 SSID 的 AP 和 station 被设置在被动扫描信道上,被动扫描将无法找到该 AP。也就是说如果应用程序希望在每个信道中找到带有隐藏 SSID 的 AP国家/地区信息应该配置为 WIFI_COUNTRY_POLICY_MANUAL。
@ -1381,25 +1375,25 @@ Wi-Fi 国家/地区代码
扫描时:
- 如果 schan+nchan-1>11
主动扫描信道 schan 至信道 schan+nchan-1
主动扫描起始信道至信道 11被动扫描信道 12 至 信道 schan+nchan-1。
- 如果 schan+nchan-1<=11
主动扫描起始信道至信道 schan+nchan-1。
* - AP 模式
- WIFI_COUNTRY_POLICY_AUTO
- 总是使用配置的国家/地区信息。
* - AP 模式
- WIFI_COUNTRY_POLICY_MANUAL
- 总是使用配置的国家/地区信息。
* - station/AP 共存模式
- WIFI_COUNTRY_POLICY_AUTO
- 如果 station 不连接任何外部 APAP 使用配置的国家/地区信息。如果 station 连接一个外部 AP该 AP 的国家/地区信息与该 station 相同。
与 station 模式、WIFI_COUNTRY_POLICY_AUTO 策略下使用的国家/地区信息相同。
- station 与 station 模式、WIFI_COUNTRY_POLICY_AUTO 策略下使用的国家/地区信息相同。
如果 station 不连接任何外部 APAP 使用配置的国家/地区信息。如果 station 连接一个外部 AP该 AP 的国家/地区信息与该 station 相同。
* - station/AP 共存模式
- WIFI_COUNTRY_POLICY_MANUAL
- 该 station 与 station 模式、WIFI_COUNTRY_POLICY_MANUAL 策略下使用的国家/地区信息相同。
该 AP 与 AP 模式、WIFI_COUNTRY_POLICY_MANUAL 策略下使用的国家/地区信息相同。
主信道
*************************