Control interface for MAC software. More...
#include "ke_msg.h"#include "tx_swdesc.h"Go to the source code of this file.
Functions | |
| int | macif_init (void) |
| Initialize the MAC interface. | |
| int | macif_kmsg_push (int msg_id, int task_id, void *param, int param_len) |
| Push a kmsg from the control layer to the wifi stack. | |
| void | macif_msg_evt (int dummy) |
| Kernel event handler for the handling of messages pushed by control layer. | |
| void | macif_kmsg_fwd (const struct ke_msg *ke_msg) |
| Forward a kernel message to the MAC interface. | |
| void | macif_prim_tbtt_ind (void) |
| Indicate control layer that the primary TBTT is pending. | |
| void | macif_sec_tbtt_ind (void) |
| Indicate control layer that the secondary TBTT is pending. | |
| void | macif_rx_data_ind (void) |
| Signal to the upper layers the presence of data in the host RX buffers. | |
| uint8_t | macif_rx_get_packet_threshold (void) |
| Get the number of received packets above which the host shall be warned. | |
| bool | macif_rx_buf_check (void) |
| Checks if a host buffer is currently available. | |
| uint32_t | macif_rx_buf_get (uint32_t *host_id) |
| Retrieve a RX host buffer address for future DMA transfer. | |
| void | macif_rx_buf_ind (void) |
| Indicate to the lower layers that a buffer has just been pushed. | |
| void | macif_rx_desc_upload (struct co_list *desc_list) |
| Upload the list of prepared RX status descriptors to upper layers. | |
| void | macif_tx_data_ind (int queue_idx) |
| Signal to the lower layers the presence of data in the TX queue passed as parameter. | |
| void | macif_tx_evt (int queue_idx) |
| Kernel event handler for the handling of the TX descriptor pushed by the upper layers. | |
| bool | macif_tx_q_has_data (int queue_idx) |
| Get the status of the TX queue. | |
| uint8_t | macif_tx_q_len (int queue_idx, int vif_idx) |
| Check how many tx descriptors are available on the requested queue for a VIF. | |
| uint32_t | macif_tx_pattern_addr_get (void) |
| Get the host address of the TX payload descriptor pattern It is not used in fully hosted partitioning. | |
| uint32_t | macif_buffered_get (uint8_t sta, uint8_t tid) |
| Get the buffered data for a given sta/tid. | |
| void | macif_tx_enable_users (int queue_idx, uint8_t active_users) |
| Re-enable the user queues that were disabled. | |
| void | macif_tx_cfm_start (uint8_t access_category) |
| Initialize a new TX confirmation upload process. | |
| void | macif_tx_cfm_push (uint8_t access_category, struct txdesc *txdesc) |
| Push a TX confirmation for upload to upper layers. | |
| void | macif_tx_cfm_done (uint8_t access_category, bool poll) |
| Program the pending confirmation for upload. | |
| void | macif_tx_cfm_dma_int_handler (void) |
| Handler for DMA transfer of confirmations. | |
Control interface for MAC software.
Copyright (C) RivieraWaves 2017-2019
Definition in file macif.h.
1.6.1