summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-12-14In AMRR debug printfs, show ni_txmcs instead of ni_txrate for HT nodes.Stefan Sperling
2015-12-14Add initial 802.11n support to the iwm(4) driver.Stefan Sperling
Adds support for HT MCS 0-7 (theoretical limit 65 Mbit/s) and the reception of A-MSDU and A-MPDU aggregated frames. None of the optional 11n features are supported for now. MIMO, 40Mhz channels, short guard interval, etc. are left for future work. And we're not sending A-MSDU or A-MPDU frames yet either. Tested with various 11a/b/g/n access points. With some APs I'm seeing a noticable increase in throughput, especially on 5Ghz. Also, fix automatic rate selection by using the current Tx rate selected by AMRR as the upper bound for the firmware's rate table and updating the firmware's table whenever AMRR switches Tx rate, rather than setting the table just once after association and ignoring AMRR updates. ok mpi@ krw@ (earlier version), ok jasper@
2015-12-14Support only one vcpu for now, until we implement SMP support.Mike Larkin
2015-12-14track used memory in each VM. This is passed back to vmctl status.Mike Larkin
ok reyk@, beck@, mpi@
2015-12-14s/begining/beginning/gmmcc
2015-12-14"harware" -> "hardware"mmcc
2015-12-13Hook up the ThinkLight to the keyboard backlight support code.Mark Kettenis
For now this only supports the true ThinkLight. Support for the keyboard backlight found on the most recent ThinkPads will follow soon. ok jung@
2015-12-13Sort button defines.Mark Kettenis
2015-12-12Add OpenBSD Id.Reyk Floeter
2015-12-12Add OpenBSD CVS/RCS Ids.Reyk Floeter
mikeb@ doesn't like the Ids, "somebody else has to add them".
2015-12-12comment typommcc
2015-12-12Adjust IPI numbers to get the interrupts working. Bits 5 and 6 do notVisa Hankala
seem to trigger an IPI. According to IP27 headers in Linux, those have a special meaning in hardware.
2015-12-12In the A-MSDU receive code path, add an upper bounds check on A-MSDUStefan Sperling
subframe length and a clean exit at the bottom of the subframe loop. ok mpi@
2015-12-12x2APIC is currently enabled on HV guests only, not on bare metal, toReyk Floeter
speedup interrupt handling on virtual machines. Unfortunately it is broken on Xen 4.2 or older, so use the early pvbus detection to drop the advertised x2APIC CPU feature. Xen has fixed this in late 2013, but the problem still shows up in "the Cloud" (it doesn't seem to affect others as they either use legacy APIC or Xen IPIs). OK mlarkin@ mikeb@ Cvs: ----------------------------------------------------------------------
2015-12-12enable keyboard backlight support via wskbd(4) hooksJoerg Jung
tested by Bryan Vyhmeister, krw, tb, and myself ok krw tb
2015-12-12Identify hypervisors before configuring other children of the mainbusReyk Floeter
(bios, CPU, interrupt handlers, pvbus). This splits the pvbus attach function into two parts: pvbus_identify() to scan the CPUID registers for supported hypervisors and pvbus_attach() to attach the bus, print information, and configure the children. This will be needed for Xen and KVM, as discussed with mikeb@ and sf@ OK mlarkin@
2015-12-12add new ioctls to control keyboard backlightsJoerg Jung
tested by Bryan Vyhmeister, krw, tb, and myself ok jcs krw tb
2015-12-12Flag AP as QoS capable when EDCA or WME information elements occur in beaconsStefan Sperling
or probe responses. Makes 11n negotiation with Linux iwlwifi AP succeed. ok mpi@
2015-12-1211n/HT negotiation fixes:Stefan Sperling
Some APs will not negotiate HT if the vendor-specific WME info element is missing in probe and association requests, so add one. Fix the wrong flag (NODE_HT) being checked to determine whether 11n related elements should be included in management frames. If 11n mode is enabled (F_HTON flag) we can always include 11n related elements in management frames. ok mpi@
2015-12-12Finish support for receiving 11n A-MPDUs.Stefan Sperling
The initial implementation was added by damien@ years ago. Summary of the changes made in this commit: - In ieee80211_input(), process A-MPDUs before duplicate detection. - Don't forget to set ba->ba_ni in ieee80211_recv_addba_req() so we don't crash in ieee80211_rx_ba_timeout(). - In ieee80211_recv_addba_req(), tweak the logic to deny BlockAck requests if the driver has no callback for doing so. - Implement ieee80211_ba_del() which cleans up BlockAck state. - Increase the minimum and maximum lifetime for BlockAck agrements. ok mpi@
2015-12-11fix nde structure initialization, noticed in netbsd pr 50381 by mmcc@Bob Beck
by ensuring the structure is zeroed when allocated from the pool ok mmcc@, stsp@
2015-12-11remove wrapper function and call LKSB key write directlyJoerg Jung
2015-12-11comment typommcc
2015-12-11remove no longer needed prototypeJoerg Jung
2015-12-11instead of checking the status everywhere do it directly after (trying) theJoerg Jung
command and propagate the result
2015-12-11Replace mountroothook_establish(9) by config_mountroot(9) a narrower APIMartin Pieuchot
similar to config_defer(9). ok mikeb@, deraadt@
2015-12-11Remove xs_resume for now; pointed out by mlarkin@Mike Belopuhov
2015-12-11Let xs_getprop decide itself whether it's OK to sleep or notMike Belopuhov
2015-12-11Work around Nvidia EHCI controllers bugs.Martin Pieuchot
Do not set the "Port Number", "Hub Address" and "Split Completion Mask" fields in Isochronous Queue Heads for high-speed devices. These fields should be ignored by the host controller unless the EPS field indicates a full- or low-speed device, but that's not the case with Nvidia controllers. From NetBSD via miod@
2015-12-11implement kqfilter. copied from tmpfs (which I copied from ufs).Ted Unangst
hint about kqueue from jsg after a crashing httpd report from sevan
2015-12-11Do not pass a NULL ifp pointer to rtdeletemsg().Martin Pieuchot
ok visa@
2015-12-10Remove plain DES from the kernel crypto framework, including the cryptoChristian Weisgerber
accelerator drivers. No longer used by anything. ok sthen@ mikeb@
2015-12-10Remove remaining Solbourne code.mmcc
ok deraadt@
2015-12-10comment typommcc
2015-12-10a couple comment typosmmcc
2015-12-10mark bnx_start as mpsafe.David Gwynne
tweak it to use ifq_restart so ifq_clr_oactive is serialised with start. ok jmatthew@
2015-12-10write down some stuff before it falls out of my head.David Gwynne
2015-12-09Remove plain DES encryption from IPsec.Christian Weisgerber
DES is insecure since brute force attacks are practical due to its short key length. This removes support for DES-CBC encryption in ESP and in IKE main and quick mode from the kernel, isakmpd(8), ipsecctl(8), and iked(8). ok mikeb@
2015-12-09Correct the response string lengthMike Belopuhov
Apparently length values returned by XenStore depend on which operation has been requested: for instance XS_READ will always return an strlen() result without accounting for the trailing NUL character, however XS_LIST will return length that includes it. While staying within our data buffer limit (xsm_dlen) we can readjust the length of the resulting string accordingly.
2015-12-09Keep all ether prototypes in one place.Martin Pieuchot
2015-12-09No need to check if size = az->pstream.buffer.size is zero, asAlexandre Ratchov
this is handled in audio(4) layer. From Alexey Suslikov <alexey.suslikov at gmail.com>
2015-12-09Implement a function to fetch device propertiesMike Belopuhov
2015-12-09Store the backend node in the attach argument structureMike Belopuhov
2015-12-09cfdriver can't be const...Mike Belopuhov
2015-12-09rework ifq_serialise to avoid some atomic ops.David Gwynne
now both the list of work and the flag saying if something is running the list are protected by a single mutex. it cuts the number of interlocked ops for an uncontended run of the queue from 5 down to 2. jmatthew likes it.
2015-12-09Always pass a valid interface pointer to rtdeletemsg().Martin Pieuchot
This will allows for stricter checks inside rtdeletemsg() and it should be up to the caller to decide if the route needs to be deleted or not. ok vgross@
2015-12-09cleanup macbook air iso keyboard supportJoerg Jung
also some KNF and whitespace cleanup while here initial diff from William Orr with some tweaks by me ok jcs mpi
2015-12-09Do not trigger a KASSERT() if the route we're trying to remove does notMartin Pieuchot
exist and we get another matching one instead. This bug has been here since the KAME area and recently exposed by a refactoring at n2k15. The problem is that rtrequest(9) does not check on which interface the route entry is attached when issuing a RTM_DELETE. So the kernel would end up deleting the route attached on a different ifp when in_ifinit() fails. This fix is currently a workaround, a better fix is in the pipeline. Reported by Laurence Tratt <laurie AT tratt DOT net>, thanks!
2015-12-09Do not trigger a KASSERT() when destroying/detaching an interface withMartin Pieuchot
RTF_CLONED routes attached. In thise case if_get(9) can return NULL inside rtflushclone1() because ifdetach() starts by clearing the interface pointer in the index map. So it is perfectly correct to bail and we're not going to leak any route entry because we're garbage collecting all of them. Reported by daniel@ and Aaron Miller <aaron DOT miller04 AT gmail DOT com>
2015-12-09Backport some commits from mainline linux to enable High Bit Rate 2Jonathan Gray
(HBR2) for Broadwell and non-ULX Haswell DisplayPort. This enables support for 3840x2160 60Hz SST. Initial patch from and tested by Scot Doyle. drm/i915: Enable 5.4Ghz (HBR2) link rate for Displayport 1.2-capable devices from Todd Previte 06ea66b6bb445043dc25a9626254d5c130093199 drm/i915: don't try DP_LINK_BW_5_4 on HSW ULX from Paulo Zanoni 9bbfd20abe5025adbb0ac75160bd2e41158a9e83 drm/i915/dp: add missing \n in the TPS3 debug message from Jani Nikula f8d8a672f9370278ae2c9752ad3021662dbc42fd drm/i915/dp: only use training pattern 3 on platforms that support it from Jani Nikula 7809a61176b385ebb3299ea43c58b1bb31ffb8c0