Searched refs:us_ether_type (Results 1 - 10 of 10) sorted by relevance
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_tx_data.c | 279 if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_IP)) { in hmac_tx_classify_lan_to_wlan() 282 } else if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_IPV6)) { in hmac_tx_classify_lan_to_wlan() 285 } else if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_PAE)) { in hmac_tx_classify_lan_to_wlan() 294 } else if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_TDLS)) { in hmac_tx_classify_lan_to_wlan() 298 } else if ((ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_PPP_DISC)) || in hmac_tx_classify_lan_to_wlan() 299 (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_PPP_SES)) || in hmac_tx_classify_lan_to_wlan() 300 (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_WAI))) { in hmac_tx_classify_lan_to_wlan() 305 oam_info_log2(0, 0, "{hmac_tx_classify_lan_to_wlan::type=%d, tid=%d.}", ether_header->us_ether_type, tid); in hmac_tx_classify_lan_to_wlan() 306 } else if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_ARP)) { in hmac_tx_classify_lan_to_wlan() 310 } else if (ether_header->us_ether_type in hmac_tx_classify_lan_to_wlan() 1064 hi_u16 us_ether_type = 0; hmac_tx_encap() local [all...] |
H A D | hmac_rx_data.c | 76 hi_u16 us_ether_type; in hmac_rx_frame_80211_to_eth() local 79 us_ether_type = snap->us_ether_type; in hmac_rx_frame_80211_to_eth() 85 ether_hdr->us_ether_type = us_ether_type; in hmac_rx_frame_80211_to_eth() 296 if (hmac_11i_ether_type_filter(hmac_vap, ether->auc_ether_shost, ether->us_ether_type) != HI_SUCCESS) { in hmac_rx_msdu_proc() 487 if (oal_host2net_short(ETHER_TYPE_IP) == ether_hdr->us_ether_type) { in hmac_rx_transmit_edca_opt_ap() 550 if (HI_SUCCESS != hmac_11i_ether_type_filter(hmac_vap, mac_addr, ether_hdr->us_ether_type)) { in hmac_rx_transmit_msdu_to_lan()
|
H A D | hmac_tx_data.h | 80 hi_u16 us_ether_type; member
|
H A D | hmac_11i.h | 81 hi_u32 hmac_11i_ether_type_filter(const hmac_vap_stru *hmac_vap, const hi_u8 *mac_addr, hi_u16 us_ether_type);
|
H A D | hmac_11i.c | 1349 hi_u32 hmac_11i_ether_type_filter(const hmac_vap_stru *hmac_vap, const hi_u8 *mac_addr, hi_u16 us_ether_type) in hmac_11i_ether_type_filter() argument 1365 if (hi_swap_byteorder_16(ETHER_TYPE_PAE) != us_ether_type) { in hmac_11i_ether_type_filter() 1367 "{hmac_11i_ether_type_filter::TYPE 0x%04x not permission.}", us_ether_type); in hmac_11i_ether_type_filter() 1370 } else if (hi_swap_byteorder_16(ETHER_TYPE_PAE) == us_ether_type) { /* EAPOL收发维测信息 */ in hmac_11i_ether_type_filter()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/ |
H A D | mac_data.c | 242 ether_type = oal_net2host_short(((mac_ether_header_stru *)puc_frame_hdr)->us_ether_type); in mac_get_data_type_from_8023() 245 ether_type = oal_net2host_short(((mac_llc_snap_stru *)puc_frame_hdr)->us_ether_type); in mac_get_data_type_from_8023()
|
H A D | mac_frame.c | 2574 输入参数 : pst_buf netbuf结构体 us_ether_type 以太网类型 2576 hi_void mac_set_snap(oal_netbuf_stru *netbuf, hi_u16 us_ether_type, hi_u8 offset) in mac_set_snap() argument 2590 if (oal_unlikely((use_btep1 == us_ether_type) || (use_btep2 == us_ether_type))) { in mac_set_snap() 2599 llc->us_ether_type = us_ether_type; in mac_set_snap()
|
H A D | mac_frame.h | 893 hi_u16 us_ether_type; member 902 hi_u16 us_ether_type; member 1645 hi_void mac_set_snap(oal_netbuf_stru *netbuf, hi_u16 us_ether_type, hi_u8 offset); 2136 return (hi_swap_byteorder_16(mac_llc_snap->us_ether_type) == ETHER_ONE_X_TYPE); in mac_frame_is_eapol()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_net.c | 569 eth->us_ether_type = (hi_u16)oal_host2net_short(eth_header_info->type); in oal_eth_header() 571 eth->us_ether_type = (hi_u16)oal_host2net_short(eth_header_info->len); in oal_eth_header()
|
H A D | oal_net.h | 945 hi_u16 us_ether_type; member
|
Completed in 27 milliseconds