source: trunk/package/hostapd/patches/610-max_num_sta_probe.patch @ 33401

Last change on this file since 33401 was 33401, checked in by nbd, 4 years ago

hostapd: add a patch for suppressing probe responses from APs that have reached their limit of maximum number of clients

File size: 438 bytes
  • src/ap/beacon.c

    a b void handle_probe_req(struct hostapd_dat 
    413413                return; 
    414414        } 
    415415 
     416        if (!sta && hapd->num_sta >= hapd->conf->max_num_sta) 
     417                wpa_printf(MSG_MSGDUMP, "Probe Request from " MACSTR " ignored," 
     418                           " too many connected stations.", MAC2STR(mgmt->sa)); 
     419 
    416420#ifdef CONFIG_INTERWORKING 
    417421        if (elems.interworking && elems.interworking_len >= 1) { 
    418422                u8 ant = elems.interworking[0] & 0x0f; 
Note: See TracBrowser for help on using the repository browser.