API for configuration of the regulatory domain.
◆ MMWLAN_COUNTRY_CODE_LEN
| #define MMWLAN_COUNTRY_CODE_LEN 3 |
Length of the two character country code string (null-terminated).
Definition at line 175 of file mmwlan.h.
◆ MMWLAN_SKIP_OP_CLASS_CHECK
| #define MMWLAN_SKIP_OP_CLASS_CHECK -1 |
If either the global or s1g operating class is set to this, the operating class will not be checked when associating to an AP.
Definition at line 145 of file mmwlan.h.
◆ mmwlan_duty_cycle_mode
Enumeration of Duty Cycle modes.
| Enumerator |
|---|
| MMWLAN_DUTY_CYCLE_MODE_SPREAD | Duty cycle air time evenly spread.
|
| MMWLAN_DUTY_CYCLE_MODE_BURST | Duty cycle air time available in burst.
|
Definition at line 252 of file mmwlan.h.
◆ mmwlan_get_duty_cycle_stats()
Retrieve the transmit duty cycle configuration and statistics.
- Parameters
-
| stats | Pointer to a duty cycle statistics structure. |
- Returns
- MMWLAN_SUCCESS on success, else an appropriate error code.
◆ mmwlan_lookup_regulatory_domain()
Look up the given country code in the regulatory database and return the matching channel list if found.
- Parameters
-
| db | The regulatory database. |
| country_code | Country code to look up. |
- Returns
- the matching channel list if found, else NULL.
Definition at line 210 of file mmwlan.h.
◆ mmwlan_set_channel_list()
Set the list of channels that are supported by the regulatory domain in which the device resides.
- Note
- Must be invoked after WLAN initialization (see mmwlan_init()) but only when inactive (i.e., STA not enabled).
- Warning
- This function takes a reference to the given channel list. It expects the channel list to remain valid in memory as long as WLAN is in use, or until a new channel list is configured.
- Parameters
-
| channel_list | The channel list to set. The list must remain valid in memory. |
- Returns
- MMWLAN_SUCCESS if the channel list was valid and updated successfully, MMWLAN_UNAVAILABLE if the WLAN subsystem was currently active.
◆ mmwlan_set_duty_cycle_mode()