/nrf_wifi-latest/fw_if/umac_if/inc/system/ |
D | fmac_api.h | 84 enum nrf_wifi_status nrf_wifi_sys_fmac_scan(void *fmac_dev_ctx, 104 enum nrf_wifi_status nrf_wifi_sys_fmac_scan_res_get(void *fmac_dev_ctx, 121 enum nrf_wifi_status nrf_wifi_sys_fmac_abort_scan(void *fmac_dev_ctx, 140 enum nrf_wifi_status nrf_wifi_sys_fmac_auth(void *fmac_dev_ctx, 159 enum nrf_wifi_status nrf_wifi_sys_fmac_deauth(void *fmac_dev_ctx, 179 enum nrf_wifi_status nrf_wifi_sys_fmac_assoc(void *fmac_dev_ctx, 198 enum nrf_wifi_status nrf_wifi_sys_fmac_disassoc(void *fmac_dev_ctx, 218 enum nrf_wifi_status nrf_wifi_sys_fmac_add_key(void *fmac_dev_ctx, 239 enum nrf_wifi_status nrf_wifi_sys_fmac_del_key(void *fmac_dev_ctx, 260 enum nrf_wifi_status nrf_wifi_sys_fmac_set_key(void *fmac_dev_ctx, [all …]
|
D | fmac_tx.h | 73 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx; member 86 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx; member 97 enum nrf_wifi_status tx_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 104 void tx_deinit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 113 enum nrf_wifi_status nrf_wifi_fmac_tx_done_event_process(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 125 nrf_wifi_fmac_rawtx_done_event_process(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 136 unsigned int tx_desc_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 147 enum nrf_wifi_status tx_pending_process(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 160 enum nrf_wifi_status tx_cmd_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
|
D | fmac_vif.h | 17 int nrf_wifi_fmac_vif_check_if_limit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 20 void nrf_wifi_fmac_vif_incr_if_type(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 23 void nrf_wifi_fmac_vif_decr_if_type(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 26 void nrf_wifi_fmac_vif_clear_ctx(void *fmac_dev_ctx, 29 void nrf_wifi_fmac_vif_update_if_type(void *fmac_dev_ctx, 33 unsigned int nrf_wifi_fmac_get_num_vifs(void *fmac_dev_ctx);
|
/nrf_wifi-latest/fw_if/umac_if/inc/common/ |
D | fmac_api_common.h | 47 void nrf_wifi_fmac_dev_rem(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 56 enum nrf_wifi_status nrf_wifi_validate_fw_header(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 69 enum nrf_wifi_status nrf_wifi_fmac_fw_parse(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 85 enum nrf_wifi_status nrf_wifi_fmac_fw_reset(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 98 enum nrf_wifi_status nrf_wifi_fmac_fw_boot(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 112 enum nrf_wifi_status nrf_wifi_fmac_fw_chunk_load(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 127 enum nrf_wifi_status nrf_wifi_fmac_fw_load(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 140 enum nrf_wifi_status nrf_wifi_fmac_ver_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 155 enum nrf_wifi_status nrf_wifi_fmac_conf_ltf_gi(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 172 enum nrf_wifi_status nrf_wifi_fmac_conf_srcoex(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, [all …]
|
D | fmac_cmd_common.h | 21 struct host_rpu_msg *umac_cmd_alloc(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 25 enum nrf_wifi_status umac_cmd_cfg(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 29 enum nrf_wifi_status umac_cmd_deinit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 31 enum nrf_wifi_status umac_cmd_srcoex(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 34 enum nrf_wifi_status umac_cmd_prog_stats_reset(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 36 enum nrf_wifi_status umac_cmd_set_ps_exit_strategy(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
|
/nrf_wifi-latest/fw_if/umac_if/src/system/ |
D | fmac_api.c | 28 static unsigned char nrf_wifi_fmac_vif_idx_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx) in nrf_wifi_fmac_vif_idx_get() argument 33 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_vif_idx_get() 46 static enum nrf_wifi_status nrf_wifi_sys_fmac_init_tx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx) in nrf_wifi_sys_fmac_init_tx() argument 54 fpriv = fmac_dev_ctx->fpriv; in nrf_wifi_sys_fmac_init_tx() 57 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_sys_fmac_init_tx() 71 status = tx_init(fmac_dev_ctx); in nrf_wifi_sys_fmac_init_tx() 78 static void nrf_wifi_sys_fmac_deinit_tx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx) in nrf_wifi_sys_fmac_deinit_tx() argument 83 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_sys_fmac_deinit_tx() 85 fpriv = fmac_dev_ctx->fpriv; in nrf_wifi_sys_fmac_deinit_tx() 87 tx_deinit(fmac_dev_ctx); in nrf_wifi_sys_fmac_deinit_tx() [all …]
|
D | fmac_vif.c | 17 int nrf_wifi_fmac_vif_check_if_limit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_vif_check_if_limit() argument 22 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_vif_check_if_limit() 51 void nrf_wifi_fmac_vif_incr_if_type(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_vif_incr_if_type() argument 56 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_vif_incr_if_type() 74 void nrf_wifi_fmac_vif_decr_if_type(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_vif_decr_if_type() argument 79 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_vif_decr_if_type() 100 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx = NULL; in nrf_wifi_fmac_vif_clear_ctx() local 104 fmac_dev_ctx = dev_ctx; in nrf_wifi_fmac_vif_clear_ctx() 105 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_vif_clear_ctx() 118 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx = NULL; in nrf_wifi_fmac_vif_update_if_type() local [all …]
|
D | tx.c | 30 static bool can_xmit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in can_xmit() argument 35 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in can_xmit() 45 static void set_spare_desc_q_map(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in set_spare_desc_q_map() argument 53 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in set_spare_desc_q_map() 54 sys_fpriv = wifi_fmac_priv(fmac_dev_ctx->fpriv); in set_spare_desc_q_map() 73 static void clear_spare_desc_q_map(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in clear_spare_desc_q_map() argument 81 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in clear_spare_desc_q_map() 82 sys_fpriv = wifi_fmac_priv(fmac_dev_ctx->fpriv); in clear_spare_desc_q_map() 97 static unsigned short get_spare_desc_q_map(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in get_spare_desc_q_map() argument 104 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in get_spare_desc_q_map() [all …]
|
D | fmac_ap.c | 18 enum nrf_wifi_status sap_client_ps_get_frames(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in sap_client_ps_get_frames() argument 30 if (!fmac_dev_ctx || !config) { in sap_client_ps_get_frames() 36 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in sap_client_ps_get_frames() 37 sys_priv = wifi_fmac_priv(fmac_dev_ctx->fpriv); in sap_client_ps_get_frames() 41 id = nrf_wifi_fmac_peer_get_id(fmac_dev_ctx, config->mac_addr); in sap_client_ps_get_frames() 64 desc = tx_desc_get(fmac_dev_ctx, ac); in sap_client_ps_get_frames() 67 tx_pending_process(fmac_dev_ctx, desc, ac); in sap_client_ps_get_frames() 79 enum nrf_wifi_status sap_client_update_pmmode(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in sap_client_update_pmmode() argument 91 if (!fmac_dev_ctx || !config) { in sap_client_update_pmmode() 97 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in sap_client_update_pmmode() [all …]
|
D | fmac_event.c | 25 nrf_wifi_fmac_if_mode_set_event_proc(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_if_mode_set_event_proc() argument 34 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_if_mode_set_event_proc() 121 nrf_wifi_fmac_if_carr_state_event_proc(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_if_carr_state_event_proc() argument 131 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_if_carr_state_event_proc() 132 sys_fpriv = wifi_fmac_priv(fmac_dev_ctx->fpriv); in nrf_wifi_fmac_if_carr_state_event_proc() 134 if (!fmac_dev_ctx || !umac_head) { in nrf_wifi_fmac_if_carr_state_event_proc() 176 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_event_sys_stats_process() argument 188 if (!fmac_dev_ctx->stats_req) { in umac_event_sys_stats_process() 196 nrf_wifi_osal_mem_cpy(fmac_dev_ctx->fw_stats, in umac_event_sys_stats_process() 198 sizeof(*fmac_dev_ctx->fw_stats)); in umac_event_sys_stats_process() [all …]
|
D | fmac_peer.c | 17 int nrf_wifi_fmac_peer_get_id(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_peer_get_id() argument 24 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_peer_get_id() 44 int nrf_wifi_fmac_peer_add(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_peer_add() argument 55 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_peer_add() 82 hal_rpu_mem_write(fmac_dev_ctx->hal_dev_ctx, in nrf_wifi_fmac_peer_add() 99 void nrf_wifi_fmac_peer_remove(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_peer_remove() argument 111 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_peer_remove() 122 hal_rpu_mem_write(fmac_dev_ctx->hal_dev_ctx, in nrf_wifi_fmac_peer_remove() 136 void nrf_wifi_fmac_peers_flush(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_peers_flush() argument 144 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_peers_flush() [all …]
|
D | rx.c | 18 nrf_wifi_fmac_map_desc_to_pool(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_map_desc_to_pool() argument 27 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_map_desc_to_pool() 28 sys_fpriv = wifi_fmac_priv(fmac_dev_ctx->fpriv); in nrf_wifi_fmac_map_desc_to_pool() 168 enum nrf_wifi_status nrf_wifi_fmac_rx_cmd_send(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_rx_cmd_send() argument 183 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_rx_cmd_send() 184 sys_fpriv = wifi_fmac_priv(fmac_dev_ctx->fpriv); in nrf_wifi_fmac_rx_cmd_send() 186 status = nrf_wifi_fmac_map_desc_to_pool(fmac_dev_ctx, in nrf_wifi_fmac_rx_cmd_send() 222 phy_addr = nrf_wifi_sys_hal_buf_map_rx(fmac_dev_ctx->hal_dev_ctx, in nrf_wifi_fmac_rx_cmd_send() 244 status = nrf_wifi_sys_hal_data_cmd_send(fmac_dev_ctx->hal_dev_ctx, in nrf_wifi_fmac_rx_cmd_send() 262 nwb_data = nrf_wifi_sys_hal_buf_unmap_rx(fmac_dev_ctx->hal_dev_ctx, in nrf_wifi_fmac_rx_cmd_send() [all …]
|
D | fmac_cmd.c | 17 enum nrf_wifi_status umac_cmd_sys_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_sys_init() argument 37 sys_fpriv = wifi_fmac_priv(fmac_dev_ctx->fpriv); in umac_cmd_sys_init() 41 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_sys_init() 161 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_sys_init() 169 enum nrf_wifi_status umac_cmd_sys_prog_stats_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx) in umac_cmd_sys_prog_stats_get() argument 178 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_sys_prog_stats_get() 194 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_sys_prog_stats_get() 203 enum nrf_wifi_status umac_cmd_sys_he_ltf_gi(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_sys_he_ltf_gi() argument 215 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_sys_he_ltf_gi() 243 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_sys_he_ltf_gi()
|
/nrf_wifi-latest/fw_if/umac_if/src/common/ |
D | fmac_api_common.c | 29 static int nrf_wifi_patch_version_compat(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_patch_version_compat() argument 68 static int nrf_wifi_patch_feature_flags_compat(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_patch_feature_flags_compat() argument 71 if (fmac_dev_ctx->op_mode == NRF_WIFI_OP_MODE_RT) { in nrf_wifi_patch_feature_flags_compat() 76 } else if (fmac_dev_ctx->op_mode == NRF_WIFI_OP_MODE_SYS) { in nrf_wifi_patch_feature_flags_compat() 96 } else if (fmac_dev_ctx->op_mode == NRF_WIFI_OP_MODE_OFF_RAW_TX) { in nrf_wifi_patch_feature_flags_compat() 102 nrf_wifi_osal_log_err("Invalid op_mode: %d", fmac_dev_ctx->op_mode); in nrf_wifi_patch_feature_flags_compat() 118 void nrf_wifi_fmac_dev_rem(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx) in nrf_wifi_fmac_dev_rem() argument 120 nrf_wifi_hal_dev_rem(fmac_dev_ctx->hal_dev_ctx); in nrf_wifi_fmac_dev_rem() 122 nrf_wifi_osal_mem_free(fmac_dev_ctx); in nrf_wifi_fmac_dev_rem() 126 enum nrf_wifi_status nrf_wifi_validate_fw_header(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_validate_fw_header() argument [all …]
|
D | fmac_cmd_common.c | 17 struct host_rpu_msg *umac_cmd_alloc(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_alloc() argument 39 enum nrf_wifi_status umac_cmd_cfg(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_cfg() argument 46 if (!fmac_dev_ctx->fw_init_done) { in umac_cmd_cfg() 56 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_cfg() 70 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_cfg() 83 enum nrf_wifi_status umac_cmd_deinit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx) in umac_cmd_deinit() argument 91 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_deinit() 102 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_deinit() 109 enum nrf_wifi_status umac_cmd_srcoex(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_srcoex() argument 120 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_srcoex() [all …]
|
/nrf_wifi-latest/fw_if/umac_if/inc/radio_test/ |
D | fmac_api.h | 57 enum nrf_wifi_status nrf_wifi_rt_fmac_radio_test_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 71 enum nrf_wifi_status nrf_wifi_rt_fmac_prog_tx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 85 enum nrf_wifi_status nrf_wifi_rt_fmac_prog_rx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 106 enum nrf_wifi_status nrf_wifi_rt_fmac_rf_test_rx_cap(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 129 enum nrf_wifi_status nrf_wifi_rt_fmac_rf_test_tx_tone(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 147 enum nrf_wifi_status nrf_wifi_rt_fmac_rf_test_dpd(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 162 enum nrf_wifi_status nrf_wifi_rt_fmac_rf_get_temp(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 176 enum nrf_wifi_status nrf_wifi_rt_fmac_rf_get_rf_rssi(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 190 enum nrf_wifi_status nrf_wifi_rt_fmac_set_xo_val(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 204 enum nrf_wifi_status nrf_wifi_rt_fmac_rf_test_compute_xo(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx… [all …]
|
D | fmac_cmd.h | 19 enum nrf_wifi_status umac_cmd_rt_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 32 enum nrf_wifi_status umac_cmd_rt_prog_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 35 enum nrf_wifi_status umac_cmd_rt_prog_tx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 38 enum nrf_wifi_status umac_cmd_rt_prog_rx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 41 enum nrf_wifi_status umac_cmd_rt_prog_rf_test(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 46 enum nrf_wifi_status umac_cmd_rt_prog_stats_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
|
/nrf_wifi-latest/fw_if/umac_if/src/radio_test/ |
D | fmac_api.c | 24 static enum nrf_wifi_status nrf_wifi_rt_fmac_fw_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_rt_fmac_fw_init() argument 40 if (!fmac_dev_ctx) { in nrf_wifi_rt_fmac_fw_init() 46 status = umac_cmd_rt_init(fmac_dev_ctx, in nrf_wifi_rt_fmac_fw_init() 65 while (!fmac_dev_ctx->fw_init_done) { in nrf_wifi_rt_fmac_fw_init() 73 if (!fmac_dev_ctx->fw_init_done) { in nrf_wifi_rt_fmac_fw_init() 86 static void nrf_wifi_rt_fmac_fw_deinit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx) in nrf_wifi_rt_fmac_fw_deinit() argument 93 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx = NULL; in nrf_wifi_rt_fmac_dev_add() local 107 fmac_dev_ctx = nrf_wifi_osal_mem_zalloc(sizeof(*fmac_dev_ctx) + sizeof(*rt_fmac_dev_ctx)); in nrf_wifi_rt_fmac_dev_add() 109 if (!fmac_dev_ctx) { in nrf_wifi_rt_fmac_dev_add() 115 fmac_dev_ctx->fpriv = fpriv; in nrf_wifi_rt_fmac_dev_add() [all …]
|
D | fmac_event.c | 19 static enum nrf_wifi_status umac_event_rt_stats_process(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_event_rt_stats_process() argument 31 if (!fmac_dev_ctx->stats_req) { in umac_event_rt_stats_process() 39 nrf_wifi_osal_mem_cpy(fmac_dev_ctx->fw_stats, in umac_event_rt_stats_process() 41 sizeof(*fmac_dev_ctx->fw_stats)); in umac_event_rt_stats_process() 43 fmac_dev_ctx->stats_req = false; in umac_event_rt_stats_process() 52 …atic enum nrf_wifi_status umac_event_rt_rf_test_process(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_event_rt_rf_test_process() argument 64 def_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in umac_event_rt_rf_test_process() 86 status = hal_rpu_mem_read(fmac_dev_ctx->hal_dev_ctx, in umac_event_rt_rf_test_process() 150 static enum nrf_wifi_status umac_event_rt_proc_events(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_event_rt_proc_events() argument 159 if (!fmac_dev_ctx || !rpu_msg) { in umac_event_rt_proc_events() [all …]
|
D | fmac_cmd.c | 15 enum nrf_wifi_status umac_cmd_rt_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_rt_init() argument 35 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_rt_init() 138 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_rt_init() 146 enum nrf_wifi_status umac_cmd_rt_prog_stats_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_rt_prog_stats_get() argument 156 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_rt_prog_stats_get() 173 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_rt_prog_stats_get() 182 enum nrf_wifi_status umac_cmd_rt_prog_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_rt_prog_init() argument 192 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_rt_prog_init() 211 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_rt_prog_init() 219 enum nrf_wifi_status umac_cmd_rt_prog_tx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_rt_prog_tx() argument [all …]
|
/nrf_wifi-latest/fw_if/umac_if/src/offload_raw_tx/ |
D | fmac_api.c | 23 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in nrf_wifi_fmac_off_raw_tx_fw_init() argument 39 if (!fmac_dev_ctx) { in nrf_wifi_fmac_off_raw_tx_fw_init() 45 status = umac_cmd_off_raw_tx_init(fmac_dev_ctx, in nrf_wifi_fmac_off_raw_tx_fw_init() 65 while (!fmac_dev_ctx->fw_init_done) { in nrf_wifi_fmac_off_raw_tx_fw_init() 73 if (!fmac_dev_ctx->fw_init_done) { in nrf_wifi_fmac_off_raw_tx_fw_init() 125 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx = NULL; in nrf_wifi_off_raw_tx_fmac_dev_add() local 138 fmac_dev_ctx = nrf_wifi_osal_mem_zalloc(sizeof(*fmac_dev_ctx) + sizeof(*off_raw_tx_fmac_dev_ctx)); in nrf_wifi_off_raw_tx_fmac_dev_add() 140 if (!fmac_dev_ctx) { in nrf_wifi_off_raw_tx_fmac_dev_add() 146 fmac_dev_ctx->fpriv = fpriv; in nrf_wifi_off_raw_tx_fmac_dev_add() 147 fmac_dev_ctx->os_dev_ctx = os_dev_ctx; in nrf_wifi_off_raw_tx_fmac_dev_add() [all …]
|
D | fmac_event.c | 18 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_event_off_raw_tx_stats_process() argument 30 if (!fmac_dev_ctx->stats_req) { in umac_event_off_raw_tx_stats_process() 38 nrf_wifi_osal_mem_cpy(fmac_dev_ctx->fw_stats, in umac_event_off_raw_tx_stats_process() 40 sizeof(*fmac_dev_ctx->fw_stats)); in umac_event_off_raw_tx_stats_process() 42 fmac_dev_ctx->stats_req = false; in umac_event_off_raw_tx_stats_process() 53 … enum nrf_wifi_status umac_event_off_raw_tx_proc_events(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_event_off_raw_tx_proc_events() argument 61 if (!fmac_dev_ctx || !rpu_msg) { in umac_event_off_raw_tx_proc_events() 65 dev_ctx_off_raw_tx = wifi_dev_priv(fmac_dev_ctx); in umac_event_off_raw_tx_proc_events() 70 status = umac_event_off_raw_tx_stats_process(fmac_dev_ctx, in umac_event_off_raw_tx_proc_events() 74 fmac_dev_ctx->fw_init_done = 1; in umac_event_off_raw_tx_proc_events() [all …]
|
D | fmac_cmd.c | 15 enum nrf_wifi_status umac_cmd_off_raw_tx_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_off_raw_tx_init() argument 35 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_off_raw_tx_init() 138 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_off_raw_tx_init() 146 enum nrf_wifi_status umac_cmd_off_raw_tx_prog_stats_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx) in umac_cmd_off_raw_tx_prog_stats_get() argument 155 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_off_raw_tx_prog_stats_get() 171 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_off_raw_tx_prog_stats_get() 180 enum nrf_wifi_status umac_cmd_off_raw_tx_conf(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, in umac_cmd_off_raw_tx_conf() argument 189 if (!fmac_dev_ctx->fw_init_done) { in umac_cmd_off_raw_tx_conf() 206 umac_cmd = umac_cmd_alloc(fmac_dev_ctx, in umac_cmd_off_raw_tx_conf() 228 status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx, in umac_cmd_off_raw_tx_conf() [all …]
|
/nrf_wifi-latest/fw_if/umac_if/inc/offload_raw_tx/ |
D | fmac_api.h | 72 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 95 enum nrf_wifi_status nrf_wifi_off_raw_tx_fmac_conf(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 108 enum nrf_wifi_status nrf_wifi_off_raw_tx_fmac_start(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 119 enum nrf_wifi_status nrf_wifi_off_raw_tx_fmac_stop(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 133 struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 148 enum nrf_wifi_status nrf_wifi_off_raw_tx_fmac_stats_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
|
D | fmac_cmd.h | 17 enum nrf_wifi_status umac_cmd_off_raw_tx_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 31 enum nrf_wifi_status umac_cmd_off_raw_tx_prog_stats_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 33 enum nrf_wifi_status umac_cmd_off_raw_tx_conf(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 37 enum nrf_wifi_status umac_cmd_off_raw_tx_ctrl(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
|