Home
last modified time | relevance | path

Searched refs:tlv (Results 1 – 15 of 15) sorted by relevance

/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_uap_cmdevent.c41 t_u8 *tlv = MNULL; in wlan_uap_cmd_ap_config() local
81 tlv = (t_u8 *)sys_config->tlv_buffer; in wlan_uap_cmd_ap_config()
84 tlv_mac = (MrvlIEtypes_MacAddr_t *)(void *)tlv; in wlan_uap_cmd_ap_config()
89 tlv += sizeof(MrvlIEtypes_MacAddr_t); in wlan_uap_cmd_ap_config()
94 tlv_ssid = (MrvlIEtypes_SsIdParamSet_t *)(void *)tlv; in wlan_uap_cmd_ap_config()
100 tlv += sizeof(MrvlIEtypesHeader_t) + bss->param.bss_config.ssid.ssid_len; in wlan_uap_cmd_ap_config()
106 tlv_beacon_period = (MrvlIEtypes_beacon_period_t *)(void *)tlv; in wlan_uap_cmd_ap_config()
111 tlv += sizeof(MrvlIEtypes_beacon_period_t); in wlan_uap_cmd_ap_config()
117 tlv_ecsa_config = (MrvlIEtypes_ecsa_config_t *)(void *)tlv; in wlan_uap_cmd_ap_config()
124 tlv += sizeof(MrvlIEtypes_ecsa_config_t); in wlan_uap_cmd_ap_config()
[all …]
Dwifi-uap.c1177 uint8_t *tlv = acs_cmd->tlv_buffer; in wifi_uap_acs_config_set() local
1179 tlv_chan_list = (MrvlIEtypes_ChanListParamSet_t *)(void *)tlv; in wifi_uap_acs_config_set()
1213 t_u8 *tlv = MNULL; in wifi_uap_do_acs() local
1231 tlv = (t_u8 *)sys_config->tlv_buffer; in wifi_uap_do_acs()
1232 tlv_chan_band = (MrvlIEtypes_channel_band_t *)tlv; in wifi_uap_do_acs()
1238 tlv += sizeof(MrvlIEtypes_channel_band_t); in wifi_uap_do_acs()
1241 tlv_chan_list = (MrvlIEtypes_ChanListParamSet_t *)tlv; in wifi_uap_do_acs()
1280 tlv += sizeof(tlv_chan_list->header) + (scan_chan_num * sizeof(ChanScanParamSet_t)); in wifi_uap_do_acs()
1359 uint8_t *tlv = sys_config_cmd->tlv_buffer; in wifi_uap_enable_sticky_bit() local
1367 tlvbuf_sticky_tim_config *tlv_sticky_tim_cfg = (tlvbuf_sticky_tim_config *)tlv; in wifi_uap_enable_sticky_bit()
[all …]
Dmlan_sta_cmd.c1601 t_u8 *tlv = tlv0; local
1618 if ((tlv - tlv0) > resp->size)
1620 rssi_low = (MrvlIEtypes_BeaconLowRssiThreshold_t *)tlv;
1623 tlv += rssi_low->header.len + tyhdsize;
1626 if ((tlv - tlv0) > resp->size)
1628 snr_low = (MrvlIEtypes_BeaconLowSnrThreshold_t *)tlv;
1631 tlv += sizeof(MrvlIEtypes_BeaconLowSnrThreshold_t);
1634 if ((tlv - tlv0) > resp->size)
1636 fail_count = (MrvlIEtypes_FailureCount_t *)tlv;
1639 tlv += sizeof(MrvlIEtypes_FailureCount_t);
[all …]
Dmlan_11ax.c420 MrvlIEtypes_Extension_t *tlv = MNULL; in wlan_cmd_11ax_cfg() local
434 tlv = (MrvlIEtypes_Extension_t *)pos; in wlan_cmd_11ax_cfg()
435 tlv->type = wlan_cpu_to_le16(he_cfg->he_cap.id); in wlan_cmd_11ax_cfg()
436 tlv->len = wlan_cpu_to_le16(he_cfg->he_cap.len); in wlan_cmd_11ax_cfg()
437 (void)__memcpy(pmpriv->adapter, &tlv->ext_id, &he_cfg->he_cap.ext_id, he_cfg->he_cap.len); in wlan_cmd_11ax_cfg()
462 MrvlIEtypes_Extension_t *tlv = MNULL; in wlan_ret_11ax_cfg() local
475 tlv = (MrvlIEtypes_Extension_t *)axcfg->val; in wlan_ret_11ax_cfg()
479 tlv_type = wlan_le16_to_cpu(tlv->type); in wlan_ret_11ax_cfg()
480 tlv_len = wlan_le16_to_cpu(tlv->len); in wlan_ret_11ax_cfg()
483 switch (tlv->ext_id) in wlan_ret_11ax_cfg()
[all …]
Dmlan_cmdevt.c101 t_u8 *tlv = MNULL; in wlan_cmd_enh_power_mode() local
143 tlv = (t_u8 *)cmd + cmd_size; in wlan_cmd_enh_power_mode()
147 MrvlIEtypes_ps_param_t *ps_tlv = (MrvlIEtypes_ps_param_t *)(void *)tlv; in wlan_cmd_enh_power_mode()
152 tlv += (t_u8)sizeof(MrvlIEtypes_ps_param_t); in wlan_cmd_enh_power_mode()
164 MrvlIEtypes_auto_ds_param_t *auto_ps_tlv = (MrvlIEtypes_auto_ds_param_t *)(void *)tlv; in wlan_cmd_enh_power_mode()
171 tlv += (t_u8)sizeof(MrvlIEtypes_auto_ds_param_t); in wlan_cmd_enh_power_mode()
191 sleep_tlv = (MrvlIEtypes_sleep_param_t *)(void *)tlv; in wlan_cmd_enh_power_mode()
199 tlv += (t_u8)sizeof(MrvlIEtypes_sleep_param_t); in wlan_cmd_enh_power_mode()
203 inact_tlv = (MrvlIEtypes_inact_sleep_param_t *)(void *)tlv; in wlan_cmd_enh_power_mode()
211 tlv += (t_u8)sizeof(MrvlIEtypes_inact_sleep_param_t); in wlan_cmd_enh_power_mode()
[all …]
Dmlan_scan.c542 MrvlIEtypesHeader_t *tlv; in wlan_add_wps_probe_request_ie() local
548 tlv = (MrvlIEtypesHeader_t *)*pptlv_out; in wlan_add_wps_probe_request_ie()
549 tlv->type = wlan_cpu_to_le16(VENDOR_SPECIFIC_221); in wlan_add_wps_probe_request_ie()
550 tlv->len = wlan_cpu_to_le16(pmpriv->wps.wps_ie.vend_hdr.len); in wlan_add_wps_probe_request_ie()
570 MrvlIEtypesHeader_t *tlv; in wlan_add_probe_request_ie() local
606 tlv = (MrvlIEtypesHeader_t *)*pptlv_out; in wlan_add_probe_request_ie()
607 tlv->type = wlan_cpu_to_le16(pieee_hdr->element_id); in wlan_add_probe_request_ie()
608 tlv->len = wlan_cpu_to_le16(pieee_hdr->len); in wlan_add_probe_request_ie()
3278 MrvlIEtypesHeader_t *tlv = MNULL; in wlan_ret_802_11_scan_ext() local
3328 tlv = (MrvlIEtypesHeader_t *)pext_scan_cmd->tlv_buffer; in wlan_ret_802_11_scan_ext()
[all …]
Dmlan_glue.c88 uint8_t tlv[1];
212 MrvlIEtypesHeader_t *tlv; in wifi_11k_save_request() local
247 tlv = (MrvlIEtypesHeader_t *)(void *)buffer; in wifi_11k_save_request()
250 tlv_type = wlan_le16_to_cpu(tlv->type); in wifi_11k_save_request()
251 tlv_len = wlan_le16_to_cpu(tlv->len); in wifi_11k_save_request()
260 nlist = (nlist_entry_tlv *)(void *)tlv; in wifi_11k_save_request()
271 dump_hex((t_u8 *)tlv + sizeof(nlist_entry_tlv), in wifi_11k_save_request()
288 tlv = (MrvlIEtypesHeader_t *)(void *)((t_u8 *)tlv + tlv_len + sizeof(MrvlIEtypesHeader_t)); in wifi_11k_save_request()
3780 t_u8 *tlv = (t_u8 *)((t_u8 *)resp + S_DS_GEN); in wifi_process_cmd_response() local
3781 turbo_mode_para *turbo_ptr = (turbo_mode_para *)tlv; in wifi_process_cmd_response()
[all …]
Dmlan_api.c347 t_u8 *tlv = NULL; in wifi_bridge_mode() local
368 tlv = (t_u8 *)cmd + sizeof(HostCmd_BRIDGE_MODE) + S_DS_GEN; in wifi_bridge_mode()
370 bridge_params = (MrvlIEtypes_BridgeParamSet_t *)tlv; in wifi_bridge_mode()
375 tlv = (t_u8 *)bridge_params; in wifi_bridge_mode()
377 ssid = (MrvlIEtypes_SsIdParamSet_t *)(tlv + sizeof(MrvlIEtypesHeader_t)); in wifi_bridge_mode()
381 tlv = (t_u8 *)ssid; in wifi_bridge_mode()
383 …pass = (MrvlIEtypes_Passphrase_t *)(tlv + sizeof(MrvlIEtypesHeader_t) + ssid->header.… in wifi_bridge_mode()
388 tlv = (t_u8 *)pass; in wifi_bridge_mode()
390 …ssid = (MrvlIEtypes_SsIdParamSet_t *)(tlv + sizeof(MrvlIEtypesHeader_t) + pass->heade… in wifi_bridge_mode()
395 tlv = (t_u8 *)ssid; in wifi_bridge_mode()
[all …]
Dwifi_pwrmgr.c105 t_u8 *tlv = NULL; in wifi_send_hs_cfg_cmd() local
197 tlv = (t_u8 *)((uint32_t)cmd + cmd->size); in wifi_send_hs_cfg_cmd()
204 mgmt_filter_tlv = (MrvlIEtypes_MgmtFrameFilter_t *)tlv; in wifi_send_hs_cfg_cmd()
206 tlv += sizeof(MrvlIEtypesHeader_t); in wifi_send_hs_cfg_cmd()
215 tlv += i * sizeof(mgmt_frame_filter); in wifi_send_hs_cfg_cmd()
Dwifi.c2899tlv = (MrvlIETypes_MgmtFrameSet_t *)(pmbuf->pbuf + pmbuf->data_offset + pmbuf->data_len); in wlan_process_802dot11_mgmt_pkt2()
2900 tlv->type = wlan_cpu_to_le16(TLV_TYPE_MGMT_FRAME); in wlan_process_802dot11_mgmt_pkt2()
2901 tlv->len = sizeof(IEEEtypes_FrameCtl_t); in wlan_process_802dot11_mgmt_pkt2()
2902 … __memcpy(pmadapter, (t_u8 *)&tlv->frame_control, &pieee_pkt_hdr->frm_ctl, in wlan_process_802dot11_mgmt_pkt2()
2908 tlv->len += payload_len - sizeof(wlan_802_11_header); in wlan_process_802dot11_mgmt_pkt2()
2909 tlv->len = wlan_cpu_to_le16(tlv->len); in wlan_process_802dot11_mgmt_pkt2()
Dmlan_cfp.c2249 t_u16 tlv; local
2287 tlv = wlan_le16_to_cpu(head->type);
2296 switch (tlv)
/hal_nxp-latest/mcux/mcux-sdk/components/sdu/
Dfsl_adapter_sdu.c779 static void SDU_LoopbackRecvCmdHandler(void *tlv, size_t tlv_sz) in SDU_LoopbackRecvCmdHandler() argument
781 assert(NULL != tlv); in SDU_LoopbackRecvCmdHandler()
785 SDU_dump_hex(sdu_dbg_level, tlv, tlv_sz); in SDU_LoopbackRecvCmdHandler()
787 (void)SDU_Send(SDU_TYPE_FOR_READ_CMD, (uint8_t *)tlv, (uint16_t)(tlv_sz + CRC_LEN)); in SDU_LoopbackRecvCmdHandler()
790 static void SDU_LoopbackRecvDataHandler(void *tlv, size_t tlv_sz) in SDU_LoopbackRecvDataHandler() argument
792 assert(NULL != tlv); in SDU_LoopbackRecvDataHandler()
796 SDU_dump_hex(sdu_dbg_level, tlv, tlv_sz); in SDU_LoopbackRecvDataHandler()
798 (void)SDU_Send(SDU_TYPE_FOR_READ_DATA, (uint8_t *)tlv, (uint16_t)(tlv_sz + CRC_LEN)); in SDU_LoopbackRecvDataHandler()
Dfsl_adapter_sdu.h59 typedef void (*sdu_callback_t)(void *tlv, size_t tlv_sz);
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/
Dmlan_fw.h2300 t_u8 tlv[];
4106 t_u8 tlv[0];
7488 } tlv;
Dmlan_ioctl.h1189 t_u8 tlv[]; member