Home
last modified time | relevance | path

Searched refs:frame_len (Results 1 – 25 of 61) sorted by relevance

123

/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_process_action_frame.c152 uint32_t frame_len; in lim_process_ext_channel_switch_action_frame() local
158 frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_packet_info); in lim_process_ext_channel_switch_action_frame()
169 body, frame_len, ext_channel_switch_frame, false); in lim_process_ext_channel_switch_action_frame()
173 status, frame_len); in lim_process_ext_channel_switch_action_frame()
178 status, frame_len); in lim_process_ext_channel_switch_action_frame()
255 uint32_t frame_len; in __lim_process_operating_mode_action_frame() local
263 frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_pkt_info); in __lim_process_operating_mode_action_frame()
280 status = dot11f_unpack_operating_mode(mac_ctx, body_ptr, frame_len, in __lim_process_operating_mode_action_frame()
284 status, frame_len); in __lim_process_operating_mode_action_frame()
289 status, frame_len); in __lim_process_operating_mode_action_frame()
[all …]
Dlim_process_auth_frame.c491 uint32_t frame_len, in lim_skip_sae_fixed_field() argument
497 if (!body_ptr || !frame_len || !ie_ptr || !ie_len) in lim_skip_sae_fixed_field()
500 if (frame_len < (SAE_AUTH_GROUP_ID_OFFSET + 2)) in lim_skip_sae_fixed_field()
511 *ie_len = frame_len - SAE_AUTH_GROUP_ID_OFFSET - 2; in lim_skip_sae_fixed_field()
556 uint8_t *body_ptr, uint32_t frame_len, in lim_get_sta_mld_address() argument
568 status = lim_skip_sae_fixed_field(body_ptr, frame_len, &ie_ptr, in lim_get_sta_mld_address()
654 uint8_t *body_ptr, uint32_t frame_len, in lim_get_sta_mld_address() argument
746 uint32_t frame_len; in lim_process_sae_auth_frame() local
756 frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_pkt_info); in lim_process_sae_auth_frame()
759 if (frame_len >= (SAE_AUTH_STATUS_CODE_OFFSET + 2)) { in lim_process_sae_auth_frame()
[all …]
Dlim_process_probe_rsp_frame.c296 uint32_t frame_len = 0; in lim_process_probe_rsp_frame() local
328 pe_err("Parse error ProbeResponse, length=%d", frame_len); in lim_process_probe_rsp_frame()
332 frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_Packet_info); in lim_process_probe_rsp_frame()
337 body, frame_len, probe_rsp) == QDF_STATUS_E_FAILURE) || in lim_process_probe_rsp_frame()
339 pe_err("Parse error ProbeResponse, length=%d", frame_len); in lim_process_probe_rsp_frame()
354 frame_len, in lim_process_probe_rsp_frame()
364 body, frame_len); in lim_process_probe_rsp_frame()
Dlim_process_probe_req_frame.c279 uint32_t frame_len; in lim_process_probe_req_frame() local
288 frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_pkt_info); in lim_process_probe_req_frame()
291 frame_len, QDF_MAC_ADDR_REF(mac_hdr->sa)); in lim_process_probe_req_frame()
301 3, body_ptr, frame_len)) { in lim_process_probe_req_frame()
314 frame_len, probe_req) == QDF_STATUS_E_FAILURE) { in lim_process_probe_req_frame()
316 QDF_MAC_ADDR_FMT, frame_len, in lim_process_probe_req_frame()
364 body_ptr, frame_len); in lim_process_probe_req_frame()
366 body_ptr, frame_len, session); in lim_process_probe_req_frame()
Dlim_process_beacon_frame.c469 uint16_t frame_len; in lim_process_ml_reconfig() local
475 frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_pkt_info); in lim_process_ml_reconfig()
476 if (frame_len < SIR_MAC_B_PR_SSID_OFFSET) in lim_process_ml_reconfig()
481 frame_len - SIR_MAC_B_PR_SSID_OFFSET, NULL); in lim_process_ml_reconfig()
508 uint16_t frame_len; in lim_process_beacon_frame() local
519 frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_pkt_info); in lim_process_beacon_frame()
521 if (frame_len < SIR_MAC_B_PR_SSID_OFFSET) { in lim_process_beacon_frame()
522 pe_debug_rl("payload invalid len %d", frame_len); in lim_process_beacon_frame()
526 frame_len - SIR_MAC_B_PR_SSID_OFFSET) != in lim_process_beacon_frame()
585 frame_len - SIR_MAC_B_PR_SSID_OFFSET); in lim_process_beacon_frame()
Dlim_security_utils.c535 uint16_t frame_len; in lim_encrypt_auth_frame() local
537 frame_len = ((tpSirMacAuthFrameBody)pPlainText)->length + in lim_encrypt_auth_frame()
553 lim_compute_crc32(icv, pPlainText, frame_len); in lim_encrypt_auth_frame()
555 qdf_mem_copy(pPlainText + frame_len, in lim_encrypt_auth_frame()
561 frame_len + SIR_MAC_WEP_ICV_LENGTH); in lim_encrypt_auth_frame()
Dlim_process_disassoc_frame.c74 uint32_t frame_len; in lim_process_disassoc_frame() local
79 frame_len = WMA_GET_RX_PAYLOAD_LEN(pRxPacketInfo); in lim_process_disassoc_frame()
141 (frame_len + in lim_process_disassoc_frame()
148 if (frame_len < 2) { in lim_process_disassoc_frame()
Dlim_process_assoc_req_frame.c255 uint32_t frame_len) in lim_chk_assoc_req_parse_error() argument
263 frame_len, in lim_chk_assoc_req_parse_error()
267 frm_body, frame_len, assoc_req); in lim_chk_assoc_req_parse_error()
272 frame_len - WLAN_ASSOC_REQ_IES_OFFSET, in lim_chk_assoc_req_parse_error()
2545 uint32_t frame_len; in lim_proc_assoc_req_frm_cmn() local
2548 frame_len = assoc_req->assocReqFrameLength; in lim_proc_assoc_req_frm_cmn()
2575 if (frame_len <= LIM_ASSOC_REQ_IE_OFFSET) { in lim_proc_assoc_req_frm_cmn()
2577 frame_len); in lim_proc_assoc_req_frm_cmn()
2583 frame_len - LIM_ASSOC_REQ_IE_OFFSET)) { in lim_proc_assoc_req_frm_cmn()
2596 frm_body, frame_len)) in lim_proc_assoc_req_frm_cmn()
[all …]
/wlan-driver/qcacld-3.0/components/umac/mlme/mlo_mgr/inc/
Dwlan_t2lm_api.h85 uint32_t frame_len,
103 void *event_data, uint32_t frame_len,
148 void *event_data, uint32_t frame_len,
206 uint32_t frame_len,
297 void *event_data, uint32_t frame_len, uint8_t *token) in t2lm_handle_rx_req() argument
320 void *event_data, uint32_t frame_len, uint8_t *token) in t2lm_handle_rx_resp() argument
364 uint32_t frame_len, in wlan_t2lm_deliver_event() argument
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/utf/src/
Dwlan_cm_utf_scan.c43 uint32_t frame_len = 0; in wlan_cm_utf_scan_db_update() local
101 frame_len = sizeof(struct wlan_frame_hdr) + in wlan_cm_utf_scan_db_update()
106 buf = qdf_nbuf_alloc(NULL, frame_len, 0, 0, FALSE); in wlan_cm_utf_scan_db_update()
112 qdf_nbuf_set_pktlen(buf, frame_len); in wlan_cm_utf_scan_db_update()
113 qdf_mem_zero((uint8_t *)qdf_nbuf_data(buf), frame_len); in wlan_cm_utf_scan_db_update()
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/
Dwlan_mlo_t2lm.c144 uint32_t frame_len) in wlan_mlo_parse_bcn_prbresp_t2lm_ie() argument
160 if (!ie || !frame_len) { in wlan_mlo_parse_bcn_prbresp_t2lm_ie()
165 if (frame_len == ie_len_parsed) in wlan_mlo_parse_bcn_prbresp_t2lm_ie()
168 if (frame_len < (ie_len_parsed + in wlan_mlo_parse_bcn_prbresp_t2lm_ie()
181 if (frame_len < ie_len_parsed) { in wlan_mlo_parse_bcn_prbresp_t2lm_ie()
210 uint32_t frame_len) in wlan_mlo_parse_t2lm_ie() argument
222 if (!ie || !frame_len) { in wlan_mlo_parse_t2lm_ie()
227 if (frame_len == ie_len_parsed) { in wlan_mlo_parse_t2lm_ie()
232 if (frame_len < (ie_len_parsed + in wlan_mlo_parse_t2lm_ie()
235 frame_len, in wlan_mlo_parse_t2lm_ie()
[all …]
Dwlan_mlo_mgr_main.c715 uint32_t frame_len) in wlan_mlo_update_action_frame_from_user() argument
724 if (frame_len <= WLAN_HDD_MGMT_FRAME_ACTION_TYPE_OFFSET) { in wlan_mlo_update_action_frame_from_user()
725 mlo_debug("Not a valid Action frame len: %d", frame_len); in wlan_mlo_update_action_frame_from_user()
763 uint32_t frame_len) in wlan_mlo_update_action_frame_to_user() argument
772 if (frame_len <= WLAN_HDD_MGMT_FRAME_ACTION_TYPE_OFFSET) { in wlan_mlo_update_action_frame_to_user()
773 mlo_debug("Not a valid Action frame len: %d", frame_len); in wlan_mlo_update_action_frame_to_user()
Dutils_mlo.c1864 QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, in util_gen_link_reqrsp_cmn() argument
2012 if (!frame_len) { in util_gen_link_reqrsp_cmn()
2049 if (frame_len < WLAN_TIMESTAMP_LEN) { in util_gen_link_reqrsp_cmn()
2051 frame_len); in util_gen_link_reqrsp_cmn()
2061 if (frame_len < frame_iesection_offset) { in util_gen_link_reqrsp_cmn()
2067 frame_len, frame_iesection_offset, subtype); in util_gen_link_reqrsp_cmn()
2071 frame_iesection_len = frame_len - frame_iesection_offset; in util_gen_link_reqrsp_cmn()
2960 util_gen_link_assoc_req(uint8_t *frame, qdf_size_t frame_len, bool isreassoc, in util_gen_link_assoc_req() argument
2967 return util_gen_link_reqrsp_cmn(frame, frame_len, in util_gen_link_assoc_req()
2975 util_gen_link_assoc_rsp(uint8_t *frame, qdf_size_t frame_len, bool isreassoc, in util_gen_link_assoc_rsp() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/inc/
Dutils_mlo.h67 util_gen_link_assoc_req(uint8_t *frame, qdf_size_t frame_len, bool isreassoc,
102 util_gen_link_assoc_rsp(uint8_t *frame, qdf_size_t frame_len, bool isreassoc,
136 util_gen_link_probe_rsp(uint8_t *frame, qdf_size_t frame_len,
580 util_gen_link_assoc_req(uint8_t *frame, qdf_size_t frame_len, bool isreassoc, in util_gen_link_assoc_req() argument
591 util_gen_link_assoc_rsp(uint8_t *frame, qdf_size_t frame_len, bool isreassoc, in util_gen_link_assoc_rsp() argument
Dwlan_mlo_t2lm.h571 uint32_t frame_len);
609 uint32_t frame_len,
636 uint32_t frame_len);
784 uint32_t frame_len) in wlan_mlo_parse_t2lm_ie() argument
801 uint32_t frame_len, in wlan_mlo_parse_t2lm_action_frame() argument
818 uint32_t frame_len) in wlan_mlo_parse_bcn_prbresp_t2lm_ie() argument
Dwlan_mlo_mgr_main.h962 uint32_t frame_len);
980 uint32_t frame_len);
1073 uint32_t frame_len) in wlan_mlo_update_action_frame_from_user() argument
1080 uint32_t frame_len) in wlan_mlo_update_action_frame_to_user() argument
/wlan-driver/qca-wifi-host-cmn/hif/src/usb/
Dusbdrv.c775 uint16_t frame_len; in usb_hif_usb_recv_bundle_complete() local
778 frame_len = netlen; in usb_hif_usb_recv_bundle_complete()
796 frame_len = (HTC_HDR_LENGTH + payloadLen); in usb_hif_usb_recv_bundle_complete()
799 if (netlen < frame_len) { in usb_hif_usb_recv_bundle_complete()
801 , netlen, frame_len); in usb_hif_usb_recv_bundle_complete()
807 qdf_nbuf_alloc(NULL, frame_len, 0, 4, false); in usb_hif_usb_recv_bundle_complete()
810 , frame_len); in usb_hif_usb_recv_bundle_complete()
816 qdf_mem_copy(netdata_new, netdata, frame_len); in usb_hif_usb_recv_bundle_complete()
817 qdf_nbuf_put_tail(new_skb, frame_len); in usb_hif_usb_recv_bundle_complete()
820 netdata += frame_len; in usb_hif_usb_recv_bundle_complete()
[all …]
/wlan-driver/qcacld-3.0/components/umac/mlme/mlo_mgr/src/
Dwlan_t2lm_api.c140 void *event_data, uint32_t frame_len, in t2lm_handle_rx_req() argument
168 frame_len, in t2lm_handle_rx_req()
256 void *event_data, uint32_t frame_len, in t2lm_handle_rx_resp() argument
283 frame_len, in t2lm_handle_rx_resp()
383 void *event_data, uint32_t frame_len, in t2lm_deliver_event() argument
399 frame_len, token); in t2lm_deliver_event()
409 frame_len, token); in t2lm_deliver_event()
771 uint32_t frame_len, in wlan_t2lm_deliver_event() argument
775 frame_len, dialog_token); in wlan_t2lm_deliver_event()
/wlan-driver/qcacld-3.0/components/son/dispatcher/inc/
Dson_api.h357 uint8_t *frame, uint16_t frame_len,
441 uint8_t *frame, uint16_t frame_len, void *action_hdr,
474 uint8_t *frame, uint16_t frame_len, in wlan_son_ind_assoc_req_frm() argument
528 uint8_t *frame, uint16_t frame_len, void *action_hdr, in wlan_son_anqp_frame() argument
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/src/
Dwlan_scan_utils_api.c1937 uint32_t frame_len = qdf_nbuf_len(bcnbuf); in util_scan_add_hidden_ssid() local
1974 ie_length = (uint16_t)(frame_len - sizeof(*hdr) - in util_scan_add_hidden_ssid()
2039 tmplen = frame_len - in util_scan_add_hidden_ssid()
2442 uint8_t *frame, qdf_size_t frame_len, in util_scan_gen_scan_entry() argument
2468 qdf_mem_malloc_atomic(frame_len); in util_scan_gen_scan_entry()
2536 scan_entry->raw_frame.len = frame_len; in util_scan_gen_scan_entry()
2538 frame, frame_len); in util_scan_gen_scan_entry()
3370 uint8_t *frame, qdf_size_t frame_len, in util_scan_parse_mbssid() argument
3398 ielen = (uint16_t)(frame_len - in util_scan_parse_mbssid()
3625 new_frame_len = frame_len - ielen + new_ie_len; in util_scan_parse_mbssid()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/
Dlim_process_fils.h112 uint32_t *frame_len);
256 uint32_t *frame_len);
/wlan-driver/qcacld-3.0/components/tdls/core/src/
Dwlan_tdls_mgmt.c256 ie_len = rx_mgmt->frame_len - TDLS_PUBLIC_ACTION_FRAME_TDLS_IE_OFFSET; in tdls_get_correct_vdev()
300 ie_len = rx_mgmt->frame_len - TDLS_PUBLIC_ACTION_FRAME_TDLS_IE_OFFSET; in tdls_check_peer_mlo_dev()
382 rx_mgmt->frame_len); in tdls_process_mlo_rx_mgmt_sync()
384 tdls_vdev->rx_mgmt->frame_len = rx_mgmt->frame_len; in tdls_process_mlo_rx_mgmt_sync()
390 rx_mgmt->buf, rx_mgmt->frame_len); in tdls_process_mlo_rx_mgmt_sync()
545 tdls_soc_obj->soc, rx_mgmt->frame_len, in tdls_process_rx_mgmt()
/wlan-driver/qcacld-3.0/os_if/p2p/src/
Dwlan_cfg80211_p2p.c101 rx_frame->buf, rx_frame->frame_len, in wlan_p2p_rx_callback()
105 rx_frame->buf, rx_frame->frame_len, in wlan_p2p_rx_callback()
109 rx_frame->buf, rx_frame->frame_len, GFP_ATOMIC); in wlan_p2p_rx_callback()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/mgmt_txrx/dispatcher/src/
Dwlan_mgmt_txrx_tgt_api.c1161 void mgmt_txrx_frame_hex_dump(void *frame_data, int frame_len, bool is_tx) in mgmt_txrx_frame_hex_dump() argument
1168 if (frame_len < sizeof(struct ieee80211_frame)) { in mgmt_txrx_frame_hex_dump()
1169 mgmt_txrx_debug("frame len %d less than hdr size", frame_len); in mgmt_txrx_frame_hex_dump()
1188 WLAN_SEQ_SEQ_SHIFT, frame_len); in mgmt_txrx_frame_hex_dump()
1190 frame_data, frame_len); in mgmt_txrx_frame_hex_dump()
/wlan-driver/qcacld-3.0/components/son/dispatcher/src/
Dson_api.c386 uint8_t *frame, uint16_t frame_len, in wlan_son_ind_assoc_req_frm() argument
421 sub_type, frame_len, assocstatus); in wlan_son_ind_assoc_req_frm()
423 frame, frame_len, in wlan_son_ind_assoc_req_frm()
663 uint8_t *frame, uint16_t frame_len, void *action_hdr, in wlan_son_anqp_frame() argument
686 frame_len, &info); in wlan_son_anqp_frame()

123