Home
last modified time | relevance | path

Searched refs:wps_offset (Results 1 – 25 of 58) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/rtl8822b/
H A Drtl8822b_cmd.c802 uint wps_offset, remainder_ielen; in ConstructProbeRsp() local
805 wps_offset = (uint)(pwps_ie - cur_network->IEs); in ConstructProbeRsp()
809 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in ConstructProbeRsp()
811 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in ConstructProbeRsp()
812 pframe += wps_offset; in ConstructProbeRsp()
813 pktlen += wps_offset; in ConstructProbeRsp()
816 if ((wps_offset + wps_ielen + 2) <= MAX_IE_SZ) { in ConstructProbeRsp()
822 if ((wps_offset + wps_ielen + 2 + remainder_ielen) <= MAX_IE_SZ) { in ConstructProbeRsp()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_cmd.c757 uint wps_offset, remainder_ielen; in ConstructProbeRsp() local
760 wps_offset = (uint)(pwps_ie - cur_network->IEs); in ConstructProbeRsp()
764 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in ConstructProbeRsp()
766 memcpy(pframe, cur_network->IEs, wps_offset); in ConstructProbeRsp()
767 pframe += wps_offset; in ConstructProbeRsp()
768 pktlen += wps_offset; in ConstructProbeRsp()
771 if ((wps_offset+wps_ielen+2) <= MAX_IE_SZ) { in ConstructProbeRsp()
777 if ((wps_offset+wps_ielen+2+remainder_ielen) <= MAX_IE_SZ) { in ConstructProbeRsp()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_ap.c1161 uint wps_ielen = 0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local
1181 wps_offset = (uint)(pwps_ie - ie); in update_bcn_wps_ie()
1185 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie()
1194 if (wps_offset + wps_ielen + 2 + remainder_ielen <= MAX_IE_SZ) { in update_bcn_wps_ie()
1202 pnetwork->ie_length = wps_offset + wps_ielen + 2 + remainder_ielen; in update_bcn_wps_ie()
H A Drtw_mlme_ext.c505 uint wps_offset, remainder_ielen; in issue_probersp() local
508 wps_offset = (uint)(pwps_ie - cur_network->ies); in issue_probersp()
512 remainder_ielen = cur_network->ie_length - wps_offset - wps_ielen; in issue_probersp()
514 memcpy(pframe, cur_network->ies, wps_offset); in issue_probersp()
515 pframe += wps_offset; in issue_probersp()
516 pattrib->pktlen += wps_offset; in issue_probersp()
519 if ((wps_offset + wps_ielen + 2) <= MAX_IE_SZ) { in issue_probersp()
525 if ((wps_offset + wps_ielen + 2 + remainder_ielen) <= MAX_IE_SZ) { in issue_probersp()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_ap.c1655 uint wps_ielen = 0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local
1679 wps_offset = (uint)(pwps_ie - ie); in update_bcn_wps_ie()
1683 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie()
1692 if ((wps_offset + wps_ielen + 2 + remainder_ielen) <= MAX_IE_SZ) { in update_bcn_wps_ie()
1700 pnetwork->IELength = wps_offset + (wps_ielen + 2) + remainder_ielen; in update_bcn_wps_ie()
H A Drtw_mlme_ext.c2658 uint wps_offset, remainder_ielen; in issue_probersp() local
2661 wps_offset = (uint)(pwps_ie - cur_network->IEs); in issue_probersp()
2665 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in issue_probersp()
2667 memcpy(pframe, cur_network->IEs, wps_offset); in issue_probersp()
2668 pframe += wps_offset; in issue_probersp()
2669 pattrib->pktlen += wps_offset; in issue_probersp()
2672 if ((wps_offset+wps_ielen+2) <= MAX_IE_SZ) { in issue_probersp()
2678 if ((wps_offset+wps_ielen+2+remainder_ielen) <= MAX_IE_SZ) { in issue_probersp()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/
H A Dhal_com.c2228 uint wps_offset, remainder_ielen; in rtw_hal_construct_P2PBeacon() local
2231 wps_offset = (uint)(wpsie - cur_network->IEs); in rtw_hal_construct_P2PBeacon()
2235 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in rtw_hal_construct_P2PBeacon()
2242 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in rtw_hal_construct_P2PBeacon()
2243 pframe += wps_offset; in rtw_hal_construct_P2PBeacon()
2244 pktlen += wps_offset; in rtw_hal_construct_P2PBeacon()
2265 pframe_wscie = pframe + wps_offset; in rtw_hal_construct_P2PBeacon()
2266 _rtw_memcpy(pframe, cur_network->IEs, wps_offset+wpsielen); in rtw_hal_construct_P2PBeacon()
2267 pframe += (wps_offset + wpsielen); in rtw_hal_construct_P2PBeacon()
2268 pktlen += (wps_offset + wpsielen); in rtw_hal_construct_P2PBeacon()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_ap.c2784 uint wps_ielen=0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local
2804 wps_offset = (uint)(pwps_ie-ie); in update_bcn_wps_ie()
2808 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie()
2818 if((wps_offset+wps_ielen+2+remainder_ielen)<=MAX_IE_SZ) in update_bcn_wps_ie()
2827 pnetwork->IELength = wps_offset + (wps_ielen+2) + remainder_ielen; in update_bcn_wps_ie()
H A Drtw_mlme_ext.c7518 uint wps_offset, remainder_ielen; in issue_beacon() local
7521 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
7525 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
7532 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
7533 pframe += wps_offset; in issue_beacon()
7534 pattrib->pktlen += wps_offset; in issue_beacon()
7555 pframe_wscie = pframe + wps_offset; in issue_beacon()
7556 _rtw_memcpy(pframe, cur_network->IEs, wps_offset+wpsielen); in issue_beacon()
7557 pframe += (wps_offset + wpsielen); in issue_beacon()
7558 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/
H A Drtw_ap.c2787 uint wps_ielen=0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local
2807 wps_offset = (uint)(pwps_ie-ie); in update_bcn_wps_ie()
2811 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie()
2821 if((wps_offset+wps_ielen+2+remainder_ielen)<=MAX_IE_SZ) in update_bcn_wps_ie()
2830 pnetwork->IELength = wps_offset + (wps_ielen+2) + remainder_ielen; in update_bcn_wps_ie()
H A Drtw_mlme_ext.c7633 uint wps_offset, remainder_ielen; in issue_beacon() local
7636 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
7640 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
7647 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
7648 pframe += wps_offset; in issue_beacon()
7649 pattrib->pktlen += wps_offset; in issue_beacon()
7670 pframe_wscie = pframe + wps_offset; in issue_beacon()
7671 _rtw_memcpy(pframe, cur_network->IEs, wps_offset+wpsielen); in issue_beacon()
7672 pframe += (wps_offset + wpsielen); in issue_beacon()
7673 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/
H A Dhal_com.c2708 uint wps_offset, remainder_ielen; in rtw_hal_construct_P2PBeacon() local
2711 wps_offset = (uint)(wpsie - cur_network->IEs); in rtw_hal_construct_P2PBeacon()
2715 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in rtw_hal_construct_P2PBeacon()
2722 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in rtw_hal_construct_P2PBeacon()
2723 pframe += wps_offset; in rtw_hal_construct_P2PBeacon()
2724 pktlen += wps_offset; in rtw_hal_construct_P2PBeacon()
2745 pframe_wscie = pframe + wps_offset; in rtw_hal_construct_P2PBeacon()
2746 _rtw_memcpy(pframe, cur_network->IEs, wps_offset+wpsielen); in rtw_hal_construct_P2PBeacon()
2747 pframe += (wps_offset + wpsielen); in rtw_hal_construct_P2PBeacon()
2748 pktlen += (wps_offset + wpsielen); in rtw_hal_construct_P2PBeacon()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/
H A Drtw_mlme_ext.c7419 uint wps_offset, remainder_ielen; in issue_beacon() local
7422 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
7426 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
7431 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
7432 pframe += wps_offset; in issue_beacon()
7433 pattrib->pktlen += wps_offset; in issue_beacon()
7451 pframe_wscie = pframe + wps_offset; in issue_beacon()
7452 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
7453 pframe += (wps_offset + wpsielen); in issue_beacon()
7454 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
H A Drtw_ap.c2679 uint wps_ielen = 0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local
2699 wps_offset = (uint)(pwps_ie - ie); in update_bcn_wps_ie()
2703 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie()
2712 if ((wps_offset + wps_ielen + 2 + remainder_ielen) <= MAX_IE_SZ) { in update_bcn_wps_ie()
2720 pnetwork->IELength = wps_offset + (wps_ielen + 2) + remainder_ielen; in update_bcn_wps_ie()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_mlme_ext.c8007 uint wps_offset, remainder_ielen; in issue_beacon() local
8010 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
8014 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
8019 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
8020 pframe += wps_offset; in issue_beacon()
8021 pattrib->pktlen += wps_offset; in issue_beacon()
8039 pframe_wscie = pframe + wps_offset; in issue_beacon()
8040 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
8041 pframe += (wps_offset + wpsielen); in issue_beacon()
8042 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_mlme_ext.c7566 uint wps_offset, remainder_ielen; in issue_beacon() local
7569 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
7573 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
7578 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
7579 pframe += wps_offset; in issue_beacon()
7580 pattrib->pktlen += wps_offset; in issue_beacon()
7598 pframe_wscie = pframe + wps_offset; in issue_beacon()
7599 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
7600 pframe += (wps_offset + wpsielen); in issue_beacon()
7601 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
H A Drtw_ap.c2757 uint wps_ielen = 0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local
2777 wps_offset = (uint)(pwps_ie - ie); in update_bcn_wps_ie()
2781 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie()
2790 if ((wps_offset + wps_ielen + 2 + remainder_ielen) <= MAX_IE_SZ) { in update_bcn_wps_ie()
2798 pnetwork->IELength = wps_offset + (wps_ielen + 2) + remainder_ielen; in update_bcn_wps_ie()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_mlme_ext.c7717 uint wps_offset, remainder_ielen; in issue_beacon() local
7720 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
7724 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
7729 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
7730 pframe += wps_offset; in issue_beacon()
7731 pattrib->pktlen += wps_offset; in issue_beacon()
7749 pframe_wscie = pframe + wps_offset; in issue_beacon()
7750 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
7751 pframe += (wps_offset + wpsielen); in issue_beacon()
7752 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_mlme_ext.c7709 uint wps_offset, remainder_ielen; in issue_beacon() local
7712 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
7716 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
7721 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
7722 pframe += wps_offset; in issue_beacon()
7723 pattrib->pktlen += wps_offset; in issue_beacon()
7741 pframe_wscie = pframe + wps_offset; in issue_beacon()
7742 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
7743 pframe += (wps_offset + wpsielen); in issue_beacon()
7744 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_mlme_ext.c8006 uint wps_offset, remainder_ielen; in issue_beacon() local
8009 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
8013 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
8018 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
8019 pframe += wps_offset; in issue_beacon()
8020 pattrib->pktlen += wps_offset; in issue_beacon()
8038 pframe_wscie = pframe + wps_offset; in issue_beacon()
8039 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
8040 pframe += (wps_offset + wpsielen); in issue_beacon()
8041 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/
H A Drtw_mlme_ext.c7676 uint wps_offset, remainder_ielen; in issue_beacon() local
7679 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
7683 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
7688 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
7689 pframe += wps_offset; in issue_beacon()
7690 pattrib->pktlen += wps_offset; in issue_beacon()
7708 pframe_wscie = pframe + wps_offset; in issue_beacon()
7709 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
7710 pframe += (wps_offset + wpsielen); in issue_beacon()
7711 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/
H A Dhal_com.c3952 uint wps_offset, remainder_ielen; in rtw_hal_construct_P2PBeacon() local
3955 wps_offset = (uint)(wpsie - cur_network->IEs); in rtw_hal_construct_P2PBeacon()
3959 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in rtw_hal_construct_P2PBeacon()
3964 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in rtw_hal_construct_P2PBeacon()
3965 pframe += wps_offset; in rtw_hal_construct_P2PBeacon()
3966 pktlen += wps_offset; in rtw_hal_construct_P2PBeacon()
3984 pframe_wscie = pframe + wps_offset; in rtw_hal_construct_P2PBeacon()
3985 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in rtw_hal_construct_P2PBeacon()
3986 pframe += (wps_offset + wpsielen); in rtw_hal_construct_P2PBeacon()
3987 pktlen += (wps_offset + wpsielen); in rtw_hal_construct_P2PBeacon()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_mlme_ext.c8405 uint wps_offset, remainder_ielen; in issue_beacon() local
8408 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
8412 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
8417 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
8418 pframe += wps_offset; in issue_beacon()
8419 pattrib->pktlen += wps_offset; in issue_beacon()
8437 pframe_wscie = pframe + wps_offset; in issue_beacon()
8438 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
8439 pframe += (wps_offset + wpsielen); in issue_beacon()
8440 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/
H A Drtw_mlme_ext.c7811 uint wps_offset, remainder_ielen; in issue_beacon() local
7814 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
7818 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
7823 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
7824 pframe += wps_offset; in issue_beacon()
7825 pattrib->pktlen += wps_offset; in issue_beacon()
7843 pframe_wscie = pframe + wps_offset; in issue_beacon()
7844 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
7845 pframe += (wps_offset + wpsielen); in issue_beacon()
7846 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_mlme_ext.c7807 uint wps_offset, remainder_ielen; in issue_beacon() local
7810 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon()
7814 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
7819 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in issue_beacon()
7820 pframe += wps_offset; in issue_beacon()
7821 pattrib->pktlen += wps_offset; in issue_beacon()
7839 pframe_wscie = pframe + wps_offset; in issue_beacon()
7840 _rtw_memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon()
7841 pframe += (wps_offset + wpsielen); in issue_beacon()
7842 pattrib->pktlen += (wps_offset + wpsielen); in issue_beacon()
[all …]

123