Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 2 of 2) sorted by relevance

/hostap-3.6.0/src/drivers/
Ddriver_nl80211_android.c81 int ret = 0, i = 0, bp; in android_pno_start() local
84 bp = WEXT_PNOSETUP_HEADER_SIZE; in android_pno_start()
85 os_memcpy(buf, WEXT_PNOSETUP_HEADER, bp); in android_pno_start()
86 buf[bp++] = WEXT_PNO_TLV_PREFIX; in android_pno_start()
87 buf[bp++] = WEXT_PNO_TLV_VERSION; in android_pno_start()
88 buf[bp++] = WEXT_PNO_TLV_SUBVERSION; in android_pno_start()
89 buf[bp++] = WEXT_PNO_TLV_RESERVED; in android_pno_start()
94 if ((bp + WEXT_PNO_SSID_HEADER_SIZE + MAX_SSID_LEN + in android_pno_start()
100 buf[bp++] = WEXT_PNO_SSID_SECTION; in android_pno_start()
101 buf[bp++] = params->ssids[i].ssid_len; in android_pno_start()
[all …]
Ddriver_atheros.c1651 unsigned char *bp = buf; in atheros_send_eapol() local
1664 bp = os_malloc(len); in atheros_send_eapol()
1665 if (bp == NULL) { in atheros_send_eapol()
1672 eth = (struct l2_ethhdr *) bp; in atheros_send_eapol()
1678 wpa_hexdump(MSG_MSGDUMP, "TX EAPOL", bp, len); in atheros_send_eapol()
1680 status = l2_packet_send(drv->sock_xmit, addr, ETH_P_EAPOL, bp, len); in atheros_send_eapol()
1682 if (bp != buf) in atheros_send_eapol()
1683 os_free(bp); in atheros_send_eapol()