Home
last modified time | relevance | path

Searched refs:bsnaphdr (Results 1 – 17 of 17) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Drtl871x_recv.c588 u8 bsnaphdr; in r8712_wlanhdr_to_ethhdr() local
610 bsnaphdr = true; in r8712_wlanhdr_to_ethhdr()
613 bsnaphdr = false; in r8712_wlanhdr_to_ethhdr()
616 (bsnaphdr ? SNAP_SIZE : 0); in r8712_wlanhdr_to_ethhdr()
631 sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0))); in r8712_wlanhdr_to_ethhdr()
638 if (!bsnaphdr) { in r8712_wlanhdr_to_ethhdr()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_recv.c2304 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2329 bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2332 bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2335 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); in wlanhdr_to_ethhdr()
2390 ptr = recvframe_pull(precvframe, (rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0))); in wlanhdr_to_ethhdr()
2401 if (!bsnaphdr) { in wlanhdr_to_ethhdr()
2418 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2435 bsnaphdr = _TRUE; /* wlan_pkt_format = WLAN_PKT_FORMAT_SNAP_RFC1042; */ in wlanhdr_to_ethhdr()
2438 bsnaphdr = _TRUE; /* wlan_pkt_format = WLAN_PKT_FORMAT_APPLETALK; */ in wlanhdr_to_ethhdr()
2440 bsnaphdr = _TRUE; /* wlan_pkt_format = WLAN_PKT_FORMAT_SNAP_TUNNEL; */ in wlanhdr_to_ethhdr()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_recv.c2441 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2468 bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2472 bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2475 rmv_len = pattrib->hdrlen + pattrib->iv_len +(bsnaphdr?SNAP_SIZE:0); in wlanhdr_to_ethhdr()
2536 ptr = recvframe_pull(precvframe, (rmv_len-sizeof(struct ethhdr)+ (bsnaphdr?2:0))); in wlanhdr_to_ethhdr()
2547 if(!bsnaphdr) { in wlanhdr_to_ethhdr()
2565 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2584 bsnaphdr=_TRUE;//wlan_pkt_format = WLAN_PKT_FORMAT_SNAP_RFC1042; in wlanhdr_to_ethhdr()
2587 bsnaphdr=_TRUE; //wlan_pkt_format = WLAN_PKT_FORMAT_APPLETALK; in wlanhdr_to_ethhdr()
2589 bsnaphdr=_TRUE; //wlan_pkt_format = WLAN_PKT_FORMAT_SNAP_TUNNEL; in wlanhdr_to_ethhdr()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/
H A Drtw_recv.c2459 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2486 bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2490 bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2493 rmv_len = pattrib->hdrlen + pattrib->iv_len +(bsnaphdr?SNAP_SIZE:0); in wlanhdr_to_ethhdr()
2554 ptr = recvframe_pull(precvframe, (rmv_len-sizeof(struct ethhdr)+ (bsnaphdr?2:0))); in wlanhdr_to_ethhdr()
2565 if(!bsnaphdr) { in wlanhdr_to_ethhdr()
2583 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2602 bsnaphdr=_TRUE;//wlan_pkt_format = WLAN_PKT_FORMAT_SNAP_RFC1042; in wlanhdr_to_ethhdr()
2605 bsnaphdr=_TRUE; //wlan_pkt_format = WLAN_PKT_FORMAT_APPLETALK; in wlanhdr_to_ethhdr()
2607 bsnaphdr=_TRUE; //wlan_pkt_format = WLAN_PKT_FORMAT_SNAP_TUNNEL; in wlanhdr_to_ethhdr()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/
H A Drtw_recv.c2321 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2347 bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2350 bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2353 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); in wlanhdr_to_ethhdr()
2409 ptr = recvframe_pull(precvframe, (rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0))); in wlanhdr_to_ethhdr()
2420 if (!bsnaphdr) { in wlanhdr_to_ethhdr()
2438 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2456 bsnaphdr = _TRUE; /* wlan_pkt_format = WLAN_PKT_FORMAT_SNAP_RFC1042; */ in wlanhdr_to_ethhdr()
2459 bsnaphdr = _TRUE; /* wlan_pkt_format = WLAN_PKT_FORMAT_APPLETALK; */ in wlanhdr_to_ethhdr()
2461 bsnaphdr = _TRUE; /* wlan_pkt_format = WLAN_PKT_FORMAT_SNAP_TUNNEL; */ in wlanhdr_to_ethhdr()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_recv.c1258 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
1276 bsnaphdr = true; in wlanhdr_to_ethhdr()
1279 bsnaphdr = false; in wlanhdr_to_ethhdr()
1282 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); in wlanhdr_to_ethhdr()
1292 ptr = skb_pull(precvframe->pkt, rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0)); in wlanhdr_to_ethhdr()
1299 if (!bsnaphdr) { in wlanhdr_to_ethhdr()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_recv.c2367 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2392 bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2395 bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2398 …rmv_len = pattrib->hdrlen + pattrib->iv_len + RATTRIB_GET_MCTRL_LEN(pattrib) + (bsnaphdr ? SNAP_SI… in wlanhdr_to_ethhdr()
2422 ptr = recvframe_pull(precvframe, (rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0))); in wlanhdr_to_ethhdr()
2433 if (!bsnaphdr) { in wlanhdr_to_ethhdr()
3621 u8 bsnaphdr; in MPwlanhdr_to_ethhdr() local
3647 bsnaphdr = _TRUE; in MPwlanhdr_to_ethhdr()
3650 bsnaphdr = _FALSE; in MPwlanhdr_to_ethhdr()
3653 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); in MPwlanhdr_to_ethhdr()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_recv.c2368 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2393 bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2396 bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2399 …rmv_len = pattrib->hdrlen + pattrib->iv_len + RATTRIB_GET_MCTRL_LEN(pattrib) + (bsnaphdr ? SNAP_SI… in wlanhdr_to_ethhdr()
2423 ptr = recvframe_pull(precvframe, (rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0))); in wlanhdr_to_ethhdr()
2434 if (!bsnaphdr) { in wlanhdr_to_ethhdr()
3605 u8 bsnaphdr; in MPwlanhdr_to_ethhdr() local
3631 bsnaphdr = _TRUE; in MPwlanhdr_to_ethhdr()
3634 bsnaphdr = _FALSE; in MPwlanhdr_to_ethhdr()
3637 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); in MPwlanhdr_to_ethhdr()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/
H A Drtw_recv.c2368 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2393 bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2396 bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2399 …rmv_len = pattrib->hdrlen + pattrib->iv_len + RATTRIB_GET_MCTRL_LEN(pattrib) + (bsnaphdr ? SNAP_SI… in wlanhdr_to_ethhdr()
2423 ptr = recvframe_pull(precvframe, (rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0))); in wlanhdr_to_ethhdr()
2434 if (!bsnaphdr) { in wlanhdr_to_ethhdr()
3593 u8 bsnaphdr; in MPwlanhdr_to_ethhdr() local
3619 bsnaphdr = _TRUE; in MPwlanhdr_to_ethhdr()
3622 bsnaphdr = _FALSE; in MPwlanhdr_to_ethhdr()
3625 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); in MPwlanhdr_to_ethhdr()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/
H A Drtw_recv.c2368 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
2393 bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2396 bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2399 …rmv_len = pattrib->hdrlen + pattrib->iv_len + RATTRIB_GET_MCTRL_LEN(pattrib) + (bsnaphdr ? SNAP_SI… in wlanhdr_to_ethhdr()
2423 ptr = recvframe_pull(precvframe, (rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0))); in wlanhdr_to_ethhdr()
2434 if (!bsnaphdr) { in wlanhdr_to_ethhdr()
3593 u8 bsnaphdr; in MPwlanhdr_to_ethhdr() local
3619 bsnaphdr = _TRUE; in MPwlanhdr_to_ethhdr()
3622 bsnaphdr = _FALSE; in MPwlanhdr_to_ethhdr()
3625 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); in MPwlanhdr_to_ethhdr()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_recv.c1609 u8 bsnaphdr; in wlanhdr_to_ethhdr() local
1632 bsnaphdr = true; in wlanhdr_to_ethhdr()
1635 bsnaphdr = false; in wlanhdr_to_ethhdr()
1637 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr?SNAP_SIZE:0); in wlanhdr_to_ethhdr()
1689 ptr = recvframe_pull(precvframe, (rmv_len-sizeof(struct ethhdr) + (bsnaphdr?2:0))); in wlanhdr_to_ethhdr()
1694 if (!bsnaphdr) { in wlanhdr_to_ethhdr()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_recv_shortcut.c36 !pattrib->bsnaphdr) in core_rxsc_check_alloc()
H A Drtw_recv.c2519 pattrib->bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2521 pattrib->bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2527 rxsc_entry->rxsc_payload_offset = (rmv_len - sizeof(struct ethhdr) + (pattrib->bsnaphdr ? 2 : 0)); in wlanhdr_to_ethhdr()
3898 u8 bsnaphdr;
3924 bsnaphdr = _TRUE;
3927 bsnaphdr = _FALSE;
3930 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0);
3939 ptr = recvframe_pull(precvframe, (rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0)));
3945 if (!bsnaphdr) {
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_recv_shortcut.c36 !pattrib->bsnaphdr) in core_rxsc_check_alloc()
H A Drtw_recv.c2519 pattrib->bsnaphdr = _TRUE; in wlanhdr_to_ethhdr()
2521 pattrib->bsnaphdr = _FALSE; in wlanhdr_to_ethhdr()
2527 rxsc_entry->rxsc_payload_offset = (rmv_len - sizeof(struct ethhdr) + (pattrib->bsnaphdr ? 2 : 0)); in wlanhdr_to_ethhdr()
3898 u8 bsnaphdr;
3924 bsnaphdr = _TRUE;
3927 bsnaphdr = _FALSE;
3930 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0);
3939 ptr = recvframe_pull(precvframe, (rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0)));
3945 if (!bsnaphdr) {
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/
H A Drtw_recv.h191 u8 bsnaphdr; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Drtw_recv.h191 u8 bsnaphdr; member