Searched refs:nSubframe_Length (Results 1 – 7 of 7) sorted by relevance
/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 316 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 …]
|
/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 56 _pkt *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata) in rtw_os_alloc_msdu_pkt() argument 64 sub_skb = rtw_skb_alloc(nSubframe_Length + 12); in rtw_os_alloc_msdu_pkt() 71 skb_put_data(sub_skb, (pdata + ETH_HLEN), nSubframe_Length); in rtw_os_alloc_msdu_pkt()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 775 u16 nSubframe_Length; in parse_subframe() local 821 nSubframe_Length = *((u16 *)(skb->data + 12)); in parse_subframe() 823 nSubframe_Length = (nSubframe_Length >> 8) + (nSubframe_Length << 8); in parse_subframe() 825 if (skb->len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in parse_subframe() 828 netdev_dbg(ieee->dev, "A-MSDU parse error!! Subframe Length: %d\n", nSubframe_Length); in parse_subframe() 829 …_dbg(ieee->dev, "nRemain_Length is %d and nSubframe_Length is : %d\n", skb->len, nSubframe_Length); in parse_subframe() 839 sub_skb->len = nSubframe_Length; in parse_subframe() 840 sub_skb->tail = sub_skb->data + nSubframe_Length; in parse_subframe() 843 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in parse_subframe() 847 skb_put_data(sub_skb, skb->data, nSubframe_Length); in parse_subframe() [all …]
|
/drivers/staging/rtl8723bs/include/ |
D | recv_osdep.h | 34 _pkt *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata);
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1484 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local 1506 nSubframe_Length = get_unaligned_be16(pdata + 12); in amsdu_to_msdu() 1508 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu() 1509 DBG_88E("nRemain_Length is %d and nSubframe_Length is : %d\n", a_len, nSubframe_Length); in amsdu_to_msdu() 1518 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu() 1525 skb_put_data(sub_skb, pdata, nSubframe_Length); in amsdu_to_msdu() 1534 pdata += nSubframe_Length; in amsdu_to_msdu() 1535 a_len -= nSubframe_Length; in amsdu_to_msdu() 1537 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4 - 1)); in amsdu_to_msdu()
|
/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 …]
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 1889 u16 nSubframe_Length; in amsdu_to_msdu() local 1910 nSubframe_Length = get_unaligned_be16(pdata + 12); in amsdu_to_msdu() 1912 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu() 1913 DBG_871X("nRemain_Length is %d and nSubframe_Length is : %d\n", a_len, nSubframe_Length); in amsdu_to_msdu() 1917 sub_pkt = rtw_os_alloc_msdu_pkt(prframe, nSubframe_Length, pdata); in amsdu_to_msdu() 1934 pdata += nSubframe_Length; in amsdu_to_msdu() 1935 a_len -= nSubframe_Length; in amsdu_to_msdu() 1937 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4-1)); in amsdu_to_msdu()
|