mac_mlme.c File Reference
MLME API for MAC control. More...
Go to the source code of this file.
Functions | |
static int8_t | mac_mlme_rf_channel_set (struct protocol_interface_rf_mac_setup *rf_setup, uint8_t new_channel) |
Initialize MAC channel selection sequence. | |
int | mac_mlme_beacon_notify (protocol_interface_rf_mac_setup_s *rf_mac_setup, mlme_beacon_ind_t *data) |
mac_mlme_beacon_notify Function which is called every time a beacon is received | |
void | mac_mlme_mac_radio_disabled (protocol_interface_rf_mac_setup_s *rf_mac_setup) |
Radio Disable and enable functions. | |
int8_t | mac_mlme_rf_channel_change (protocol_interface_rf_mac_setup_s *rf_mac_setup, uint8_t new_channel) |
MAC channel change. |
Detailed Description
MLME API for MAC control.
MLME API for MAC certification.
Definition in file mac_mlme.c.
Function Documentation
int mac_mlme_beacon_notify | ( | struct protocol_interface_rf_mac_setup * | rf_mac_setup, |
struct mlme_beacon_ind_s * | data | ||
) |
mac_mlme_beacon_notify Function which is called every time a beacon is received
- Parameters:
-
rf_mac_setup Current MAC setup data Reference to beacon data
- Returns:
Definition at line 1206 of file mac_mlme.c.
void mac_mlme_mac_radio_disabled | ( | protocol_interface_rf_mac_setup_s * | rf_mac_setup ) |
Radio Disable and enable functions.
Definition at line 1342 of file mac_mlme.c.
int8_t mac_mlme_rf_channel_change | ( | protocol_interface_rf_mac_setup_s * | rf_mac_setup, |
uint8_t | new_channel | ||
) |
MAC channel change.
Initialize MAC channel selection sequence.
- Parameters:
-
new_channel channel to set
- Returns:
- 0 success
- -1 error
Definition at line 1453 of file mac_mlme.c.
static int8_t mac_mlme_rf_channel_set | ( | struct protocol_interface_rf_mac_setup * | rf_setup, |
uint8_t | new_channel | ||
) | [static] |
Initialize MAC channel selection sequence.
TODO: initialize channel select sequence in coordinator mode
- Parameters:
-
new_channel channel to set
- Returns:
- 0 success
- -1 HW error
Definition at line 1423 of file mac_mlme.c.
Generated on Tue Jul 12 2022 12:22:32 by
