Home
last modified time | relevance | path

Searched refs:i_fc (Results 1 – 25 of 39) sorted by relevance

12

/wlan-driver/qcacld-3.0/core/cds/inc/
H A Dcds_ieee80211_common.h33 uint8_t i_fc[2]; member
49 uint8_t i_fc[2]; member
61 uint8_t i_fc[2]; member
75 uint8_t i_fc[2]; member
85 uint8_t i_fc[2]; member
98 uint8_t i_fc[2]; member
104 uint8_t i_fc[2]; member
150 #define IEEE80211_IS_DATA(_frame) (((_frame)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == IEEE80211_…
154 (((wh)->i_fc[0] & \
/wlan-driver/qcacld-3.0/core/dp/txrx/
H A Dol_txrx_encap.c40 if ((wh->i_fc[1] & in ol_tx_copy_native_wifi_header()
90 wh->i_fc[0] |= QDF_IEEE80211_FC0_SUBTYPE_QOS; in ol_tx_encap_from_native_wifi()
128 wh->i_fc[1] |= IEEE80211_FC1_WEP; in ol_tx_encap_from_native_wifi()
162 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_DATA; in ol_tx_encap_from_8023()
175 wh->i_fc[1] = IEEE80211_FC1_DIR_FROMDS; in ol_tx_encap_from_8023()
187 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS; in ol_tx_encap_from_8023()
198 wh->i_fc[1] = IEEE80211_FC1_DIR_TODS; in ol_tx_encap_from_8023()
210 wh->i_fc[0] |= QDF_IEEE80211_FC0_SUBTYPE_QOS; in ol_tx_encap_from_8023()
223 wh->i_fc[1] |= IEEE80211_FC1_WEP; in ol_tx_encap_from_8023()
294 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == in ol_rx_decap_to_native_wifi()
[all …]
H A Dol_rx_fwd.c55 type = mac_header->i_fc[0] & IEEE80211_FC0_TYPE_MASK; in ol_ap_fwd_check()
56 subtype = mac_header->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ol_ap_fwd_check()
57 tods = mac_header->i_fc[1] & IEEE80211_FC1_DIR_TODS; in ol_ap_fwd_check()
58 fromds = mac_header->i_fc[1] & IEEE80211_FC1_DIR_FROMDS; in ol_ap_fwd_check()
76 mac_header->i_fc[1] &= 0xfe; in ol_ap_fwd_check()
77 mac_header->i_fc[1] |= 0x2; in ol_ap_fwd_check()
H A Dol_rx_defrag.c71 (((wh)->i_fc[0] & \
440 more_frag = mac_hdr->i_fc[1] & IEEE80211_FC1_MORE_FRAG; in ol_rx_reorder_store_frag()
576 last_morefrag = lmac_hdr->i_fc[1] & IEEE80211_FC1_MORE_FRAG; in ol_rx_fraglist_insert()
1114 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) { in ol_rx_defrag_michdr()
1141 if (wh->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS) { in ol_rx_defrag_michdr()
1289 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS) in ol_rx_frag_hdrsize()
1294 if (wh->i_fc[1] & IEEE80211_FC1_ORDER) in ol_rx_frag_hdrsize()
1330 wh->i_fc[1] &= ~IEEE80211_FC1_MORE_FRAG; in ol_rx_defrag_decap_recombine()
1367 switch (wh.i_fc[1] & IEEE80211_FC1_DIR_MASK) { in ol_rx_defrag_nwifi_to_8023()
1416 if (wh->i_fc[1] & IEEE80211_FC1_ORDER) in ol_rx_defrag_qos_decap()
[all …]
H A Dol_tx_classify.c158 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in ol_tx_set_ether_type()
164 if (whqos->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS) { in ol_tx_set_ether_type()
261 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in ol_tx_tid_by_raw_type()
266 if (whqos->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS) in ol_tx_tid_by_raw_type()
911 (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) >> in ol_tx_classify_mgmt_extension()
H A Dol_txrx_internal.h357 TXRX_ASSERT1((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != in ol_txrx_ieee80211_hdrsize()
359 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == in ol_txrx_ieee80211_hdrsize()
365 if (wh->i_fc[1] & IEEE80211_FC1_ORDER) in ol_txrx_ieee80211_hdrsize()
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/
H A Dwlan_pkt_capture_data_txrx.c375 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_DATA; in pkt_capture_rx_convert8023to80211()
388 wh->i_fc[1] = IEEE80211_FC1_DIR_FROMDS; in pkt_capture_rx_convert8023to80211()
391 wh->i_fc[1] |= IEEE80211_FC1_MORE_DATA; in pkt_capture_rx_convert8023to80211()
394 wh->i_fc[1] |= IEEE80211_FC1_PWR_MGT; in pkt_capture_rx_convert8023to80211()
397 wh->i_fc[1] |= IEEE80211_FC1_MORE_FRAG; in pkt_capture_rx_convert8023to80211()
400 wh->i_fc[1] |= IEEE80211_FC1_ORDER; in pkt_capture_rx_convert8023to80211()
403 wh->i_fc[1] |= IEEE80211_FC1_RETRY; in pkt_capture_rx_convert8023to80211()
416 wh->i_fc[0] |= QDF_IEEE80211_FC0_SUBTYPE_QOS; in pkt_capture_rx_convert8023to80211()
499 wh->i_fc[0] |= IEEE80211_FC0_TYPE_DATA; in pkt_capture_rx_convert8023to80211()
500 wh->i_fc[1] &= ~IEEE80211_FC1_WEP; in pkt_capture_rx_convert8023to80211()
[all …]
H A Dwlan_pkt_capture_mgmt_txrx.c169 type = (wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK; in pkt_capture_mgmtpkt_process()
170 sub_type = (wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in pkt_capture_mgmtpkt_process()
421 wh->i_fc[1] &= ~IEEE80211_FC1_WEP; in pkt_capture_process_mgmt_tx_data()
746 wh->i_fc[1] &= ~IEEE80211_FC1_WEP; in pkt_capture_mgmt_rx_data_cb()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/src/
H A Dwlan_crypto_def_i.h460 if (hdr->i_fc[1] & WLAN_FC1_ISWEP) in wlan_crypto_is_data_protected()
479 if ((hdr->i_fc[1] & WLAN_FC1_DIR_MASK) in ieee80211_hdrsize()
484 if (((WLAN_FC0_GET_STYPE(hdr->i_fc[0]) in ieee80211_hdrsize()
488 if (hdr->i_fc[1] & WLAN_FC1_ORDER) in ieee80211_hdrsize()
491 if (((WLAN_FC0_GET_STYPE(hdr->i_fc[0]) in ieee80211_hdrsize()
494 if (hdr->i_fc[1] & WLAN_FC1_ORDER) in ieee80211_hdrsize()
534 if (((WLAN_FC0_GET_STYPE(hdr->i_fc[0]) in wlan_get_tid()
536 if ((hdr->i_fc[1] & WLAN_FC1_DIR_MASK) in wlan_get_tid()
H A Dwlan_crypto_global_api.c2189 aad[0] = hdr->i_fc[0]; in wlan_crypto_add_mmie()
2191 aad[1] = (hdr->i_fc[1] & ~(WLAN_FC1_RETRY | WLAN_FC1_PWRMGT in wlan_crypto_add_mmie()
2326 aad[0] = hdr->i_fc[0]; in wlan_crypto_is_mmie_valid()
2328 aad[1] = (hdr->i_fc[1] & ~(WLAN_FC1_RETRY | WLAN_FC1_PWRMGT in wlan_crypto_is_mmie_valid()
3826 uint8_t stype = WLAN_FC0_GET_STYPE(hdr->i_fc[0]); in wlan_crypto_get_keyid()
3827 uint8_t type = WLAN_FC0_GET_TYPE(hdr->i_fc[0]); in wlan_crypto_get_keyid()
3841 if (hdr->i_fc[1] & WLAN_FC1_ISWEP) { in wlan_crypto_get_keyid()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/2.0/
H A Ddp_tx_mon_status_2.0.c360 wh_min->i_fc[1] = 0; in dp_tx_mon_generate_cts2self_frm()
361 wh_min->i_fc[0] = frm_ctl; in dp_tx_mon_generate_cts2self_frm()
436 wh_min->i_fc[1] = 0; in dp_tx_mon_generate_rts_frm()
437 wh_min->i_fc[0] = frm_ctl; in dp_tx_mon_generate_rts_frm()
518 wh_addr1->i_fc[1] = 0; in dp_tx_mon_generate_ack_frm()
519 wh_addr1->i_fc[0] = frm_ctl; in dp_tx_mon_generate_ack_frm()
589 wh_addr3->i_fc[1] = 0; in dp_tx_mon_generate_3addr_qos_null_frm()
590 wh_addr3->i_fc[0] = frm_ctl; in dp_tx_mon_generate_3addr_qos_null_frm()
666 wh_addr4->i_fc[1] = 0; in dp_tx_mon_generate_4addr_qos_null_frm()
667 wh_addr4->i_fc[0] = frm_ctl; in dp_tx_mon_generate_4addr_qos_null_frm()
[all …]
H A Ddp_tx_mon_2.0.c825 type = (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK); in dp_lite_mon_filter_subtype()
826 subtype = ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) >> in dp_lite_mon_filter_subtype()
991 type = (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK); in dp_tx_mon_lpc_type_filtering()
H A Ddp_rx_mon_2.0.c1492 if ((wh->i_fc[0] & QDF_IEEE80211_FC0_VERSION_MASK) != in dp_rx_mon_handle_full_mon()
1519 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; in dp_rx_mon_handle_full_mon()
1525 if (wh->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS) { in dp_rx_mon_handle_full_mon()
1536 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in dp_rx_mon_handle_full_mon()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_rx_defrag.h149 return (mac_hdr->i_fc[1] & IEEE80211_FC1_MORE_FRAG) >> 2; in dp_rx_frag_get_more_frag_bit()
158 return mac_hdr->i_fc[1] & IEEE80211_FC1_DIR_MASK; in dp_rx_get_pkt_dir()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/mgmt_txrx/dispatcher/src/
H A Dwlan_mgmt_txrx_tgt_api.c1173 mgmt_type = (wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK; in mgmt_txrx_frame_hex_dump()
1174 mgmt_subtype = (wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in mgmt_txrx_frame_hex_dump()
1388 mgmt_type = (wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK; in tgt_mgmt_txrx_rx_frame_handler()
1389 mgmt_subtype = (wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in tgt_mgmt_txrx_rx_frame_handler()
1431 if (wh->i_fc[1] & IEEE80211_FC1_ORDER) { in tgt_mgmt_txrx_rx_frame_handler()
1442 if ((wh->i_fc[1] & IEEE80211_FC1_WEP) && in tgt_mgmt_txrx_rx_frame_handler()
1475 "Unspecified mgmt frame type fc: %x %x", wh->i_fc[0], in tgt_mgmt_txrx_rx_frame_handler()
1476 wh->i_fc[1]); in tgt_mgmt_txrx_rx_frame_handler()
H A Dwlan_mgmt_txrx_rx_reo_tgt_api.c375 frame_type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK; in tgt_mgmt_rx_reo_frame_handler()
376 frame_subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in tgt_mgmt_rx_reo_frame_handler()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/mgmt_txrx/core/src/
H A Dwlan_mgmt_txrx_main_i.h75 uint8_t i_fc[2]; member
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/
H A Ddp_rx_mon_dest_1.0.c1851 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; in dp_rx_mon_restitch_mpdu_from_msdus()
1857 if (wh->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS) { in dp_rx_mon_restitch_mpdu_from_msdus()
1868 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in dp_rx_mon_restitch_mpdu_from_msdus()
2144 if ((wh->i_fc[0] & QDF_IEEE80211_FC0_VERSION_MASK) != in dp_rx_mon_frag_restitch_mpdu_from_msdus()
2169 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; in dp_rx_mon_frag_restitch_mpdu_from_msdus()
2175 if (wh->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS) { in dp_rx_mon_frag_restitch_mpdu_from_msdus()
2186 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in dp_rx_mon_frag_restitch_mpdu_from_msdus()
/wlan-driver/qcacld-3.0/core/dp/htt/
H A Dhtt_monitor_rx.c908 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; in htt_rx_restitch_mpdu_from_msdus()
913 if (wh->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS) { in htt_rx_restitch_mpdu_from_msdus()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/
H A Ddp_rx_mon.c1441 if (((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in dp_rx_handle_mcopy_mode()
1443 ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in dp_rx_handle_mcopy_mode()
1957 if (((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != in dp_send_mgmt_packet_to_stack()
1959 ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != in dp_send_mgmt_packet_to_stack()
2019 type = (wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK; in dp_rx_mon_process_dest_pktlog()
2020 subtype = (wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in dp_rx_mon_process_dest_pktlog()
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
H A Dqdf_net_types.h596 uint8_t i_fc[2]; member
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/
H A Dutils_mlo.c2916 link_frame_hdr->i_fc[0] = MLO_LINKSPECIFIC_ASSOC_REQ_FC0; in util_gen_link_reqrsp_cmn()
2917 link_frame_hdr->i_fc[1] = MLO_LINKSPECIFIC_ASSOC_REQ_FC1; in util_gen_link_reqrsp_cmn()
2926 link_frame_hdr->i_fc[0] = MLO_LINKSPECIFIC_PROBE_RESP_FC0; in util_gen_link_reqrsp_cmn()
2927 link_frame_hdr->i_fc[1] = MLO_LINKSPECIFIC_PROBE_RESP_FC1; in util_gen_link_reqrsp_cmn()
2938 link_frame_hdr->i_fc[0] = MLO_LINKSPECIFIC_ASSOC_RESP_FC0; in util_gen_link_reqrsp_cmn()
2939 link_frame_hdr->i_fc[1] = MLO_LINKSPECIFIC_ASSOC_RESP_FC1; in util_gen_link_reqrsp_cmn()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/cmn_defs/inc/
H A Dwlan_cmn_ieee80211.h1348 uint8_t i_fc[2]; member
1362 uint8_t i_fc[2]; member
1377 uint8_t i_fc[2]; member
/wlan-driver/qca-wifi-host-cmn/utils/pktlog/
H A Dpktlog_wifi2.c35 frm_hdr.framectrl = *(uint16_t *)(wh->i_fc); in process_ieee_hdr()
37 dir = (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK); in process_ieee_hdr()
/wlan-driver/qcacld-3.0/core/wma/src/
H A Dwma_mgmt.c245 params.frame_ctrl = *((A_UINT16 *) wh->i_fc); in wma_send_bcn_buf_ll()
3347 if ((wh)->i_fc[1] & IEEE80211_FC1_WEP) { in wma_process_rmf_frame()
3516 (hdr->i_fc[1] & IEEE80211_FC1_WEP))) { in wma_check_and_process_rmf_frame()
3695 mgt_type = (wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK; in wma_form_rx_packet()
3696 mgt_subtype = (wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in wma_form_rx_packet()

12