Tool/software:
Hi TI's experts,
About country code, we have the following questions:
1. Does it support auto country code setting?
Our expectation is that after the CC3351E Wi-Fi initialization is finished, default country code is set, for example "00", and only supports passive scan, then we will trigger a scan event and the country code will be set automatically based on the beacon information from APs in the area. If CC3351E doesn't support auto country code setting, what is your suggestion to get and set country code based on the beacon information from APs in the area?
The following related information was replied by TI before: "Yes, country code can be set manually via wpa_supplicant/hostapd.conf or via iw reg set. We support 802.11d for detection of country code adverstised by AP upon connection and generating reg domain change notification. Need clarification on: "If it fails to detect country code, such as when there is no AP nearby or the APs do not carry country code information, the Wi-Fi driver should set a special country code XX"
How to config to enable 802.11d for detection of country code? For example, which command should be executed while switching to manual country code or automatic country code.
How can we get the reg domain change notificaion?
2. Which command used to get country code from APs? Using ‘iw wlan0 scan’ command is ok. Any other suggestion?