sub_skb 1497 drivers/staging/rtl8188eu/core/rtw_recv.c struct sk_buff *sub_skb, *subframes[MAX_SUBFRAME_COUNT]; sub_skb 1527 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb = dev_alloc_skb(nSubframe_Length + 12); sub_skb 1528 drivers/staging/rtl8188eu/core/rtw_recv.c if (sub_skb) { sub_skb 1529 drivers/staging/rtl8188eu/core/rtw_recv.c skb_reserve(sub_skb, 12); sub_skb 1530 drivers/staging/rtl8188eu/core/rtw_recv.c skb_put_data(sub_skb, pdata, nSubframe_Length); sub_skb 1532 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb = skb_clone(prframe->pkt, GFP_ATOMIC); sub_skb 1533 drivers/staging/rtl8188eu/core/rtw_recv.c if (sub_skb) { sub_skb 1534 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb->data = pdata; sub_skb 1535 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb->len = nSubframe_Length; sub_skb 1536 drivers/staging/rtl8188eu/core/rtw_recv.c skb_set_tail_pointer(sub_skb, nSubframe_Length); sub_skb 1543 drivers/staging/rtl8188eu/core/rtw_recv.c subframes[nr_subframes++] = sub_skb; sub_skb 1566 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb = subframes[i]; sub_skb 1568 drivers/staging/rtl8188eu/core/rtw_recv.c eth_type = get_unaligned_be16(&sub_skb->data[6]); sub_skb 1569 drivers/staging/rtl8188eu/core/rtw_recv.c if (sub_skb->len >= 8 && sub_skb 1570 drivers/staging/rtl8188eu/core/rtw_recv.c ((!memcmp(sub_skb->data, rtw_rfc1042_header, SNAP_SIZE) && sub_skb 1572 drivers/staging/rtl8188eu/core/rtw_recv.c !memcmp(sub_skb->data, rtw_bridge_tunnel_header, SNAP_SIZE))) { sub_skb 1574 drivers/staging/rtl8188eu/core/rtw_recv.c skb_pull(sub_skb, SNAP_SIZE); sub_skb 1575 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); sub_skb 1576 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); sub_skb 1580 drivers/staging/rtl8188eu/core/rtw_recv.c len = htons(sub_skb->len); sub_skb 1581 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(skb_push(sub_skb, 2), &len, 2); sub_skb 1582 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); sub_skb 1583 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); sub_skb 1588 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb->protocol = eth_type_trans(sub_skb, padapter->pnetdev); sub_skb 1589 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb->dev = padapter->pnetdev; sub_skb 1591 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb->ip_summed = CHECKSUM_NONE; sub_skb 1593 drivers/staging/rtl8188eu/core/rtw_recv.c netif_rx(sub_skb); sub_skb 485 drivers/staging/rtl8192e/rtllib_rx.c struct sk_buff *sub_skb = prxb->subframes[i]; sub_skb 488 drivers/staging/rtl8192e/rtllib_rx.c ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; sub_skb 489 drivers/staging/rtl8192e/rtllib_rx.c if (sub_skb->len >= 8 && sub_skb 490 drivers/staging/rtl8192e/rtllib_rx.c ((memcmp(sub_skb->data, rfc1042_header, sub_skb 494 drivers/staging/rtl8192e/rtllib_rx.c memcmp(sub_skb->data, bridge_tunnel_header, sub_skb 499 drivers/staging/rtl8192e/rtllib_rx.c skb_pull(sub_skb, SNAP_SIZE); sub_skb 500 drivers/staging/rtl8192e/rtllib_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), prxb->src, ETH_ALEN); sub_skb 501 drivers/staging/rtl8192e/rtllib_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); sub_skb 505 drivers/staging/rtl8192e/rtllib_rx.c len = sub_skb->len; sub_skb 506 drivers/staging/rtl8192e/rtllib_rx.c memcpy(skb_push(sub_skb, 2), &len, 2); sub_skb 507 drivers/staging/rtl8192e/rtllib_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), prxb->src, ETH_ALEN); sub_skb 508 drivers/staging/rtl8192e/rtllib_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); sub_skb 512 drivers/staging/rtl8192e/rtllib_rx.c if (sub_skb) { sub_skb 514 drivers/staging/rtl8192e/rtllib_rx.c stats->rx_bytes += sub_skb->len; sub_skb 516 drivers/staging/rtl8192e/rtllib_rx.c memset(sub_skb->cb, 0, sizeof(sub_skb->cb)); sub_skb 517 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->protocol = eth_type_trans(sub_skb, sub_skb 519 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->dev = ieee->dev; sub_skb 520 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->dev->stats.rx_packets++; sub_skb 521 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->dev->stats.rx_bytes += sub_skb->len; sub_skb 523 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->ip_summed = CHECKSUM_NONE; sub_skb 525 drivers/staging/rtl8192e/rtllib_rx.c netif_rx(sub_skb); sub_skb 776 drivers/staging/rtl8192e/rtllib_rx.c struct sk_buff *sub_skb; sub_skb 807 drivers/staging/rtl8192e/rtllib_rx.c sub_skb = dev_alloc_skb(RTLLIB_SKBBUFFER_SIZE); sub_skb 808 drivers/staging/rtl8192e/rtllib_rx.c if (!sub_skb) sub_skb 810 drivers/staging/rtl8192e/rtllib_rx.c skb_reserve(sub_skb, 12); sub_skb 811 drivers/staging/rtl8192e/rtllib_rx.c skb_put_data(sub_skb, skb->data, skb->len); sub_skb 812 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->dev = ieee->dev; sub_skb 814 drivers/staging/rtl8192e/rtllib_rx.c rxb->subframes[0] = sub_skb; sub_skb 859 drivers/staging/rtl8192e/rtllib_rx.c sub_skb = dev_alloc_skb(nSubframe_Length + 12); sub_skb 860 drivers/staging/rtl8192e/rtllib_rx.c if (!sub_skb) sub_skb 862 drivers/staging/rtl8192e/rtllib_rx.c skb_reserve(sub_skb, 12); sub_skb 863 drivers/staging/rtl8192e/rtllib_rx.c skb_put_data(sub_skb, skb->data, nSubframe_Length); sub_skb 865 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->dev = ieee->dev; sub_skb 866 drivers/staging/rtl8192e/rtllib_rx.c rxb->subframes[rxb->nr_subframes++] = sub_skb; sub_skb 1241 drivers/staging/rtl8192e/rtllib_rx.c struct sk_buff *sub_skb = rxb->subframes[i]; sub_skb 1243 drivers/staging/rtl8192e/rtllib_rx.c if (sub_skb) { sub_skb 1247 drivers/staging/rtl8192e/rtllib_rx.c ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; sub_skb 1248 drivers/staging/rtl8192e/rtllib_rx.c if (sub_skb->len >= 8 && sub_skb 1249 drivers/staging/rtl8192e/rtllib_rx.c ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && sub_skb 1251 drivers/staging/rtl8192e/rtllib_rx.c memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { sub_skb 1255 drivers/staging/rtl8192e/rtllib_rx.c skb_pull(sub_skb, SNAP_SIZE); sub_skb 1256 drivers/staging/rtl8192e/rtllib_rx.c ether_addr_copy(skb_push(sub_skb, ETH_ALEN), sub_skb 1258 drivers/staging/rtl8192e/rtllib_rx.c ether_addr_copy(skb_push(sub_skb, ETH_ALEN), sub_skb 1265 drivers/staging/rtl8192e/rtllib_rx.c len = sub_skb->len; sub_skb 1266 drivers/staging/rtl8192e/rtllib_rx.c memcpy(skb_push(sub_skb, 2), &len, 2); sub_skb 1267 drivers/staging/rtl8192e/rtllib_rx.c ether_addr_copy(skb_push(sub_skb, ETH_ALEN), sub_skb 1269 drivers/staging/rtl8192e/rtllib_rx.c ether_addr_copy(skb_push(sub_skb, ETH_ALEN), sub_skb 1274 drivers/staging/rtl8192e/rtllib_rx.c ieee->stats.rx_bytes += sub_skb->len; sub_skb 1280 drivers/staging/rtl8192e/rtllib_rx.c memset(sub_skb->cb, 0, sizeof(sub_skb->cb)); sub_skb 1281 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->protocol = eth_type_trans(sub_skb, dev); sub_skb 1282 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->dev = dev; sub_skb 1283 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->dev->stats.rx_packets++; sub_skb 1284 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->dev->stats.rx_bytes += sub_skb->len; sub_skb 1286 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->ip_summed = CHECKSUM_NONE; sub_skb 1287 drivers/staging/rtl8192e/rtllib_rx.c netif_rx(sub_skb); sub_skb 534 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c struct sk_buff *sub_skb = prxb->subframes[i]; sub_skb 537 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; sub_skb 538 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (sub_skb->len >= 8 && sub_skb 539 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && sub_skb 541 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { sub_skb 544 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c skb_pull(sub_skb, SNAP_SIZE); sub_skb 545 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), prxb->src, ETH_ALEN); sub_skb 546 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); sub_skb 549 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c put_unaligned_be16(sub_skb->len, skb_push(sub_skb, 2)); sub_skb 550 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), prxb->src, ETH_ALEN); sub_skb 551 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); sub_skb 557 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (sub_skb) { sub_skb 558 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->protocol = eth_type_trans(sub_skb, ieee->dev); sub_skb 559 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memset(sub_skb->cb, 0, sizeof(sub_skb->cb)); sub_skb 560 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->dev = ieee->dev; sub_skb 561 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->ip_summed = CHECKSUM_NONE; /* 802.11 crc not sufficient */ sub_skb 564 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c netif_rx(sub_skb); sub_skb 766 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c struct sk_buff *sub_skb; sub_skb 825 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb = skb_clone(skb, GFP_ATOMIC); sub_skb 826 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->len = nSubframe_Length; sub_skb 827 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->tail = sub_skb->data + nSubframe_Length; sub_skb 830 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb = dev_alloc_skb(nSubframe_Length + 12); sub_skb 831 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (!sub_skb) sub_skb 833 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c skb_reserve(sub_skb, 12); sub_skb 834 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c skb_put_data(sub_skb, skb->data, nSubframe_Length); sub_skb 836 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c rxb->subframes[rxb->nr_subframes++] = sub_skb; sub_skb 1267 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c struct sk_buff *sub_skb = rxb->subframes[i]; sub_skb 1269 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (sub_skb) { sub_skb 1271 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; sub_skb 1272 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (sub_skb->len >= 8 && sub_skb 1273 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && sub_skb 1275 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { sub_skb 1278 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c skb_pull(sub_skb, SNAP_SIZE); sub_skb 1279 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), src, ETH_ALEN); sub_skb 1280 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), dst, ETH_ALEN); sub_skb 1284 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c len = be16_to_cpu(htons(sub_skb->len)); sub_skb 1285 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(skb_push(sub_skb, 2), &len, 2); sub_skb 1286 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), src, ETH_ALEN); sub_skb 1287 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(skb_push(sub_skb, ETH_ALEN), dst, ETH_ALEN); sub_skb 1291 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c stats->rx_bytes += sub_skb->len; sub_skb 1297 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->protocol = eth_type_trans(sub_skb, dev); sub_skb 1298 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memset(sub_skb->cb, 0, sizeof(sub_skb->cb)); sub_skb 1299 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->dev = dev; sub_skb 1300 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->ip_summed = CHECKSUM_NONE; /* 802.11 crc not sufficient */ sub_skb 1303 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c netif_rx(sub_skb); sub_skb 329 drivers/staging/rtl8712/rtl8712_recv.c _pkt *sub_skb, *subframes[MAX_SUBFRAME_COUNT]; sub_skb 355 drivers/staging/rtl8712/rtl8712_recv.c sub_skb = dev_alloc_skb(nSubframe_Length + 12); sub_skb 356 drivers/staging/rtl8712/rtl8712_recv.c if (!sub_skb) sub_skb 358 drivers/staging/rtl8712/rtl8712_recv.c skb_reserve(sub_skb, 12); sub_skb 359 drivers/staging/rtl8712/rtl8712_recv.c skb_put_data(sub_skb, pdata, nSubframe_Length); sub_skb 360 drivers/staging/rtl8712/rtl8712_recv.c subframes[nr_subframes++] = sub_skb; sub_skb 378 drivers/staging/rtl8712/rtl8712_recv.c sub_skb = subframes[i]; sub_skb 380 drivers/staging/rtl8712/rtl8712_recv.c eth_type = (sub_skb->data[6] << 8) | sub_skb->data[7]; sub_skb 381 drivers/staging/rtl8712/rtl8712_recv.c if (sub_skb->len >= 8 && sub_skb 382 drivers/staging/rtl8712/rtl8712_recv.c ((!memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) && sub_skb 384 drivers/staging/rtl8712/rtl8712_recv.c !memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE))) { sub_skb 388 drivers/staging/rtl8712/rtl8712_recv.c skb_pull(sub_skb, SNAP_SIZE); sub_skb 389 drivers/staging/rtl8712/rtl8712_recv.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, sub_skb 391 drivers/staging/rtl8712/rtl8712_recv.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, sub_skb 396 drivers/staging/rtl8712/rtl8712_recv.c len = htons(sub_skb->len); sub_skb 397 drivers/staging/rtl8712/rtl8712_recv.c memcpy(skb_push(sub_skb, 2), &len, 2); sub_skb 398 drivers/staging/rtl8712/rtl8712_recv.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, sub_skb 400 drivers/staging/rtl8712/rtl8712_recv.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, sub_skb 404 drivers/staging/rtl8712/rtl8712_recv.c if (sub_skb) { sub_skb 405 drivers/staging/rtl8712/rtl8712_recv.c sub_skb->protocol = sub_skb 406 drivers/staging/rtl8712/rtl8712_recv.c eth_type_trans(sub_skb, padapter->pnetdev); sub_skb 407 drivers/staging/rtl8712/rtl8712_recv.c sub_skb->dev = padapter->pnetdev; sub_skb 410 drivers/staging/rtl8712/rtl8712_recv.c sub_skb->ip_summed = CHECKSUM_UNNECESSARY; sub_skb 412 drivers/staging/rtl8712/rtl8712_recv.c sub_skb->ip_summed = CHECKSUM_NONE; sub_skb 414 drivers/staging/rtl8712/rtl8712_recv.c netif_rx(sub_skb); sub_skb 56 drivers/staging/rtl8723bs/os_dep/recv_linux.c _pkt *sub_skb; sub_skb 61 drivers/staging/rtl8723bs/os_dep/recv_linux.c sub_skb = rtw_skb_alloc(nSubframe_Length + 12); sub_skb 62 drivers/staging/rtl8723bs/os_dep/recv_linux.c if (sub_skb) { sub_skb 63 drivers/staging/rtl8723bs/os_dep/recv_linux.c skb_reserve(sub_skb, 12); sub_skb 64 drivers/staging/rtl8723bs/os_dep/recv_linux.c skb_put_data(sub_skb, (pdata + ETH_HLEN), nSubframe_Length); sub_skb 66 drivers/staging/rtl8723bs/os_dep/recv_linux.c sub_skb = rtw_skb_clone(prframe->u.hdr.pkt); sub_skb 67 drivers/staging/rtl8723bs/os_dep/recv_linux.c if (sub_skb) { sub_skb 68 drivers/staging/rtl8723bs/os_dep/recv_linux.c sub_skb->data = pdata + ETH_HLEN; sub_skb 69 drivers/staging/rtl8723bs/os_dep/recv_linux.c sub_skb->len = nSubframe_Length; sub_skb 70 drivers/staging/rtl8723bs/os_dep/recv_linux.c skb_set_tail_pointer(sub_skb, nSubframe_Length); sub_skb 77 drivers/staging/rtl8723bs/os_dep/recv_linux.c eth_type = RTW_GET_BE16(&sub_skb->data[6]); sub_skb 79 drivers/staging/rtl8723bs/os_dep/recv_linux.c if (sub_skb->len >= 8 && sub_skb 80 drivers/staging/rtl8723bs/os_dep/recv_linux.c ((!memcmp(sub_skb->data, rtw_rfc1042_header, SNAP_SIZE) && sub_skb 82 drivers/staging/rtl8723bs/os_dep/recv_linux.c !memcmp(sub_skb->data, rtw_bridge_tunnel_header, SNAP_SIZE))) { sub_skb 84 drivers/staging/rtl8723bs/os_dep/recv_linux.c skb_pull(sub_skb, SNAP_SIZE); sub_skb 85 drivers/staging/rtl8723bs/os_dep/recv_linux.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); sub_skb 86 drivers/staging/rtl8723bs/os_dep/recv_linux.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); sub_skb 90 drivers/staging/rtl8723bs/os_dep/recv_linux.c len = htons(sub_skb->len); sub_skb 91 drivers/staging/rtl8723bs/os_dep/recv_linux.c memcpy(skb_push(sub_skb, 2), &len, 2); sub_skb 92 drivers/staging/rtl8723bs/os_dep/recv_linux.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); sub_skb 93 drivers/staging/rtl8723bs/os_dep/recv_linux.c memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); sub_skb 96 drivers/staging/rtl8723bs/os_dep/recv_linux.c return sub_skb;