summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use standard getopt(3) error message.jlh2012-04-291-6/+1
| | | | | Submitted by: jilles Approved by: kib (mentor)
* Change cc -> bc : "bc" is "busy count", which is the % of time the channeladrian2012-04-281-3/+3
| | | | | | | | is considered "busy but not doing any active TX or frame RX." Just keep in mind that "frame RX" is "decoding what looks like a wifi signal", not necessarily "frame successfully decoded for this particular device."
* As cron(8) is started with '-s' by default, timezones that observegjb2012-04-281-4/+15
| | | | | | | | | | | | | DST should not need to worry about scheduling jobs when the DST time changes. Rather than removing the BUGS section in crontab(5) regarding this, note that disabling '-s' may still cause jobs to be executed twice or not at all. PR: 166318 Submitted by: Florian k Unglaub (f.unglaub%googlemail!com) MFC After: 1 week
* After thinking about this a bit more, let's not keep statistics per-channeladrian2012-04-285-9/+10
| | | | | | | | | | | | | | | in the HAL. That's very memory hungry (32k just for channel statistics) which would be better served by keeping a summary in the ANI state. Or, later, keep a survey history in net80211. So: * Migrate the ah_chansurvey array to be a single entry, for the current channel. * Change the ioctl interface and ANI code to just reference that. * Clear the ah_chansurvey array during channel reset, both in the AR5212 and AR5416 reset path.
* Fix small documentation mistakes.jlh2012-04-282-2/+2
| | | | | Submitted by: brueffer Approved by: kib (mentor)
* Import stdbuf(1) and the shared library it relies on.jlh2012-04-289-0/+463
| | | | | | | | | | | | | | This tool changes the default buffering behaviour of standard stdio streams. It only works on dynamic binaries. To make it work for static ones it would require cluttering stdio because there no single entry point. PR: 166660 Reviewed by: current@, jhb Approved by: kib (mentor) MFC after: 1 week
* As of r226840, GELI starts one thread per CPU.gjb2012-04-281-2/+1
| | | | | | PR: 167382 Submitted by: John W. O'Brien (john%saltant.com) X-Needs-MFC: r226840
* Fix several memory and lock leaks on the out of memory condition.kib2012-04-282-2/+22
| | | | | Reported by: Matt Miller <matt matthewjmiller net> MFC after: 1 week
* Although not strictly needed, quieten a compiler warning by a user.adrian2012-04-281-1/+1
|
* Whitespace changes.tuexen2012-04-281-3/+0
| | | | MFC after: 3 days
* Fix build on 32-bit systems.nwhitehorn2012-04-281-1/+1
|
* Move crypto stuff into a common Makefile. While here fix thebschmidt2012-04-283-93/+148
| | | | | | | | WITHOUT_OPENSSL build by using the wpa's internal crypto support if openssl is not available, this allows us to unconditionally enable EAP support. MFC after: 2 weeks
* not only the file names have changed from eap_xxx.c to eap_server_xxx.c,bschmidt2012-04-281-5/+5
| | | | | | the defines too MFC after: 2 weeks
* enable EAP_GTC and EAP_OTP to match upstream's default configurationbschmidt2012-04-281-9/+5
| | | | MFC after: 2 weeks
* Follow up r234711 and do same for the supplicant, one file/option perbschmidt2012-04-282-48/+92
| | | | | | line. While here merge the options which are always enabled. MFC after: 2 weeks
* Extend the ANI code to implement basic channel survey support.adrian2012-04-283-36/+73
| | | | | | | | | | | | | | | | | | | | | | | | * Always call ar5416GetListenTime() * Modify ar5416GetListenTime() to: + don't update the ANI state if there isn't any ANI state; + don't update the channel survey state if there's no active channel - just to be paranoid + copy the channel survey results into the current sample slot based on the current channel; then increment the sample counter and sample history counter. * Modify ar5416GetMIBCyclesPct() to simply return a HAL_SURVEY_SAMPLE, rather than a set of percentages. The ANI code wasn't using the percentages anyway. TODO: * Create a new function which fetches the survey results periodically * .. then modify the ANI code to use the pre-fetched values rather than fetching them again * Roll the 11n ext busy function from ar5416_misc.c to update all the counters, then do the result calculation * .. then, modify the MIB counter routine to correctly fetch a snapshot - freeze the counters, fetch the values, then reset the counters.
* Add a tool to print out min, average and max channel survey informationadrian2012-04-283-0/+233
| | | | | | | | from the current channel. There seem to be some occasional issues with the extension channel counters reporting more than 100% of use. I'll investigate that soon.
* Fetch the channel survey code from the HAL.adrian2012-04-282-0/+9
| | | | | This information is currently not being populated by any of the HAL modules.
* Extend the HAL channel survey statistics:adrian2012-04-281-0/+4
| | | | | * include ext_chan_busy; * include ofdm/cck phy error counts, which aren't yet implemented.
* Add a comment about this DELAY(), I'm not sure whether it's supposedadrian2012-04-281-0/+4
| | | | to be for a DDR/FIFO flush or something else.
* Add an AR5416 PCU DMA stop method, as a check for the AR9130 is needed.adrian2012-04-283-0/+36
| | | | | | | | | | | | The reference driver has a 3ms delay for the AR9130 but I'm not as yet sure why. From what I can gather, it's likely waiting for some FIFO flush to occur. At some point in the future it may be worthwhile adding a WMAC FIFO flush here, but that'd require some side-call through to the SoC DDR flush routines. Obtained from: Atheros
* Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd.obrien2012-04-286-309/+7
| | | | | | | | | | 1. The licensing terms for the MD2 routines from RFC is not under a BSD-like license. Instead it is only granted for non-commercial Internet Privacy-Enhanced Mail. 2. MD2 is quite deprecated as it is no longer considered a cryptographically strong algorithm. Discussed with: so (cperciva), core
* After switching mutexes to use lwsync, they no longer provide sufficientnwhitehorn2012-04-282-30/+19
| | | | | | | | guarantees on acquire for the tlbie mutex. Conversely, the TLB invalidation sequence provides guarantees that do not need to be redundantly applied on release. Roll a small custom lock that is just right. Simultaneously, convert the SLB tree changes back to lwsync, as changing them to sync was a misdiagnosis of the tlbie barrier problem this commit actually fixes.
* Fix the dates and history as of the move to HEAD.jamie2012-04-271-3/+3
|
* Increase DFLDSIZ from 128 MiB to 32 GiB. On amd64 there's plenty of virtualrmh2012-04-271-1/+1
| | | | | | memory available, so there is no need to be so conservative about it. Reviewed by: arch
* It was reported via email that some non-FreeBSD NFS serversrmacklem2012-04-271-1/+4
| | | | | | | | | | | | do not include file attributes in the reply to an NFS create RPC under certain circumstances. This resulted in a vnode of type VNON that was not usable. This patch adds an NFS getattr RPC to nfs_create() for this case, to fix the problem. It was tested by the person that reported the problem and confirmed to fix this case for their server. Tested by: Steven Haber (steven.haber at isilon.com) MFC after: 2 weeks
* Fix a leak of namei lookup path buffers that occurs when armacklem2012-04-271-0/+4
| | | | | | | | | | | ZFS volume is exported via the new NFS server. The leak occurred because the new NFS server code didn't handle the case where a file system sets the SAVENAME flag in its VOP_LOOKUP() and ZFS does this for the DELETE case. Tested by: Oliver Brandmueller (ob at gruft.de), hrs PR: kern/167266 MFC after: 1 month
* Allow building a powerpc cross-kgdb.marcel2012-04-271-0/+5
|
* Add a note to hostapd.conf about an unhelpful error message in the hope thattheraven2012-04-271-1/+2
| | | | | | it won't confuse anyone else in the future. MFC after: 1 week
* Remove unused structure.tuexen2012-04-271-7/+0
| | | | | | Reported by Irene Ruengeler. MFC after: 3 days
* r234173 missed one instance of FREE(line).des2012-04-271-1/+1
| | | | Noticed by: glebius@
* Style.hselasky2012-04-271-2/+3
| | | | Suggested by: dumbbell @
* Fix RAID5 level names changed at r234603.mav2012-04-275-6/+6
|
* Remove some of the redundant locking done in the TX completion path,adrian2012-04-261-9/+13
| | | | when checking whether BAR frames need to be checked.
* Fix ordering issue. 'make xdev' can fail with -jN because it tries to run theimp2012-04-261-2/+2
| | | | | | xdev-install step while xdev-build is still running. Submitted by: Ian Lepore
* Clean up the intr* MD KPI from the SMP dependency, removing a cause ofattilio2012-04-269-18/+31
| | | | | | | | | | | discrepancy between modules and kernel, but deal with SMP differences within the functions themselves. As an added bonus this also helps in terms of code readability. Requested by: gibbs Reviewed by: jhb, marius MFC after: 1 week
* Move sctp_sendv and sctp_recvv to FBSD_1.3 as suggested bytuexen2012-04-261-2/+5
| | | | | | | Konstantin Belousov. MFC after: 1 week. X-MFC with: r234715
* Export symbols for sctp_sendv() and sctp_recvv().tuexen2012-04-261-0/+2
| | | | MFC after: 1 week
* Use the .Bx macro instead of BSDeadler2012-04-261-1/+3
| | | | | | | Submitted by: ru Approved by: ru MFC after: 3 days X-MFC-With: r234700
* A new jail(8) with a configuration file, ultimately to replace the workjamie2012-04-2611-674/+4378
|\ | | | | | | | | | | currently done by /etc/rc.d/jail. MFC after: 3 months
| * Use the defvs_ruleset paramater when mounting a jail's /dev,jamie2012-02-274-22/+17
| | | | | | | | instead of a mount.devfs.ruleset pseudo-parameter.
| * From r224286:jamie2012-02-271-3/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document the potential for jail escape. From r224615: Always disable mount and unmount for jails with enforce_statfs==2. From r231267: A new jail(8) option "devfs_ruleset" defines the ruleset enforcement for mounting devfs inside jails. A value of -1 disables mounting devfs in jails, a value of zero means no restrictions. Nested jails can only have mounting devfs disabled or inherit parent's enforcement as jails are not allowed to view or manipulate devfs(8) rules. From r232059: To improve control over the use of mount(8) inside a jail(8), introduce a new jail parameter node with the following parameters: allow.mount.devfs: allow mounting the devfs filesystem inside a jail allow.mount.nullfs: allow mounting the nullfs filesystem inside a jail From r232186: allow.mount.zfs: allow mounting the zfs filesystem inside a jail
| * Improvements in error messages:jamie2012-02-084-18/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some errors printed the jail name for unnamed (command line) jails. Attempting to create an already-existing jail from the command line returned with no error (even for non-root) due to bad logic in start_state. Ignore kvm_proc errors, which are typically caused by permission problems. Instead, stop ignoring permission errors when removing a jail (but continue to silently ignore other errors, i.e. the jail no longer existing). This makes non-root attempts at removing a jail give a clearer error message.
| * Allow relative pathnames for jails generated on the command linejamie2012-02-071-1/+1
| | | | | | | | (but continue to flag when from a config file).
| * Better communicate the purpose of "-r *".jamie2012-01-311-2/+4
| |
| * Don't report errors for the exit status of processes that are killedjamie2011-07-061-6/+10
| | | | | | | | | | | | | | | | as part of jail removal (IP_STOP_TIMEOUT). Note a jail as "removed" even if it wasn't jail_remove() that did the deed, e.g. if it already went away because all its processes were killed.
| * Advance to the next command before running anything, so errors found injamie2011-06-222-48/+40
| | | | | | | | | | | | | | | | finish_command can be processed properly. Call failed() once in next_command() instead of multiple times in run_command(). Continue processing commands when a no-wait operation (IP__OP or background command) succeeds.
| * Fix a couple of NULL dereferences.jamie2011-06-211-4/+4
| |
| * Following r222465:jamie2011-06-205-64/+119
| | | | | | | | | | | | Check for IPv4 or IPv6 to be available by the kernel to not provoke errors trying to query options not available. Make it possible to compile out INET or INET6 only parts.
| * Linty stuff.jamie2011-06-202-3/+3
| |
OpenPOWER on IntegriCloud