Searched refs:nSubframe_Length (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 65 _pkt *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata) in rtw_os_alloc_msdu_pkt() argument 73 sub_skb = rtw_skb_alloc(nSubframe_Length + 12); in rtw_os_alloc_msdu_pkt() 77 skb_put_data(sub_skb, (pdata + ETH_HLEN), nSubframe_Length); in rtw_os_alloc_msdu_pkt() 85 sub_skb->len = nSubframe_Length; in rtw_os_alloc_msdu_pkt() 86 skb_set_tail_pointer(sub_skb, nSubframe_Length); in rtw_os_alloc_msdu_pkt()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 341 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local 358 nSubframe_Length = *((u16 *)(pdata + 12)); in amsdu_to_msdu() 360 nSubframe_Length = (nSubframe_Length >> 8) + in amsdu_to_msdu() 361 (nSubframe_Length << 8); in amsdu_to_msdu() 362 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu() 364 a_len, nSubframe_Length); in amsdu_to_msdu() 371 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu() 375 skb_put_data(sub_skb, pdata, nSubframe_Length); in amsdu_to_msdu() 381 pdata += nSubframe_Length; in amsdu_to_msdu() 382 a_len -= nSubframe_Length; in amsdu_to_msdu() [all …]
|
/Linux-v4.19/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-v4.19/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 779 u16 nSubframe_Length; in parse_subframe() local 825 nSubframe_Length = *((u16 *)(skb->data + 12)); in parse_subframe() 827 nSubframe_Length = (nSubframe_Length>>8) + (nSubframe_Length<<8); in parse_subframe() 829 if (skb->len<(ETHERNET_HEADER_SIZE + nSubframe_Length)) { in parse_subframe() 832 printk("%s: A-MSDU parse error!! Subframe Length: %d\n",__func__, nSubframe_Length); in parse_subframe() 833 printk("nRemain_Length is %d and nSubframe_Length is : %d\n",skb->len,nSubframe_Length); in parse_subframe() 843 sub_skb->len = nSubframe_Length; in parse_subframe() 844 sub_skb->tail = sub_skb->data + nSubframe_Length; in parse_subframe() 847 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in parse_subframe() 851 skb_put_data(sub_skb, skb->data, nSubframe_Length); in parse_subframe() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1503 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local 1525 nSubframe_Length = get_unaligned_be16(pdata + 12); in amsdu_to_msdu() 1527 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu() 1528 DBG_88E("nRemain_Length is %d and nSubframe_Length is : %d\n", a_len, nSubframe_Length); in amsdu_to_msdu() 1537 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu() 1540 skb_put_data(sub_skb, pdata, nSubframe_Length); in amsdu_to_msdu() 1545 sub_skb->len = nSubframe_Length; in amsdu_to_msdu() 1546 skb_set_tail_pointer(sub_skb, nSubframe_Length); in amsdu_to_msdu() 1560 pdata += nSubframe_Length; in amsdu_to_msdu() 1561 a_len -= nSubframe_Length; in amsdu_to_msdu() [all …]
|
/Linux-v4.19/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 781 u16 nSubframe_Length; in parse_subframe() local 835 nSubframe_Length = *((u16 *)(skb->data + 12)); in parse_subframe() 836 nSubframe_Length = (nSubframe_Length >> 8) + in parse_subframe() 837 (nSubframe_Length << 8); in parse_subframe() 839 if (skb->len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in parse_subframe() 845 __func__, nSubframe_Length); in parse_subframe() 848 skb->len, nSubframe_Length); in parse_subframe() 867 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in parse_subframe() 871 skb_put_data(sub_skb, skb->data, nSubframe_Length); in parse_subframe() 880 skb_pull(skb, nSubframe_Length); in parse_subframe() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 1897 u16 nSubframe_Length; in amsdu_to_msdu() local 1919 nSubframe_Length = RTW_GET_BE16(pdata + 12); in amsdu_to_msdu() 1921 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu() 1922 DBG_871X("nRemain_Length is %d and nSubframe_Length is : %d\n", a_len, nSubframe_Length); in amsdu_to_msdu() 1926 sub_pkt = rtw_os_alloc_msdu_pkt(prframe, nSubframe_Length, pdata); in amsdu_to_msdu() 1943 pdata += nSubframe_Length; in amsdu_to_msdu() 1944 a_len -= nSubframe_Length; in amsdu_to_msdu() 1946 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4-1)); in amsdu_to_msdu()
|