Age | Commit message (Collapse) | Author |
|
information. This is preliminary work to help eventually supporting the
dual-head ELK model.
Also split the initialization code in several routines, this makes the
code easier to read, and makes it easier to release resources upon failure.
Finally, don't forget to clear the text planes on non-console displays
when initializing.
|
|
with only one font (such as many 712 onboard graphics). Oops again (poukram).
|
|
that may confuse gcc with a simple boolean expression.
ok reyk@
|
|
resulting in unaligned IP headers (because it aligns the ethernet header).
Found the hard way by landry@ on sparc64.
|
|
switching consoles or when X11 exits. Almost all other operating systems
do this, and thus do not suffer from palette bugs in some X11 drivers.
From FreeBSD.
|
|
|
|
it's a can't happen situation.
|
|
From Jim Giannoules <gortag@gmail.com>
|
|
display resolution, and if one is found, pick the built-in font it points
to, instead of the first font from the list. If the index is wrong and the
font list is shorter, revert to the previous behaviour of using the first
ROM font.
This fixes the font discrepency on my B132L (INTERNAL_EG_1280) where PDC
would use the 10x20 font, which is third in the list, and OpenBSD would
use the 8x16 font instead.
Tested on byte- and word- roms, gsc and pci cards.
|
|
to prevent the hwm growing beyond that. this allows the livelock mitigation
to do something where the hwm used to grow beyond twice the rx rings size.
ok kettenis@ claudio@
|
|
with other net80211 flags (we no longer need to shift.)
|
|
- implement A-MPDU frames buffering and reordering
- implement A-MSDU decapsulation
- process/send ADDBA Request, ADDBA Response and DELBA action frames
- process Block Ack Request control frames (including MTBAR)
- implement PBAC support (Protected Block Ack)
- add some incomplete HT Capabilities and HT Operation IEs parsing
Add more Management Frame Protection bits based on 802.11w Draft 7.0:
- implement SA Query procedure (both AP and STA)
- cleanup BIP
Fix some bugs:
- fix check for WEP key length that otherwise caused a stack smash in
ieee80211_wep_encrypt (pointed out by Xavier Santolaria on macppc)
- properly stop EAPOL timeout: fixes a panic that occured in HostAP mode
when turning the interface down while a 4-way handshake is in progress
(pointed out by Doughertys)
Did some code cleanup too.
The HT bits are currently not compiled in (IEEE80211_NO_HT is defined)
because they won't be ready until after the next release and I didn't
want to grow the kernel or to inadvertently introduce new bugs.
They are here such that other people can look at the code.
Notice that I had to add an extra parameter to ic_send_mgmt() for
action frames, that is why there are small changes in drivers defining
their own ic_send_mgmt() handler.
Sorry for the not very incremental diff but this has been sitting in
my tree for too long now.
|
|
No functional changes.
ok krw@ miod@
|
|
data buffer.
|
|
to issue a command.
|
|
ok niklas@ otto@
|
|
conversions.
ok kettenis@
ok krw@ (possibly for the second time :)
|
|
|
|
anywhere speed critical and the libkern one is perfectly fine.
|
|
instead of an EEPROM.)
- fix default LEDs and RF settings (when info is missing from EEPROM.)
- gracefully stop Tx in run_stop().
|
|
filled and that the IEEE80211_RADIOTAP_F_SHORTPRE flag is set properly.
- fix set_chan() for RT3070.
- add some crazy BBP/RF registers tweaks for RT3070 (mostly HW bugs
workarounds extrapolated from the Ralink Linux driver.)
|
|
|
|
add some definitions for RT2870/RT3070.
|
|
|
|
m_defrag() does not work. It seems to assume that if the length of
the mbuf passed as parameter is less than MHLEN, then it is an mbuf
header and not a cluster (or something like that.)
It thus fails miserably in the bcopy path.
I don't have the time to investigate further into this.
Thanks to Okan Demirmen for reporting the issue on a ral(4) RT2560.
The RT2560 chipset does not support TX scatter and thus m_defrag()
was called much more often than in other drivers using m_defrag()
where it was less noticeable.
|
|
bit to know when to stop.
|
|
help from dlg@, tested by a few, ok dlg@
|
|
Some micro-optimizations while I'm here.
|
|
- update ic_dtim_count and make use of the new ieee80211_notify_dtim function.
- add explicit barriers.
- cleanup as usual.
|
|
clean up the ctl_ridx mess.
|
|
*after* resetting the hardware. otherwise the tables contain garbage.
should fix most of the weird issues people were facing.
scary.
|
|
|
|
logged by some WPA supplicants when connecting to a ral(4) WPA AP.)
- get rid of the ugly ack_rate, rate2mcs functions (pre-compute ACKs
duration for all rates at node association time.)
- lot of clean up, prepare for future enhancements
|
|
the full mbuf chain is freed.
ok claudio@ kettenis@
|
|
|
|
licenses as well. Thanks!
"Groovy" deraadt
|
|
from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by..
RAMDISK - 2176 bytes
RAMDISKB - 1504 bytes
RAMDISKC - 736 bytes
Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users.
Build tested on almost all archs by todd@/brad@
ok naddy@
|
|
We can now just push unwanted ones back up into the SCSI layer
with NO_CCB like other drivers.
"Please do so" deraadt@
|
|
ok dlg@
|
|
it is very confusing like this.
ok deraadt@ canacar@
|
|
We can now just push unwanted ones back up into the SCSI layer
with NO_CCB like other drivers.
|
|
We can now just push unwanted ones back up into the SCSI layer
with NO_CCB like other drivers.
|
|
use m_defrag to linearize packets that don't fit in 16 segments.
ok claudio@
|
|
|
|
|
|
|
|
"I'm all for it." marco@ "Yeah" deraadt@
|
|
|
|
ok dlg
|
|
|