Lines Matching refs:tlv_buf_left
262 u16 tlv, tlv_buf_len, tlv_buf_left; in mwifiex_ret_tx_rate_cfg() local
267 tlv_buf_left = le16_to_cpu(resp->size) - S_DS_GEN - sizeof(*rate_cfg); in mwifiex_ret_tx_rate_cfg()
269 while (tlv_buf_left >= sizeof(*head)) { in mwifiex_ret_tx_rate_cfg()
274 if (tlv_buf_left < (sizeof(*head) + tlv_buf_len)) in mwifiex_ret_tx_rate_cfg()
304 tlv_buf_left -= (sizeof(*head) + tlv_buf_len); in mwifiex_ret_tx_rate_cfg()
377 u16 tlv_buf_left; in mwifiex_ret_tx_power_cfg() local
387 tlv_buf_left = le16_to_cpu(resp->size) - S_DS_GEN - sizeof(*txp_cfg); in mwifiex_ret_tx_power_cfg()
388 if (tlv_buf_left < in mwifiex_ret_tx_power_cfg()
1131 u16 tlv, tlv_buf_len, tlv_buf_left; in mwifiex_ret_chan_region_cfg() local
1140 tlv_buf_left = le16_to_cpu(resp->size) - S_DS_GEN - sizeof(*reg); in mwifiex_ret_chan_region_cfg()
1142 while (tlv_buf_left >= sizeof(*head)) { in mwifiex_ret_chan_region_cfg()
1147 if (tlv_buf_left < (sizeof(*head) + tlv_buf_len)) in mwifiex_ret_chan_region_cfg()
1163 tlv_buf_left -= (sizeof(*head) + tlv_buf_len); in mwifiex_ret_chan_region_cfg()