Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 72) sorted by relevance

123

/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_11k.c452 t_u8 *pos = *buf_pos; in wlan_add_rm_beacon_report() local
464 *pos++ = (t_u8)MEASURE_REPORT; in wlan_add_rm_beacon_report()
466 pos_tag_len = pos; in wlan_add_rm_beacon_report()
467 pos++; in wlan_add_rm_beacon_report()
468 *pos++ = rep_data->token; in wlan_add_rm_beacon_report()
469 *pos++ = WLAN_RRM_REPORT_MODE_ACCEPT; in wlan_add_rm_beacon_report()
470 *pos++ = WLAN_RRM_MEASURE_TYPE_BEACON; in wlan_add_rm_beacon_report()
496 (void)memcpy((void *)pos, (const void *)&report, sizeof(mgmt_rrm_meas_beacon_report) - 1U); in wlan_add_rm_beacon_report()
497 pos += sizeof(mgmt_rrm_meas_beacon_report) - 1U; in wlan_add_rm_beacon_report()
505 if (pos + 14 - *buf_pos > remained_len) in wlan_add_rm_beacon_report()
[all …]
Dmlan_11v.c36 static void wlan_wnm_parse_neighbor_report(t_u8 *pos, t_u8 len, struct wnm_neighbor_report *rep) in wlan_wnm_parse_neighbor_report() argument
44 (void)memcpy(rep->bssid, pos, MLAN_MAC_ADDR_LENGTH); in wlan_wnm_parse_neighbor_report()
45 rep->bssid_info = wlan_cpu_to_le32(*(t_u32 *)(void *)(pos + MLAN_MAC_ADDR_LENGTH)); in wlan_wnm_parse_neighbor_report()
46 rep->reg_class = *(pos + 10); in wlan_wnm_parse_neighbor_report()
47 rep->channel = *(pos + 11); in wlan_wnm_parse_neighbor_report()
48 rep->PhyType = *(pos + 12); in wlan_wnm_parse_neighbor_report()
49 pos += 13; in wlan_wnm_parse_neighbor_report()
56 e_id = *pos++; in wlan_wnm_parse_neighbor_report()
57 e_len = *pos++; in wlan_wnm_parse_neighbor_report()
71 rep->prefer = pos[0]; in wlan_wnm_parse_neighbor_report()
[all …]
Dmlan_join.c818 t_u8 *pos, *auth_pos = NULL; local
839 pos = (t_u8 *)&cmd->params;
860 pos = (t_u8 *)cmd + S_DS_GEN + sizeof(HostCmd_DS_802_11_ASSOCIATE);
861 pssid_tlv = (MrvlIEtypes_SsIdParamSet_t *)(void *)pos;
865 pos += sizeof(pssid_tlv->header) + pssid_tlv->header.len;
868 pphy_tlv = (MrvlIEtypes_PhyParamSet_t *)(void *)pos;
873 pos += sizeof(pphy_tlv->header) + pphy_tlv->header.len;
876 pss_tlv = (MrvlIEtypes_SsParamSet_t *)(void *)pos;
879 pos += sizeof(pss_tlv->header) + pss_tlv->header.len;
894 prates_tlv = (MrvlIEtypes_RatesParamSet_t *)(void *)pos;
[all …]
Dmlan_action.c48 t_u8 *pos; in wlan_process_mgmt_radio_measurement_action() local
51 pos = payload + sizeof(wlan_802_11_header) + 1; in wlan_process_mgmt_radio_measurement_action()
52 action_code = *pos++; in wlan_process_mgmt_radio_measurement_action()
64 …wlan_process_radio_measurement_request(pos, payload_len, dest_addr, src_addr, (bool)mgmt_fc_p->wep… in wlan_process_mgmt_radio_measurement_action()
70 …wlan_process_link_measurement_request(pos, payload_len, dest_addr, src_addr, (bool)mgmt_fc_p->wep,… in wlan_process_mgmt_radio_measurement_action()
76 …wlan_process_neighbor_report_response(pos, payload_len, dest_addr, src_addr, (bool)mgmt_fc_p->wep); in wlan_process_mgmt_radio_measurement_action()
103 t_u8 *pos; in wlan_process_mgmt_wnm_action() local
106 pos = payload + sizeof(wlan_802_11_header) + 1; in wlan_process_mgmt_wnm_action()
107 action_code = (IEEEtypes_WNM_ActionFieldType_e)(*pos++); in wlan_process_mgmt_wnm_action()
117 …wlan_process_mgmt_wnm_btm_req(pos, (payload + payload_len), src_addr, dest_addr, (bool)mgmt_fc_p->… in wlan_process_mgmt_wnm_action()
[all …]
Dmlan_mbo.c131 t_u8 *pos = MNULL; in wlan_send_mgmt_wnm_notification() local
151 pos = (t_u8 *)pmgmt_pkt_hdr + sizeof(wlan_mgmt_pkt); in wlan_send_mgmt_wnm_notification()
152 pos[0] = (t_u8)IEEE_MGMT_ACTION_CATEGORY_WNM; in wlan_send_mgmt_wnm_notification()
153 pos[1] = (t_u8)IEEE_MGMT_WNM_NOTIFICATION_REQUEST; in wlan_send_mgmt_wnm_notification()
154 pos[2] = mbo_dialog_token++; in wlan_send_mgmt_wnm_notification()
155 pos[3] = 221; /* type */ in wlan_send_mgmt_wnm_notification()
156 pos += 4; in wlan_send_mgmt_wnm_notification()
157 (void)memcpy(pos, tag_nr, tag_len); in wlan_send_mgmt_wnm_notification()
158 pos += tag_len; in wlan_send_mgmt_wnm_notification()
Dmlan_api.c829 t_u8 *pos = (t_u8 *)auto_tx_cmd + sizeof(auto_tx_cmd->action); in wifi_tcp_keep_alive() local
853 keep_alive_tlv = (MrvlIEtypes_Cloud_Keep_Alive_t *)pos; in wifi_tcp_keep_alive()
859 pos = pos + len + sizeof(MrvlIEtypesHeader_t); in wifi_tcp_keep_alive()
864 ctrl_tlv = (MrvlIEtypes_Keep_Alive_Ctrl_t *)pos; in wifi_tcp_keep_alive()
873 pos = pos + sizeof(MrvlIEtypes_Keep_Alive_Ctrl_t); in wifi_tcp_keep_alive()
874 pkt_tlv = (MrvlIEtypes_Keep_Alive_Pkt_t *)pos; in wifi_tcp_keep_alive()
888 pkt_tlv = (MrvlIEtypes_Keep_Alive_Pkt_t *)pos; in wifi_tcp_keep_alive()
896 pkt_tlv = (MrvlIEtypes_Keep_Alive_Pkt_t *)pos; in wifi_tcp_keep_alive()
921 …t_u8 *pos = (t_u8 *)auto_tx_cmd + sizeof(auto_tx_cmd->action); in wifi_cloud_keep_alive() local
951 keep_alive_tlv = (MrvlIEtypes_Cloud_Keep_Alive_t *)pos; in wifi_cloud_keep_alive()
[all …]
Dwifi-uap.c2391 const t_u8 *pos = ie; in wifi_get_specific_ie() local
2404 length = *(pos + 1); in wifi_get_specific_ie()
2405 id = *pos; in wifi_get_specific_ie()
2410 pvendor_ie = (IEEEtypes_VendorSpecific_t *)pos; in wifi_get_specific_ie()
2422 __memcpy(NULL, ie_out + out_len, pos, length + 2); in wifi_get_specific_ie()
2434 __memcpy(NULL, ie_out + out_len, pos, length + 2); in wifi_get_specific_ie()
2451 __memcpy(NULL, ie_out + out_len, pos, length + 2); in wifi_get_specific_ie()
2465 __memcpy(NULL, ie_out + out_len, pos, length + 2); in wifi_get_specific_ie()
2475 pos += (length + 2); in wifi_get_specific_ie()
2495 const t_u8 *pos = ie; in wifi_find_ie() local
[all …]
Dmlan_uap_cmdevent.c1040 t_u8 *pos = MNULL; local
1098 pos = new_sta->tlv;
1107 pstaflag = (MrvlIEtypes_StaFlag_t *)pos;
1111 pos += sizeof(MrvlIEtypes_StaFlag_t);
1194 (void)__memcpy(NULL, pos, (t_u8 *)tlv, sizeof(MrvlIEtypesHeader_t) + tlv_len);
1195 pos += sizeof(MrvlIEtypesHeader_t) + tlv_len;
1206 tlv = (MrvlIEtypesHeader_t *)pos;
1211 pos += sizeof(MrvlIEtypesHeader_t);
1212 (void)__memcpy(NULL, pos, (t_u8 *)&sta_ptr->he_cap.ext_id, tlv->len);
Dmlan_11ax.c419 t_u8 *pos = MNULL; in wlan_cmd_11ax_cfg() local
430 pos = (t_u8 *)axcfg->val; in wlan_cmd_11ax_cfg()
434 tlv = (MrvlIEtypes_Extension_t *)pos; in wlan_cmd_11ax_cfg()
439 pos += he_cfg->he_cap.len + sizeof(MrvlIEtypesHeader_t); in wlan_cmd_11ax_cfg()
Dmlan_scan.c3578 t_u8 *pos = pbss_profile->profile_data; in wlan_parse_non_trans_bssid_profile() local
3609 pheader = (IEEEtypes_Header_t *)pos; in wlan_parse_non_trans_bssid_profile()
3618 pbssid_index = (IEEEtypes_MultiBSSIDIndex_t *)pos; in wlan_parse_non_trans_bssid_profile()
3628 pextcap = (IEEEtypes_ExtCap_t *)pos; in wlan_parse_non_trans_bssid_profile()
3629 … DBG_HEXDUMP(MCMD_D, "MBSSID extcap", pos, pextcap->ieee_hdr.len + sizeof(IEEEtypes_Header_t)); in wlan_parse_non_trans_bssid_profile()
3632 prsnx = (IEEEtypes_Generic_t *)pos; in wlan_parse_non_trans_bssid_profile()
3633 … DBG_HEXDUMP(MCMD_D, "MBSSID RSNX", pos, prsnx->ieee_hdr.len + sizeof(IEEEtypes_Header_t)); in wlan_parse_non_trans_bssid_profile()
3636 pssid = (IEEEtypes_Ssid_t *)pos; in wlan_parse_non_trans_bssid_profile()
3640 prsn = (IEEEtypes_Generic_t *)pos; in wlan_parse_non_trans_bssid_profile()
3641 … DBG_HEXDUMP(MCMD_D, "MBSSID RSN", pos, prsn->ieee_hdr.len + sizeof(IEEEtypes_Header_t)); in wlan_parse_non_trans_bssid_profile()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/slcd_engine/
Dslcd_engine.c13 int32_t SLCD_Engine_Show_Num(tSLCD_Engine *slcd_engine, int32_t num, int32_t pos, int32_t on) in SLCD_Engine_Show_Num() argument
19 if ((pos < 0) || (pos >= (int32_t)NUM_POSEND)) in SLCD_Engine_Show_Num()
23 ppSLCD_NumPos = SLCD_NumPos[pos]; in SLCD_Engine_Show_Num()
Dslcd_engine.h43 int32_t SLCD_Engine_Show_Num(tSLCD_Engine *slcd_engine, int32_t num, int32_t pos, int32_t on);
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/
Dmlan_wmm.h49 pmlan_linked_list pos; in wlan_wmm_list_len() local
54 pos = head->pnext; in wlan_wmm_list_len()
56 while (pos != (pmlan_linked_list)(void *)head) in wlan_wmm_list_len()
59 pos = pos->pnext; in wlan_wmm_list_len()
Dmlan_11v.h53 void wlan_process_mgmt_wnm_btm_req(t_u8 *pos, t_u8 *end, t_u8 *src_addr, t_u8 *dest_addr, bool prot…
/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9896/
Dfsl_hal_registers.c107 uint8_t pos = (bf >> 4) & 0x0f; in TFA9896_GetBits() local
114 msk = ((1 << (len + 1)) - 1) << pos; in TFA9896_GetBits()
116 value = regvalue >> pos; in TFA9896_GetBits()
131 uint8_t pos = (bf >> 4) & 0x0f; in TFA9896_SetBits() local
135 msk = ((1 << len) - 1) << pos; in TFA9896_SetBits()
137 regvalue |= value << pos; in TFA9896_SetBits()
677 uint8_t pos = (bf >> 4) & 0x0f; in tfa_get_bf_value() local
679 msk = ((1 << (len + 1)) - 1) << pos; in tfa_get_bf_value()
680 value = (reg_value & msk) >> pos; in tfa_get_bf_value()
/hal_nxp-latest/mcux/middleware/wifi_nxp/wlcmgr/
Dwlan.c5306 const char *pos = buf + sizeof(DPP_EVENT_CONFOBJ_AKM) - 1; in wpa_supplicant_msg_cb() local
5309 if (memcmp("psk", pos, strlen("psk")) == 0) in wpa_supplicant_msg_cb()
5314 else if (memcmp("sae", pos, strlen("sae")) == 0) in wpa_supplicant_msg_cb()
5319 else if ((memcmp("psk-sae", pos, strlen("psk-sae")) == 0) || in wpa_supplicant_msg_cb()
5320 (memcmp("psk+sae", pos, strlen("psk+sae")) == 0)) in wpa_supplicant_msg_cb()
5325 else if ((memcmp("sae-dpp", pos, strlen("sae-dpp")) == 0) || in wpa_supplicant_msg_cb()
5326 (memcmp("dpp+sae", pos, strlen("dpp+sae")) == 0)) in wpa_supplicant_msg_cb()
5331 else if ((memcmp("psk-sae-dpp", pos, strlen("psk-sae-dpp")) == 0) || in wpa_supplicant_msg_cb()
5332 (memcmp("dpp+psk+sae", pos, strlen("dpp+psk+sae")) == 0)) in wpa_supplicant_msg_cb()
5337 else if (memcmp("dpp", pos, strlen("dpp")) == 0) in wpa_supplicant_msg_cb()
[all …]
Dwlan_tests.c774 t_u8 *pos = NULL; local
849 pos = (t_u8 *)buf;
850 memcpy(&resp_value_size, pos, sizeof(resp_value_size));
852 pos += sizeof(resp_value_size);
860 tx_ht_info = (tx_pkt_ht_rate_info *)pos;
867 pos += sizeof(tx_pkt_ht_rate_info);
868 tx_vht_info = (tx_pkt_vht_rate_info *)pos;
875 pos += sizeof(tx_pkt_vht_rate_info);
883 tx_he_info = (tx_pkt_he_rate_info *)pos;
889 pos += sizeof(tx_pkt_he_rate_info);
[all …]
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/Include/
Dmpu_armv8.h185 const uint32_t pos = ((idx % 4U) * 8U); in ARM_MPU_SetMemAttrEx() local
186 const uint32_t mask = 0xFFU << pos; in ARM_MPU_SetMemAttrEx()
192 mpu->MAIR[reg] = ((mpu->MAIR[reg] & ~mask) | ((attr << pos) & mask)); in ARM_MPU_SetMemAttrEx()
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/Core/Include/
Dmpu_armv8.h191 const uint32_t pos = ((idx % 4U) * 8U); in ARM_MPU_SetMemAttrEx() local
192 const uint32_t mask = 0xFFU << pos; in ARM_MPU_SetMemAttrEx()
198 mpu->MAIR[reg] = ((mpu->MAIR[reg] & ~mask) | ((attr << pos) & mask)); in ARM_MPU_SetMemAttrEx()
/hal_nxp-latest/mcux/
Dhwmv1.cmake4 string(FIND ${CONFIG_SOC} "_" pos)
5 if(pos GREATER -1)
/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/
Dtfa2_dev.c1237 uint8_t pos = (bf >> 4) & 0x0f; in tfa2_i2c_get_bf_value() local
1239 msk = ((1 << (len + 1)) - 1) << pos; in tfa2_i2c_get_bf_value()
1240 value = (reg_value & msk) >> pos; in tfa2_i2c_get_bf_value()
1256 uint8_t pos = (bf >> 4) & 0x0f; in tfa2_i2c_set_bf_value() local
1260 msk = ((1 << (len + 1)) - 1) << pos; in tfa2_i2c_set_bf_value()
1261 value = bf_value << pos; in tfa2_i2c_set_bf_value()
1824 uint8_t pos = (bf >> 4) & 0x0f; in set_mtp() local
1826 uint16_t msk = ((1 << (len + 1)) - 1) << pos; in set_mtp()
1847 mtp_value = value << pos; in set_mtp()
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/wpa_supp_if/
Drtos_wpa_supp_if.c1060 unsigned char *pos = NULL; in wifi_nxp_wpa_supp_proc_scan_res() local
1119 pos = (unsigned char *)(r + 1); in wifi_nxp_wpa_supp_proc_scan_res()
1123 memcpy(pos, ie, ie_len); in wifi_nxp_wpa_supp_proc_scan_res()
1125 pos += ie_len; in wifi_nxp_wpa_supp_proc_scan_res()
1376 unsigned char *pos = NULL; in wifi_nxp_wpa_supp_authenticate() local
1403 pos = (unsigned char *)params->ie; in wifi_nxp_wpa_supp_authenticate()
1409 pos = (unsigned char *)params->auth_data; in wifi_nxp_wpa_supp_authenticate()
1411 auth_trans_num[0] = pos[0]; in wifi_nxp_wpa_supp_authenticate()
1412 auth_trans_num[1] = pos[1]; in wifi_nxp_wpa_supp_authenticate()
1413 status_code[0] = pos[2]; in wifi_nxp_wpa_supp_authenticate()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC51U68/drivers/
Dfsl_clock.h322 #define CLK_ATTACH_ID(mux, sel, pos) ((((uint32_t)(mux) << 0U) | (((uint32_t)(sel) + 1U) & 0xFU) <<… argument
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54114/drivers/
Dfsl_clock.h279 #define CLK_ATTACH_ID(mux, sel, pos) ((((uint32_t)(mux) << 0U) | (((uint32_t)(sel) + 1UL) & 0xFU) <… argument
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54113/drivers/
Dfsl_clock.h279 #define CLK_ATTACH_ID(mux, sel, pos) ((((uint32_t)(mux) << 0U) | (((uint32_t)(sel) + 1UL) & 0xFU) <… argument

123