Home | History | Annotate | Download | only in ap

Lines Matching defs:bits

489 	unsigned int i = iface->conf->num_bss, bits = 0, j;
497 /* Determine the bits necessary to cover the number of BSSIDs. */
499 bits++;
501 /* Determine the bits necessary to any configured BSSIDs,
532 if (bits < j)
533 bits = j;
535 if (bits > 40) {
536 wpa_printf(MSG_ERROR, "Too many bits in the BSSID mask (%u)",
537 bits);
542 j = bits / 8;
545 j = bits % 8;
550 wpa_printf(MSG_DEBUG, "BSS count %lu, BSSID mask " MACSTR " (%d bits)",
551 (unsigned long) iface->conf->num_bss, MAC2STR(mask), bits);