Lines Matching refs:fpdu_len
1006 u16 fpdu_len; in i40iw_ieq_get_fpdu_length() local
1008 fpdu_len = length + I40IW_IEQ_MPA_FRAMING; in i40iw_ieq_get_fpdu_length()
1009 fpdu_len = (fpdu_len + 3) & 0xfffffffc; in i40iw_ieq_get_fpdu_length()
1010 return fpdu_len; in i40iw_ieq_get_fpdu_length()
1078 u16 fpdu_len) in i40iw_ieq_compl_pfpdu() argument
1087 nextseqnum = buf->seqnum + fpdu_len; in i40iw_ieq_compl_pfpdu()
1088 txbuf->totallen = buf->hdrlen + fpdu_len; in i40iw_ieq_compl_pfpdu()
1096 if (buf->datalen >= fpdu_len) { in i40iw_ieq_compl_pfpdu()
1098 i40iw_ieq_copy_to_txbuf(buf, txbuf, bufoffset, txoffset, fpdu_len); in i40iw_ieq_compl_pfpdu()
1099 buf->datalen -= fpdu_len; in i40iw_ieq_compl_pfpdu()
1100 buf->data += fpdu_len; in i40iw_ieq_compl_pfpdu()
1107 fpdu_len -= buf->datalen; in i40iw_ieq_compl_pfpdu()
1134 u16 fpdu_len) in i40iw_ieq_create_pbufl() argument
1139 u16 plen = fpdu_len - buf->datalen; in i40iw_ieq_create_pbufl()
1177 u16 fpdu_len) in i40iw_ieq_handle_partial() argument
1190 status = i40iw_ieq_create_pbufl(pfpdu, rxlist, &pbufl, buf, fpdu_len); in i40iw_ieq_handle_partial()
1201 i40iw_ieq_compl_pfpdu(ieq, rxlist, &pbufl, txbuf, fpdu_len); in i40iw_ieq_handle_partial()
1202 i40iw_ieq_update_tcpip_info(txbuf, fpdu_len, seqnum); in i40iw_ieq_handle_partial()
1203 crcptr = txbuf->data + fpdu_len - 4; in i40iw_ieq_handle_partial()
1207 (fpdu_len - 4), mpacrc); in i40iw_ieq_handle_partial()
1218 pfpdu->rcv_nxt = seqnum + fpdu_len; in i40iw_ieq_handle_partial()
1241 u16 fpdu_len = 0; in i40iw_ieq_process_buf() local
1258 fpdu_len = i40iw_ieq_get_fpdu_length(ntohs(*(__be16 *)datap)); in i40iw_ieq_process_buf()
1259 if (fpdu_len > pfpdu->max_fpdu_data) { in i40iw_ieq_process_buf()
1267 if (datalen < fpdu_len) { in i40iw_ieq_process_buf()
1271 crcptr = datap + fpdu_len - 4; in i40iw_ieq_process_buf()
1275 datap, fpdu_len - 4, mpacrc); in i40iw_ieq_process_buf()
1283 datap += fpdu_len; in i40iw_ieq_process_buf()
1284 length += fpdu_len; in i40iw_ieq_process_buf()
1285 datalen -= fpdu_len; in i40iw_ieq_process_buf()
1317 status = i40iw_ieq_handle_partial(ieq, pfpdu, buf, fpdu_len); in i40iw_ieq_process_buf()