Can I increase the maximum number of scans in iwlist?
up vote
0
down vote
favorite
There are very many APs.
In my opinion, there are at least 200 APs in this field.
Scanning with iwlist will only scan up to 128 scans.
The debug information of wpa_supplicant is limited to a maximum of 128 scans.
I think the kernel limits the number of scans to 128.
Is there a way to increase this list being scanned?
I would like to see all of the APs in the field without limit.
kernel wifi
add a comment |
up vote
0
down vote
favorite
There are very many APs.
In my opinion, there are at least 200 APs in this field.
Scanning with iwlist will only scan up to 128 scans.
The debug information of wpa_supplicant is limited to a maximum of 128 scans.
I think the kernel limits the number of scans to 128.
Is there a way to increase this list being scanned?
I would like to see all of the APs in the field without limit.
kernel wifi
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
There are very many APs.
In my opinion, there are at least 200 APs in this field.
Scanning with iwlist will only scan up to 128 scans.
The debug information of wpa_supplicant is limited to a maximum of 128 scans.
I think the kernel limits the number of scans to 128.
Is there a way to increase this list being scanned?
I would like to see all of the APs in the field without limit.
kernel wifi
There are very many APs.
In my opinion, there are at least 200 APs in this field.
Scanning with iwlist will only scan up to 128 scans.
The debug information of wpa_supplicant is limited to a maximum of 128 scans.
I think the kernel limits the number of scans to 128.
Is there a way to increase this list being scanned?
I would like to see all of the APs in the field without limit.
kernel wifi
kernel wifi
asked Dec 3 at 4:49
DonBit
3541215
3541215
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
2
down vote
I am using wifi as a realtek chip.
The maximum number of ssids at scan time is affected by MAX_BSS_CNT.
The bss_max_count option of wpa_supplicant is only a memory option for wpa_supplicant.
In my realtek kernel device driver, MAX_BSS_CNT was set to 128.
I set MAX_BSS_CNT to 4 and confirmed that only up to 4 scans can be done.
add a comment |
up vote
0
down vote
Maximum number of BSS entries to keep in memory
Default: 200
This can be used to limit memory use on the BSS entries (cached scan
results). A larger value may be needed in environments that have huge number
of APs when using ap_scan=1 mode.
bss_max_count=200
source: Example wpa_supplicant configuration file
Also, check section ap_scan=n in wpa_supplicant.conf
ap_scan=0 - driver scans the access point.
ap_scan=1 - wpa_supplicant scans the access point, used by default.
ap_scan=2 - like 0, but also takes into account sec. policies and SSID, works with NDISwrapper.
tl;dr
ap_scan — AP scanning/selection
By default, wpa_supplicant requests driver to perform AP scanning and then uses the scan results to select a suitable AP. Another alternative is to allow the driver to take care of AP scanning and selection and use wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association information from the driver.
1: wpa_supplicant initiates scanning and AP selection (default).
0: Driver takes care of scanning, AP selection, and IEEE 802.11 association parameters (e.g., WPA IE generation); this mode can also be used with non-WPA drivers when using IEEE 802.1X mode;
do not try to associate with APs (i.e., external program needs to control association). This mode must also be used when using wired Ethernet drivers.
2: like 0, but associate with APs using security policy and SSID (but not BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to enable operation with hidden SSIDs and optimized roaming;
in this mode, the network blocks in the configuration are tried one by one until the driver reports successful association; each network block should have explicit security policy (i.e., only one
option in the lists) for key_mgmt, pairwise, group, proto variables.
Note: ap_scan=2 should not be used with the nl80211 driver interface (the current Linux interface). ap_scan=1 is optimized work working with nl80211. For finding networks using hidden SSID, scan_ssid=1 in the network block can be used with nl80211.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
I am using wifi as a realtek chip.
The maximum number of ssids at scan time is affected by MAX_BSS_CNT.
The bss_max_count option of wpa_supplicant is only a memory option for wpa_supplicant.
In my realtek kernel device driver, MAX_BSS_CNT was set to 128.
I set MAX_BSS_CNT to 4 and confirmed that only up to 4 scans can be done.
add a comment |
up vote
2
down vote
I am using wifi as a realtek chip.
The maximum number of ssids at scan time is affected by MAX_BSS_CNT.
The bss_max_count option of wpa_supplicant is only a memory option for wpa_supplicant.
In my realtek kernel device driver, MAX_BSS_CNT was set to 128.
I set MAX_BSS_CNT to 4 and confirmed that only up to 4 scans can be done.
add a comment |
up vote
2
down vote
up vote
2
down vote
I am using wifi as a realtek chip.
The maximum number of ssids at scan time is affected by MAX_BSS_CNT.
The bss_max_count option of wpa_supplicant is only a memory option for wpa_supplicant.
In my realtek kernel device driver, MAX_BSS_CNT was set to 128.
I set MAX_BSS_CNT to 4 and confirmed that only up to 4 scans can be done.
I am using wifi as a realtek chip.
The maximum number of ssids at scan time is affected by MAX_BSS_CNT.
The bss_max_count option of wpa_supplicant is only a memory option for wpa_supplicant.
In my realtek kernel device driver, MAX_BSS_CNT was set to 128.
I set MAX_BSS_CNT to 4 and confirmed that only up to 4 scans can be done.
edited Dec 3 at 8:29
Stephen Kitt
160k24357432
160k24357432
answered Dec 3 at 7:12
DonBit
3541215
3541215
add a comment |
add a comment |
up vote
0
down vote
Maximum number of BSS entries to keep in memory
Default: 200
This can be used to limit memory use on the BSS entries (cached scan
results). A larger value may be needed in environments that have huge number
of APs when using ap_scan=1 mode.
bss_max_count=200
source: Example wpa_supplicant configuration file
Also, check section ap_scan=n in wpa_supplicant.conf
ap_scan=0 - driver scans the access point.
ap_scan=1 - wpa_supplicant scans the access point, used by default.
ap_scan=2 - like 0, but also takes into account sec. policies and SSID, works with NDISwrapper.
tl;dr
ap_scan — AP scanning/selection
By default, wpa_supplicant requests driver to perform AP scanning and then uses the scan results to select a suitable AP. Another alternative is to allow the driver to take care of AP scanning and selection and use wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association information from the driver.
1: wpa_supplicant initiates scanning and AP selection (default).
0: Driver takes care of scanning, AP selection, and IEEE 802.11 association parameters (e.g., WPA IE generation); this mode can also be used with non-WPA drivers when using IEEE 802.1X mode;
do not try to associate with APs (i.e., external program needs to control association). This mode must also be used when using wired Ethernet drivers.
2: like 0, but associate with APs using security policy and SSID (but not BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to enable operation with hidden SSIDs and optimized roaming;
in this mode, the network blocks in the configuration are tried one by one until the driver reports successful association; each network block should have explicit security policy (i.e., only one
option in the lists) for key_mgmt, pairwise, group, proto variables.
Note: ap_scan=2 should not be used with the nl80211 driver interface (the current Linux interface). ap_scan=1 is optimized work working with nl80211. For finding networks using hidden SSID, scan_ssid=1 in the network block can be used with nl80211.
add a comment |
up vote
0
down vote
Maximum number of BSS entries to keep in memory
Default: 200
This can be used to limit memory use on the BSS entries (cached scan
results). A larger value may be needed in environments that have huge number
of APs when using ap_scan=1 mode.
bss_max_count=200
source: Example wpa_supplicant configuration file
Also, check section ap_scan=n in wpa_supplicant.conf
ap_scan=0 - driver scans the access point.
ap_scan=1 - wpa_supplicant scans the access point, used by default.
ap_scan=2 - like 0, but also takes into account sec. policies and SSID, works with NDISwrapper.
tl;dr
ap_scan — AP scanning/selection
By default, wpa_supplicant requests driver to perform AP scanning and then uses the scan results to select a suitable AP. Another alternative is to allow the driver to take care of AP scanning and selection and use wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association information from the driver.
1: wpa_supplicant initiates scanning and AP selection (default).
0: Driver takes care of scanning, AP selection, and IEEE 802.11 association parameters (e.g., WPA IE generation); this mode can also be used with non-WPA drivers when using IEEE 802.1X mode;
do not try to associate with APs (i.e., external program needs to control association). This mode must also be used when using wired Ethernet drivers.
2: like 0, but associate with APs using security policy and SSID (but not BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to enable operation with hidden SSIDs and optimized roaming;
in this mode, the network blocks in the configuration are tried one by one until the driver reports successful association; each network block should have explicit security policy (i.e., only one
option in the lists) for key_mgmt, pairwise, group, proto variables.
Note: ap_scan=2 should not be used with the nl80211 driver interface (the current Linux interface). ap_scan=1 is optimized work working with nl80211. For finding networks using hidden SSID, scan_ssid=1 in the network block can be used with nl80211.
add a comment |
up vote
0
down vote
up vote
0
down vote
Maximum number of BSS entries to keep in memory
Default: 200
This can be used to limit memory use on the BSS entries (cached scan
results). A larger value may be needed in environments that have huge number
of APs when using ap_scan=1 mode.
bss_max_count=200
source: Example wpa_supplicant configuration file
Also, check section ap_scan=n in wpa_supplicant.conf
ap_scan=0 - driver scans the access point.
ap_scan=1 - wpa_supplicant scans the access point, used by default.
ap_scan=2 - like 0, but also takes into account sec. policies and SSID, works with NDISwrapper.
tl;dr
ap_scan — AP scanning/selection
By default, wpa_supplicant requests driver to perform AP scanning and then uses the scan results to select a suitable AP. Another alternative is to allow the driver to take care of AP scanning and selection and use wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association information from the driver.
1: wpa_supplicant initiates scanning and AP selection (default).
0: Driver takes care of scanning, AP selection, and IEEE 802.11 association parameters (e.g., WPA IE generation); this mode can also be used with non-WPA drivers when using IEEE 802.1X mode;
do not try to associate with APs (i.e., external program needs to control association). This mode must also be used when using wired Ethernet drivers.
2: like 0, but associate with APs using security policy and SSID (but not BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to enable operation with hidden SSIDs and optimized roaming;
in this mode, the network blocks in the configuration are tried one by one until the driver reports successful association; each network block should have explicit security policy (i.e., only one
option in the lists) for key_mgmt, pairwise, group, proto variables.
Note: ap_scan=2 should not be used with the nl80211 driver interface (the current Linux interface). ap_scan=1 is optimized work working with nl80211. For finding networks using hidden SSID, scan_ssid=1 in the network block can be used with nl80211.
Maximum number of BSS entries to keep in memory
Default: 200
This can be used to limit memory use on the BSS entries (cached scan
results). A larger value may be needed in environments that have huge number
of APs when using ap_scan=1 mode.
bss_max_count=200
source: Example wpa_supplicant configuration file
Also, check section ap_scan=n in wpa_supplicant.conf
ap_scan=0 - driver scans the access point.
ap_scan=1 - wpa_supplicant scans the access point, used by default.
ap_scan=2 - like 0, but also takes into account sec. policies and SSID, works with NDISwrapper.
tl;dr
ap_scan — AP scanning/selection
By default, wpa_supplicant requests driver to perform AP scanning and then uses the scan results to select a suitable AP. Another alternative is to allow the driver to take care of AP scanning and selection and use wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association information from the driver.
1: wpa_supplicant initiates scanning and AP selection (default).
0: Driver takes care of scanning, AP selection, and IEEE 802.11 association parameters (e.g., WPA IE generation); this mode can also be used with non-WPA drivers when using IEEE 802.1X mode;
do not try to associate with APs (i.e., external program needs to control association). This mode must also be used when using wired Ethernet drivers.
2: like 0, but associate with APs using security policy and SSID (but not BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to enable operation with hidden SSIDs and optimized roaming;
in this mode, the network blocks in the configuration are tried one by one until the driver reports successful association; each network block should have explicit security policy (i.e., only one
option in the lists) for key_mgmt, pairwise, group, proto variables.
Note: ap_scan=2 should not be used with the nl80211 driver interface (the current Linux interface). ap_scan=1 is optimized work working with nl80211. For finding networks using hidden SSID, scan_ssid=1 in the network block can be used with nl80211.
edited Dec 3 at 6:21
answered Dec 3 at 6:12
1st Sentinel 31 Year Perl Hist
22513
22513
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f485607%2fcan-i-increase-the-maximum-number-of-scans-in-iwlist%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown