Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/rtl8712/
Drtl8712_recv.c343 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local
361 nSubframe_Length = *((u16 *)(pdata + 12)); in amsdu_to_msdu()
363 nSubframe_Length = (nSubframe_Length >> 8) + in amsdu_to_msdu()
364 (nSubframe_Length << 8); in amsdu_to_msdu()
365 if (a_len < (ETHERNET_HEADER_SIZE + nSubframe_Length)) { in amsdu_to_msdu()
368 a_len, nSubframe_Length); in amsdu_to_msdu()
375 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in amsdu_to_msdu()
377 data_ptr = (u8 *)skb_put(sub_skb, nSubframe_Length); in amsdu_to_msdu()
378 memcpy(data_ptr, pdata, nSubframe_Length); in amsdu_to_msdu()
385 pdata += nSubframe_Length; in amsdu_to_msdu()
[all …]
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/
Dieee80211_rx.c783 u16 nSubframe_Length; in parse_subframe() local
832 nSubframe_Length = *((u16*)(skb->data + 12)); in parse_subframe()
834 nSubframe_Length = (nSubframe_Length>>8) + (nSubframe_Length<<8); in parse_subframe()
836 if(skb->len<(ETHERNET_HEADER_SIZE + nSubframe_Length)) { in parse_subframe()
839 printk("%s: A-MSDU parse error!! Subframe Length: %d\n",__FUNCTION__, nSubframe_Length); in parse_subframe()
840 printk("nRemain_Length is %d and nSubframe_Length is : %d\n",skb->len,nSubframe_Length); in parse_subframe()
850 sub_skb->len = nSubframe_Length; in parse_subframe()
851 sub_skb->tail = sub_skb->data + nSubframe_Length; in parse_subframe()
854 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in parse_subframe()
856 data_ptr = (u8 *)skb_put(sub_skb, nSubframe_Length); in parse_subframe()
[all …]
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c786 u16 nSubframe_Length; in parse_subframe() local
835 nSubframe_Length = *((u16*)(skb->data + 12)); in parse_subframe()
837 nSubframe_Length = (nSubframe_Length>>8) + (nSubframe_Length<<8); in parse_subframe()
839 if(skb->len<(ETHERNET_HEADER_SIZE + nSubframe_Length)) { in parse_subframe()
842 printk("%s: A-MSDU parse error!! Subframe Length: %d\n",__FUNCTION__, nSubframe_Length); in parse_subframe()
843 printk("nRemain_Length is %d and nSubframe_Length is : %d\n",skb->len,nSubframe_Length); in parse_subframe()
853 sub_skb->len = nSubframe_Length; in parse_subframe()
854 sub_skb->tail = sub_skb->data + nSubframe_Length; in parse_subframe()
857 sub_skb = dev_alloc_skb(nSubframe_Length + 12); in parse_subframe()
859 data_ptr = (u8 *)skb_put(sub_skb, nSubframe_Length); in parse_subframe()
[all …]