Age | Commit message (Collapse) | Author |
|
|
|
usage of BITS(). There is a binary change due to the way these
macros are further used in the MASK_AND_RSHIFT specifically
for ATW_SR_RFTYPE_MASK and ATW_SR_BBPTYPE_MASK.
|
|
these cases the xxstop function is a bit more complicated and has a flag of
some sort, but the use of that flag does not matter; DMA is already ceased
ok dlg
|
|
than standards permit
found & ok by jsg
|
|
No functional changes.
ok krw@ miod@
|
|
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@
|
|
NetBSD code.
|
|
"The driver lets you change to Host AP mode, but it does not work
and it probably never will."
so just remove the HOSTAP capability bit in the code and remove this
sentence.
|
|
remove IBSS and HostAP support from net80211 and 802.11 drivers.
it can be used to shrink RAMDISK kernels for instance (like what
was done for wi(4)).
it also has the benefit of highlighting what is specific to IBSS
and HostAP modes in the code.
the cost is that we now have two code paths to maintain.
|
|
pass a pointer to an ieee80211_rxinfo structure containing those two
fields plus an extra flags field that indicates whether the frame was
decrypted by hardware or not.
required for a future fix.
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
ok dlg@
|
|
handshake protocols (both supplicant and authenticator state
machines) as defined in the IEEE 802.11i standard.
Software implementation of the TKIP (Temporal Key Integrity
Protocol) and CCMP (CTR with CBC-MAC Protocol) protocols.
This diff doesn't implement any of the 802.1X authentication
protocols and thus only PSK authentication (using pre-shared
keys) is currently supported.
In concrete terms, this adds support for WPA-PSK and WPA2-PSK
protocols, both in station and hostap modes.
The following drivers are marked as WPA-capable and should
work: bwi(4), malo(4), ral(4), iwn(4), wpi(4), ural(4),
rum(4), upgt(4), and zyd(4)
The following options have been added to ifconfig(8):
wpa, wpapsk, wpaprotos, wpaakms, wpaciphers, wpagroupcipher
wpa-psk(8) can be used to generate keys from passphrases.
tested by many@
ok deraadt@
|
|
ieee80211_input() already does this.
Mentioned by Peter Philipp in PR 5248.
ok claudio@ mglocker@
|
|
|
|
|
|
functions into the two drivers that use them (atw and rtw.)
this code is not generic enough to be used by other drivers and
there is no chance that it will ever be used in newer driver since
it supports 802.11b only.
plus, it hurts my eyes each time i look into ieee80211_output.c.
"fine with me as long as the logic doesn't change in the functions" jsg@
|
|
|
|
|
|
See similar rum(4) commit for more info. OK mglocker@
|
|
|
|
as per other drivers instead of doing panics.
Should workaround PR 5206 which I could never manage
to reproduce, though we really shouldn't be getting
IEEE80211_CHAN_ANY here.
ok deraadt@
|
|
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP;
this very popular bug has been cut and pasted a lot of times...
ok deraadt@ mickey@
|
|
often rely on the detach routine for cleanup. So be consistant and
careful by checking for a NULL hook before calling *hook_disestablish
in detach routines.
ok mickey@ brad@ dlg@
|
|
outbound), using a new BIOCSDIRFILT ioctl;
guidance, feedback and ok canacar@
|
|
|
|
did in NetBSD. Fixes WEP on aanriot@'s ADM8211A.
ok deraadt@
|
|
From a change to NetBSD by David Young.
Tested by aanriot@ on ADM8211A and me on ADM8211B.
|
|
From thorpej NetBSD
ok jsg@
|
|
activity at DS11 speeds. Check for this in the watchdog
using seemingly undocumented bits of the TEST1 register
used in Linux driver and restart if a stall is detected.
|
|
Based on changes made by David Young to NetBSD.
|
|
is the final piece required to make ADM8211B based devices work.
Based around what the Linux driver does.
ok reyk@
|
|
"802.11 address" when printing MAC address.
|
|
ok reyk@
|
|
during normal operation.
deraadt@ ok
|
|
|
|
|
|
|
|
in order for the enable to work disable the socket on suspend.
lot of help from mickey@
ok jsg@ millert@
|
|
|
|
---
Make the node table into an LRU cache: least-recently used nodes
are at the end of the node queue. Change the reference-counting
discipline: ni->ni_refcnt indicates how many times net80211 has
granted ni to the driver. Every node in the table with ni_refcnt=0
is eligible to be garbage-collected. The mere presence of a node
in the table does not any longer indicate its auth/assoc state;
nodes have a ni_state variable, now.
While I am here, patch ieee80211_find_node_for_beacon to do a "best
match" by bssid/ssid/channel, not a "perfect match." This keeps
net80211 from caching duplicate nodes in the table.
---
ok deraadt@ dlg@, looks good jsg@
|
|
From NetBSD
NetBSD PR 27678 for details
ok mcbride@
|
|
depend on atw at pci. ok millert@
|
|
are known: ADM8211A (1.1/1.5), ADM8211B (2.0), ADM8211C (3.0). The B and
C parts, while not yet supported, have AP capability. From NetBSD (dyoung).
|
|
|
|
numbers. From NetBSD (dyoung)
|
|
of the DIVCTL/RSSI register on the RF3000 baseband. Mask all but
the RSSI bits. From NetBSD (dyoung).
|
|
timeout is still active as seen by david@
|
|
|
|
to even offsets in the ADM8211 SRAM. From NetBSD (dyoung).
|