/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
D | qdf_tracepoint.c | 93 uint16_t ether_type; in qdf_trace_dp_packet() local 101 ether_type = QDF_SWAP_U16(*(uint16_t *)(data + in qdf_trace_dp_packet() 104 if (unlikely(ether_type == QDF_ETH_TYPE_8021Q)) { in qdf_trace_dp_packet() 105 ether_type = QDF_SWAP_U16(*(uint16_t *)(data + in qdf_trace_dp_packet() 108 } else if (unlikely(ether_type == QDF_ETH_TYPE_8021AD)) { in qdf_trace_dp_packet() 109 ether_type = QDF_SWAP_U16(*(uint16_t *)(data + in qdf_trace_dp_packet() 114 switch (ether_type) { in qdf_trace_dp_packet() 125 if (ether_type == QDF_NBUF_TRAC_IPV4_ETH_TYPE) { in qdf_trace_dp_packet() 145 __qdf_trace_dp_tx_comp_pkt(nbuf, ether_type, latency); in qdf_trace_dp_packet() 147 __qdf_trace_dp_rx_pkt(nbuf, ether_type, latency); in qdf_trace_dp_packet()
|
D | qdf_tracepoint_defs.h | 178 TP_PROTO(struct sk_buff *skb, uint16_t ether_type, 180 TP_ARGS(skb, ether_type, tdelta), 183 __field(uint16_t, ether_type) 188 __entry->ether_type = ether_type; 192 __entry->skb, __entry->ether_type, 197 TP_PROTO(struct sk_buff *skb, uint16_t ether_type, 199 TP_ARGS(skb, ether_type, tdelta) 203 TP_PROTO(struct sk_buff *skb, uint16_t ether_type, 205 TP_ARGS(skb, ether_type, tdelta)
|
D | i_qdf_tracepoint.h | 240 void __qdf_trace_dp_rx_pkt(struct sk_buff *skb, uint16_t ether_type, in __qdf_trace_dp_rx_pkt() argument 243 trace_dp_rx_pkt(skb, ether_type, latency); in __qdf_trace_dp_rx_pkt() 267 void __qdf_trace_dp_tx_comp_pkt(struct sk_buff *skb, uint16_t ether_type, in __qdf_trace_dp_tx_comp_pkt() argument 270 trace_dp_tx_comp_pkt(skb, ether_type, latency); in __qdf_trace_dp_tx_comp_pkt()
|
D | qdf_nbuf.c | 152 uint16_t ether_type; in __qdf_nbuf_get_ip_offset() local 154 ether_type = *(uint16_t *)(data + in __qdf_nbuf_get_ip_offset() 157 if (unlikely(ether_type == QDF_SWAP_U16(QDF_ETH_TYPE_8021Q))) in __qdf_nbuf_get_ip_offset() 159 else if (unlikely(ether_type == QDF_SWAP_U16(QDF_ETH_TYPE_8021AD))) in __qdf_nbuf_get_ip_offset() 177 uint16_t ether_type; in __qdf_nbuf_get_ether_type() local 179 ether_type = *(uint16_t *)(data + in __qdf_nbuf_get_ether_type() 182 if (unlikely(ether_type == QDF_SWAP_U16(QDF_ETH_TYPE_8021Q))) in __qdf_nbuf_get_ether_type() 183 ether_type = *(uint16_t *)(data + in __qdf_nbuf_get_ether_type() 185 else if (unlikely(ether_type == QDF_SWAP_U16(QDF_ETH_TYPE_8021AD))) in __qdf_nbuf_get_ether_type() 186 ether_type = *(uint16_t *)(data + in __qdf_nbuf_get_ether_type() [all …]
|
D | i_qdf_nbuf.h | 2063 uint16_t ether_type = ntohs(eh->h_proto); \ 2069 if (likely((ether_type != ETH_P_8021Q) && !is_mc_bc)) { \ 2075 if (unlikely(ether_type < ETH_P_802_3_MIN)) \
|
/wlan-driver/qcacld-3.0/core/dp/txrx/ |
D | ol_txrx_encap.c | 148 uint16_t ether_type; in ol_tx_encap_from_8023() local 229 ether_type = in ol_tx_encap_from_8023() 231 if (ether_type >= ETH_P_802_3_MIN) { in ol_tx_encap_from_8023() 236 if (ether_type == ETHERTYPE_AARP in ol_tx_encap_from_8023() 237 || ether_type == ETHERTYPE_IPX) { in ol_tx_encap_from_8023() 348 uint16_t ether_type; in ol_rx_decap_to_8023() local 361 ether_type = (llc_hdr->ethertype[0] << 8) | llc_hdr->ethertype[1]; in ol_rx_decap_to_8023() 370 if (!(ether_type == ETHERTYPE_AARP || in ol_rx_decap_to_8023() 371 ether_type == ETHERTYPE_IPX)) { in ol_rx_decap_to_8023() 420 ethr_hdr->ethertype[0] = (ether_type >> 8) & 0xff; in ol_rx_decap_to_8023() [all …]
|
D | ol_rx.c | 1047 uint16_t ether_type = 0; in ol_rx_filter() local 1075 ether_type = (wh[offset] << 8) | wh[offset + 1]; in ol_rx_filter() 1085 if ((true == is_encrypted) && (ETHERTYPE_WAI == ether_type)) { in ol_rx_filter() 1099 if (vdev->privacy_filters[i].ether_type != ether_type) in ol_rx_filter() 1131 ether_type))) { in ol_rx_filter() 1358 eth_header.ether_type = QDF_SWAP_U16(ETHERTYPE_OCB_RX); in ol_rx_ocb_prepare_rx_stats_header()
|
D | ol_tx_hl.c | 337 if (eth_hdr_p->ether_type != QDF_SWAP_U16(ETHERTYPE_OCB_TX)) in parse_ocb_tx_header() 838 uint16_t ether_type; local 853 ether_type = (uint16_t)(*(uint16_t *) 858 if ((QDF_SWAP_U16(QDF_NBUF_TRAC_IPV4_ETH_TYPE) == ether_type) && 891 uint16_t ether_type; local 907 ether_type = (uint16_t)(*(uint16_t *) 912 if ((QDF_SWAP_U16(QDF_NBUF_TRAC_IPV4_ETH_TYPE) == ether_type) &&
|
D | ol_txrx_types.h | 108 uint16_t ether_type; member
|
D | ol_txrx.c | 5275 privacy_filter.ether_type = ETHERTYPE_WAI; in ol_txrx_register_peer()
|
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
D | qdf_tracepoint.h | 197 void qdf_trace_dp_rx_pkt(qdf_nbuf_t nbuf, uint16_t ether_type, in qdf_trace_dp_rx_pkt() argument 200 __qdf_trace_dp_rx_pkt(nbuf, ether_type, latency); in qdf_trace_dp_rx_pkt() 224 void qdf_trace_dp_tx_comp_pkt(qdf_nbuf_t nbuf, uint16_t ether_type, in qdf_trace_dp_tx_comp_pkt() argument 227 __qdf_trace_dp_tx_comp_pkt(nbuf, ether_type, latency); in qdf_trace_dp_tx_comp_pkt()
|
D | qdf_net_types.h | 610 uint16_t ether_type; member 622 uint16_t ether_type; member 658 uint16_t ether_type; member
|
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/ |
D | wlan_pkt_capture_data_txrx.c | 367 uint16_t ether_type; in pkt_capture_rx_convert8023to80211() local 426 ether_type = (eth_hdr->ethertype[0] << 8) | in pkt_capture_rx_convert8023to80211() 428 if (ether_type >= ETH_P_802_3_MIN) { in pkt_capture_rx_convert8023to80211() 433 if (ether_type == ETHERTYPE_AARP || in pkt_capture_rx_convert8023to80211() 434 ether_type == ETHERTYPE_IPX) { in pkt_capture_rx_convert8023to80211() 471 uint16_t ether_type; in pkt_capture_rx_convert8023to80211() local 518 ether_type = (eth_hdr->ethertype[0] << 8) | in pkt_capture_rx_convert8023to80211() 520 if (ether_type >= ETH_P_802_3_MIN) { in pkt_capture_rx_convert8023to80211() 525 if (ether_type == ETHERTYPE_AARP || in pkt_capture_rx_convert8023to80211() 526 ether_type == ETHERTYPE_IPX) { in pkt_capture_rx_convert8023to80211() [all …]
|
/wlan-driver/qcacld-3.0/core/wma/src/ |
D | wma_data.c | 2153 uint16_t ether_type; in wma_decap_to_8023() local 2162 ether_type = (llc_hdr->ethertype[0] << 8) | llc_hdr->ethertype[1]; in wma_decap_to_8023() 2171 if (!(ether_type == ETHERTYPE_AARP || in wma_decap_to_8023() 2172 ether_type == ETHERTYPE_IPX)) { in wma_decap_to_8023() 2217 ethr_hdr->ethertype[0] = (ether_type >> 8) & 0xff; in wma_decap_to_8023() 2218 ethr_hdr->ethertype[1] = (ether_type) & 0xff; in wma_decap_to_8023() 2222 ether_type = (uint16_t) pktlen; in wma_decap_to_8023() 2223 ether_type = qdf_nbuf_len(msdu) - sizeof(struct ethernet_hdr_t); in wma_decap_to_8023() 2224 ethr_hdr->ethertype[0] = (ether_type >> 8) & 0xff; in wma_decap_to_8023() 2225 ethr_hdr->ethertype[1] = (ether_type) & 0xff; in wma_decap_to_8023()
|
/wlan-driver/qcacld-3.0/os_if/qmi/inc/ |
D | os_if_qmi.h | 81 uint16_t ether_type; member
|
D | os_if_qmi_wifi_driver_service_v01.h | 338 u16 ether_type; member
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_sysfs_direct_link_ut_cmd.c | 97 if (kstrtou16(token, 0, &cmd_info.ether_type)) in __hdd_sysfs_direct_link_ut_cmd_store()
|
/wlan-driver/qcacld-3.0/os_if/qmi/src/ |
D | os_if_qmi_wfds.c | 503 req->ether_type = cmd_info->ether_type; in os_if_qmi_wfds_send_ut_cmd_req_msg()
|
D | os_if_qmi_wifi_driver_service_v01.c | 550 ether_type),
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_rx_defrag.c | 1014 uint8_t ether_type[2]; in dp_rx_defrag_nwifi_to_8023() local 1041 qdf_mem_copy(ether_type, llchdr->ethertype, 2); in dp_rx_defrag_nwifi_to_8023() 1101 qdf_mem_copy(eth_hdr->ethertype, ether_type, in dp_rx_defrag_nwifi_to_8023() 1102 sizeof(ether_type)); in dp_rx_defrag_nwifi_to_8023()
|
D | dp_tx.c | 1730 uint16_t ether_type; in dp_tx_get_tid() local 1748 ether_type = eh->ether_type; in dp_tx_get_tid() 1754 if (DP_FRAME_IS_LLC(ether_type) && DP_FRAME_IS_SNAP(llcHdr)) { in dp_tx_get_tid() 1755 ether_type = (uint16_t)*(nbuf->data + 2*QDF_MAC_ADDR_SIZE + in dp_tx_get_tid() 1758 if (ether_type == htons(ETHERTYPE_VLAN)) { in dp_tx_get_tid() 1761 ether_type = (uint16_t)*(nbuf->data + 2*QDF_MAC_ADDR_SIZE in dp_tx_get_tid() 1769 if (ether_type == htons(ETHERTYPE_VLAN)) { in dp_tx_get_tid() 1771 ether_type = evh->ether_type; in dp_tx_get_tid() 7940 (htons(eh->ether_type) != ETH_P_8021Q));
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/ |
D | dp_be_tx.c | 593 (htons(eh->ether_type) != ETH_P_8021Q)); in dp_tx_mlo_mcast_multipass_lookup()
|