1. 01 Jul, 2016 1 commit
    • Roshan Pius's avatar
      DO NOT MERGE Dont exceed scan ssid max size advertised by driver · e382b88d
      Roshan Pius authored
      
      Currently |wpa_set_scan_ssids| fully exhausts
      |wpa_driver_scan_params.ssid| list when hidden network ID's
      are provided via the control interface. This results in us
      exceeding the max size for the list advertised by the driver when we add
      the "wildcard" scan ssid entry. So, ensure that we leave space for one
      more scan ssid entry in the list when we exit out of |wpa_set_scan_ssids|.
      
      BUG: 29502964
      Change-Id: If2cdd11951a7855e73d8bb7b6f8cae504931fa56
      Signed-off-by: default avatarRoshan Pius <rpius@google.com>
      e382b88d
  2. 10 Jun, 2016 1 commit
    • Paul Stewart's avatar
      Fix use-after-free in qca_nl80211_get_features · 748cf248
      Paul Stewart authored
      Any data accessible from nla_data is freed before the
      send_and_recv_msgs function returns, therefore we need to allocate
      space for info.flags ourselves.
      
      BUG=29237626
      
      Change-Id: I622d1c624cce785ca7ed76f5c0ea8c5011c9be45
      748cf248
  3. 26 May, 2016 1 commit
  4. 19 Apr, 2016 3 commits
  5. 08 Apr, 2016 1 commit
  6. 06 Apr, 2016 1 commit
  7. 04 Apr, 2016 1 commit
    • Dmitry Shmidt's avatar
      Cumulative patch from commit f89c32e63f71e66d7b55e284016762b603ae02db · e4663044
      Dmitry Shmidt authored
      
      f89c32e Android: Fix max number of sched scan SSIDs based on driver capability
      f1a5a34 binder: Implement interface add/remove methods
      7b4bbb9 binder: Add binder skeletal code for Android
      5914ebf Remove struct ieee80211_mgmt::u.probe_req
      094e949 atheros: Do not use struct ieee80211_mgmt::u.probe_req
      c01120a wpa_supplicant: Do not use struct ieee80211_mgmt::u.probe_req
      e1b9962 AP: Do not use struct ieee80211_mgmt::u.probe_req
      5cd317d Do not clear PMKSA entry or EAP session cache if config does not change
      f933216 Revert "Assign QCA vendor command and attribute for Tx/Rx aggregation"
      bde9a4e Comment out UDP/UNIX socket code from common ctrl_iface based on build
      a6fbff2 Fix CONFIG_CTRL_IFACE=udp6/udp6-remote builds
      0741c48 SAE: Check SHA256-PRF operation result
      ea86a34 SAE: Remove dead code in FFC pwd-value derivation
      87faf1f nl80211: Fix libnl-tiny build with CONFIG_LIBNL20=y
      31afdd2 Use TIOCOUTQ instead of SIOCOUTQ to avoid need for linux/sockios.h
      6d07e76 wlantest: Use local ETH_P_IP define instead of linux/if_ether.h
      795abc8 Drop USE_KERNEL_HEADERS define
      9b7cd57 Use a separate header file for Linux bridge interface definitions
      c815fab Use own header file for defining Linux VLAN kernel interface
      81606ab vlan: Fix musl libc conflict with Linux kernel headers
      f347429 P2P: Fix persistent group for 60 GHz networks
      e868599 vlan: Move if_nametoindex() use out of vlan_init.c
      7c03c08 vlan: Move ifconfig helpers to a separate file
      59d6390 vlan: Move CONFIG_FULL_DYNAMIC_VLAN functionality into a separate file
      0fe28dd vlan: Remove unnecessary header includes from netlink implementation
      84d6755 vlan: Clean up netlink vs. ioctl API implementation
      cb38bc8 vlan: Fix musl build error
      954e10e Make it a bit easier to roam from 2.4 GHz to 5 GHz within ESS
      585141b Fix a typo in a comment
      1126c07 nl80211: Ignore deauth/disassoc event during Connect reassociation
      6a5ee81 Include previous BSSID in connection request to indicate reassociation
      00c3c4a nl80211: Add NL80211_ATTR_PREV_BSSID with Connect command
      cbc3d6f WNM: Verify BSS TM target match against the current network profile
      8854f90 mesh: Simplify wpa_auth_pmksa_set_to_sm()
      32d4fe9 privsep: Fix a compiler warning on unsigned/signed comparison
      2e997ee Add interface matching support with -M, guarded by CONFIG_MATCH_IFACE
      45e3fc7 Find correct driver for interface additions/removals
      9037702 wpa_supplicant: Fix CONFIG_IBSS_RSN=y build without CONFIG_AP=y
      5ae65de wpa_supplicant: Fix p2p_group_add when UDP-based ctrl_iface is used
      24bce46 FST: Fix a compiler warning
      e567c58 Fix nfc_pw_token build with CONFIG_FST=y
      d774c46 mesh: Use appropriate BLOCKED state duration
      9f2cf23 mesh: Add support for PMKSA caching
      4c522c7 PMKSA: Flush AP/mesh PMKSA cache by PMKSA_FLUSH command
      b8daac1 PMKSA: Show AP/mesh PMKSA list in PMKSA command
      2604edb mesh: Add MESH_PEER_ADD command
      e174ef3 mesh: Add MESH_PEER_REMOVE command
      f7648c8 P2P: Advertise IP Address Allocation only if it is enabled on GO
      7f46ad9 BSD: Only down the interface once we are sure we can work with it
      192964d Handle OSEN IE in Assoc Request info if req_ies exists
      29eddc3 nl80211: Fix error path in if_indices_reason reallocation
      ee298f1 nl80211: Do not add NL80211_ATTR_SMPS_MODE attribute if HT is disabled
      4ca16b5 Assign QCA vendor command and attribute for Tx/Rx aggregation
      64ce590 libxml2: Check for xmlDocDumpFormatMemory() error case
      8b827c3 BoringSSL: Keep static analyzers happier with X509_get0_pubkey_bitstr()
      42a9553 hs20-osu-client: Fix pol_upd command line parsing
      ec1eae8 hs20-osu-client: Remove dead code from sub_rem command line parsing
      c3dc68e Do not invalidate EAP session cache on all network block parameter changes
      9231c24 wlantest: Fix bip_protect() memory allocation
      c6c29be Interworking: Add credential realm to EAP-TLS identity
      
      Change-Id: I870f325171d00fed9c4fcd82a695fe5e2efee792
      Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
      e4663044
  8. 19 Mar, 2016 9 commits
  9. 18 Mar, 2016 7 commits
  10. 10 Mar, 2016 1 commit
  11. 09 Mar, 2016 1 commit
    • Dmitry Shmidt's avatar
      Cumulative patch from commit f2d6c17aa0f9107a0e8092238b849461447cdd21 · 31a29cc7
      Dmitry Shmidt authored
      
      f2d6c17 nl80211: Support network hierarchy of a master interface under bridge
      f85399f Reserve QCA vendor specific nl80211 commands 116..118
      3bd5886 hostapd: Handle running out of DFS channels
      cc1af6f FST: Fix session setup failure with peer without MB IE
      dfe0745 P2P: Add optional op_class argument to P2P_SET listen_channel
      e4a1469 P2P: Adjust service discovery maximum fragment size for 60 GHz
      c7fb678 D-Bus: Add association response status code property for failure cases
      2940bf6 hostapd: Use ifname of the current context in debug messages
      6448e06 hostapd: Allow use of driver-generated interface addresses
      f2accfe AP: Save EAPOL received before Association Response ACK
      1307301 wpaspy: Add support for TERMINATE command
      a2c88a8 wpaspy: Add support for UDP connection
      3e67171 hostapd: Add global TERMINATE command
      618f5d0 hostapd: Add INTERFACES ctrl_iface command
      180e5b9 hostapd: Update ctrl_interface for UDP to include the selected port
      56e2fc2 wpa_supplicant: Add ctrl parameter to INTERFACES command
      b9066c6 hostapd: Allow UDP ctrl_iface configuration to set the UDP port
      56885ee hostapd: Add UDP support for ctrl_iface
      acf57fa ctrl_iface_common: Use sockaddr_storage instead of sockaddr_un
      89b781b hostapd: Use common functions for ctrl_iface
      1a2124c wpa_supplicant: Use common functions for ctrl_iface
      ca974ae Add common ctrl_iface files
      d60886c wpa_supplicant: Add monitor support for global UDP ctrl_iface
      f0e5d3b wpa_supplicant: Share attach/detach/send UDP ctrl_iface functions
      db7fb43 wpa_supplicant: Allow UDP ctrl_iface configuration to set the UDP port
      3598695 P2P: Update peer WFD IE from PD Response and GO Negotiation Response
      c69ef1d P2P: Respect p2p_ignore_shared_freq on p2p_group_add
      4115b05 P2P: Fix shared freq print in wpas_p2p_init_go_params()
      
      Change-Id: Id939064b95210ee1a195f7a9f7c069da520d77ca
      Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
      31a29cc7
  12. 04 Mar, 2016 2 commits
  13. 03 Mar, 2016 1 commit
    • Dmitry Shmidt's avatar
      Cumulative patch from commit 12c1fdf19a721aaf29e1c77d63445c7f5b8c61c0 · 9c17526f
      Dmitry Shmidt authored
      
      12c1fdf P2P: Update peer listen channel from Probe Request frames
      a805731 P2P: Abort ongoing scan when p2p_find is stopped
      7441698 nl80211: Abort an ongoing scan upon scan timeout indication
      1446afc wpa_supplicant: Handle EVENT_SCAN_RESULTS when an interface is disabled
      d14e63a WNM: Do not scan based on malformed BSS Transition Management Request
      f420577 WNM: Fix candidates count in BSS Transition Management Request
      3c58df7 wpa_cli: Support running action script on global control interface
      b8f02d8 EAP-PWD peer: Fix possible memory leak on error path
      8f38eed Android: Remove superfluous OpenSSL include paths
      cbf8d18 HS 2.0R2: Clear fetch_anqp_in_progress if fopen fails
      4a6e9e5 Fix CONFIG_WPA_TRACE=y compilation without CONFIG_WPA_TRACE_BFD=y
      2bf9a53 Add EAP-AKA' and EAP-pwd to wpa_supplicant README
      4196c08 Update notes about OpenSSL versions
      5d7b1a3 Fix some typos in wpa_supplicant README files
      4194fee README-P2P: Fix a typo
      c58eed6 P2P: Add Dev Info attribute to Probe Request frames in 60 GHz
      2b6e9f9 wpa_supplicant: Expose wpas_get_bands() and related API
      94ad3c3 P2P: Change order of P2P IE and frequencies set up
      61697c7 Android: Allow wpa_supplicant to write files to osu-info dir
      0147afa FST: Enlarge State Transition Timeout (STT)
      e1d00d4 Add error handling for offloaded ACS with vendor command failures
      bef5e9a Fix scan rescheduling from wpas_stop_pno to check postponed case
      b9ca12a nl80211: Add more address fields into RX frame debug message
      debde14 RADIUS: Add Acct-Delay-Time into accounting messages
      669b532 RADIUS: Update full message for interim accounting updates
      251953b Document nas_identifier requirements for RADIUS accounting
      902c07a Replace hostapd_mac_comp_empty() with is_zero_ether_addr()
      5aef495 VLAN: Avoid use of libnl cache
      732b1d2 nl80211: Clean up ifidx properly if interface in a bridge is removed
      170c545 FT: Check destination MAC address on RRB receive
      57b2c91 RADIUS: Allow RADIUS server to provide PSK instead of passphrase
      d8912fd Cache hashed passphrase in RADIUS-based PSK delivery
      f8e09bc Defer passphrase-to-PSK hashing out of 802.11 authentication ACL check
      cc9c805 VLAN: Use stack instead of heap allocation for new interface name
      d48d1b8 FT: Use BSSID as r1_key_holder if no value is configured
      71456db FT: Check hapd->wpa_auth before RRB internal delivery
      0270bde FT: Fix R0KH-R1KH protocol data length values
      96a26ab P2P: Support dedicated P2P_DEVICE without separate group interface
      ba307f8 P2P: Add a separate pointer to the P2P Device instance
      e040197 GAS client: Make PMF check on RX more consistent
      0645492 WNM: Optimize a single BSS transition management candidate scan
      eb20cea nl80211: Add an option to specify the BSSID to scan for
      adf0478 AP: Store STA supported operating classes information
      
      Change-Id: If0ce28aae5591be783c38e5b60f7f9ff0fb9f8f2
      Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
      9c17526f
  14. 24 Feb, 2016 1 commit
  15. 23 Feb, 2016 1 commit
    • Dmitry Shmidt's avatar
      Cumulative patch from commit 077dcfb8c48d2509a6e116c0de3ad57d2fbfe4fe · 57c2d39d
      Dmitry Shmidt authored
      
      077dcfb AP: Debug print management frame TX result
      ca911d6 MBO: Parse non-preferred channel list on the AP
      3f48274 WNM: Fix a memory leak on AP error path
      f5ca176 VLAN: Fix vlan_compare() for tagged VLANs
      1260564 hostapd_cli: Add support for RAW command
      940491c MBO: Mandate use of PMF for WPA2+MBO association (STA)
      4c57228 MBO: Mandate use of PMF for WPA2+MBO association (AP)
      8dd49f0 MBO: Update STA cellular data capability based on WNM Notification
      6332aaf MBO: Track STA cellular data capability from association request
      f3cb7a6 WNM: Minimal processing for WNM Notification Request frames on AP
      e578343 MBO: Indicate WNM-Notification support on AP when MBO is enabled
      990b7b6 Simplify hostapd_build_ap_extra_ies() with helper functions
      d010048 MBO: Expire non-matching bss_tmp_disallowed entries as part of check
      f4c74e1 MBO: Parse MBO IE in ieee802_11_parse_elems()
      016082e MBO: Send WNM-Notification when cellular capabilities change
      c0e2a17 hostapd: Add MBO IE to BSS Transition Management Request frame
      fb9a1c3 hostapd: Add MBO IE to Beacon, Probe Response, Association Response
      c484b19 Move Hotspot 2.0 element in (Re)Association Request frames
      a0c38e5 Re-order elements in (Re)Association Request frames
      9a493fa WNM: Add candidate list to BSS transition query
      84d1c0f WNM: Add candidate list to BSS transition response
      cf11ab7 utils: Derive phy type by frequency and bandwidth
      c8082d2 MBO: Add MBO IE to BSS Transition Management Response frame
      dd59990 MBO: Parse MBO IE in BSS Transition Management Request frames
      5e57ba2 MBO: Add Supported Operating Classes element to Association Request
      7d46f58 MBO: Add global operating class definitions
      cb06cf3 MBO: Prevent association to APs that explicitly disallow this
      c5d193d MBO: Add cellular capability to MBO IE
      2d5b861 MBO: Send MBO WNM-Notification Request frames to notify changes
      92c6e2e MBO: Implement MBO non-preferred channel report in Association Request
      facf2c7 MBO: Add non-preferred channel configuration in wpa_supplicant
      425dd78 MBO: Add Multi Band Operation definitions
      a159958 ndis: Use the new get_ie() helper to avoid duplicated code
      231b04b utils: Share a single helper function to get IE by ID
      ea69d97 wpa_supplicant: Share a single get_mode() implementation
      75cc211 VLAN: Check vlan_desc validity in a failure debug print
      43022ab Use 64-bit TX/RX byte counters for statistics
      3f81ac0 AP: Set STA assoc flag in the driver before sending Assoc Resp frame
      bb598c3 AP: Add support for full station state
      dc55b6b nl80211: Add support for full station state operations
      5558b99 EAP-FAST peer: Remove fixed return value from eap_fast_parse_phase1()
      4b16c15 EAP-pwd server: Use os_get_random() for unpredictable token
      239952b DFS: Remove the os_random() fallback
      98a516e WPS: Use only os_get_random() for PIN generation
      f441e5a Use os_get_random() for Shared Key authentication challenge
      8c676b5 Add RADIUS Service-Type attribute with a value of Framed
      09d96de mesh: Drop Authentication frames from BLOCKED STA
      70c9396 SAE: Fix PMKID calculation for PMKSA cache
      1492fbb Print Acct-Session-Id and Acct-Multi-Session-Id 64-bit values
      e21ceca kqueue: Use 0 instead of NULL for udata
      640b0b9 ctype functions require an unsigned char
      a5a3efc Fix compile on NetBSD for vlan
      a084c24 wired: Fix compile on NetBSD for wired driver
      634e2e2 Add CONFIG_ELOOP_KQUEUE to defconfig
      99a94f5 nl80211: Avoid wpa_printf %s call with NULL pointer in set_param()
      ba91e92 wpa_supplicant: Parse ifname argument from DATA_TEST_CONFIG
      8be640b VLAN: Add per-STA vif option
      d0bdc96 VLAN: Actually add tagged VLANs to AP_VLAN
      f9c0018 VLAN: Factor out per-vid code in newlink/dellink
      8e44c19 radius: Add tagged VLAN parsing
      1889af2 VLAN: Separate station grouping and uplink configuration
      3a583e0 OpenSSL: Fix PKCS#12 parsing of extra certificates with OpenSSL 1.0.1
      ddd0032 wpa_cli: Clean up logical operation
      24c382a TDLS: Clean up os_memcmp use
      6136d43 trace: Free symbols on program exit
      8bcf8de OpenSSL: Fix memory leak in PKCS12 additional certificate parsing
      03e3ddf OpenSSL: Fix memory leak in HMAC_CTX compatibility wrapper function
      d9a0f69 OpenSSL: Fix memory leak in OCSP parsing
      29bc76e OpenSSL: Do not use library init/deinit functions with 1.1.0
      0f09637 OpenSSL: Fix memory leak in subjectAltName parsing
      e60913b curl: Fix memory leak in subjectAltName parsing
      6014890 OpenSSL: Fix memory leak with EVP_CIPHER_CTX_new()
      99a1735 rfkill: Fix a memory leak
      1f1e599 OpenSSL: Fix memory leak on error path
      b907491 wpa_supplicant: Basic support for PBSS/PCP
      86b5c40 nl80211: Basic support for PBSS/PCP
      afa453a Sync with mac80211-next.git include/uapi/linux/nl80211.h
      d1d8a2b EAP peer: Simplify buildNotify return
      1314bc1 Clean up EAP peer PCSC identity functions
      
      Change-Id: I9db475a2a4ebc88d2ee024319ed59a850636bb16
      Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
      57c2d39d
  16. 10 Feb, 2016 1 commit
  17. 08 Feb, 2016 1 commit
    • Dmitry Shmidt's avatar
      Cumulative patch from commit c06c9099f0d0827feae5622097bd8ac946eca5ea · b97e428f
      Dmitry Shmidt authored
      
      c06c909 Use stronger PRNG for MS-MPPE-Send/Recv-Key salt
      9e1f1bd eloop: Clean up coding style for eloop debug prints
      f9982b3 Implement kqueue(2) support via CONFIG_ELOOP_KQUEUE
      2e69bdd eloop: Add eloop_sock_requeue()
      70f4f05 wpa_ctrl: Retry select() on EINTR
      df9e2c2 D-Bus: Don't do <deny send_interface="..." /> in dbus service file
      9684c75 mesh: Fix peer link counting when a mesh peer reconnects
      83fe38b P2P: Fall back to no VHT when starting AP/P2P GO
      360a9d5 P2P: Reduce off channel wait time for some P2P Action frames
      1fc63fe RADIUS: Share a single function for generating session IDs
      2cbc6ff RADIUS: Redesign Request Authenticator generation
      b71a64a Send an Acct-Multi-Session-Id attribute in Access-Request packets
      4260e1a Add Acct-Session-Id to Accounting-On/Off
      d72a005 RADIUS: Use more likely unique accounting Acct-{,Multi-}Session-Id
      d689317 EAPOL auth: Move radius_cui/identity freeing to eapol_auth_free()
      0ae86f9 wpa_supplicant: Fix couple of C++ compiler errors with header files
      9b6177a Add Event-Timestamp to all Accounting-Request packets
      d179089 GAS: Calculate response buffer length of ANQP elements
      dda091c OpenSSL: Fix server side PKCS#12 processing with extra certificates
      443c8e1 OpenSSL: Fix possible null pointer dereference on an OCSP error path
      a3cc64f Remove -w support from wpa_supplicant README
      e265838 EAP-FAST: Fix an error path in PAC binary format parsing
      f91e11f D-Bus: Fix p2p interface capability message
      479f46c Do not send Acct-Authentic in Accounting-On/Off
      696544e RADIUS: Do not include Acct-Terminate-Cause in Accounting-On/Off
      236053e Make fallback from HT40 to HT20 work
      cb22e3b BSD: Zero ifindex on interface removal
      a8ef133 Android: Support multiple CA certs when connecting to EAP network
      80ce804 WNM: Workaround for broken AP operating class behavior
      af06093 BSD: Disable interface on down
      dc0ad60 BSD: Use correct ifindex from route messages
      5f17b2c BSD: __FUNCTION__ -> __func__
      2088ecb OSU: Add debug printing of more LogotypeExtn fields
      0b905c8 Add the selector suite into wpa_parse_wpa_ie_rsn() "invalid group cipher"
      03a72ea VHT: Add an interoperability workaround for 80+80 and 160 MHz channels
      
      Change-Id: Ief9174bdec380e81025e1467c47bf1656eb39cd9
      Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
      b97e428f
  18. 20 Jan, 2016 1 commit
  19. 19 Jan, 2016 1 commit
    • Dmitry Shmidt's avatar
      Cumulative patch from commit e15dcf6d1bc2725388555523effca75b1ffab735 · 1d6bf427
      Dmitry Shmidt authored
      
      e15dcf6 nl8021: Avoid potential memory leak on error path
      17d32eb Allow re-write of ip_addr* configurations to conf file.
      bcce934 dbus: Restrict DeviceName size to 32 characters in setter
      7c70fe2 Sort options and reduce printf calls in wpa_supplicant usage text
      6b418ce Fix wpa_supplicant build with IEEE8021X_EAPOL=y and CONFIG_NO_WPA=y
      03269d5 AP: Print interface name in more STA events
      9e8fde2 AP: Fix Deauth/Disassoc TX status timeout handling
      269f9d5 EAP peer: Use ifdef PCSC_FUNCS to get rid of compiler warnings
      c6e0b4b FST: Get rid of gcc extensions in structure/array initialization
      2e3a41a hs20-osu-client: Fix check for osu_nai being available
      ac2053b OpenSSL: Clean up openssl_digest_vector() to use a single implementation
      5c9a337 OpenSSL: Clean up crypto_hash_*() to use a single implementation
      587b045 LibreSSL: Fix build with LibreSSL
      0daa9f6 EAP-TTLS peer: Fix success after fragmented final Phase 2 message
      1eb87ae OpenSSL: Use EVP_CIPHER_CTX_new() to work with OpenSSL 1.1.0
      3fb3bea OpenSSL: Update session_secret callback to match OpenSSL 1.1.0 API
      814f43c EAP server: Simplify EAP method registration call
      49a26bb EAP peer: Simplify EAP method registration call
      7ce5603 EAP-WSC peer: Remove unused state values
      449a316 bsd: Optimize socket use
      4653ceb nl80211: Report disassociated STA / lost peer for the correct BSS
      38af042 Drop OpenSSL 0.9.8 patches to add EAP-FAST support
      
      Change-Id: Ib88c54b382c322d6151ed77e08f83329f918e3e8
      Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
      1d6bf427
  20. 11 Jan, 2016 4 commits