Lines Matching refs:vlaOffset
105 uint16_t *vlaOffset) { in chppWifiConvertScanEventFromChre() argument
115 CHPP_ASSERT((size_t)(*vlaOffset + out->scannedFreqList.length) <= in chppWifiConvertScanEventFromChre()
118 *vlaOffset + out->scannedFreqList.length <= payloadSize) { in chppWifiConvertScanEventFromChre()
119 memcpy(&payload[*vlaOffset], in->scannedFreqList, in chppWifiConvertScanEventFromChre()
121 out->scannedFreqList.offset = *vlaOffset; in chppWifiConvertScanEventFromChre()
122 *vlaOffset += out->scannedFreqList.length; in chppWifiConvertScanEventFromChre()
128 (struct ChppWifiScanResult *)&payload[*vlaOffset]; in chppWifiConvertScanEventFromChre()
130 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre()
132 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertScanEventFromChre()
136 out->results.offset = *vlaOffset; in chppWifiConvertScanEventFromChre()
137 *vlaOffset += out->results.length; in chppWifiConvertScanEventFromChre()
152 uint8_t *payload, size_t payloadSize, uint16_t *vlaOffset) { in chppWifiConvertScanParamsFromChre() argument
157 CHPP_ASSERT((size_t)(*vlaOffset + out->frequencyList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
159 *vlaOffset + out->frequencyList.length <= payloadSize) { in chppWifiConvertScanParamsFromChre()
160 memcpy(&payload[*vlaOffset], in->frequencyList, in chppWifiConvertScanParamsFromChre()
162 out->frequencyList.offset = *vlaOffset; in chppWifiConvertScanParamsFromChre()
163 *vlaOffset += out->frequencyList.length; in chppWifiConvertScanParamsFromChre()
170 (struct ChppWifiSsidListItem *)&payload[*vlaOffset]; in chppWifiConvertScanParamsFromChre()
172 CHPP_ASSERT((size_t)(*vlaOffset + out->ssidList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
174 *vlaOffset + out->ssidList.length <= payloadSize) { in chppWifiConvertScanParamsFromChre()
178 out->ssidList.offset = *vlaOffset; in chppWifiConvertScanParamsFromChre()
179 *vlaOffset += out->ssidList.length; in chppWifiConvertScanParamsFromChre()
213 uint8_t *payload, size_t payloadSize, uint16_t *vlaOffset) { in chppWifiConvertRangingEventFromChre() argument
219 (struct ChppWifiRangingResult *)&payload[*vlaOffset]; in chppWifiConvertRangingEventFromChre()
221 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertRangingEventFromChre()
223 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertRangingEventFromChre()
227 out->results.offset = *vlaOffset; in chppWifiConvertRangingEventFromChre()
228 *vlaOffset += out->results.length; in chppWifiConvertRangingEventFromChre()
246 uint8_t *payload, size_t payloadSize, uint16_t *vlaOffset) { in chppWifiConvertRangingParamsFromChre() argument
250 (struct ChppWifiRangingTarget *)&payload[*vlaOffset]; in chppWifiConvertRangingParamsFromChre()
253 CHPP_ASSERT((size_t)(*vlaOffset + out->targetList.length) <= payloadSize); in chppWifiConvertRangingParamsFromChre()
255 *vlaOffset + out->targetList.length <= payloadSize) { in chppWifiConvertRangingParamsFromChre()
259 out->targetList.offset = *vlaOffset; in chppWifiConvertRangingParamsFromChre()
260 *vlaOffset += out->targetList.length; in chppWifiConvertRangingParamsFromChre()
278 uint16_t vlaOffset = sizeof(struct ChppWifiScanEvent); in chppWifiScanEventFromChre() local
280 &vlaOffset); in chppWifiScanEventFromChre()
297 uint16_t vlaOffset = sizeof(struct ChppWifiScanParams); in chppWifiScanParamsFromChre() local
299 payloadSize, &vlaOffset); in chppWifiScanParamsFromChre()
316 uint16_t vlaOffset = sizeof(struct ChppWifiRangingEvent); in chppWifiRangingEventFromChre() local
318 payloadSize, &vlaOffset); in chppWifiRangingEventFromChre()
335 uint16_t vlaOffset = sizeof(struct ChppWifiRangingParams); in chppWifiRangingParamsFromChre() local
337 payloadSize, &vlaOffset); in chppWifiRangingParamsFromChre()