This section contains APIs related to station configuration management such as static/dynamic IP, bridge/router mode, etc.
struct telux::wlan::StaStaticIpConfig |
Data Fields |
string |
ipAddr |
IPv4 address to be assigned.
|
string |
gwIpAddr |
IPv4 address of the gateway.
|
string |
netMask |
Subnet mask.
|
string |
dnsAddr |
DNS IPv4 address.
|
struct telux::wlan::StaConfig |
Data Fields |
Id |
staId |
Id of station backhaul
|
StaIpConfig |
ipConfig |
IP configuration of station backhaul
|
StaStaticIpConfig |
staticIpConfig |
Static IP configuration if selected
|
StaBridgeMode |
bridgeMode |
Station configuration as Router/bridge
|
Station Connection IP Type
Enumerator |
---|
DYNAMIC_IP |
Station is configured with dynamic IP
|
STATIC_IP |
Station is configured with Static IP
|
Bridge/Router Mode
Enumerator |
---|
ROUTER |
Station is in Router Mode
|
BRIDGE |
Station is in Bridge Mode
|
Set Station IP Configurations: Set Station IP configuration dynamic/static and static IP address if selected. If API is called when WLAN is disabled, changes will take effect when WLAN is enabled using telux::wlan::IWlanDeviceManager::enable API. If API is called when WLAN is enabled, changes will take effect after restarting wpa_supplicant by calling telux::wlan::IStaInterfaceManager::manageStaService
- Parameters
-
[in] | staId | Station Identifier telux::wlan::Id |
[in] | ipConfig | Static/Dynamic IP configuration telux::wlan::StaIpConfig. |
[in] | staticIpConfig | Static IP configuration, not used if station was configured to use dynamic IP. |
- Returns
- operation error code (if any). telux::common::ErrorCode.
- Note
- Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
Set Station backhaul to act as router or bridge: Sets Station to act as router or bridge where station internal clients get public IP addresses. If API is called when WLAN is disabled, changes will take effect when WLAN is enabled using telux::wlan::IWlanDeviceManager::enable API. If API is called when WLAN is enabled, changes will take effect after restarting wpa_supplicant by calling telux::wlan::IStaInterfaceManager::manageStaService
- Parameters
-
- Returns
- operation error code (if any). telux::common::ErrorCode.
- Note
- Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
Request current station status: Returns current Sta interface status such as network interface name and IP address.
- Parameters
-
- Returns
- operation error code (if any). telux::common::ErrorCode.
- Note
- Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
Execute an operation on wpa_supplicant service. Provides ability for client to either stop/start or restart wpa_supplicant service for selected station. Restarting wpa_supplicant service is required for any changes made to wpa_supplicant.conf file to take effect. Station selected to execute operation on, will temporarily go out of service when this API is called. This API should be called only when station mode is configured through telux::wlan::IDeviceManager::setMode
- Parameters
-
- Returns
- operation error code (if any). telux::common::ErrorCode.
- Note
- Eval: This is a new API and is being evaluated.It is subject to change and could break backwards compatibility.
virtual telux::wlan::IStaInterfaceManager::~IStaInterfaceManager |
( |
| ) |
|
|
virtual |
virtual void telux::wlan::IStaListener::onStationStatusChanged |
( |
std::vector< StaStatus > |
staStatus | ) |
|
|
virtual |
This function is called when Station Status Changes
- Parameters
-
virtual void telux::wlan::IStaListener::onStationBandChanged |
( |
BandType |
radio | ) |
|
|
virtual |
This function is called when Station switch to different operation band
- Parameters
-
virtual telux::wlan::IStaListener::~IStaListener |
( |
| ) |
|
|
virtual |
std::string telux::wlan::StaStaticIpConfig::ipAddr |
IPv4 address to be assigned.
std::string telux::wlan::StaStaticIpConfig::gwIpAddr |
IPv4 address of the gateway.
std::string telux::wlan::StaStaticIpConfig::netMask |
std::string telux::wlan::StaStaticIpConfig::dnsAddr |
Id telux::wlan::StaConfig::staId |
StaIpConfig telux::wlan::StaConfig::ipConfig |
IP configuration of station backhaul
StaStaticIpConfig telux::wlan::StaConfig::staticIpConfig |
Static IP configuration if selected
StaBridgeMode telux::wlan::StaConfig::bridgeMode |
Station configuration as Router/bridge