Home | History | Annotate | Download | only in ap

Lines Matching defs:bits

468 	unsigned int i = iface->conf->num_bss, bits = 0, j;
476 /* Determine the bits necessary to cover the number of BSSIDs. */
478 bits++;
480 /* Determine the bits necessary to any configured BSSIDs,
511 if (bits < j)
512 bits = j;
514 if (bits > 40) {
515 wpa_printf(MSG_ERROR, "Too many bits in the BSSID mask (%u)",
516 bits);
521 j = bits / 8;
524 j = bits % 8;
529 wpa_printf(MSG_DEBUG, "BSS count %lu, BSSID mask " MACSTR " (%d bits)",
530 (unsigned long) iface->conf->num_bss, MAC2STR(mask), bits);