hostap/src
Jouni Malinen bf0021ede3 Allow fragmentation/RTS threshold to be disabled explicitly
hostapd configuration parameters fragm_threshold and rts_threshold were
documented to disable the threshold with value -1 and not change driver
configuration if the parameter is not included. However, -1 was mapped
into not changing the driver value, so the explicit disabling part did
not work.

Replace the default values for these to be -2 so that explicitly set
configuration value -1 can be distinguished from the case of not
including the parameter. Map the -1 value to a driver request to disable
the threshold. Ignore any error from this operation just in case to
avoid breaking functionality should some drivers not accept the (u32) -1
value as a threshold value request to disable the mechanism.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-12 17:15:08 +02:00
..
ap Allow fragmentation/RTS threshold to be disabled explicitly 2019-03-12 17:15:08 +02:00
common Add a vendor subcommand QCA_NL80211_VENDOR_SUBCMD_MPTA_HELPER_CONFIG 2019-03-12 13:00:24 +02:00
crypto OpenSSL: Add 'check_cert_subject' support for TLS server 2019-03-11 14:09:45 +02:00
drivers Allow fragmentation/RTS threshold to be disabled explicitly 2019-03-12 17:15:08 +02:00
eap_common EAP-pwd: Fix a memory leak in hunting-and-pecking loop 2019-03-07 00:27:12 +02:00
eap_peer OpenSSL: Add 'check_cert_subject' support for TLS server 2019-03-11 14:09:45 +02:00
eap_server EAP-pwd server: Fix memory leak with salted passwords 2019-03-08 16:59:27 +02:00
eapol_auth Add hostapd tls_flags parameter 2017-09-18 12:12:48 +03:00
eapol_supp eap_proxy: Fix memory leaks when using eap_peer_erp_init() 2018-09-21 21:34:08 +03:00
fst UBSan: Define FST LLT macros without integer overflow 2019-02-25 19:48:49 +02:00
l2_packet wpa_supplicant: Don't reply to EAPOL if pkt_type is PACKET_OTHERHOST 2018-04-02 12:21:27 +03:00
p2p WPS: Add multi_ap_subelem to wps_build_wfa_ext() 2019-02-18 20:30:26 +02:00
pae UBSan: Pack MACsec peer id structure 2019-02-25 19:48:49 +02:00
radius EAP-pwd server: Fix memory leak with salted passwords 2019-03-08 16:59:27 +02:00
rsn_supp UBSan: Avoid an unsigned integer overflow warning 2019-02-25 19:48:49 +02:00
tls bignum: Fix documentation for bignum_cmp_d() 2019-03-05 16:10:33 +02:00
utils Remove forgotten os_strncpy() implementations 2019-03-10 15:56:51 +02:00
wps Multi-AP: Avoid memcpy(ptr, NULL, 0) in WPS Registrar initialization 2019-02-23 11:37:20 +02:00
lib.rules tests: TLS fuzzing tool 2019-02-11 02:35:29 +02:00
Makefile