source: trunk/package/hostapd/patches/400-noscan.patch @ 33392

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

hostapd: update to 2012-09-10

File size: 973 bytes
  • hostapd/config_file.c

    a b static int hostapd_config_fill(struct ho 
    24852485                        } 
    24862486#endif /* CONFIG_IEEE80211W */ 
    24872487#ifdef CONFIG_IEEE80211N 
     2488                } else if (os_strcmp(buf, "noscan") == 0) { 
     2489                        conf->noscan = atoi(pos); 
    24882490                } else if (os_strcmp(buf, "ieee80211n") == 0) { 
    24892491                        conf->ieee80211n = atoi(pos); 
    24902492                } else if (os_strcmp(buf, "ht_capab") == 0) { 
  • src/ap/ap_config.h

    a b struct hostapd_config { 
    497497 
    498498        int ht_op_mode_fixed; 
    499499        u16 ht_capab; 
     500        int noscan; 
    500501        int ieee80211n; 
    501502        int secondary_channel; 
    502503        int require_ht; 
  • src/ap/hw_features.c

    a b static int ieee80211n_check_40mhz(struct 
    493493{ 
    494494        struct wpa_driver_scan_params params; 
    495495 
    496         if (!iface->conf->secondary_channel) 
     496        if (!iface->conf->secondary_channel || iface->conf->noscan) 
    497497                return 0; /* HT40 not used */ 
    498498 
    499499        wpa_printf(MSG_DEBUG, "Scan for neighboring BSSes prior to enabling " 
Note: See TracBrowser for help on using the repository browser.