Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/staging/rtl8712/
Drtl8712_recv.c317 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local
334 nSubframe_Length = *((u16 *)(pdata + 12)); in amsdu_to_msdu()
336 nSubframe_Length = (nSubframe_Length >> 8) + in amsdu_to_msdu()
337 (nSubframe_Length << 8); in amsdu_to_msdu()
338 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu()
340 a_len, nSubframe_Length); in amsdu_to_msdu()
347 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu()
351 skb_put_data(sub_skb, pdata, nSubframe_Length); in amsdu_to_msdu()
357 pdata += nSubframe_Length; in amsdu_to_msdu()
358 a_len -= nSubframe_Length; in amsdu_to_msdu()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c54 struct sk_buff *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata) in rtw_os_alloc_msdu_pkt() argument
62 sub_skb = rtw_skb_alloc(nSubframe_Length + 12); in rtw_os_alloc_msdu_pkt()
67 skb_put_data(sub_skb, (pdata + ETH_HLEN), nSubframe_Length); in rtw_os_alloc_msdu_pkt()
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Drecv_osdep.h34 struct sk_buff *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata);
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c775 u16 nSubframe_Length; in parse_subframe() local
820 nSubframe_Length = *((u16 *)(skb->data + 12)); in parse_subframe()
822 nSubframe_Length = (nSubframe_Length >> 8) + (nSubframe_Length << 8); in parse_subframe()
824 if (skb->len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in parse_subframe()
827 netdev_dbg(ieee->dev, "A-MSDU parse error!! Subframe Length: %d\n", nSubframe_Length); in parse_subframe()
828 …_dbg(ieee->dev, "nRemain_Length is %d and nSubframe_Length is : %d\n", skb->len, nSubframe_Length); in parse_subframe()
838 sub_skb->len = nSubframe_Length; in parse_subframe()
839 sub_skb->tail = sub_skb->data + nSubframe_Length; in parse_subframe()
842 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in parse_subframe()
846 skb_put_data(sub_skb, skb->data, nSubframe_Length); in parse_subframe()
[all …]
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_rx.c762 u16 nSubframe_Length; in parse_subframe() local
816 nSubframe_Length = *((u16 *)(skb->data + 12)); in parse_subframe()
817 nSubframe_Length = (nSubframe_Length >> 8) + in parse_subframe()
818 (nSubframe_Length << 8); in parse_subframe()
820 if (skb->len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in parse_subframe()
826 __func__, nSubframe_Length); in parse_subframe()
829 skb->len, nSubframe_Length); in parse_subframe()
848 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in parse_subframe()
852 skb_put_data(sub_skb, skb->data, nSubframe_Length); in parse_subframe()
861 skb_pull(skb, nSubframe_Length); in parse_subframe()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_recv.c1571 u16 nSubframe_Length; in amsdu_to_msdu() local
1592 nSubframe_Length = get_unaligned_be16(pdata + 12); in amsdu_to_msdu()
1594 if (a_len < ETH_HLEN + nSubframe_Length) in amsdu_to_msdu()
1597 sub_pkt = rtw_os_alloc_msdu_pkt(prframe, nSubframe_Length, pdata); in amsdu_to_msdu()
1610 pdata += nSubframe_Length; in amsdu_to_msdu()
1611 a_len -= nSubframe_Length; in amsdu_to_msdu()
1613 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4-1)); in amsdu_to_msdu()