| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/ |
| D | mlan_ioctl.h | 303 t_u32 bss_index; 305 t_u32 req_id; 312 t_u32 buf_len; 314 t_u32 data_read_written; 316 t_u32 buf_len_needed; 370 t_u32 ssid_len; 406 t_u32 scan_number; 427 t_u32 fixed_field_length; 433 t_u32 bss_info_length; 457 t_u32 specific_scan_time; [all …]
|
| D | mlan_decl.h | 81 #define MLAN_FIELD_OFFSET(type, field) ((t_u32)(t_ptr) & (((type *)0)->field)) 83 #define OFFSET_ALIGN_ADDR(p, a) (t_u32)(ALIGN_ADDR(p, a) - (t_ptr)p) 272 #define MBIT(x) (((t_u32)1) << (x)) 497 t_u32 helper_len; 501 t_u32 fw_len; 514 t_u32 cal_data_len; 554 t_u32 freq; 568 t_u32 bss_index; 572 t_u32 event_len; 582 t_u32 event_len; [all …]
|
| D | mlan_main.h | 24 extern t_void (*print_callback)(IN t_void *pmoal_handle, IN t_u32 level, IN t_s8 *pformat, IN...); 26 extern mlan_status (*get_sys_time_callback)(IN t_void *pmoal_handle, OUT t_u32 *psec, OUT t_u32 *pu… 28 extern t_u32 drvdbg; 309 …((t_u32)((((t_u32)(x)&0x000000ffUL) << 24) | (((t_u32)(x)&0x0000ff00UL) << 8) | (((t_u32)(x)&0x00f… 310 (((t_u32)(x)&0xff000000UL) >> 24))) 396 extern t_void (*assert_callback)(IN t_void *pmoal_handle, IN t_u32 cond); 673 t_u32 num_cmd_host_to_card_failure; 675 t_u32 num_cmd_sleep_cfm_host_to_card_failure; 677 t_u32 num_tx_host_to_card_failure; 679 t_u32 num_cmdevt_card_to_host_failure; [all …]
|
| D | mlan_fw.h | 889 ((MCSMapSet) |= (t_u32)(((t_u32)(value)&0x0003U) << (t_u32)(2U * ((t_u32)(nss)-1U)))) 974 t_u32 fw_cap_info; 976 t_u32 fw_cap_ext; 2041 t_u32 frame_mask; 2093 t_u32 tx_control; 2154 t_u32 rx_info; 2163 t_u32 hi_rx_count32; 2244 t_u32 tx_control; 2254 t_u32 reserved; 2313 t_u32 sta_flags; [all …]
|
| D | mlan_init.h | 31 #define FW_DATA_XMIT_SIZE sizeof(FWHeader) + DataLength + sizeof(t_u32) 37 t_u32 dnld_cmd; 39 t_u32 base_addr; 41 t_u32 data_length; 43 t_u32 crc; 52 t_u32 seq_num; 61 t_u32 cmd; 63 t_u32 seq_num;
|
| D | mlan_ieee.h | 939 t_u32 MinServiceInterval; 940 t_u32 MaxServiceInterval; 941 t_u32 InactivityInterval; 942 t_u32 SuspensionInterval; 943 t_u32 ServiceStartTime; 944 t_u32 MinimumDataRate; 945 t_u32 MeanDataRate; 946 t_u32 PeakDataRate; 947 t_u32 MaxBurstSize; 948 t_u32 DelayBound; [all …]
|
| D | mlan_11k.h | 109 t_u32 parent_tsf; 174 void wlan_process_radio_measurement_request(t_u8 *frame, t_u32 len, t_u8 *dest_addr, t_u8 *src_addr… 175 void wlan_process_neighbor_report_response(t_u8 *frame, t_u32 len, t_u8 *dest_addr, t_u8 *src_addr,… 177 t_u8 *frame, t_u32 len, t_u8 *dest_addr, t_u8 *src_addr, bool protect, RxPD *rxpd); 179 t_u8 dialog_tok, t_u8 *src_addr, t_u8 *dst_addr, t_u8 *rep, t_u32 rep_len, bool protect); 184 t_u32 *pos_last_indication);
|
| D | mlan_api.h | 198 t_u32 *pout_rates_size); 203 IN t_u32 cmd_oid, 212 t_u32 cmd_oid, 221 t_u32 cmd_oid, in wifi_uap_prepare_and_send_cmd() 619 t_u32 *back_off, 620 t_u32 *highThreshold, 621 t_u32 *lowThreshold, 622 t_u32 *dutycycstep, 623 t_u32 *dutycycmin,
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wifidriver/ |
| D | wifi.h | 81 #define MBIT(x) (((t_u32)1) << (x)) 299 int wifi_add_to_bypassq(const t_u8 interface, void *pkt, t_u32 len); 768 int wifi_set_antenna(t_u32 ant_mode, t_u16 evaluate_time); 769 int wifi_get_antenna(t_u32 *ant_mode, t_u16 *evaluate_time, t_u16 *current_antenna); 771 int wifi_set_antenna(t_u32 ant_mode, t_u16 evaluate_time, t_u8 evaluate_mode); 772 int wifi_get_antenna(t_u32 *ant_mode, t_u16 *evaluate_time, t_u8 *evaluate_mode, t_u16 *current_ant… 813 int wifi_get_region_code(t_u32 *region_code); 833 int wifi_set_region_code(t_u32 region_code); 874 int wifi_get_tx_power(t_u32 *power_level); 875 int wifi_set_tx_power(t_u32 power_level); [all …]
|
| D | wifi-decl.h | 527 t_u32 rate_index; 529 t_u32 rate; 532 t_u32 nss; 542 t_u32 tx_data_rate; 544 t_u32 rx_data_rate; 547 t_u32 tx_bw; 549 t_u32 tx_gi; 551 t_u32 rx_bw; 553 t_u32 rx_gi; 557 t_u32 tx_mcs_index; [all …]
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/ |
| D | wifi-sdio.c | 56 void set_ioport_inmlan(t_u32 port); 60 static t_u32 last_cmd_sent, fw_init_cfg; 103 static mlan_status wifi_send_fw_data(t_u8 *data, t_u32 txlen) in wifi_send_fw_data() 105 t_u32 tx_blocks = 0, buflen = 0; in wifi_send_fw_data() 320 int raw_process_pkt_hdrs(void *pbuf, t_u32 payloadlen, t_u8 interface) in raw_process_pkt_hdrs() 356 void process_pkt_hdrs(void *pbuf, t_u32 payloadlen, t_u8 interface, t_u8 tid, t_u32 tx_control) in process_pkt_hdrs() 484 t_u32 cmdtype; in wlan_handle_cmd_resp_packet() 590 static mlan_status wlan_decode_rx_packet(t_u8 *pmbuf, t_u32 upld_type) in wlan_decode_rx_packet() 706 static t_u32 get_ioport(void) 712 static t_u8 *wlan_read_rcv_packet(t_u32 port, t_u32 rxlen, t_u32 rx_blocks, t_u32 *type, bool aggr) in wlan_read_rcv_packet() [all …]
|
| D | wifi-sdio.h | 67 t_u32 ioport; 68 t_u32 curr_wr_port; 69 t_u32 curr_rd_port; 70 t_u32 mp_end_port; 71 t_u32 bss_num; 72 t_u32 sta_mac_addr1; 73 t_u32 sta_mac_addr2; 74 t_u32 wifi_state; 101 int wlan_send_sdio_cmd(t_u8 *buf, t_u32 tx_blocks, t_u32 buflen); 108 int wifi_send_cmdbuffer(t_u32 tx_blocks, t_u32 len); [all …]
|
| D | wifi-imu.h | 60 t_u32 ioport; 61 t_u32 curr_wr_port; 62 t_u32 curr_rd_port; 63 t_u32 mp_end_port; 64 t_u32 bss_num; 65 t_u32 sta_mac_addr1; 66 t_u32 sta_mac_addr2; 67 t_u32 wifi_state; 110 mlan_status wlan_xmit_pkt(t_u8 *buffer, t_u32 txlen, t_u8 interface, t_u32 tx_control); 111 int raw_process_pkt_hdrs(void *pbuf, t_u32 payloadlen, t_u8 interface); [all …]
|
| D | mlan_action.c | 45 t_u8 *payload, t_u32 payload_len, t_u8 *dest_addr, t_u8 *src_addr, RxPD *rxpd) in wlan_process_mgmt_radio_measurement_action() 100 static mlan_status wlan_process_mgmt_wnm_action(t_u8 *payload, t_u32 payload_len, t_u8 *src_addr, t… in wlan_process_mgmt_wnm_action() 129 static mlan_status wlan_process_mgmt_unprotect_wnm_action(t_u8 *payload, t_u32 payload_len, RxPD *r… in wlan_process_mgmt_unprotect_wnm_action() 195 void wlan_process_timing_measurement_frame(t_u8 *payload, t_u32 payload_len, RxPD *rxpd) in wlan_process_timing_measurement_frame() 215 info->t3 = (t_u32)(tsf >> 32); in wlan_process_timing_measurement_frame() 216 info->t2 = (t_u32)tsf; in wlan_process_timing_measurement_frame() 232 t_u32 len; in wlan_send_timing_measurement_req_frame() 234 t_u32 offset = WLAN_MGMT_PKT_START_OFFSET; in wlan_send_timing_measurement_req_frame() 238 t_u32 meas_frm_len = 0; in wlan_send_timing_measurement_req_frame() 268 t_u32 len; in wlan_send_timing_measurement_frame() [all …]
|
| D | wifi-imu.c | 64 t_u32 last_resp_rcvd, last_cmd_sent; 149 static hal_rpmsg_status_t wifi_send_fw_cmd(t_u16 cmd_type, t_u8 *cmd_payload, t_u32 length) in wifi_send_fw_cmd() 178 static hal_rpmsg_status_t wifi_send_fw_data(t_u8 *data, t_u32 length) in wifi_send_fw_data() 252 int raw_process_pkt_hdrs(void *pbuf, t_u32 payloadlen, t_u8 interface) in raw_process_pkt_hdrs() 282 void process_pkt_hdrs(void *pbuf, t_u32 payloadlen, t_u8 interface, t_u8 tid, t_u32 tx_control) in process_pkt_hdrs() 307 int process_amsdu_pkt_hdrs(void *pbuf, t_u32 payloadlen, mlan_wmm_ac_e ac, t_u8 interface) in process_amsdu_pkt_hdrs() 309 int process_amsdu_pkt_hdrs(void *pbuf, t_u32 payloadlen, mlan_wmm_ac_e ac) in process_amsdu_pkt_hdrs() 408 t_u32 cmdtype; in wlan_handle_cmd_resp_packet() 409 t_u32 cmdsize; in wlan_handle_cmd_resp_packet() 479 t_u32 fw_cap_ext_rw610; in wlan_handle_cmd_resp_packet() [all …]
|
| D | mlan_scan.c | 113 static t_u32 wlan_find_worst_network_in_list(const BSSDescriptor_t *pbss_desc, t_u32 num_entries); 378 t_u32 region_idx; in wlan_scan_create_channel_list() 379 t_u32 chan_idx = 0; in wlan_scan_create_channel_list() 380 t_u32 next_chan; in wlan_scan_create_channel_list() 573 t_u32 bytes_left = 0; in wlan_add_probe_request_ie() 647 IN t_u32 max_chan_per_scan, in wlan_scan_channel_list() 660 t_u32 tlv_idx; in wlan_scan_channel_list() 661 t_u32 total_scan_time; in wlan_scan_channel_list() 662 t_u32 done_early; in wlan_scan_channel_list() 663 t_u32 cmd_no; in wlan_scan_channel_list() [all …]
|
| D | mlan_11k.c | 101 …n_link_measurement_get_tx_power(wifi_txpwrlimit_t *txpwrlimit, t_u8 ModulationGroup, t_u32 channel) in wlan_link_measurement_get_tx_power() 220 t_u32 pos_last_indication = 0; in wlan_process_rm_beacon_report_table() 254 …wlan_send_mgmt_rm_beacon_report(dialog_tok, dest_addr, src_addr, rep_buf, (t_u32)(meas_rep_len), p… in wlan_process_rm_beacon_report_table() 271 …wlan_send_mgmt_rm_beacon_report(dialog_tok, dest_addr, src_addr, rep_buf, (t_u32)(meas_rep_len), p… in wlan_process_rm_beacon_report_table() 286 …wlan_send_mgmt_rm_beacon_report(dialog_tok, dest_addr, src_addr, rep_buf, (t_u32)(meas_rep_len), p… in wlan_process_rm_beacon_report_table() 313 t_u32 len, in wlan_process_rm_beacon_req() 449 t_u32 *pos_last_indication) in wlan_add_rm_beacon_report() 642 *pos_last_indication = (t_u32)&pos[2]; in wlan_add_rm_beacon_report() 656 t_u8 dialog_tok, t_u8 *src_addr, t_u8 *dst_addr, t_u8 *rep, t_u32 rep_len, bool protect) in wlan_send_mgmt_rm_beacon_report() 666 … (mlan_802_11_mac_addr *)(void *)dst_addr, sizeof(wlan_mgmt_pkt) + (t_u32)BEACON_REPORT_BUF_SIZE); in wlan_send_mgmt_rm_beacon_report() [all …]
|
| D | wifi_pwrmgr.c | 98 int wifi_send_hs_cfg_cmd(mlan_bss_type interface, t_u32 ipv4_addr, t_u16 action, t_u32 conditions) in wifi_send_hs_cfg_cmd() 114 …cmd->seq_num = (t_u16)(HostCmd_SET_SEQ_NO_BSS_INFO(0U /* seq_num */, 0U /* bss_num */, (t_u32)(int… in wifi_send_hs_cfg_cmd() 131 if ((conditions != (t_u32)(HOST_SLEEP_CFG_CANCEL)) && in wifi_send_hs_cfg_cmd() 132 ((conditions & (t_u32)(WIFI_WAKE_ON_ARP_BROADCAST)) != 0U)) in wifi_send_hs_cfg_cmd() 134 hs_cfg_obj.conditions |= (t_u32)(WIFI_WAKE_ON_ALL_BROADCAST); in wifi_send_hs_cfg_cmd() 135 hs_cfg_obj.conditions &= ~((t_u32)(WIFI_WAKE_ON_ARP_BROADCAST)); in wifi_send_hs_cfg_cmd() 151 if ((conditions & (t_u32)(WIFI_WAKE_ON_MULTICAST)) != 0U) in wifi_send_hs_cfg_cmd() 160 if ((conditions & (t_u32)(WIFI_WAKE_ON_ALL_BROADCAST | WIFI_WAKE_ON_ARP_BROADCAST)) != 0U) in wifi_send_hs_cfg_cmd() 163 if ((conditions & (t_u32)(WIFI_WAKE_ON_ALL_BROADCAST)) != 0U) in wifi_send_hs_cfg_cmd() 177 if ((conditions & (t_u32)(WIFI_WAKE_ON_UNICAST)) != 0U) in wifi_send_hs_cfg_cmd() [all …]
|
| D | mlan_cfp.c | 677 t_u32 i; in wlan_get_region_cfp_table() 824 t_u32 wlan_index_to_data_rate(pmlan_adapter pmadapter, t_u8 index, t_u8 ht_info) 846 t_u32 rate = 0; 912 t_u32 wlan_index_to_data_rate(pmlan_adapter pmadapter, 971 t_u32 rate = 0; 1126 t_u32 wlan_get_active_data_rates(mlan_private *pmpriv, 1131 t_u32 k; 1164 t_u32 cfp_no; 1168 t_u32 cfp_no_a; 1177 cfp_no = (t_u32)cfp_table_BG[i].cfp_no; [all …]
|
| D | wifi.c | 40 t_u32 valid_item_cnt = 0; 179 int wifi_set_mac_multicast_addr(const char *mlist, t_u32 num_of_addr); 214 extern void process_pkt_hdrs(void *pbuf, t_u32 payloadlen, t_u8 interface, t_u8 tid, t_u32 tx_contr… 986 t_u32 buf_len = MLAN_SDIO_BLOCK_SIZE; in wifi_wait_for_vdllcmdresp() 987 t_u32 tx_blocks; in wifi_wait_for_vdllcmdresp() 1012 tx_blocks = ((t_u32)cmd->size + MLAN_SDIO_BLOCK_SIZE - 1U) / MLAN_SDIO_BLOCK_SIZE; in wifi_wait_for_vdllcmdresp() 1116 t_u32 buf_len = MLAN_SDIO_BLOCK_SIZE; in wifi_wait_for_cmdresp() 1117 t_u32 tx_blocks; in wifi_wait_for_cmdresp() 1194 tx_blocks = ((t_u32)cmd->size + MLAN_SDIO_BLOCK_SIZE - 1U) / MLAN_SDIO_BLOCK_SIZE; in wifi_wait_for_cmdresp() 1252 t_u32 outbuf_len = 0; in wifi_wait_for_cmdresp() [all …]
|
| D | sdio.c | 55 t_u32 ioport_g = 0; 64 WEAK void set_ioport_inmlan(t_u32 port) in set_ioport_inmlan() 90 t_u32 tries; in wlan_card_status() 109 void calculate_sdio_write_params(t_u32 txlen, t_u32 *tx_blocks, t_u32 *buflen) in calculate_sdio_write_params()
|
| D | mlan_11ac.c | 46 t_u8 wlan_get_center_freq_idx(IN mlan_private *pmpriv, IN t_u8 band, IN t_u32 pri_chan, IN t_u8 cha… in wlan_get_center_freq_idx() 205 t_u32 usr_dot_11ac_dev_cap; in wlan_fill_cap_info() 244 t_u32 usr_vht_cap_info = 0; in wlan_11ac_ioctl_vhtcfg() 245 t_u32 cfg_value = 0; in wlan_11ac_ioctl_vhtcfg() 246 t_u32 hw_value = 0; in wlan_11ac_ioctl_vhtcfg() 550 void wlan_show_dot11acdevcap(pmlan_adapter pmadapter, t_u32 cap) 608 void wlan_show_dot11acmcssupport(pmlan_adapter pmadapter, t_u32 support) 638 t_u32 usr_vht_cap_info = 0; in wlan_convert_mcsmap_to_maxrate() 639 t_u32 usr_dot_11n_dev_cap; in wlan_convert_mcsmap_to_maxrate() 776 t_u32 mcs_map_result = 0U; in wlan_fill_vht_cap_tlv() [all …]
|
| D | mlan_cmdevt.c | 51 IN t_u32 cmd_oid, in wlan_prepare_cmd() 135 psmode_enh->params.ext_param.param.header.len = sizeof(t_u32); in wlan_cmd_enh_power_mode() 136 psmode_enh->params.ext_param.param.mode = wlan_cpu_to_le32(*((t_u32 *)pdata_buf)); in wlan_cmd_enh_power_mode() 233 internal = *(t_u32 *)pdata_buf; in wlan_cmd_enh_power_mode() 398 rate->param.rate_cfg.rate = (t_u32)((pmpriv->tx_rate) & 0xF); in wlan_ret_802_11_tx_rate_query() 441 rate->param.data_rate.tx_bw = (t_u32)((pmpriv->tx_rate_info & 0xC) >> 2); in wlan_ret_802_11_tx_rate_query() 449 rate->param.data_rate.tx_gi = (t_u32)((pmpriv->tx_rate_info & 0x10) >> 4); in wlan_ret_802_11_tx_rate_query() 451 rate->param.data_rate.tx_mcs_index = (t_u32)((pmpriv->tx_rate) & 0xF); in wlan_ret_802_11_tx_rate_query() 501 rate->param.data_rate.rx_bw = (t_u32)((pmpriv->rxpd_rate_info & 0xC) >> 2); in wlan_ret_802_11_tx_rate_query() 509 rate->param.data_rate.rx_gi = (t_u32)((pmpriv->rxpd_rate_info & 0x10) >> 4); in wlan_ret_802_11_tx_rate_query() [all …]
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wlcmgr/ |
| D | wlan.h | 877 t_u32 detect_count; 888 t_u32 reallyPassed; 2008 t_u32 ps_null_interval; 2010 t_u32 multiple_dtim_interval; 2012 t_u32 listen_interval; 2014 t_u32 adhoc_awake_period; 2016 t_u32 bcn_miss_timeout; 2023 t_u32 ps_mode; 2095 t_u32 htmcs_txcnt[16]; 2097 t_u32 htsgi_txcnt[16]; [all …]
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/firmware_dnld/ |
| D | firmware_dnld.c | 38 static int32_t conn_download_normal_fw(const t_u8 *connfw_dl, t_u32 firmwarelen, fwdnld_intf_t *int… in conn_download_normal_fw() 40 t_u32 offset = 0; in conn_download_normal_fw() 42 t_u32 remaining_len = firmwarelen; in conn_download_normal_fw() 59 int32_t conn_download_decomp_fw(t_u8 *wlanfw_xz, t_u32 firmwarelen, t_u32 ioport) in conn_download_decomp_fw() 61 t_u32 tx_blocks = 0, txlen = 0, buflen = 0; in conn_download_decomp_fw() 63 t_u32 offset = 0; in conn_download_decomp_fw() 64 t_u32 tries = 0; in conn_download_decomp_fw() 189 t_u32 firmwarelen; in firmware_download() 220 fwdnld_io_d("Start copying connectivity firmware from 0x%x", (t_u32)conn_fw); in firmware_download()
|