summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/common.h
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-08-25 08:00:25 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-08-25 08:00:25 +0000
commit14f4aa3eadecdb257bb5b61105db86e1dfd0f1e3 (patch)
tree75048644db30ed9838e6957aa20255a77c4745c7 /qcwcn/wifi_hal/common.h
parent9e5acdc1a062cb4bfc6b1953c5c821a145f78c09 (diff)
parent1dd37e0ea80e51a9c36a6fe0f61dbd7545dd6219 (diff)
downloadwlan-14f4aa3eadecdb257bb5b61105db86e1dfd0f1e3.tar.gz
Snap for 8992082 from 1dd37e0ea80e51a9c36a6fe0f61dbd7545dd6219 to gki13-boot-release
Change-Id: I0ef357fa6b3c77dab3eb569157822e55649d4771
Diffstat (limited to 'qcwcn/wifi_hal/common.h')
-rw-r--r--qcwcn/wifi_hal/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/common.h b/qcwcn/wifi_hal/common.h
index 43b03ce..b0aca97 100644
--- a/qcwcn/wifi_hal/common.h
+++ b/qcwcn/wifi_hal/common.h
@@ -218,7 +218,9 @@ wifi_error wifi_virtual_interface_delete(wifi_handle handle, const char* ifname)
#define max(x, y) ((x) > (y) ? (x) : (y))
#define REQUEST_ID_MAX 1000
+#define REQUEST_ID_U8_MAX 255
#define get_requestid() ((arc4random()%REQUEST_ID_MAX) + 1)
+#define get_requestid_u8() ((arc4random()%REQUEST_ID_U8_MAX) + 1)
#define WAIT_TIME_FOR_SET_REG_DOMAIN 50000
#ifndef UNUSED