Searched refs:rateLength (Results 1 – 1 of 1) sorted by relevance
311 int rateLength = nla_len(attrs[HWSIM_ATTR_TX_INFO]); in parseFrame() local313 if (rateLength <= 0 || (rateLength % sizeof(hwsim_tx_rate)) != 0) { in parseFrame()314 ALOGE("Invalid tx rate length %d", rateLength); in parseFrame()316 size_t numRates = static_cast<size_t>(rateLength) / sizeof(hwsim_tx_rate); in parseFrame()