00001 00025 #include "ke_msg.h" 00026 #include "tx_swdesc.h" 00027 00035 int macif_init(void); 00036 00054 int macif_kmsg_push(int msg_id, int task_id, void *param, int param_len); 00055 00071 void macif_msg_evt(int dummy); 00072 00081 void macif_kmsg_fwd(const struct ke_msg *ke_msg); 00082 00089 void macif_prim_tbtt_ind(void); 00090 00097 void macif_sec_tbtt_ind(void); 00098 00106 void macif_rx_data_ind(void); 00107 00116 uint8_t macif_rx_get_packet_threshold(void); 00117 00126 bool macif_rx_buf_check(void); 00127 00146 #if NX_UMAC_PRESENT 00147 uint32_t macif_rx_buf_get(uint32_t *host_id); 00148 #else 00149 uint32_t macif_rx_buf_get(void); 00150 #endif //(NX_UMAC_PRESENT) 00151 00159 void macif_rx_buf_ind(void); 00160 00161 #if NX_UMAC_PRESENT 00162 00169 void macif_rx_desc_upload(struct co_list *desc_list); 00170 #endif 00171 00172 #if NX_UF_EN 00173 00179 void macif_uf_ind(struct rx_vector_desc *rx_vector); 00180 #endif //NX_UF_EN 00181 00191 void macif_tx_data_ind(int queue_idx); 00192 00202 void macif_tx_evt(int queue_idx); 00203 00213 bool macif_tx_q_has_data(int queue_idx); 00214 00227 uint8_t macif_tx_q_len(int queue_idx, int vif_idx); 00228 00238 uint32_t macif_tx_pattern_addr_get(void); 00239 00251 uint32_t macif_buffered_get(uint8_t sta, uint8_t tid); 00252 00253 #if RW_MUMIMO_TX_EN 00254 00263 void macif_tx_enable_users(int queue_idx, uint8_t active_users); 00264 #endif 00265 00275 void macif_tx_cfm_start(uint8_t access_category); 00276 00286 void macif_tx_cfm_push(uint8_t access_category, struct txdesc *txdesc); 00287 00299 void macif_tx_cfm_done(uint8_t access_category, bool poll); 00300 00307 void macif_tx_cfm_dma_int_handler(void); 00308
1.6.1