Searched refs:nSubframe_Length (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 53 _pkt *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() 64 skb_put_data(sub_skb, (pdata + ETH_HLEN), nSubframe_Length); in rtw_os_alloc_msdu_pkt() 69 sub_skb->len = nSubframe_Length; in rtw_os_alloc_msdu_pkt() 70 skb_set_tail_pointer(sub_skb, nSubframe_Length); in rtw_os_alloc_msdu_pkt()
|
/Linux-v5.4/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 325 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local 342 nSubframe_Length = *((u16 *)(pdata + 12)); in amsdu_to_msdu() 344 nSubframe_Length = (nSubframe_Length >> 8) + in amsdu_to_msdu() 345 (nSubframe_Length << 8); in amsdu_to_msdu() 346 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu() 348 a_len, nSubframe_Length); in amsdu_to_msdu() 355 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu() 359 skb_put_data(sub_skb, pdata, nSubframe_Length); in amsdu_to_msdu() 365 pdata += nSubframe_Length; in amsdu_to_msdu() 366 a_len -= nSubframe_Length; in amsdu_to_msdu() [all …]
|
/Linux-v5.4/drivers/staging/rtl8723bs/include/ |
D | recv_osdep.h | 34 _pkt *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata);
|
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 762 u16 nSubframe_Length; in parse_subframe() local 808 nSubframe_Length = *((u16 *)(skb->data + 12)); in parse_subframe() 810 nSubframe_Length = (nSubframe_Length >> 8) + (nSubframe_Length << 8); in parse_subframe() 812 if (skb->len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in parse_subframe() 815 printk("%s: A-MSDU parse error!! Subframe Length: %d\n", __func__, nSubframe_Length); in parse_subframe() 816 printk("nRemain_Length is %d and nSubframe_Length is : %d\n", skb->len, nSubframe_Length); in parse_subframe() 826 sub_skb->len = nSubframe_Length; in parse_subframe() 827 sub_skb->tail = sub_skb->data + nSubframe_Length; in parse_subframe() 830 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in parse_subframe() 834 skb_put_data(sub_skb, skb->data, nSubframe_Length); in parse_subframe() [all …]
|
/Linux-v5.4/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1493 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local 1515 nSubframe_Length = get_unaligned_be16(pdata + 12); in amsdu_to_msdu() 1517 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu() 1518 DBG_88E("nRemain_Length is %d and nSubframe_Length is : %d\n", a_len, nSubframe_Length); in amsdu_to_msdu() 1527 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu() 1530 skb_put_data(sub_skb, pdata, nSubframe_Length); in amsdu_to_msdu() 1535 sub_skb->len = nSubframe_Length; in amsdu_to_msdu() 1536 skb_set_tail_pointer(sub_skb, nSubframe_Length); in amsdu_to_msdu() 1550 pdata += nSubframe_Length; in amsdu_to_msdu() 1551 a_len -= nSubframe_Length; in amsdu_to_msdu() [all …]
|
/Linux-v5.4/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 773 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-v5.4/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 1896 u16 nSubframe_Length; in amsdu_to_msdu() local 1917 nSubframe_Length = RTW_GET_BE16(pdata + 12); in amsdu_to_msdu() 1919 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu() 1920 DBG_871X("nRemain_Length is %d and nSubframe_Length is : %d\n", a_len, nSubframe_Length); in amsdu_to_msdu() 1924 sub_pkt = rtw_os_alloc_msdu_pkt(prframe, nSubframe_Length, pdata); in amsdu_to_msdu() 1941 pdata += nSubframe_Length; in amsdu_to_msdu() 1942 a_len -= nSubframe_Length; in amsdu_to_msdu() 1944 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4-1)); in amsdu_to_msdu()
|