Home
last modified time | relevance | path

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

/hardware/broadcom/wlan/bcm4329/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c77 int ret, bp; in wpa_driver_wext_combo_scan() local
88 bp = WEXT_CSCAN_HEADER_SIZE; in wpa_driver_wext_combo_scan()
89 os_memcpy(buf, WEXT_CSCAN_HEADER, bp); in wpa_driver_wext_combo_scan()
91 if ((bp + IW_ESSID_MAX_SIZE + 10) >= (int)sizeof(buf)) in wpa_driver_wext_combo_scan()
94 buf[bp++] = WEXT_CSCAN_SSID_SECTION; in wpa_driver_wext_combo_scan()
95 buf[bp++] = params->ssids[i].ssid_len; in wpa_driver_wext_combo_scan()
96 os_memcpy(&buf[bp], params->ssids[i].ssid, params->ssids[i].ssid_len); in wpa_driver_wext_combo_scan()
97 bp += params->ssids[i].ssid_len; in wpa_driver_wext_combo_scan()
101 buf[bp++] = WEXT_CSCAN_CHANNEL_SECTION; in wpa_driver_wext_combo_scan()
102 buf[bp++] = 0; in wpa_driver_wext_combo_scan()
[all …]
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c80 int ret, bp; in wpa_driver_wext_combo_scan() local
91 bp = WEXT_CSCAN_HEADER_SIZE; in wpa_driver_wext_combo_scan()
92 os_memcpy(buf, WEXT_CSCAN_HEADER, bp); in wpa_driver_wext_combo_scan()
94 if ((bp + IW_ESSID_MAX_SIZE + 10) >= (int)sizeof(buf)) in wpa_driver_wext_combo_scan()
97 buf[bp++] = WEXT_CSCAN_SSID_SECTION; in wpa_driver_wext_combo_scan()
98 buf[bp++] = params->ssids[i].ssid_len; in wpa_driver_wext_combo_scan()
99 os_memcpy(&buf[bp], params->ssids[i].ssid, params->ssids[i].ssid_len); in wpa_driver_wext_combo_scan()
100 bp += params->ssids[i].ssid_len; in wpa_driver_wext_combo_scan()
104 buf[bp++] = WEXT_CSCAN_CHANNEL_SECTION; in wpa_driver_wext_combo_scan()
105 buf[bp++] = 0; in wpa_driver_wext_combo_scan()
[all …]
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c80 int ret, bp; in wpa_driver_wext_combo_scan() local
91 bp = WEXT_CSCAN_HEADER_SIZE; in wpa_driver_wext_combo_scan()
92 os_memcpy(buf, WEXT_CSCAN_HEADER, bp); in wpa_driver_wext_combo_scan()
94 if ((bp + IW_ESSID_MAX_SIZE + 10) >= (int)sizeof(buf)) in wpa_driver_wext_combo_scan()
97 buf[bp++] = WEXT_CSCAN_SSID_SECTION; in wpa_driver_wext_combo_scan()
98 buf[bp++] = params->ssids[i].ssid_len; in wpa_driver_wext_combo_scan()
99 os_memcpy(&buf[bp], params->ssids[i].ssid, params->ssids[i].ssid_len); in wpa_driver_wext_combo_scan()
100 bp += params->ssids[i].ssid_len; in wpa_driver_wext_combo_scan()
104 buf[bp++] = WEXT_CSCAN_CHANNEL_SECTION; in wpa_driver_wext_combo_scan()
105 buf[bp++] = 0; in wpa_driver_wext_combo_scan()
[all …]
Ddriver_cmd_nl80211.c133 int ret = 0, i = 0, bp; in wpa_driver_set_backgroundscan_params() local
152 bp = WEXT_PNOSETUP_HEADER_SIZE; in wpa_driver_set_backgroundscan_params()
153 os_memcpy(buf, WEXT_PNOSETUP_HEADER, bp); in wpa_driver_set_backgroundscan_params()
154 buf[bp++] = WEXT_PNO_TLV_PREFIX; in wpa_driver_set_backgroundscan_params()
155 buf[bp++] = WEXT_PNO_TLV_VERSION; in wpa_driver_set_backgroundscan_params()
156 buf[bp++] = WEXT_PNO_TLV_SUBVERSION; in wpa_driver_set_backgroundscan_params()
157 buf[bp++] = WEXT_PNO_TLV_RESERVED; in wpa_driver_set_backgroundscan_params()
161 …if ((bp + WEXT_PNO_SSID_HEADER_SIZE + MAX_SSID_LEN + WEXT_PNO_NONSSID_SECTIONS_SIZE + 1) >= (int)s… in wpa_driver_set_backgroundscan_params()
165 buf[bp++] = WEXT_PNO_SSID_SECTION; in wpa_driver_set_backgroundscan_params()
166 buf[bp++] = ssid_conf->ssid_len; in wpa_driver_set_backgroundscan_params()
[all …]
/hardware/msm7k/librpc/
Dxdr.c222 bool_t xdr_bool (XDR *xdr, bool_t *bp) in xdr_bool() argument
228 lb = *bp ? TRUE : FALSE; in xdr_bool()
233 *bp = (lb == FALSE) ? FALSE : TRUE; in xdr_bool()