Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8723bs/hal/
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()
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_ap.c1156 uint wps_ielen = 0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local
1176 wps_offset = (uint)(pwps_ie - ie); in update_bcn_wps_ie()
1180 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie()
1189 if (wps_offset + wps_ielen + 2 + remainder_ielen <= MAX_IE_SZ) { in update_bcn_wps_ie()
1197 pnetwork->ie_length = wps_offset + wps_ielen + 2 + remainder_ielen; in update_bcn_wps_ie()
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()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
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()
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()