Lines Matching refs:GROUP_NUMBER
43 return (len - GROUP_FRAME) * GROUP_NUMBER; in get_group_index()
97 if (len < GROUP_NUMBER) { in zconfig_get_data_len()
98 return GROUP_NUMBER; in zconfig_get_data_len()
100 return len >= MAX_PKG_NUMS ? (MAX_PKG_NUMS - GROUP_NUMBER - 1) : len; in zconfig_get_data_len()
159 (0x100 + 0x80 * ((i - 1) % GROUP_NUMBER)); in zconfig_recv_completed()
195 buf[i - 5] | (0x100 + 0x80 * ((i - 1) % GROUP_NUMBER)); in zconfig_recv_completed()
263 dump_hex(&tmp[0], package_num, GROUP_NUMBER); in zconfig_get_ssid_passwd()
265 dump_hex(&buf[0], package_num, GROUP_NUMBER); in zconfig_get_ssid_passwd()
515 zc_group_pos = i * GROUP_NUMBER; in is_hint_frame()
650 int max_match = 0, match_group = -1, match_end = GROUP_NUMBER, in try_to_sync_pos()
655 for (i = 0; i <= zconfig_get_data_len(); i += GROUP_NUMBER) { in try_to_sync_pos()
656 for (match = 0, score = score_max, j = 1; j <= GROUP_NUMBER; j++) { in try_to_sync_pos()
697 guess_pos = group_pos - GROUP_NUMBER; /* 前一组 */ in try_to_sync_pos()
699 guess_pos = (zconfig_get_data_len() / GROUP_NUMBER) * GROUP_NUMBER; in try_to_sync_pos()
718 } else if (max_match <= GROUP_NUMBER) { in try_to_sync_pos()
726 match_end = GROUP_NUMBER; in try_to_sync_pos()
753 if (match_end != GROUP_NUMBER) { in try_to_sync_pos()
757 if (j > GROUP_NUMBER || i >= MAX_PKG_NUMS) { in try_to_sync_pos()
793 for (i = pos % GROUP_NUMBER; i <= zconfig_get_data_len(); in try_to_replace_same_pos()
794 i += GROUP_NUMBER) { in try_to_replace_same_pos()
1053 if (index > GROUP_NUMBER || pos >= MAX_PKG_NUMS) { in awss_recv_callback_smartconfig()