30 Aug, 2008
4 commits
-
Signed-off-by: Sujith Manoharan
Signed-off-by: John W. Linville -
Signed-off-by: Sujith Manoharan
Signed-off-by: John W. Linville -
Signed-off-by: Sujith Manoharan
Signed-off-by: John W. Linville -
Signed-off-by: Sujith Manoharan
Signed-off-by: John W. Linville
23 Aug, 2008
36 commits
-
Use the MIC algorithm from the crypto subsystem.
Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Read the packet data off the hardware and straight into an skb in the
interrupt. We have to do this in case we don't process the tasklet in
time.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Includes basic plumbing to get the data into firmware, and retrieve it.
SIOCxIWGENIE simply record (and return) the IE, and do not act on it.
SIOCxIWENCODEEXT, SIOCxIWAUTH and SIOCSIWMLME should be as functional as
the driver will support.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
The macro identifiers for the various ioctls required for WPA support
are longer than those currently used by the driver. This makes it messy
to keep line length below 80 character.By defining a macro to initialise the handler table, we recover the
common text.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
This allows us to send more wevents from the work thread. We will need
to do this to support WPA.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
For WPA support we need to encode NONE, WEP and TKIP in the encoding
parameter. In anticipation of this we need to change the usage away from
the current boolean usage.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
This provides more information than the standard Agere scan, including
the WPA IE.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Just sprinkle the necessary structs around...
Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
The tx control word has moved into the 802.11 header area on these
firmwares.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Firmware download is enabled for Agere in orinoco_cs. Symbol firmware
download has been moved out of spectrum_cs into orinoco_cs. Firmware
download is not enabled for Intersil.Symbol based firmware is restricted to only download on spectrum_cs
based cards.The firmware names are hardcoded for each firmware type.
Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Add programming initialisation and termination functions.
Add checks to avoid overrunning the firmware image or PDA areas.
Extra algorithm to program PDA values using defaults where necessary.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Ensure PDA read is terminated.
Prevent invalid programming blocks from causing reads outside the
firmware image
Turn off aux stuff when finished.
Option to program in limited block sizes (controlled by macro).
Option to read PDA from EEPROM.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Move the functionality from spectrum_cs to hermes_dld in preparation for
making it more generic and usable by other orinoco drivers.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
The current synchronous execution function doesn't work
for certain Hermes commands which clear the MAGIC number from
SWSUPPORT0. These commands seem to be related to initialisation or
programming, for example HERMES_CMD_INIT.Replicate hermes_docmd_wait for commands which clear the MAGIC number
from SWSUPPORT0. This version accepts two extra arguments which are
passed straight to the firmware.Functionality copied out of hermes_init.
Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
hermes_issue_cmd now takes two more parameters.
Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Report channel, beacon interval and capabilities.
Use WEXT defines instead of magic numbers.
State quality stats in dB.
Also a few changes to keep line length less than 80.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
Pass the ESSID to the card.
This allows 'iwlist eth1 scan essid ' to work, and will help
with routers setup not to broadcast the ESSID.Signed-off-by: David Kilroy
Signed-off-by: John W. Linville -
It's been a long time, but fullmac prism54 driver is still around...
I think we should rename every prism54* in order to avoid some
confusion about "what is actually what" in the future ;-).Thanks-to: Maxi
Signed-off-by: Christian Lamparter
Signed-off-by: John W. Linville -
Add a module parameter to rt61 and rt73 to disable
HW crypto. The option should only be checked when
determining if the SUPPORT_HW_CRYPTO flag should
be set or not.Signed-off-by: Ivo van Doorn
Signed-off-by: John W. Linville -
We can optimize lna calculation in IRQ context by
calculating most of the value during the config() callback
when most of the value is actually influenced.This will be required later by rt2800pci and rt2800usb as
well, since they need the lna_gain value during config().Signed-off-by: Ivo van Doorn
Signed-off-by: John W. Linville -
set the short preamble flag in ieee80211_rx_status for frames received with a
short preamble.drivers/net/wireless/ath5k/base.c: Changes-licensed-under: 3-Clause-BSD
Signed-off-by: Bruno Randolf
Signed-off-by: John W. Linville -
Signed-off-by: Ivo van Doorn
Signed-off-by: John W. Linville -
Channel information which is read from EEPROM should
be read into an array containing per-channel information.
This removes the requirement of multiple arrays and makes
the channel handling a bit cleaner and easier to expand.Signed-off-by: Ivo van Doorn
Signed-off-by: John W. Linville -
rt73usb supports hardware encryption.
rt73usb supports up to 4 shared keys and up to 64 pairwise keys.Signed-off-by: Ivo van Doorn
Signed-off-by: John W. Linville -
rt61pci supports hardware encryption.
rt61pci supports up to 4 shared keys and up to 64 pairwise keys.Signed-off-by: Ivo van Doorn
Signed-off-by: John W. Linville -
Various rt2x00 devices support hardware encryption.
Most of them require the IV/EIV to be generated by mac80211,
but require it to be provided seperately instead of within
the frame itself. This means that rt2x00lib should extract
the data from the frame and place it in the frame descriptor.
During RX the IV/EIV is provided in the descriptor by the
hardware which means that it should be inserted into the
frame by rt2x00lib.Signed-off-by: Ivo van Doorn
Signed-off-by: John W. Linville -
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Signed-off-by: John W. Linville -
Signed-off-by: Luis Carlos Cobo
Signed-off-by: John W. Linville -
The libertas thin firmware only supports usb devices, but the usb functions have
been kept separate to ease future support for other devices.Signed-off-by: Luis Carlos Cobo
Signed-off-by: John W. Linville -
Signed-off-by: Luis Carlos Cobo
Signed-off-by: John W. Linville -
This patch contains most of the libertastf driver, just lacking command helper
functions and usb specific functions. Currently, monitor, managed, ap and mesh
interfaces are supported. Even though this driver supports the same hardware as
the "libertas" driver, it uses a different (thin) firmware, that makes it
suitable for a mac80211 driver.Signed-off-by: Luis Carlos Cobo
Signed-off-by: John W. Linville -
Signed-off-by: Luis Carlos Cobo
Signed-off-by: John W. Linville -
ieee80211_get_hdrlen_from_skb internally checks that the skb is long
enough to hold the full header, or it returns 0 if not. The check in
ath5k does not check this case and assumes it always got the actual
header length which it then checks against the skb->len plus some headroom.Change to ieee80211_hdrlen which always returns the hdrlen and keep the
existing headroom check.Signed-off-by: Harvey Harrison
Signed-off-by: John W. Linville -
Signed-off-by: Harvey Harrison
Signed-off-by: John W. Linville