Lines Matching refs:agf_length
1091 uint16_t agf_length; in llcp_link_proc_agf_pdu() local
1102 agf_length = p_agf->len; in llcp_link_proc_agf_pdu()
1106 while (agf_length > 0) { in llcp_link_proc_agf_pdu()
1107 if (agf_length > LLCP_PDU_AGF_LEN_SIZE) { in llcp_link_proc_agf_pdu()
1113 agf_length -= LLCP_PDU_AGF_LEN_SIZE; in llcp_link_proc_agf_pdu()
1118 if (pdu_length <= agf_length) { in llcp_link_proc_agf_pdu()
1120 agf_length -= pdu_length; in llcp_link_proc_agf_pdu()
1127 if (agf_length != 0 || pdu_num < 2) { in llcp_link_proc_agf_pdu()
1137 agf_length = p_agf->len; in llcp_link_proc_agf_pdu()
1140 while (agf_length >= (LLCP_PDU_HEADER_SIZE + LLCP_PDU_AGF_LEN_SIZE)) { in llcp_link_proc_agf_pdu()
1144 agf_length -= LLCP_PDU_AGF_LEN_SIZE; in llcp_link_proc_agf_pdu()
1185 agf_length -= pdu_length; in llcp_link_proc_agf_pdu()