MAC Management task. More...
#include "co_endian.h"#include "mac_frame.h"#include "mm.h"#include "ps.h"#include "me.h"#include "rxu_cntrl.h"#include "mm_task.h"#include "mm_bcn.h"#include "phy.h"#include "reg_mac_pl.h"#include "reg_mac_core.h"#include "hal_machw.h"#include "dbg.h"#include "rxl_hwdesc.h"#include "rxl_cntrl.h"#include "txl_cntrl.h"#include "sta_mgmt.h"#include "vif_mgmt.h"#include "version.h"#include "ke_timer.h"#include "chan.h"#include "bfr.h"#include "tpc.h"Go to the source code of this file.
Functions | |
| static int | mm_version_req_handler (ke_msg_id_t const msgid, void const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_VERSION_REQ message handler. | |
| static int | mm_reset_req_handler (ke_msg_id_t const msgid, void const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_RESET_REQ message handler. | |
| static int | mm_start_req_handler (ke_msg_id_t const msgid, struct mm_start_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_START_REQ message handler. | |
| static int | mm_set_channel_req_handler (ke_msg_id_t const msgid, struct mm_set_channel_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_CHANNEL_REQ message handler. | |
| static int | mm_set_dtim_req_handler (ke_msg_id_t const msgid, struct mm_set_dtim_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_DTIM_REQ message handler. | |
| static int | mm_set_beacon_int_req_handler (ke_msg_id_t const msgid, struct mm_set_beacon_int_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_BEACON_INT_REQ message handler. | |
| static int | mm_set_basic_rates_req_handler (ke_msg_id_t const msgid, struct mm_set_basic_rates_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_BASIC_RATES_REQ message handler. | |
| static int | mm_set_filter_req_handler (ke_msg_id_t const msgid, struct mm_set_filter_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_FILTER_REQ message handler. | |
| static int | mm_set_bssid_req_handler (ke_msg_id_t const msgid, struct mm_set_bssid_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_BSSID_REQ message handler. | |
| static int | mm_set_edca_req_handler (ke_msg_id_t const msgid, struct mm_set_edca_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_EDCA_REQ message handler. | |
| static int | mm_set_mu_edca_req_handler (ke_msg_id_t const msgid, struct mm_set_mu_edca_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_MU_EDCA_REQ message handler. | |
| static int | mm_set_uora_req_handler (ke_msg_id_t const msgid, struct mm_set_uora_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_UORA_REQ message handler. | |
| static int | mm_set_bss_color_req_handler (ke_msg_id_t const msgid, struct mm_set_bss_color_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_BSS_COLOR_REQ message handler. | |
| static int | mm_set_txop_rts_thres_req_handler (ke_msg_id_t const msgid, struct mm_set_txop_rts_thres_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_TXOP_RTS_THRES_REQ message handler. | |
| static int | mm_set_slottime_req_handler (ke_msg_id_t const msgid, struct mm_set_slottime_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_SLOTTIME_REQ message handler. | |
| static int | mm_set_mode_req_handler (ke_msg_id_t const msgid, struct mm_set_mode_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_MODE_REQ message handler. | |
| static int | mm_set_vif_state_req_handler (ke_msg_id_t const msgid, struct mm_set_vif_state_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_VIF_STATE_REQ message handler. | |
| static int | mm_set_power_req_handler (ke_msg_id_t const msgid, struct mm_set_power_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_POWER_REQ message handler. | |
| static int | mm_dbg_trigger_req_handler (ke_msg_id_t const msgid, struct mm_dbg_trigger_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_DBG_TRIGGER_REQ message handler. | |
| static int | mm_add_if_req_handler (ke_msg_id_t const msgid, struct mm_add_if_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_ADD_IF_REQ message handler. | |
| static int | mm_remove_if_req_handler (ke_msg_id_t const msgid, struct mm_remove_if_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_REMOVE_IF_REQ message handler. | |
| static int | mm_set_idle_req_handler (ke_msg_id_t const msgid, struct mm_set_idle_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_IDLE_REQ message handler. | |
| static int | mm_force_idle_req_handler (ke_msg_id_t const msgid, struct mm_force_idle_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_FORCE_IDLE_REQ message handler. | |
| static int | mm_sta_add_req_handler (ke_msg_id_t const msgid, struct mm_sta_add_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_STA_ADD_REQ message handler. | |
| static int | mm_sta_del_req_handler (ke_msg_id_t const msgid, struct mm_sta_del_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_STA_DEL_REQ message handler. | |
| static int | mm_key_add_req_handler (ke_msg_id_t const msgid, struct mm_key_add_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_KEY_ADD_REQ message handler. | |
| static int | mm_key_del_req_handler (ke_msg_id_t const msgid, struct mm_key_del_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_KEY_DEL_REQ message handler. | |
| static int | mm_ba_add_req_handler (ke_msg_id_t const msgid, struct mm_ba_add_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_BA_ADD_REQ message handler. | |
| static int | mm_ba_del_req_handler (ke_msg_id_t const msgid, struct mm_ba_del_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_BA_DEL_REQ message handler. | |
| static int | mm_tbtt_move_req_handler (ke_msg_id_t const msgid, struct mm_tbtt_move_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_TBTT_MOVE_REQ message handler. | |
| static int | mm_chan_ctxt_unlink_req_handler (ke_msg_id_t const msgid, struct mm_chan_ctxt_unlink_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_CHAN_CTXT_UNLINK_REQ message handler. | |
| static int | mm_chan_ctxt_update_req_handler (ke_msg_id_t const msgid, struct mm_chan_ctxt_update_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_CHAN_CTXT_UPDATE_REQ message handler. | |
| static int | mm_remain_on_channel_req_handler (ke_msg_id_t const msgid, struct mm_remain_on_channel_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_REMAIN_ON_CHANNEL_REQ message handler. | |
| static int | mm_bcn_change_req_handler (ke_msg_id_t const msgid, struct mm_bcn_change_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_BCN_CHANGE_REQ message handler. | |
| static int | mm_tim_update_req_handler (ke_msg_id_t const msgid, struct mm_tim_update_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_TIM_UPDATE_REQ message handler. | |
| static int | mm_ant_div_init_req_handler (ke_msg_id_t const msgid, struct mm_ant_div_init_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_ANT_DIV_INIT_REQ message handler. | |
| static int | mm_ant_div_stop_req_handler (ke_msg_id_t const msgid, void const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_ANT_DIV_STOP_REQ message handler. | |
| static int | mm_ant_div_update_req_handler (ke_msg_id_t const msgid, void const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_ANT_DIV_UPDATE_REQ message handler. | |
| static int | mm_switch_antenna_req_handler (ke_msg_id_t const msgid, void const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SWITCH_ANTENNA_REQ message handler. | |
| static int | mm_hw_config_handler (ke_msg_id_t const msgid, void const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| Postpones message processing until HW reach IDLE state. | |
| static int | mm_set_ps_mode_req_handler (ke_msg_id_t const msgid, struct mm_set_ps_mode_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_PS_MODE_REQ message handler. | |
| static int | mm_set_ps_options_req_handler (ke_msg_id_t const msgid, struct mm_set_ps_options_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_PS_OPTIONS_REQ message handler. | |
| static int | mm_set_p2p_noa_req_handler (ke_msg_id_t const msgid, struct mm_set_p2p_noa_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_P2P_NOA_REQ message handler. | |
| static int | mm_set_p2p_oppps_req_handler (ke_msg_id_t const msgid, struct mm_set_p2p_oppps_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_SET_P2P_OPPPS_REQ message handler. | |
| static int | mm_bfmer_enable_req_handler (ke_msg_id_t const msgid, struct mm_bfmer_enable_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_BFMER_ENABLE_REQ message handler. | |
| static int | mm_mu_group_update_req_handler (ke_msg_id_t const msgid, struct mm_mu_group_update_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_MU_GROUP_UPDATE_REQ message handler. | |
| static int | mm_cfg_rssi_req_handler (ke_msg_id_t const msgid, struct mm_cfg_rssi_req const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id) |
| MM module MM_CFG_RSSI_REQ message handler. | |
Variables | |
| struct ke_msg_handler | mm_default_state [] |
| Message handlers in state DEFAULT. | |
| struct ke_state_handler | mm_state_handler [MM_STATE_MAX] |
| Specifies the message handler structure for every input state of STA State Machine. | |
| struct ke_state_handler | mm_default_handler |
| Specifies the message handlers that are common to all states. | |
| ke_state_t | mm_state [MM_IDX_MAX] |
| Defines the placeholder for the states of all the task instances. | |
MAC Management task.
Copyright (C) RivieraWaves 2011-2019
Definition in file mm_task.c.
1.6.1