aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* nl80211: Add VHT 160 MHz channel flagsAhmad Kholaif2016-04-014-2/+119
| | | | | | | | | | | | | This extends the previous design that covered only the VHT 80 MHz cases for VHT channel flags. New functions are introduced to allow 160 MHz bandwidth cases to determine the center channel and check availability of a 160 MHz channel. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: bee5d8e067a743986c0a5c19b09dc61178436d27 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I6e009a6886dfa1984ef76a188a5fd473accf2740 CRs-Fixed: 944221
* P2P: Define operating classes for VHT 80+80 and 160Ahmad Kholaif2016-04-013-3/+5
| | | | | | | | | | | This adds definitions for the global operating classes 129 and 130 for VHT 80+80 MHz and 160 MHz use cases. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 5e1da9c8fdcadb0171d5448fa09960f976804155 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ifb4dfec7e7f6fa4dac125260c488195562e2c170 CRs-Fixed: 944221
* P2P: Do not reply to GO Negotiation Request if peer is waiting for usJouni Malinen2016-04-011-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | This improves robustness of GO Negotiation in special cases where GO Negotiation Request frames from the peer may end up getting delivered multiple times, e.g., due to interference and retransmitted frames not getting properly filtered out in duplicate detection (which is something that number of drivers do not implement for pre-associated state). If we have already replied with GO Negotiation Response frame with Status 1 (not yet ready), do not reply to another GO Negotiation Request frame from the peer if we have already received authorization from the user (P2P_CONNECT command) for group formation and have sent out our GO Negotiation Request frame. This avoids a possible sequence where two independent GO Negotiation instances could go through in parallel if the MAC address based rule on avoiding duplicate negotiations is not able to prevent the case. This can allow GO Negotiation to complete successfully whereas the previous behavior would have likely resulted in a failure with neither device sending a GO Negotiation Confirm frame. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 2b12b3602aa5ee60fbbaf723e508321eb86ee10f Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ifb8cf34c7e58ce8fd5aef57b3d2e3b8fb1e733de CRs-fixed: 924507
* Parallelize distinct radio work operationsKanchanapally, Vidyullatha2016-04-012-8/+199
| | | | | | | | | | | | | This commit contains the necessary changes to parallelize distinct radio work operations which are different in type and the band used, only when the underlying driver is capable of supporting such simultaneous offchannel operations. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: e903d32d41213dec738a32538baee34f5548d03b Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ib5d927950a7886347deeeda8fce92a343f127aaf CRs-fixed: 909284
* nl80211: Extract driver offchannel simultaneous capabilityKanchanapally, Vidyullatha2016-04-012-0/+16
| | | | | | | | | | | Make the driver offchannel simultaneous capability available to wpa_supplicant. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 8e5097456af34c43beee03e63ef7ab10aabd9680 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I76dbc6b6f9d871b3703030f0e204eb10ccc90fa3 CRs-fixed: 909284
* nl80211: Support vendor scan together with normal scanKanchanapally, Vidyullatha2016-04-016-29/+90
| | | | | | | | | | | | | | Allow wpa_supplicant to use vendor scan (if supported by the driver) together with the normal nl80211 scan and handling external scan events. Since this results in possibility of concurrent scan operations, some of the operations related to scan results need to check more carefully when an event is relevant for a specific interface. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: adcd7c4b0bd02bead77f884f52782a813f5243bb Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I78be8d12a6f0ae1fef82a035a525929e2e15c972 CRs-fixed: 909284
* Add QCA vendor definitions for simultaneous offchannelKanchanapally, Vidyullatha2016-04-011-0/+3
| | | | | | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 94fb165c3ac317b93ddb9a96c620fcf87a2c68e2 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I0a284ec156b742ee3aac6411ce2e93e7be85221a CRs-fixed: 909284
* nl80211: Driver interaction for QCA vendor scanKanchanapally, Vidyullatha2016-04-014-0/+316
| | | | | | | | | | | | This commit contains the necessary changes for supporting the QCA vendor scan implementation, i.e., sending the vendor scan command to underlying driver and handling the vendor scan events from the driver. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: f22a080cdc19ba1dee1f85f1d71d2a9c0e699a56 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Iaa5c47f5e5fa800afc8662314e0889af679a72ef CRs-fixed: 909284
* Add QCA vendor definitions for vendor scan supportKanchanapally, Vidyullatha2016-04-011-0/+54
| | | | | | | | | | | Introduce definitions for QCA vendor specific subcommands and attributes to support vendor scan request. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: b48567195d7eb4e1f6a18ae88a2af4db2afa193b Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ia7f92909b4e09240f866fbb5aaf707943b65d627 CRs-Fixed: 909284
* P2P: Support driver preferred freq list for invitation caseAhmad Kholaif2016-04-014-3/+21
| | | | | | | | | | | | When using P2P invitation to re-invoke a persistent P2P group without specifying the operating channel, query the driver for the preferred frequency list, and use it to select the operating channel of the group. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: fbcddaed9aa62587e7b74cd22df4b4cdaca6b101 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I2fcf33980771e57e11539ee580cf4fe783b6719f CRs-fixed: 887890
* P2P: Support driver preferred freq list for Autonomous GO caseAhmad Kholaif2016-04-011-0/+32
| | | | | | | | | | | | When starting an autonomous GO without specifying the operating channel, query the driver for the preferred frequency list, and use it to select the operating channel of the GO (if supported). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 8e84921efe652233703588852bc43c36ccb241df Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: If62620b7d903dad077811b619940e349104d1412 CRs-fixed: 887890
* P2P: Process preferred frequency list as part of GO Neg Req/RespAhmad Kholaif2016-04-011-0/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When processing a GO Negotiation Request and Response, if local driver supports the preferred channel list extension, then: - Check if peer's preference for operating channel is already included in our preferred channel list and if so, take the oper_channel as is. - If peer's preference for operating channel is not in local device's preferred channel list and peer device has provided its preferred frequency list in the GO Negotiation Request/Response, then find a channel that is common for both preferred channel lists and use it for oper_channel. - If peer's preference for operating channel is not in local device's preferred channel list and peer device doesn't use preferred channel list extension, i.e., no preferred channel list in GO Negotiation Request/Response, then look for a channel that is common for local device's preferred channel list and peer's list of supported channels and use it for oper_channel. - In case no common channel is found, use the peer's preference for oper_channel as is. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 6cc364946cd30681cd1e3a2ca061173be3227d11 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I2ba4cddfd03c741ee82ecbefe64617080e720d3e CRs-fixed: 887890
* P2P: Expose driver preferred frequency list fetch to P2PAhmad Kholaif2016-04-012-0/+26
| | | | | | | | | | | | This adds a callback function that can be used from the P2P module to request the current preferred list of operating channels from the driver. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: fc71f7d99db620097296720af1d46b1b94afb0f8 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I8135b44c91bdaa89fe80a3e4f802dadfbe557662 CRs-fixed: 842468
* P2P: Do not omit known operating channel preference from GO Neg RespAhmad Kholaif2016-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | Add an extra condition to omit operating channel preference when building GO Negotiation Response. If the local device supports the preferred frequency list extension, then when sending a GO Negotiation Response frame, advertise the preferred operating channel unless local device is assuming the P2P Client role and has an empty preferred frequency list, in which case local device can omit its preference for the operating channel. This change helps make use of the preferred frequency list and the calculated best channel for both negotiating parties of the P2P connection. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 0ef54bd30e3d6d66fe060098c45c61dfaf87e00e Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I2192ac1fcac9253876fae3f54f10f5a89d0e3bac CRs-fixed: 842468
* P2P: Parse preferred frequency list extensionAhmad Kholaif2016-04-012-0/+6
| | | | | | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: def8f7035d0a89bd7f5799b4bbf9113e38437d19 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I55ff714b3a213005f10a9e8959e78da71e2b26e3 CRs-fixed: 842468
* P2P: Add preferred frequency list extension to GO Neg ReqAhmad Kholaif2016-04-013-0/+44
| | | | | | | | | | | | | When sending a GO Negotiation Request, advertise the preferred frequency list in a new vendor specific IE. This can be used to extend the standard P2P behavior where a single preferred channel can be advertised by allowing a priority list of channels to be indicated. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: b841cf2fa6886de7749477ad71e3f8b6dc3f8bb9 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I0657fe4e8ebf7cf51a2127450130ae6718a12d98 CRs-fixed: 842468
* P2P: Use preferred frequency list from the local driverAhmad Kholaif2016-04-014-5/+90
| | | | | | | | | | | | | If the driver supports the preferred frequency list extension, use this information from the driver when no explicitly configured preference list (p2p_pref_chan) is present for P2P operating channel selection. This commit adds this for GO Negotiation and Invitation use cases. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 370017d968e071522357ea88c0c6aaed02853222 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Idd39a8276daaf450b8d720a9fdf617f6427f5e48 CRs-fixed: 842468
* Add parsing of preferred frequency list elementAhmad Kholaif2016-04-012-0/+17
| | | | | | | | | | | | This adds parsing of QCA vendor specific elements and as the first such element to be parsed, stores pointers to the preferred frequency list element that can be used to enhance P2P channel negotiation behavior. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 9baaac2d8495d56040a27063afe84f460525c2b3 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ie2da6d2dd9dc107f5ff3bb4763608fa5374c7539 CRs-fixed: 842468
* nl80211: Add means to query preferred channelsAhmad Kholaif2016-04-017-1/+243
| | | | | | | | | | | | Extend the QCA vendor specific nl80211 interface to query the preferred frequency list from driver and add a new wpa_cli command to query this information. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 983422088f0066068fd364013623d1e475031e6b Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I71de761d267f9d46ab6ae9cd35cc08daf5d2bd99 CRs-Fixed: 842468
* P2P: Inform driver of the operating channel following group formationAhmad Kholaif2016-04-016-0/+76
| | | | | | | | | | | | Upon GO Negotiation completion, if the remote peer becomes GO, send a hint event over QCA vendor specific interface to inform the driver of the likely operating channel of the P2P GO. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 7c813acf9ca69f3c6d442ce820237249a6216201 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ic3cbb824e1c8bac94839cde7819de75a03d75765 CRs-Fixed: 842468
* nl80211: Add concurrency capabilities to driver statusAhmad Kholaif2016-04-013-2/+30
| | | | | | | | | | | | Extend the nl80211 interface command "driver status" to retrieve the concurrency capabilities from the driver using the QCA vendor extensions. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 079a28f7b88bef62249872f0d7b7947ba1d77ac9 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Iade4acbe723b7c1c36c886f305b476172535e850 CRs-Fixed: 842468
* wpa_supplicant: Fix a typo in wpa_scan_result_compar()Hahn, Maital2016-04-011-1/+1
| | | | | | | | | | | | | A typo in wpa_scan_result_compar() caused wrong scan results sorting (and wrong roaming decision). This fixes a copy-paste regression introduced by commit a1b790eb9d7514d1a6e0582a07f695a1564caa59 ('Select AP based on estimated maximum throughput'). Signed-off-by: Maital Hahn <maitalm@ti.com> Git-commit: aa517ae22784aff08d3d9e38ad101b4b5c9828fb Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ie1e999e3dac746e29db0ad9a9fcec5abeff207bf CRs-fixed: 884126
* Fix generating offloaded ACS channel list when hw_mode is set to anyPeng Xu2016-04-014-15/+69
| | | | | | | | | | | | | When ACS is offloaded to device driver and the hw_mode parameter is set to any, the current_mode structure is NULL which fails the ACS command. Fix this by populating the ACS channel list with channels from all bands when current_mode is NULL. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: d0cdccd30785b2471c632c341caef68ab1bc62db Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ia8a5ef25184788f836daec2e009eb5bc64108e5d CRs-fixed: 842468
* Define new registry for QCA vendor specific elementsJouni Malinen2016-04-011-0/+30
| | | | | | | | | | | | | | The new enum qca_vendor_element_id registry is used to manage assignments of vendor specific elements using the QCA OUI 00:13:74. The initial assignment is for the purpose for extending P2P functionality for cases where the wpa_supplicant implementation is used by both ends of an exchange Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: b43b2b520370b251ee3fdce3ade0f66950292281 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Icd2cf14cbc5d1b781f12453ebcbf8ee147a3117e CRs-fixed: 842468
* Merge "P2P: Fix P2P configuration file name" into wlan-service.lnx.1.0-dev.1.0Linux Build Service Account2016-03-312-1/+5
|\
| * P2P: Fix P2P configuration file nameGautam2016-03-232-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | The P2P configuration file is wrongly set as STA configuration file, even though a separate configuration file is mentioned with '-m' option. Add initialization and deallocation of global.params->conf_p2p_dev to fix this. Signed-off-by: Gautam <gautams@broadcom.com> Git-commit: d4e597959c07aa569db349313dde76907f4b2d92 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ie7a0e9027ac4cc85fd5b876fbb6321241b5ce800 CRs-Fixed: 993995
* | eap_proxy: Add gettid syscall wrapperAmarnath Hullur Subramanyam2016-03-241-0/+17
| | | | | | | | | | | | | | | | | | | | gettid system calls doesn't have a wrapper in glibc. Bionic library provides wrapper so there is no issue in Android platform however non-Android platform throws linker error. This commit addresses this by implementing a wrapper of gettid. Change-Id: I996d8aa8ed21fabbefa9190c1132362e7b92e877 CRs-Fixed: 994742
* | eap_proxy: include qmi-framework for QCCI migrationBala Krishna Bhamidipati2016-03-232-2/+13
|/ | | | | | | | | | | qmi-framework will generate qmi_cci library needed by eap_proxy for QCCI interface APIs. add qmi-framework to PKG_CONFIG to link this library. This change will also add flags to support DSDS and eap-AKA' feature on mdm. Change-Id: Ibbf38f85f315fc0a33b190e3992cacd4843a1eea CRs-Fixed: 952339
* WNM: Workaround for broken AP operating class behaviorJouni Malinen2016-03-181-1/+16
| | | | | | | | | | | | | | | Some APs do not advertise operating classes correctly for BSS Transition Management. Try to determine the most likely operating frequency based on the channel number (1..14 --> 2.4 GHz; 36..169 --> 5 GHz) if invalid op_class == 0 is received in a BSS Transition Management Request. This speeds up the following operating by avoiding a full scan due to an unknown channel. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 80ce804e88247bb0409d131c5882808a0ce9bba4 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ie555c69baacd5072fe32bf56ccb2e9905d07aeca CRs-Fixed: 973078
* Android: Allow wpa_supplicant to write files to osu-info dirKanchanapally, Vidyullatha2016-03-081-1/+12
| | | | | | | | | | | | | | | | | This commit allows any process running with group id of AID_WIFI to read/write files to osu-info directory. Also, it allows other users to read and search the osu-info directory. This fixes issues with hs20-osu-client creating a directory for wpa_supplicant use without wpa_supplicant actually having privileges to write there on Android where the wpa_supplicant process does not run as root. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 61697c7ecc0095d65218bc3f8203cabf370b2f27 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I2ecf0e91b03d942a3c28ea0ecdcae76754f55daf CRs-Fixed: 985459
* eap_proxy: move UIM info into eap_proxyBala Krishna Bhamidipati2016-02-192-59/+43
| | | | | | | | QMI initialization is done on a separate thread per eap_proxy. Hence, moving the wpa_uim data structures to eap_proxy_sm struct. Change-Id: I510132f038f3119b8393b47525c6e21fa4cd3933 CRs-Fixed: 977372
* Merge "eap_proxy: use a separate thread for qmi initialization." into ↵Linux Build Service Account2016-02-102-7/+40
|\ | | | | | | wlan-service.lnx.1.0-dev.1.0
| * eap_proxy: use a separate thread for qmi initialization.Bala Krishna Bhamidipati2016-02-092-7/+40
| | | | | | | | | | | | | | | | | | QMI initialization , if done in eloop context , affects supplicant functionality. Since this QMI initialization takes more time , a separate thread is spawned for the same Change-Id: Id877ad8da5c73cabfef3bf4f4a2cd2a776ddd443 CRs-Fixed: 971522
* | Add control interface command for aborting an ongoing scanJouni Malinen2016-02-092-0/+13
| | | | | | | | | | | | | | | | | | | | | | The new ABORT_SCAN command can be used to request an ongoing scan to be aborted. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 2ea2166d5aafe4d8361612ee404b49236cb15b0f Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I9f6f7f6e19142e79f04fbe2fee134ed22b2bbae0 CRs-fixed: 930855
* | Abort an ongoing scan before connectKanchanapally, Vidyullatha2016-02-094-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Connect radio work is sometimes delayed for a considerable duration if there is an ongoing scan radio work. To avoid these delays abort the ongoing scan on that interface before queuing a connect request. Upon a scan done indication from the driver, connect radio work will be scheduled. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 4ead7cfd5d7dfe2f80ffe5b744291b2e149321eb Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I51d1ea7ba07585d103db88fb9f4819e55c462cfb CRs-fixed: 930855
* | nl80211: Add support for aborting an ongoing scanKanchanapally, Vidyullatha2016-02-095-0/+36
| | | | | | | | | | | | | | | | | | | | | | This adds the driver interface commands for issuing a request to abort an ongoing scan operation. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 4f30addb3866a8bb9393c1cfd42e012150c36a8e Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ic032fa52bdd801514b3b74b12b903c3bdf8fc663 CRs-fixed: 930855
* | Sync with mac80211-next.git include/uapi/linux/nl80211.hJouni Malinen2016-02-091-3/+65
| | | | | | | | | | | | | | | | | | | | This brings in nl80211 definitions as of 2015-11-26. Signed-off-by: Jouni Malinen <j@w1.fi> Git-commit: 5ef0b843555389d5d02b85d661c7b3b9165f3c4d Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I749e12852c48f9d99ab1f787582e61bd3f9854b0 CRs-fixed: 930855
* | Sync with mac80211-next.git include/uapi/linux/nl80211.hJouni Malinen2016-02-091-14/+19
|/ | | | | | | | | | This brings in nl80211 definitions as of 2015-05-06. Signed-off-by: Jouni Malinen <j@w1.fi> Git-commit: dd9a42efbc39a7ff425a7b3d5a69cf55d64a19f3 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I3c8495b2f37fe7e1091bdb8223085779944b49a6 CRs-fixed: 930855
* Generate hs20-osu-client as part of compilationKanchanapally, Vidyullatha2016-02-021-1/+2
| | | | | | | | Add makefile change to generate hs20-osu-client as part of wpa_supplicant_8 build. Change-Id: I4435242fa6767b4662894ac23d8c2b72f242851e CRs-Fixed: 970948
* eap_proxy: Handle crash if eap method is nullBala Krishna Bhamidipati2016-01-291-16/+21
| | | | | | | | | While conencting to eap SIM/AKA, if eap method, is not set in config file , supplicant will crash accessing eap_method in conf. Refer to eap methoods only if they are not NULL Change-Id: Idd1f49157700948d6f3c6aa494c2dfa9ff125a41 CRs-Fixed: 969387
* EST: Comment out X509_REQ_print calls on Android with BoringSSLJouni Malinen2016-01-111-0/+4
| | | | | | | | | | | | | | These were restored into BoringSSL in June 2015, but not all Android branches include those changes. To fix the build, comment these call out on Android for now if hs20-osu-client is built against BoringSSL. These are used only for debugging purposes, so this is fine for Hotspot 2.0 functionality. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: e007d538cd45eb29bd31c45fd63451b138508389 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I4bad58cabb39936c64c07491383b65f3c8de4df5 CRs-fixed: 960177
* EST: Add CSR generation support with BoringSSLJouni Malinen2016-01-111-16/+28
| | | | | | | | | | | This completes EST support with hs20-osu-client when built with BoringSSL instead of OpenSSL. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: e6f4832737cd2b83b010e13582f59f2b4a965ce6 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I9830f94663dfaf0c8d66027c9f7e2c03ab4401db CRs-fixed: 960177
* EST: Implement pkcs7_to_cert() with BoringSSLJouni Malinen2016-01-111-4/+20
| | | | | | | | | | | This adds one more step in completing hs20-osu-client support when using BoringSSL instead of OpenSSL. EST client can now parse the cacerts file. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: ed2566ac9ba81a90ed2bfb72ce1445e7933aa466 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ieda82df16f47f99b986756a3f7445a80e6bf5b09 CRs-fixed: 960177
* hs20-osu-client: Disable EST with BoringSSL to fix buildJouni Malinen2016-01-111-0/+16
| | | | | | | | | | | | BoringSSL has dropped OpenSSL functionality that was used in the EST implementation. For now, disable EST with BoringSSL to allow hs20-osu-client to be built. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 63d9bf81aba9613937652a12f5d6c7b394de8003 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I38ab297211842f44cc6a0ce55ba897cb06db88bb CRs-fixed: 960177
* HTTP (curl): OCSP with BoringSSLJouni Malinen2016-01-113-0/+35
| | | | | | | | | | | | | This adds experimental support for using OCSP with libcurl that is built against BoringSSL. This needs small modifications to libcurl to allow CURLOPT_SSL_VERIFYSTATUS to be used to call SSL_enable_ocsp_stapling(connssl->handle) in ossl_connect_step1(). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 8d27efa814e8f2c8bb4e26c1389a0cb60f8c6991 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ib73d598d2f9a31adfa9881d6a0ff9afb262e7adf CRs-fixed: 960177
* HTTP (curl): Fix compilation with BoringSSLJouni Malinen2016-01-111-0/+23
| | | | | | | | | | | Define the sk_*_{num,value}() macros in BoringSSL style if BoringSSL is used instead of OpenSSL. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: cc2994024d859ecf60a48e81723e9b5838012dd3 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ib63e49df46392fa677e0562ba866f9e1feb1b6f4 CRs-fixed: 960177
* BoringSSL: Move OCSP implementation into a separate fileJouni Malinen2016-01-117-820/+872
| | | | | | | | | | | | This makes it easier to share the OCSP implementation needed for BoringSSL outside tls_openssl.c. For now, this is mainly for http_curl.c. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 213e158ca8d466c5bf1403eec83b9af56cf28dff Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ifee0388a823c9f7312e168d33f1a0cd93ca14f4c CRs-fixed: 960177
* BoringSSL: Implement support for OCSP staplingJouni Malinen2016-01-111-0/+847
| | | | | | | | | | | | | | | | | | | | BoringSSL has removed the OpenSSL OCSP implementation (OCSP_*() functions) and instead, provides only a minimal mechanism for include the status request extension and fetching the response from the server. As such, the previous OpenSSL-based implementation for OCSP stapling is not usable with BoringSSL. Add a new implementation that uses BoringSSL to request and fetch the OCSP stapling response and then parse and validate this with the new implementation within wpa_supplicant. While this may not have identical behavior with the OpenSSL-based implementation, this should be a good starting point for being able to use OCSP stapling with BoringSSL. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: bdee6ca0e0fb66c472a6dacb1415898fc54b7f35 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ib2e1f191a7c6bbdaa6a962b2440958aaf71ab138 CRs-fixed: 960177
* OpenSSL: Reject OCSP-required configuration if no OCSP supportJouni Malinen2016-01-111-0/+10
| | | | | | | | | | | This is needed at least with BoringSSL to avoid accepting OCSP-required configuration with a TLS library that does not support OCSP stapling. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 355a5c8ec55434858ee9158298a2e984c2abde5c Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ia72ce79f16178de5cca1116ab9bca8fc9c9ef603 CRs-fixed: 960177
* Merge "P2P: Filter control chars in group client device name similarly to ↵Linux Build Service Account2016-01-053-11/+26
|\ | | | | | | peer" into wlan-service.lnx.1.0-dev.1.0