Home
last modified time | relevance | path

Searched refs:ifp (Results 1 – 19 of 19) sorted by relevance

/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/inc/
Dwhd_wifi_api.h169 extern uint32_t whd_wifi_off(whd_interface_t ifp);
177 extern uint32_t whd_deinit(whd_interface_t ifp);
185 extern uint32_t whd_wifi_set_up(whd_interface_t ifp);
196 extern uint32_t whd_wifi_set_down(whd_interface_t ifp);
236 extern uint32_t whd_wifi_scan_synch(whd_interface_t ifp,
271 extern uint32_t whd_wifi_scan(whd_interface_t ifp,
288 extern uint32_t whd_wifi_stop_scan(whd_interface_t ifp);
320 extern uint32_t whd_wifi_external_auth_request(whd_interface_t ifp,
330 extern uint32_t whd_wifi_stop_external_auth_request(whd_interface_t ifp);
348 extern uint32_t whd_wifi_join(whd_interface_t ifp, const whd_ssid_t *ssid, whd_security_t auth_type,
[all …]
Dwhd_events.h197 typedef void *(*whd_event_handler_t)(whd_interface_t ifp, const whd_event_header_t *event_header,
228 uint32_t whd_wifi_set_event_handler(whd_interface_t ifp, const uint32_t *event_type, whd_event_hand…
249 uint32_t whd_wifi_set_error_handler(whd_interface_t ifp, const uint8_t *error_nums, whd_error_handl…
260 uint32_t whd_wifi_deregister_event_handler(whd_interface_t ifp, uint16_t event_index);
269 uint32_t whd_wifi_deregister_error_handler(whd_interface_t ifp, uint16_t error_index);
Dwhd_network_types.h202 void (*whd_network_process_ethernet_data)(whd_interface_t ifp, whd_buffer_t buffer);
222 extern whd_result_t whd_network_send_ethernet_data(whd_interface_t ifp, whd_buffer_t buffer);
/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/src/
Dwhd_wifi_api.c307 static void *whd_wifi_join_events_handler(whd_interface_t ifp, const whd_event_header_t *event_head…
309 static void *whd_wifi_scan_events_handler(whd_interface_t ifp, const whd_event_header_t *event_head…
312 static uint32_t whd_wifi_prepare_join(whd_interface_t ifp,
317 static uint32_t whd_wifi_check_join_status(whd_interface_t ifp);
318 static void whd_wifi_active_join_deinit(whd_interface_t ifp, cy_semaphore_t *stack_semaphore,
320 static uint32_t whd_wifi_active_join_init(whd_interface_t ifp, whd_security_t auth_type,
332 static uint32_t whd_wifi_set_supplicant_key_timeout(whd_interface_t ifp, int32_t eapol_key_timeout);
345 uint32_t whd_wifi_set_up(whd_interface_t ifp) in whd_wifi_set_up() argument
351 CHECK_IFP_NULL(ifp); in whd_wifi_set_up()
353 whd_driver = ifp->whd_driver; in whd_wifi_set_up()
[all …]
Dwhd_ap.c59 static void *whd_handle_apsta_event(whd_interface_t ifp, const whd_event_header_t *event_header,
89 whd_result_t whd_wifi_set_block_ack_window_size_common(whd_interface_t ifp, uint16_t ap_win_size, u… in whd_wifi_set_block_ack_window_size_common() argument
95 if (ifp->role == WHD_AP_ROLE) in whd_wifi_set_block_ack_window_size_common()
100 if (ifp->role == WHD_STA_ROLE) in whd_wifi_set_block_ack_window_size_common()
105 …retval = whd_wifi_set_iovar_value(ifp, IOVAR_STR_AMPDU_BA_WINDOW_SIZE, ( uint32_t )block_ack_windo… in whd_wifi_set_block_ack_window_size_common()
112 whd_result_t whd_wifi_set_ampdu_parameters_common(whd_interface_t ifp, uint8_t ba_window_size, int8… in whd_wifi_set_ampdu_parameters_common() argument
115 CHECK_RETURN(whd_wifi_set_iovar_value(ifp, IOVAR_STR_AMPDU_BA_WINDOW_SIZE, ba_window_size) ); in whd_wifi_set_ampdu_parameters_common()
118 CHECK_RETURN(whd_wifi_set_iovar_value(ifp, IOVAR_STR_AMPDU_MPDU, ( uint32_t )ampdu_mpdu) ); in whd_wifi_set_ampdu_parameters_common()
122 CHECK_RETURN(whd_wifi_set_iovar_value(ifp, IOVAR_STR_AMPDU_RX_FACTOR, rx_factor) ); in whd_wifi_set_ampdu_parameters_common()
130 whd_result_t whd_wifi_set_ampdu_parameters(whd_interface_t ifp) in whd_wifi_set_ampdu_parameters() argument
[all …]
Dwhd_management.c70 whd_interface_t ifp; in whd_add_interface() local
87 if ( (ifp = (whd_interface_t)malloc(sizeof(struct whd_interface) ) ) != NULL ) in whd_add_interface()
89 memset(ifp, 0, (sizeof(struct whd_interface) ) ); in whd_add_interface()
90 *ifpp = ifp; in whd_add_interface()
91 ifp->whd_driver = whd_driver; in whd_add_interface()
95 ifp->if_name[WHD_MSG_IFNAME_MAX - 1] = '\0'; in whd_add_interface()
96 strncpy(ifp->if_name, name, sizeof(ifp->if_name) - 1); in whd_add_interface()
97 memset(ifp->event_reg_list, WHD_EVENT_NOT_REGISTERED, sizeof(ifp->event_reg_list) ); in whd_add_interface()
99 ifp->ifidx = ifidx; in whd_add_interface()
100 ifp->bsscfgidx = bsscfgidx; in whd_add_interface()
[all …]
Dwhd_events.c53 static uint8_t *whd_management_alloc_event_msgs_buffer(whd_interface_t ifp, whd_buffer_t *buffer);
99 whd_result_t whd_management_set_event_handler_locally(whd_interface_t ifp, const whd_event_num_t *e… in whd_management_set_event_handler_locally() argument
105 whd_driver_t whd_driver = ifp->whd_driver; in whd_management_set_event_handler_locally()
126 (cdc_bdc_info->whd_event_list[i].ifidx == ifp->ifidx) ) in whd_management_set_event_handler_locally()
153 cdc_bdc_info->whd_event_list[entry].ifidx = ifp->ifidx; in whd_management_set_event_handler_locally()
254 static uint8_t *whd_management_alloc_event_msgs_buffer(whd_interface_t ifp, whd_buffer_t *buffer) in whd_management_alloc_event_msgs_buffer() argument
262 whd_driver_t whd_driver = ifp->whd_driver; in whd_management_alloc_event_msgs_buffer()
297 data[0] = ifp->bsscfgidx; in whd_management_alloc_event_msgs_buffer()
314 data[0] = ifp->bsscfgidx; in whd_management_alloc_event_msgs_buffer()
347 whd_result_t whd_management_set_event_handler(whd_interface_t ifp, const whd_event_num_t *event_num… in whd_management_set_event_handler() argument
[all …]
Dwhd_clm.c41 whd_download_wifi_clm_image(whd_interface_t ifp, const char *iovar, uint16_t flag, uint16_t dload_t… in whd_download_wifi_clm_image() argument
48 whd_driver_t whd_driver = ifp->whd_driver; in whd_download_wifi_clm_image()
63 CHECK_RETURN(whd_cdc_send_iovar(ifp, CDC_SET, buffer, NULL) ); in whd_download_wifi_clm_image()
67 whd_result_t whd_process_clm_data(whd_interface_t ifp) in whd_process_clm_data() argument
81 whd_driver_t whd_driver = ifp->whd_driver; in whd_process_clm_data()
128 … ret = whd_download_wifi_clm_image(ifp, IOVAR_STR_CLMLOAD, dl_flag, DL_TYPE_CLM, chunk_buf, in whd_process_clm_data()
149 ret_clmload_status = whd_cdc_send_iovar(ifp, CDC_GET, buffer, &response); in whd_process_clm_data()
Dwhd_wifi.c56 uint32_t whd_wifi_set_mac_address(whd_interface_t ifp, whd_mac_t mac) in whd_wifi_set_mac_address() argument
60 whd_driver_t whd_driver = ifp->whd_driver; in whd_wifi_set_mac_address()
71 if (ifp->role == WHD_AP_ROLE) in whd_wifi_set_mac_address()
89 CHECK_RETURN(whd_cdc_send_iovar(ifp, CDC_SET, buffer, NULL) ); in whd_wifi_set_mac_address()
106 CHECK_RETURN(whd_cdc_send_iovar(ifp, CDC_SET, buffer, NULL) ); in whd_wifi_set_mac_address()
Dwhd_cdc_bdc.c193 whd_result_t whd_cdc_send_ioctl(whd_interface_t ifp, cdc_command_type_t type, uint32_t command, in whd_cdc_send_ioctl() argument
205 uint32_t bss_index = ifp->bsscfgidx; in whd_cdc_send_ioctl()
206 whd_driver_t whd_driver = ifp->whd_driver; in whd_cdc_send_ioctl()
235 WHD_IOCTL_LOG_ADD(ifp->whd_driver, command, send_buffer_hnd); in whd_cdc_send_ioctl()
341 whd_result_t whd_cdc_send_iovar(whd_interface_t ifp, cdc_command_type_t type, in whd_cdc_send_iovar() argument
347 …return whd_cdc_send_ioctl(ifp, CDC_SET, (uint32_t)WLC_SET_VAR, send_buffer_hnd, response_buffer_hn… in whd_cdc_send_iovar()
351 …return whd_cdc_send_ioctl(ifp, CDC_GET, (uint32_t)WLC_GET_VAR, send_buffer_hnd, response_buffer_hn… in whd_cdc_send_iovar()
401 whd_result_t whd_network_send_ethernet_data(whd_interface_t ifp, whd_buffer_t buffer) in whd_network_send_ethernet_data() argument
408 whd_driver_t whd_driver = ifp->whd_driver; in whd_network_send_ethernet_data()
428 result = whd_buffer_release(ifp->whd_driver, buffer, WHD_NETWORK_TX); in whd_network_send_ethernet_data()
[all …]
Dwhd_network_if.c71 whd_result_t whd_network_process_ethernet_data(whd_interface_t ifp, whd_buffer_t buffer) in whd_network_process_ethernet_data() argument
73 whd_driver_t whd_driver = ifp->whd_driver; in whd_network_process_ethernet_data()
76 whd_driver->network_if->whd_network_process_ethernet_data(ifp, buffer); in whd_network_process_ethernet_data()
Dwhd_chip.c732 whd_result_t whd_wifi_set_custom_country_code(whd_interface_t ifp, const whd_country_info_t *countr… in whd_wifi_set_custom_country_code() argument
734 whd_driver_t whd_driver = ifp->whd_driver; in whd_wifi_set_custom_country_code()
751 result = whd_cdc_send_ioctl(ifp, CDC_SET, WLC_SET_CUSTOM_COUNTRY, buffer, NULL); in whd_wifi_set_custom_country_code()
916 whd_result_t whd_wifi_read_fw_capabilities(whd_interface_t ifp) in whd_wifi_read_fw_capabilities() argument
922 CHECK_IFP_NULL(ifp); in whd_wifi_read_fw_capabilities()
923 whd_driver_t whd_driver = ifp->whd_driver; in whd_wifi_read_fw_capabilities()
925 result = whd_wifi_get_iovar_buffer(ifp, IOVAR_STR_CAP, (uint8_t *)caps, sizeof(caps) ); in whd_wifi_read_fw_capabilities()
/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/src/include/
Dwhd_types_int.h118 #define CHECK_IFP_NULL(ifp) if (ifp == \ argument
360 uint32_t whd_wifi_get_iovar_value(whd_interface_t ifp, const char *iovar, uint32_t *value);
361 uint32_t whd_wifi_set_iovar_buffers(whd_interface_t ifp, const char *iovar, const void **in_buffers,
363 uint32_t whd_wifi_set_iovar_value(whd_interface_t ifp, const char *iovar, uint32_t value);
372 extern uint32_t whd_wifi_set_iovar_void(whd_interface_t ifp, const char *iovar);
383 extern uint32_t whd_wifi_set_iovar_buffer(whd_interface_t ifp, const char *iovar, void *buffer, uin…
395 extern uint32_t whd_wifi_set_iovar_buffers(whd_interface_t ifp, const char *iovar, const void **in_…
407 extern uint32_t whd_wifi_get_iovar_buffer(whd_interface_t ifp, const char *iovar_name, uint8_t *out…
419 extern uint32_t whd_wifi_set_iovar_buffer(whd_interface_t ifp, const char *iovar, void *buffer, uin…
431 extern uint32_t whd_wifi_set_iovar_buffers(whd_interface_t ifp, const char *iovar, const void **in_…
[all …]
Dwhd_events_int.h389 typedef void *(*whd_event_handler_t)(whd_interface_t ifp, const whd_event_header_t *event_header,
403 extern whd_result_t whd_management_set_event_handler_locally(whd_interface_t ifp,
408 extern whd_result_t whd_management_set_event_handler(whd_interface_t ifp, const whd_event_num_t *ev…
412 extern uint32_t whd_wifi_set_event_handler(whd_interface_t ifp, const uint32_t *event_type,
416 extern uint32_t whd_wifi_deregister_event_handler(whd_interface_t ifp, uint16_t event_index);
422 extern whd_result_t whd_wifi_set_error_handler(whd_interface_t ifp, const uint8_t *error_type,
426 extern uint32_t whd_wifi_deregister_error_handler(whd_interface_t ifp, uint16_t error_index);
Dwhd_cdc_bdc.h151 whd_result_t whd_cdc_send_iovar(whd_interface_t ifp, cdc_command_type_t type,
155 whd_result_t whd_cdc_send_ioctl(whd_interface_t ifp, cdc_command_type_t type, uint32_t command,
163 whd_result_t whd_network_send_ethernet_data(whd_interface_t ifp, whd_buffer_t buffer);
Dwhd_ap.h84 whd_result_t whd_wifi_set_block_ack_window_size(whd_interface_t ifp);
95 extern whd_result_t whd_wifi_set_ampdu_parameters(whd_interface_t ifp);
Dwhd_clm.h38 whd_result_t whd_process_clm_data(whd_interface_t ifp);
Dwhd_network_if.h70 whd_result_t whd_network_process_ethernet_data(whd_interface_t ifp, whd_buffer_t buffer);
Dwhd_chip.h377 extern whd_result_t whd_wifi_set_custom_country_code(whd_interface_t ifp, const whd_country_info_t …
396 extern whd_result_t whd_wifi_read_fw_capabilities(whd_interface_t ifp);