Searched refs:l2_hdr_space (Results 1 – 2 of 2) sorted by relevance
349 uint16_t l2_hdr_space; in ol_rx_decap_to_8023() local363 l2_hdr_space = 0; in ol_rx_decap_to_8023()367 l2_hdr_space += sizeof(struct llc_snap_hdr_t); in ol_rx_decap_to_8023()373 l2_hdr_space += sizeof(struct llc_snap_hdr_t); in ol_rx_decap_to_8023()378 if (l2_hdr_space > ETHERNET_HDR_LEN) in ol_rx_decap_to_8023()379 buf = qdf_nbuf_pull_head(msdu, l2_hdr_space - ETHERNET_HDR_LEN); in ol_rx_decap_to_8023()380 else if (l2_hdr_space < ETHERNET_HDR_LEN) in ol_rx_decap_to_8023()381 buf = qdf_nbuf_push_head(msdu, ETHERNET_HDR_LEN - l2_hdr_space); in ol_rx_decap_to_8023()
2154 uint16_t l2_hdr_space; in wma_decap_to_8023() local2164 l2_hdr_space = 0; in wma_decap_to_8023()2168 l2_hdr_space += sizeof(struct llc_snap_hdr_t); in wma_decap_to_8023()2174 l2_hdr_space += sizeof(struct llc_snap_hdr_t); in wma_decap_to_8023()2179 if (l2_hdr_space > ETHERNET_HDR_LEN) in wma_decap_to_8023()2180 buf = qdf_nbuf_pull_head(msdu, l2_hdr_space - ETHERNET_HDR_LEN); in wma_decap_to_8023()2181 else if (l2_hdr_space < ETHERNET_HDR_LEN) in wma_decap_to_8023()2182 buf = qdf_nbuf_push_head(msdu, ETHERNET_HDR_LEN - l2_hdr_space); in wma_decap_to_8023()