Arguments data structure for mmwlan_sta_enable().
This structure should be initialized using MMWLAN_STA_ARGS_INIT for sensible default values, particularly for forward compatibility with new releases that may add new fields to the struct. For example:
enum mmwlan_status mmwlan_sta_enable(const struct mmwlan_sta_args *args, mmwlan_sta_status_cb_t sta_status_cb)
Enable station mode.
#define MMWLAN_STA_ARGS_INIT
Initializer for mmwlan_sta_args.
mmwlan_status
Enumeration of status return codes.
Arguments data structure for mmwlan_sta_enable().
Definition at line 700 of file mmwlan.h.
#include <mmwlan.h>
◆ bgscan_long_interval_s
| uint16_t mmwlan_sta_args::bgscan_long_interval_s |
Background scan long interval, measured in seconds.
When the signal strength is above bgscan_signal_threshold_dbm, this interval will be used between iterations of background scan. If the signal threshold falls below bgscan_signal_threshold_dbm, background scan will use the short interval.
- Note
- Setting this to zero will disable background scanning.
Definition at line 758 of file mmwlan.h.
◆ bgscan_short_interval_s
| uint16_t mmwlan_sta_args::bgscan_short_interval_s |
Background scan short interval, measured in seconds.
When the signal strength falls below bgscan_signal_threshold_dbm, this interval will be used between iterations of background scan. After several iterations, or if the signal threshold increases above bgscan_signal_threshold_dbm background scan will return to using the long interval.
- Note
- Setting this to zero will disable background scanning.
Definition at line 743 of file mmwlan.h.
◆ bgscan_signal_threshold_dbm
| int mmwlan_sta_args::bgscan_signal_threshold_dbm |
Background scan signal strength threshold that switches between short and long intervals.
Definition at line 747 of file mmwlan.h.
◆ bssid
BSSID of the AP to connect to.
If non-zero, the STA will only connect to an AP that matches this value.
Definition at line 710 of file mmwlan.h.
◆ cac_mode
Whether Centralized Authentication Controlled is enabled on the STA.
Definition at line 732 of file mmwlan.h.
◆ passphrase
Passphrase (only used if security_type is MMWLAN_SAE, otherwise ignored.
Definition at line 714 of file mmwlan.h.
◆ passphrase_len
| uint16_t mmwlan_sta_args::passphrase_len |
Length of passphrase.
May be zero if passphrase is null-terminated.
Definition at line 716 of file mmwlan.h.
◆ pmf_mode
Protected Management Frame mode to use (802.11w)
Definition at line 718 of file mmwlan.h.
◆ raw_sta_priority
| int16_t mmwlan_sta_args::raw_sta_priority |
Priority used by the AP to assign a STA to a Restricted Access Window (RAW) group.
Valid range is 0 - MMWLAN_RAW_MAX_PRIORITY, or -1 to disable RAW.
Definition at line 723 of file mmwlan.h.
◆ sae_owe_ec_groups
Preference list of enabled elliptic curve groups for SAE and OWE.
By default (if this parameter is not set), the mandatory group 19 is preferred.
Definition at line 730 of file mmwlan.h.
◆ scan_rx_cb
Optional callback for scan results which are received during the connection process.
Definition at line 760 of file mmwlan.h.
◆ scan_rx_cb_arg
| void* mmwlan_sta_args::scan_rx_cb_arg |
◆ security_type
Type of security to use.
If MMWLAN_SAE then a passphrase must be specified.
Definition at line 712 of file mmwlan.h.
◆ ssid
SSID of the AP to connect to.
Definition at line 703 of file mmwlan.h.
◆ ssid_len
| uint16_t mmwlan_sta_args::ssid_len |
Length of the SSID.
Definition at line 705 of file mmwlan.h.
◆ sta_type
The documentation for this struct was generated from the following file: