1*03f9172cSAndroid Build Coastguard WorkerContributions to hostap.git 2*03f9172cSAndroid Build Coastguard Worker--------------------------- 3*03f9172cSAndroid Build Coastguard Worker 4*03f9172cSAndroid Build Coastguard WorkerThis software is distributed under a permissive open source license to 5*03f9172cSAndroid Build Coastguard Workerallow it to be used in any projects, whether open source or proprietary. 6*03f9172cSAndroid Build Coastguard WorkerContributions to the project are welcome and it is important to maintain 7*03f9172cSAndroid Build Coastguard Workerclear record of contributions and terms under which they are licensed. 8*03f9172cSAndroid Build Coastguard WorkerTo help with this, following procedure is used to allow acceptance and 9*03f9172cSAndroid Build Coastguard Workerrecording of the terms. 10*03f9172cSAndroid Build Coastguard Worker 11*03f9172cSAndroid Build Coastguard WorkerAll contributions are expected to be licensed under the modified BSD 12*03f9172cSAndroid Build Coastguard Workerlicense (see below). Acknowledgment of the terms is tracked through 13*03f9172cSAndroid Build Coastguard Workerinclusion of Signed-off-by tag in the contributions at the end of the 14*03f9172cSAndroid Build Coastguard Workercommit log message. This tag indicates that the contributor agrees with 15*03f9172cSAndroid Build Coastguard Workerthe Developer Certificate of Origin (DCO) version 1.1 terms (see below; 16*03f9172cSAndroid Build Coastguard Workeralso available from http://developercertificate.org/). 17*03f9172cSAndroid Build Coastguard Worker 18*03f9172cSAndroid Build Coastguard Worker 19*03f9172cSAndroid Build Coastguard WorkerThe current requirements for contributions to hostap.git 20*03f9172cSAndroid Build Coastguard Worker-------------------------------------------------------- 21*03f9172cSAndroid Build Coastguard Worker 22*03f9172cSAndroid Build Coastguard WorkerTo indicate your acceptance of Developer's Certificate of Origin 1.1 23*03f9172cSAndroid Build Coastguard Workerterms, please add the following line to the end of the commit message 24*03f9172cSAndroid Build Coastguard Workerfor each contribution you make to the project: 25*03f9172cSAndroid Build Coastguard Worker 26*03f9172cSAndroid Build Coastguard WorkerSigned-off-by: Your Name <[email protected]> 27*03f9172cSAndroid Build Coastguard Worker 28*03f9172cSAndroid Build Coastguard Workerusing your real name. Pseudonyms or anonymous contributions cannot 29*03f9172cSAndroid Build Coastguard Workerunfortunately be accepted. 30*03f9172cSAndroid Build Coastguard Worker 31*03f9172cSAndroid Build Coastguard Worker 32*03f9172cSAndroid Build Coastguard WorkerThe preferred method of submitting the contribution to the project is by 33*03f9172cSAndroid Build Coastguard Workeremail to the hostap mailing list: 34*03f9172cSAndroid Build Coastguard Worker[email protected] 35*03f9172cSAndroid Build Coastguard WorkerNote that the list may require subscription before accepting message 36*03f9172cSAndroid Build Coastguard Workerwithout moderation. You can subscribe to the list at this address: 37*03f9172cSAndroid Build Coastguard Workerhttp://lists.infradead.org/mailman/listinfo/hostap 38*03f9172cSAndroid Build Coastguard Worker 39*03f9172cSAndroid Build Coastguard WorkerThe message should contain an inlined patch against the current 40*03f9172cSAndroid Build Coastguard Workerdevelopment branch (i.e., the main branch of 41*03f9172cSAndroid Build Coastguard Workergit://w1.fi/hostap.git). Please make sure the software you use for 42*03f9172cSAndroid Build Coastguard Workersending the patch does not corrupt whitespace. If that cannot be fixed 43*03f9172cSAndroid Build Coastguard Workerfor some reason, it is better to include an attached version of the 44*03f9172cSAndroid Build Coastguard Workerpatch file than just send a whitespace damaged version in the message 45*03f9172cSAndroid Build Coastguard Workerbody. 46*03f9172cSAndroid Build Coastguard Worker 47*03f9172cSAndroid Build Coastguard WorkerThe patches should be separate logical changes rather than doing 48*03f9172cSAndroid Build Coastguard Workereverything in a single patch. In other words, please keep cleanup, new 49*03f9172cSAndroid Build Coastguard Workerfeatures, and bug fixes all in their own patches. Each patch needs a 50*03f9172cSAndroid Build Coastguard Workercommit log that describes the changes (what the changes fix, what 51*03f9172cSAndroid Build Coastguard Workerfunctionality is added, why the changes are useful, etc.). 52*03f9172cSAndroid Build Coastguard Worker 53*03f9172cSAndroid Build Coastguard WorkerPlease try to follow the coding style used in the project. 54*03f9172cSAndroid Build Coastguard Worker 55*03f9172cSAndroid Build Coastguard WorkerIn general, the best way of generating a suitable formatted patch file 56*03f9172cSAndroid Build Coastguard Workeris by committing the changes to a cloned git repository and using git 57*03f9172cSAndroid Build Coastguard Workerformat-patch. The patch can then be sent, e.g., with git send-email. 58*03f9172cSAndroid Build Coastguard Worker 59*03f9172cSAndroid Build Coastguard Worker 60*03f9172cSAndroid Build Coastguard WorkerHistory of license and contributions terms 61*03f9172cSAndroid Build Coastguard Worker------------------------------------------ 62*03f9172cSAndroid Build Coastguard Worker 63*03f9172cSAndroid Build Coastguard WorkerUntil February 11, 2012, in case of most files in hostap.git, "under the 64*03f9172cSAndroid Build Coastguard Workeropen source license indicated in the file" means that the contribution 65*03f9172cSAndroid Build Coastguard Workeris licensed both under GPL v2 and modified BSD license (see below) and 66*03f9172cSAndroid Build Coastguard Workerthe choice between these licenses is given to anyone who redistributes 67*03f9172cSAndroid Build Coastguard Workeror uses the software. As such, the contribution has to be licensed under 68*03f9172cSAndroid Build Coastguard Workerboth options to allow this choice. 69*03f9172cSAndroid Build Coastguard Worker 70*03f9172cSAndroid Build Coastguard WorkerAs of February 11, 2012, the project has chosen to use only the BSD 71*03f9172cSAndroid Build Coastguard Workerlicense option for future distribution. As such, the GPL v2 license 72*03f9172cSAndroid Build Coastguard Workeroption is no longer used and the contributions are not required to be 73*03f9172cSAndroid Build Coastguard Workerlicensed until GPL v2. In case of most files in hostap.git, "under the 74*03f9172cSAndroid Build Coastguard Workeropen source license indicated in the file" means that the contribution 75*03f9172cSAndroid Build Coastguard Workeris licensed under the modified BSD license (see below). 76*03f9172cSAndroid Build Coastguard Worker 77*03f9172cSAndroid Build Coastguard WorkerUntil February 13, 2014, the project used an extended version of the DCO 78*03f9172cSAndroid Build Coastguard Workerthat included the identical items (a) through (d) from DCO 1.1 and an 79*03f9172cSAndroid Build Coastguard Workeradditional item (e): 80*03f9172cSAndroid Build Coastguard Worker 81*03f9172cSAndroid Build Coastguard Worker(e) The contribution can be licensed under the modified BSD license 82*03f9172cSAndroid Build Coastguard Worker as shown below even in case of files that are currently licensed 83*03f9172cSAndroid Build Coastguard Worker under other terms. 84*03f9172cSAndroid Build Coastguard Worker 85*03f9172cSAndroid Build Coastguard WorkerThis was used during the period when some of the files included the old 86*03f9172cSAndroid Build Coastguard Workerlicense terms. Acceptance of this extended DCO version was indicated 87*03f9172cSAndroid Build Coastguard Workerwith a Signed-hostap tag in the commit message. This additional item (e) 88*03f9172cSAndroid Build Coastguard Workerwas used to collect explicit approval to license the contribution with 89*03f9172cSAndroid Build Coastguard Workeronly the modified BSD license (see below), i.e., without the GPL v2 90*03f9172cSAndroid Build Coastguard Workeroption. This was done to allow simpler licensing terms to be used in the 91*03f9172cSAndroid Build Coastguard Workerfuture. It should be noted that the modified BSD license is compatible 92*03f9172cSAndroid Build Coastguard Workerwith GNU GPL and as such, this possible move to simpler licensing option 93*03f9172cSAndroid Build Coastguard Workerdoes not prevent use of this software in GPL projects. 94*03f9172cSAndroid Build Coastguard Worker 95*03f9172cSAndroid Build Coastguard Worker 96*03f9172cSAndroid Build Coastguard Worker===[ start quote from http://developercertificate.org/ ]======================= 97*03f9172cSAndroid Build Coastguard Worker 98*03f9172cSAndroid Build Coastguard WorkerDeveloper Certificate of Origin 99*03f9172cSAndroid Build Coastguard WorkerVersion 1.1 100*03f9172cSAndroid Build Coastguard Worker 101*03f9172cSAndroid Build Coastguard WorkerCopyright (C) 2004, 2006 The Linux Foundation and its contributors. 102*03f9172cSAndroid Build Coastguard Worker660 York Street, Suite 102, 103*03f9172cSAndroid Build Coastguard WorkerSan Francisco, CA 94110 USA 104*03f9172cSAndroid Build Coastguard Worker 105*03f9172cSAndroid Build Coastguard WorkerEveryone is permitted to copy and distribute verbatim copies of this 106*03f9172cSAndroid Build Coastguard Workerlicense document, but changing it is not allowed. 107*03f9172cSAndroid Build Coastguard Worker 108*03f9172cSAndroid Build Coastguard Worker 109*03f9172cSAndroid Build Coastguard WorkerDeveloper's Certificate of Origin 1.1 110*03f9172cSAndroid Build Coastguard Worker 111*03f9172cSAndroid Build Coastguard WorkerBy making a contribution to this project, I certify that: 112*03f9172cSAndroid Build Coastguard Worker 113*03f9172cSAndroid Build Coastguard Worker(a) The contribution was created in whole or in part by me and I 114*03f9172cSAndroid Build Coastguard Worker have the right to submit it under the open source license 115*03f9172cSAndroid Build Coastguard Worker indicated in the file; or 116*03f9172cSAndroid Build Coastguard Worker 117*03f9172cSAndroid Build Coastguard Worker(b) The contribution is based upon previous work that, to the best 118*03f9172cSAndroid Build Coastguard Worker of my knowledge, is covered under an appropriate open source 119*03f9172cSAndroid Build Coastguard Worker license and I have the right under that license to submit that 120*03f9172cSAndroid Build Coastguard Worker work with modifications, whether created in whole or in part 121*03f9172cSAndroid Build Coastguard Worker by me, under the same open source license (unless I am 122*03f9172cSAndroid Build Coastguard Worker permitted to submit under a different license), as indicated 123*03f9172cSAndroid Build Coastguard Worker in the file; or 124*03f9172cSAndroid Build Coastguard Worker 125*03f9172cSAndroid Build Coastguard Worker(c) The contribution was provided directly to me by some other 126*03f9172cSAndroid Build Coastguard Worker person who certified (a), (b) or (c) and I have not modified 127*03f9172cSAndroid Build Coastguard Worker it. 128*03f9172cSAndroid Build Coastguard Worker 129*03f9172cSAndroid Build Coastguard Worker(d) I understand and agree that this project and the contribution 130*03f9172cSAndroid Build Coastguard Worker are public and that a record of the contribution (including all 131*03f9172cSAndroid Build Coastguard Worker personal information I submit with it, including my sign-off) is 132*03f9172cSAndroid Build Coastguard Worker maintained indefinitely and may be redistributed consistent with 133*03f9172cSAndroid Build Coastguard Worker this project or the open source license(s) involved. 134*03f9172cSAndroid Build Coastguard Worker 135*03f9172cSAndroid Build Coastguard Worker===[ end quote from http://developercertificate.org/ ]========================= 136*03f9172cSAndroid Build Coastguard Worker 137*03f9172cSAndroid Build Coastguard Worker 138*03f9172cSAndroid Build Coastguard WorkerThe license terms used for hostap.git files 139*03f9172cSAndroid Build Coastguard Worker------------------------------------------- 140*03f9172cSAndroid Build Coastguard Worker 141*03f9172cSAndroid Build Coastguard WorkerModified BSD license (no advertisement clause): 142*03f9172cSAndroid Build Coastguard Worker 143*03f9172cSAndroid Build Coastguard WorkerCopyright (c) 2002-2022, Jouni Malinen <[email protected]> and contributors 144*03f9172cSAndroid Build Coastguard WorkerAll Rights Reserved. 145*03f9172cSAndroid Build Coastguard Worker 146*03f9172cSAndroid Build Coastguard WorkerRedistribution and use in source and binary forms, with or without 147*03f9172cSAndroid Build Coastguard Workermodification, are permitted provided that the following conditions are 148*03f9172cSAndroid Build Coastguard Workermet: 149*03f9172cSAndroid Build Coastguard Worker 150*03f9172cSAndroid Build Coastguard Worker1. Redistributions of source code must retain the above copyright 151*03f9172cSAndroid Build Coastguard Worker notice, this list of conditions and the following disclaimer. 152*03f9172cSAndroid Build Coastguard Worker 153*03f9172cSAndroid Build Coastguard Worker2. Redistributions in binary form must reproduce the above copyright 154*03f9172cSAndroid Build Coastguard Worker notice, this list of conditions and the following disclaimer in the 155*03f9172cSAndroid Build Coastguard Worker documentation and/or other materials provided with the distribution. 156*03f9172cSAndroid Build Coastguard Worker 157*03f9172cSAndroid Build Coastguard Worker3. Neither the name(s) of the above-listed copyright holder(s) nor the 158*03f9172cSAndroid Build Coastguard Worker names of its contributors may be used to endorse or promote products 159*03f9172cSAndroid Build Coastguard Worker derived from this software without specific prior written permission. 160*03f9172cSAndroid Build Coastguard Worker 161*03f9172cSAndroid Build Coastguard WorkerTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 162*03f9172cSAndroid Build Coastguard Worker"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 163*03f9172cSAndroid Build Coastguard WorkerLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 164*03f9172cSAndroid Build Coastguard WorkerA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 165*03f9172cSAndroid Build Coastguard WorkerOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 166*03f9172cSAndroid Build Coastguard WorkerSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 167*03f9172cSAndroid Build Coastguard WorkerLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 168*03f9172cSAndroid Build Coastguard WorkerDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 169*03f9172cSAndroid Build Coastguard WorkerTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 170*03f9172cSAndroid Build Coastguard Worker(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 171*03f9172cSAndroid Build Coastguard WorkerOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 172