Age | Commit message (Collapse) | Author |
|
Do not fold multiple DMA synchronizations into one when chaining TRBs
as the ring might wrap.
Add missing "READ" transfer direction from the HC to host when applicable.
From Marius Strobl.
|
|
gets set. Therefore, ahci_port_softreset() restores the sate of the
former register once the device detection sequence is finished. The
device detection code in ahci_pmp_port_portreset() does not restore
AHCI_PREG_CMD afterwards, so let it catch up. Apparently, this part
was an oversight as ahci_pmp_port_portreset() did not otherwise use
"cmd".
From Marius Strobl
tested by awolk (amd64), bluhm (amd64, i386), myself (amd64, armv7)
ok jmatthew@
|
|
slot. Thus, extend the check whether NCQ actually should be enabled
accordingly.
From Marius Strobl
tested by awolk (amd64), bluhm (amd64, i386), myself (amd64, armv7)
ok jmatthew@
|
|
recovery from the CCB pool sized based on the NCS capability, i. e.
number of command slots reported by the controller, it is necessary
to pretend at least 2 slots in sc->sc_ncmds for devices without NCQ
support. That way, also at least 1 available slot is made available
for atascsi(4). Otherwise, controllers having only a single command
slot will trigger "no free xfers on a new port" in atascsi(4).
Note that pretending 2 command slots is also fine with the abuse of
the NCQ error recovery CCB in ahci_port_softreset().
From Marius Strobl
tested by awolk (amd64), bluhm (amd64, i386), myself (amd64, armv7)
ok jmatthew@
|
|
does not say anything about which type (snoopable/uncached etc.) of
bus transactions are issued by HBAs on accesses to the descriptors.
Thus, the right assumption would be "classical" concurrent accesses
by both CPU/driver as well as hardware to the descriptors and their
DMA memory backings respectively, which is also confirmed by actual
testing. Consequently, switch to BUS_DMA_COHERENT mappings for said
DMA memory as otherwise corruption of descriptors is seen.
From Marius Strobl
tested by awolk (amd64), bluhm (amd64, i386), myself (amd64, armv7)
ok jmatthew@
|
|
controller. This register controls whether the controller is in device or
host mode on many dual role controllers and gets reset during a reset of
the controller, placing the controller in (non-functional) idle mode. By
saving and restoring it, we keep the controller in host mode. Since this is
a non-standard register, add a new EHCIF_USBMODE flag and only do the save and
restore if it has been set.
Makes the upper "OTG" port of the Cubox-i work.
ok mpi@, jsg@
|
|
encodings.
ok deraadt@, jca@
|
|
Fixes iwm connectivity issues after first boot.
Tested by myself (8260 chip) and tb@ (7265 chip)
ok tb@
|
|
these occurring recently.
|
|
already, but not all of them.
OK natano@
|
|
OK deraadt@
|
|
OK jca@, deraadt@
|
|
ok jca@, jcs@
|
|
|
|
ok jmatthew@, visa@
|
|
Per Packet Info is an NDIS meta information embedded in the RNDIS
message to communicate various offloading and scheduling operations
with the backend. Due to various versions of NDIS supported by
Hyper-V some of the offloading features may or may not be available.
This commit brings support for IP and protocol checksum offloading
as well as initial code for hardware VLAN tagging and jumbo frames
where supported.
|
|
|
|
|
|
|
|
|
|
|
|
Michael W. Bombardieri <mb at ii.net>. Thanks!
|
|
|
|
From Michael W. Bombardieri <mb at ii.net>, thanks!
|
|
from rob pierce
|
|
known and we rely on the bootpath to prime us anyways.
This also solves the issue raised by kettenis, of version potentially
being non-word aligned
ok kettenis djm
|
|
definition of an ieee80211_tu_to_usec() macro...
|
|
|
|
|
|
This sets hw.vendor to "OpenBSD" if running on vmm(4) because it
doesn't provide an SMBIOS.
OK mikeb@
|
|
This bit was only set in 11n mode previously.
ok sthen@
|
|
ok sthen@
|
|
This commit includes style fixes as well as actual bug fixes.
Remove the global in_assoc flag from the softc. We can just pass a fixed
argument to functions to indicate whether we're already associated.
Remove in_tfsid from the softc as well. It was implicitly set to zero
and never changed. A corresponding macro already exists so use it instead.
Always copy the BSSID into the mac context command, as the Linux driver does.
This helps the firmware during association.
Set the firmware state to 'associated' once we've moved to RUN state
and our assoc ID is known. Earlier versions of iwm used to set the
firmware to 'associated' but this was disabled in r1.91 since it
didn't work correctly due to bugs which are now fixed.
Use live DTIM information obtained from the AP, rather than using the
default DTIM period of our wireless stack.
Check return values of functions called after moving to RUN state.
ok sthen@
|
|
call the functions provided by the wireless stack to accept or
refuse BA agreements depending on the status returned by firmware.
ok sthen@
|
|
specified by the AP, rather than the default DTIM period of our wireless
stack (which is not applicable when running as a client anyway).
And tell the firmware to disable power-saving.
ok sthen@
|
|
rather than some fixed values present in this file since r1.1.
Allows the firmware to properly time its transmissions in 11n networks.
ok sthen@
|
|
Makes the firmware use appropriate Tx rates for ACKs.
|
|
From Yannick Gravel, ok phessler@
|
|
|
|
from Yannick Gravel, ok phessler@
|
|
size based on the device speed.
Tested by and ok jsg@, mlarkin@
|
|
Remove the unused struct iwm_powertable_cmd. Fix typos in comments.
Add macros for default power-save Tx/Rx timeout values (from iwlwifi).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from jsg@
|