Arguments data structure for mmwlan_softap_enable().
This structure should be initialized using MMWLAN_SOFTAP_ARGS_INIT for sensible default values, particularly for forward compatibility with new releases that may add new fields to the struct. For example:
#define MMWLAN_SOFTAP_ARGS_INIT
Initializer for mmwlan_softap_args.
enum mmwlan_status mmwlan_softap_enable(const struct mmwlan_softap_args *args)
Enable Soft AP mode.
mmwlan_status
Enumeration of status return codes.
Arguments data structure for mmwlan_softap_enable().
- Warning
- BETA NOTICE: This is beta API that is under development; breaking changes may be introduced in future releases.
Definition at line 1323 of file mmwlan.h.
#include <mmwlan.h>
◆ beacon_interval_tus
| uint16_t mmwlan_softap_args::beacon_interval_tus |
◆ bssid
Optional BSSID of the AP.
If zero then the devices MAC address will be used.
- Warning
- The MAC address selection behavior may change in future.
Definition at line 1334 of file mmwlan.h.
◆ dtim_period
| uint16_t mmwlan_softap_args::dtim_period |
◆ op_class
| uint16_t mmwlan_softap_args::op_class |
Operating Class to use (S1G or Global).
The combination of this field and s1g_chan_num will be used to look up the appropriate entry in the channel list, which must have been previously provided using mmwlan_set_channel_list().
Definition at line 1355 of file mmwlan.h.
◆ passphrase
Passphrase (only used if security_type is MMWLAN_SAE, otherwise ignored.
Definition at line 1338 of file mmwlan.h.
◆ passphrase_len
| uint16_t mmwlan_softap_args::passphrase_len |
Length of passphrase.
May be zero if passphrase is null-terminated.
Definition at line 1340 of file mmwlan.h.
◆ pmf_mode
Protected Management Frame mode to use (802.11w)
Definition at line 1342 of file mmwlan.h.
◆ pri_1mhz_chan_idx
| uint8_t mmwlan_softap_args::pri_1mhz_chan_idx |
Index of the primary 1 Mhz channel within the operating channel.
This must be less than the bandwidth of the operating channel.
Definition at line 1387 of file mmwlan.h.
◆ pri_bw_mhz
| uint8_t mmwlan_softap_args::pri_bw_mhz |
Bandwidth to use for the primary channel.
This may be set to 0 to automatically select the highest primary bandwidth supported by the operating channel.
- Note
- This must not be greater than the bandwidth of the operating channel.
Definition at line 1382 of file mmwlan.h.
◆ s1g_chan_num
| uint16_t mmwlan_softap_args::s1g_chan_num |
S1G channel number of the channel to use.
The combination of this field and op_class will be used to look up the appropriate entry in the channel list, which must have been previously provided using mmwlan_set_channel_list().
Definition at line 1363 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 1347 of file mmwlan.h.
◆ security_type
Type of security to use.
If MMWLAN_SAE then a passphrase must be specified.
Definition at line 1336 of file mmwlan.h.
◆ ssid
◆ ssid_len
| uint16_t mmwlan_softap_args::ssid_len |
Length of the SSID.
Definition at line 1328 of file mmwlan.h.
◆ sta_status_cb
Optional callback to be invoked when the status of a connected STA changes.
May be set to NULL.
Definition at line 1392 of file mmwlan.h.
◆ sta_status_cb_arg
| void* mmwlan_softap_args::sta_status_cb_arg |
Optional opaque argument to be passed to sta_status_cb.
May optionally be NULL. The value of this parameter must remain valid during the lifetime of the Soft AP.
Definition at line 1397 of file mmwlan.h.
The documentation for this struct was generated from the following file: