Age | Commit message (Collapse) | Author |
|
|
|
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).
|
|
reference driver. From NetBSD (dyoung).
|
|
From NetBSD (dyoung).
|
|
|
|
Totally revamp the way that the synthesizer and baseband are programmed.
From NetBSD (dyoung). Also remove trailing whitespace from lines (me).
|
|
|
|
|
|
Borrowing an idea from the reference driver, use no 64-bit arithmetic.
From NetBSD (dyoung)
|
|
In atw_start_beacon, set CAP0 as well as BCNT and CAP1.
From NetBSD (dyoung)
|
|
Set up the Tx descriptor ring more safely. Fix an endianness bug.
"It's a wonder this ever worked." (Actually, it's not.)
hange the order in which I write the BSSID registers on the ADM8211,
to match the reference driver. This probably does not make any
functional difference.
Only write the SSID buffer to the ADM8211 SRAM up to the end of
the SSID, not up to the end of the buffer. Given the (too
conservative?) delays involved, this should save some time when we
join a new network.
From NetBSD (dyoung)
|
|
all the descriptors for a buffer chain. Just synchronize the last
one, which has the interesting stuff.
We still synchronize all the descriptors for the buffer chain if
super-verbose debugging is enabled, since the driver will print
all the descriptors for the chain.
Delay for tens of milliseconds lot after writing the Network Access
Register. This is what the reference driver does, we can probably
lower the delays later.
From NetBSD (dyoung)
|
|
Don't call back into the bus-specific code for resets any longer.
It does not seem to be necessary.
When super-verbose debugging is enabled, convert Rx descriptors'
endianness before printing them.
Clamp the length of a received packet, just in case the chip lies.
From NetBSD (dyoung)
|
|
stops ARP and IPv6 Neighbor Discovery packets from trickling out
the interface before it is time.
Remove dead code from atw_clear_sram.
During scans, initialize the BSSID to ff:ff:ff:ff:ff:ff before
sending the first probe request.
From NetBSD (dyoung)
|
|
a dumb way to track the link condition anyway. From NetBSD (dyoung).
|
|
Register. ADMtek's reference driver does not use it at all, and it
does not seem to make any difference whether we set it or not. Also
remove some dead code and test instrumentation. From NetBSD (dyoung).
|
|
From NetBSD (dyoung)
|