| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o don't strip the Ethernet header from inbound packets; pass packets
up the stack intact (required significant changes to some drivers)
o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN)
o track ether_ifattach/ether_ifdetach API changes
o track bpf changes (use BPF_TAP and BPF_MTAP)
o track vlan changes (ifnet capabilities, revised processing scheme, etc.)
o use if_input to pass packets "up"
o call ether_ioctl for default handling of ioctls
Reviewed by: many
Approved by: re
Notes:
svn path=/head/; revision=106937
|
|
|
|
|
|
|
|
| |
o Add hooks for doing power management of the output signal.
o Minor hacks to make flexlint happy wrt staticness of functions.
Notes:
svn path=/head/; revision=105076
|
|
|
|
|
|
|
| |
PR: 39960, 39961 (patches here pointed out problem, but didn't quite fix it)
Notes:
svn path=/head/; revision=104147
|
|
|
|
|
|
|
|
|
|
| |
set EXCLUDE_UNENCRYPTED if we're not in OPEN mode (or if we are a
symbol card).
Obtained from: OpenBSD (looks like a millert@ special)
Notes:
svn path=/head/; revision=102208
|
|
|
|
| |
Notes:
svn path=/head/; revision=102206
|
|
|
|
|
|
|
|
| |
work better, but might not make ibss actually work on the prism2 cards
that I have (this is the first time I've tried ibss in a long time).
Notes:
svn path=/head/; revision=102204
|
|
|
|
|
|
|
| |
Define some basic firmware downloading commands.
Notes:
svn path=/head/; revision=101903
|
|
|
|
|
|
|
|
| |
_AP might be used in the future for cards with firmware that does AP in
firmware.
Notes:
svn path=/head/; revision=101665
|
|
|
|
|
|
|
|
|
| |
and the AT24C08 small serial flash parts. We still report these as
the same part (since we group things already), but now we recognize
the small serial versions as well.
Notes:
svn path=/head/; revision=101355
|
|
|
|
|
|
|
|
|
| |
commit bogusly did. Instead, don't set PROMSIC in the hardware if
we're in hostap mode. This matches more closely what openbsd did as
well.
Notes:
svn path=/head/; revision=101139
|
|
|
|
|
|
|
|
|
|
|
|
| |
problems with the firmware and will result in a) poor performance and
b) the inability to associate certain types of cards (most notibly
cisco).
Idea obtained from OpenBSD, but I implemented it by clearing the
IFF_PROMISC flag rather than the refusing to honor it downstream.
Notes:
svn path=/head/; revision=100876
|
|
|
|
|
|
|
|
| |
While earlier versions can be made to work, they require various work
arounds not in the driver right now.
Notes:
svn path=/head/; revision=100734
|
|
|
|
|
|
|
|
|
| |
Now the driver is closer to matching the wi man page.
Submitted by: jhay (who obtained it from OpenBSD).
Notes:
svn path=/head/; revision=98440
|
|
|
|
|
|
|
|
|
|
| |
places.
Comment out crc32 related definitions in zlib.h, we don't seem to have the
corresponding code in our kernel.
Notes:
svn path=/head/; revision=97512
|
|
|
|
|
|
|
| |
where we were scheduling a timeout multiple times, but am not positive.
Notes:
svn path=/head/; revision=95706
|
|
|
|
| |
Notes:
svn path=/head/; revision=95534
|
|
|
|
|
|
|
| |
<sys/endian.h>. This puts us in line with NetBSD and OpenBSD.
Notes:
svn path=/head/; revision=95533
|
|
|
|
|
|
|
|
|
| |
- The version string doesn't need to start with 'V'.
- Symbol firmware doesn't support ROAMING_MODE nor MICROWAVE_OPEN.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=95031
|
|
|
|
|
|
|
| |
Submitted by: Eugene Perevyazko <john@pcs.dp.ua>
Notes:
svn path=/head/; revision=94695
|
|
|
|
|
|
|
| |
no need for the ifdefs here anymore.
Notes:
svn path=/head/; revision=94490
|
|
|
|
| |
Notes:
svn path=/head/; revision=94486
|
|
|
|
| |
Notes:
svn path=/head/; revision=94484
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(apparently by markus@, at least committed by him). This has the
advantage of not using the bad IV's from Fluhrer/Mantin/Shamir as well
as bringing the drivers a little closer together.
Also use a few constants in place of magic numbers in one place.
Obtained from: OpenBSD 1.25, 1.28, 1.36, 1.38, 1.42
Notes:
svn path=/head/; revision=94472
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
wrote. This code was for 4.5-release, so I've ported it to -current
and made a few minor tweaks. The biggest non-style tweak was to not
make access point the default.
More changes will be needed to get this actually working, but I wanted
to get a relatively pure baseline. This doesn't seem to break what
works now.
Notes:
svn path=/head/; revision=94405
|
|
|
|
| |
Notes:
svn path=/head/; revision=94397
|
|
|
|
|
|
|
|
|
|
| |
1.60: Add range checking, but put it higher up in the food
chain than NetBSD (this should be fixed there as well).
Obtained From: NetBSD
Notes:
svn path=/head/; revision=93833
|
|
|
|
|
|
|
|
|
|
|
|
| |
wi.c 1.64: Table driven IDs (ichiro)
1.59: Don't use magic numbers (ichiro)
Also, added Sony, Lucent Embedded Ids and fix minor bugs for lucent
cards (and submit those changes back to ichiro-san)
Obtained from: NetBSD
Notes:
svn path=/head/; revision=93825
|
|
|
|
|
|
|
|
|
|
| |
most cases NULL is passed, but in some cases such as network driver locks
(which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used.
Tested on: i386, alpha, sparc64
Notes:
svn path=/head/; revision=93818
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o OpenBSD's wiconfig tells me that a value of '2' is for sony wireless
cards, 1 is for lucent (which we already knew) and '5' is for embedded
lucent cards.
o Move some RID definitions to if_wavelan_ieee.h and use NetBSD names
more often.
# more work is still needed in this area.
Notes:
svn path=/head/; revision=93756
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Properly detect the Symbol based cards (The 3Com Airconnect and their
ilk) and only reset them *ONCE* ever. This appears to make them work,
but more testing is needed. The tests that would wedge up my machine
completely now appear to work, but I have not real access points
handy.
2) Report both the Station firmware and the Primary firmware on Prism
based cards. On Lucent based cards, only report the station firmware
since that's all it supports. On symbol cards, report the symbol
specific firmware name as its station firmware.
3) Better Prism 2.5 and 3 family names. We really need to go table
driven for this.
4) Workaround for bugs in Intersil's firmware is only needed for at most
0.8.2 and earlier, since 0.8.3 and later appear to work.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=93733
|
|
|
|
|
|
|
|
| |
part of the driver. Also, move the softc and some other stuff to
if_wivar.h from if_wireg.h to make future merging activities easier.
Notes:
svn path=/head/; revision=93611
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
general cleanup of the API. The entire API now consists of two functions
similar to the pre-KSE API. The suser() function takes a thread pointer
as its only argument. The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0. The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.
Discussed on: smp@
Notes:
svn path=/head/; revision=93593
|
|
|
|
| |
Notes:
svn path=/head/; revision=93567
|
|
|
|
| |
Notes:
svn path=/head/; revision=93563
|
|
|
|
|
|
|
|
|
| |
ichiro@netbsd.org
Obtained from: NetBSD
Notes:
svn path=/head/; revision=93560
|
|
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=93360
|
|
|
|
|
|
|
|
|
| |
o This moves the common.h file into if_wavelan_ieee.h
Submitted by: h1kari@dachb0den.com
Notes:
svn path=/head/; revision=93359
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Add exerpimental support for identifying lucent cards. All of mine
come back with ID of 1, but NetBSD committed code for 5. So accept
both.
o rename wi_prism2_ver to wi_firmware_ver so that we could, if necessary,
do special things for lucent cards too.
o Bring in a small part of the changes from airtools: The wi_cmd function
now takes two additional arguments. I didn't bring in their ioctls yet.
o eliminate the use of LE16TOH, and remove its define.
o Print the firmware as if there were 100 versions instead of 10. This means
that 6.1 and 6.10 aren't confusing to people. We now print 6.01 in the
former case.
# A good junior hacker project would be to merge the NetBSD, FreeBSD, and
# OpenBSD drivers into one source base.
Notes:
svn path=/head/; revision=92457
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=92117
|
|
|
|
|
|
|
|
|
|
| |
Some buggy firmware workarounds. Fix some endian bugs.
These reduce the diffs from NetBSD, but NetBSD does have more changes since
my last manual merge.
Notes:
svn path=/head/; revision=91695
|
|
|
|
| |
Notes:
svn path=/head/; revision=91693
|
|
|
|
|
|
|
|
|
|
| |
Ericsson Wireless Lan
Simple Tech Spectrum 24 Alt
Socket LP WLAN CF
Symbol LA4100
Notes:
svn path=/head/; revision=91608
|
|
|
|
|
|
|
|
| |
Submitted by: Thomas Skibo <skibo@pacbell.net>
MFC after: 3 days
Notes:
svn path=/head/; revision=91548
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device drivers for bus system with other endinesses than the CPU (using
interfaces compatible to NetBSD):
- bwap16() and bswap32(). These have optimized implementations on some
architectures; for those that don't, there exist generic implementations.
- macros to convert from a certain byte order to host byte order and vice
versa, using a naming scheme like le16toh(), htole16().
These are implemented using the bswap functions.
- stream bus space access functions, which do not perform a byte order
conversion (while the normal access functions would if the bus endianess
differs from the CPU endianess).
htons(), htonl(), ntohs() and ntohl() are implemented using the new
functions above for kernel usage. None of the above interfaces is currently
exported to user land.
Make use of the new functions in a few places where local implementations
of the same functionality existed.
Reviewed by: mike, bde
Tested on alpha by: mike
Notes:
svn path=/head/; revision=91394
|
|
|
|
|
|
|
| |
Submitted by: sumikawa
Notes:
svn path=/head/; revision=91318
|
|
|
|
|
|
|
|
| |
Submitted by: Thomas Skibo <skibo@pacbell.net>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=90580
|
|
|
|
|
|
|
| |
Submitted by: Toni Andjelkovic <toni@soth.at>
Notes:
svn path=/head/; revision=90027
|
|
|
|
|
|
|
| |
Submitted by: Eric Liedtke <eliedtke@apogeetelecom.com>
Notes:
svn path=/head/; revision=89600
|
|
|
|
| |
Notes:
svn path=/head/; revision=88546
|
|
|
|
|
|
|
| |
also don't use ANSI string concatenation.
Notes:
svn path=/head/; revision=87599
|