Home
last modified time | relevance | path

Searched refs:nSubframe_Length (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/staging/rtl8712/
H A Drtl8712_recv.c312 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local
329 nSubframe_Length = *((u16 *)(pdata + 12)); in amsdu_to_msdu()
331 nSubframe_Length = (nSubframe_Length >> 8) + in amsdu_to_msdu()
332 (nSubframe_Length << 8); in amsdu_to_msdu()
333 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu()
335 a_len, nSubframe_Length); in amsdu_to_msdu()
342 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu()
346 skb_put_data(sub_skb, pdata, nSubframe_Length); in amsdu_to_msdu()
352 pdata += nSubframe_Length; in amsdu_to_msdu()
353 a_len -= nSubframe_Length; in amsdu_to_msdu()
[all …]
/linux/drivers/staging/rtl8723bs/os_dep/
H A Drecv_linux.c53 struct sk_buff *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata) in rtw_os_alloc_msdu_pkt() argument
61 sub_skb = rtw_skb_alloc(nSubframe_Length + 12); in rtw_os_alloc_msdu_pkt()
66 skb_put_data(sub_skb, (pdata + ETH_HLEN), nSubframe_Length); in rtw_os_alloc_msdu_pkt()
/linux/drivers/staging/rtl8723bs/include/
H A Drecv_osdep.h34 struct sk_buff *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata);
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_recv.c1570 u16 nSubframe_Length; in amsdu_to_msdu() local
1591 nSubframe_Length = get_unaligned_be16(pdata + 12); in amsdu_to_msdu()
1593 if (a_len < ETH_HLEN + nSubframe_Length) in amsdu_to_msdu()
1596 sub_pkt = rtw_os_alloc_msdu_pkt(prframe, nSubframe_Length, pdata); in amsdu_to_msdu()
1609 pdata += nSubframe_Length; in amsdu_to_msdu()
1610 a_len -= nSubframe_Length; in amsdu_to_msdu()
1612 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4-1)); in amsdu_to_msdu()