Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rtl8712/
Drtl8712_recv.c316 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local
333 nSubframe_Length = *((u16 *)(pdata + 12)); in amsdu_to_msdu()
335 nSubframe_Length = (nSubframe_Length >> 8) + in amsdu_to_msdu()
336 (nSubframe_Length << 8); in amsdu_to_msdu()
337 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu()
339 a_len, nSubframe_Length); in amsdu_to_msdu()
346 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu()
350 skb_put_data(sub_skb, pdata, nSubframe_Length); in amsdu_to_msdu()
356 pdata += nSubframe_Length; in amsdu_to_msdu()
357 a_len -= nSubframe_Length; in amsdu_to_msdu()
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/staging/r8188eu/core/
Drtw_recv.c1410 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local
1435 nSubframe_Length = RTW_GET_BE16(pdata + 12); in amsdu_to_msdu()
1437 if (a_len < ETH_HLEN + nSubframe_Length) in amsdu_to_msdu()
1445 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu()
1448 skb_put_data(sub_skb, pdata, nSubframe_Length); in amsdu_to_msdu()
1453 sub_skb->len = nSubframe_Length; in amsdu_to_msdu()
1454 skb_set_tail_pointer(sub_skb, nSubframe_Length); in amsdu_to_msdu()
1465 pdata += nSubframe_Length; in amsdu_to_msdu()
1466 a_len -= nSubframe_Length; in amsdu_to_msdu()
1468 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4 - 1)); in amsdu_to_msdu()
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_rx.c773 u16 nSubframe_Length; in parse_subframe() local
827 nSubframe_Length = *((u16 *)(skb->data + 12)); in parse_subframe()
828 nSubframe_Length = (nSubframe_Length >> 8) + in parse_subframe()
829 (nSubframe_Length << 8); in parse_subframe()
831 if (skb->len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in parse_subframe()
837 __func__, nSubframe_Length); in parse_subframe()
840 skb->len, nSubframe_Length); in parse_subframe()
859 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in parse_subframe()
863 skb_put_data(sub_skb, skb->data, nSubframe_Length); in parse_subframe()
872 skb_pull(skb, nSubframe_Length); in parse_subframe()
[all …]
/linux-6.1.9/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()