Searched refs:res_buf_len (Results 1 - 3 of 3) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_wext.c1060 size_t res_buf_len; local
1062 res_buf_len = IW_SCAN_MAX_DATA;
1064 res_buf = os_malloc(res_buf_len);
1070 iwr.u.data.length = res_buf_len;
1075 if (errno == E2BIG && res_buf_len < 65535) {
1078 res_buf_len *= 2;
1079 if (res_buf_len > 65535)
1080 res_buf_len = 65535; /* 16-bit length field */
1083 (unsigned long) res_buf_len);
1091 if (iwr.u.data.length > res_buf_len) {
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_wext.c1060 size_t res_buf_len; local
1062 res_buf_len = IW_SCAN_MAX_DATA;
1064 res_buf = os_malloc(res_buf_len);
1070 iwr.u.data.length = res_buf_len;
1075 if (errno == E2BIG && res_buf_len < 65535) {
1078 res_buf_len *= 2;
1079 if (res_buf_len > 65535)
1080 res_buf_len = 65535; /* 16-bit length field */
1083 (unsigned long) res_buf_len);
1091 if (iwr.u.data.length > res_buf_len) {
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_wext.c1060 size_t res_buf_len; local
1062 res_buf_len = IW_SCAN_MAX_DATA;
1064 res_buf = os_malloc(res_buf_len);
1070 iwr.u.data.length = res_buf_len;
1075 if (errno == E2BIG && res_buf_len < 65535) {
1078 res_buf_len *= 2;
1079 if (res_buf_len > 65535)
1080 res_buf_len = 65535; /* 16-bit length field */
1083 (unsigned long) res_buf_len);
1091 if (iwr.u.data.length > res_buf_len) {
[all...]

Completed in 465 milliseconds