07 May, 2009
1 commit
-
In order to later add tracing or verifications to the driver
calls mac80211 makes, this patch adds static inline wrappers
for all operations.All calls are now written as
drv_(local, ...);
instead of
local->ops->(&local->hw, ...);
Where necessary, the wrappers also do existence checking and
return default values as appropriate.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville
28 Oct, 2008
1 commit
-
Also remove a few stray DECLARE_MAC_BUF that were no longer
used at all.Signed-off-by: Johannes Berg
Signed-off-by: David S. Miller
16 Sep, 2008
1 commit
-
This patch changes mac80211 to share some more data about
stations with drivers. Should help iwlwifi and ath9k when
they get around to updating, and might also help with
implementing rate control algorithms without internals.Signed-off-by: Johannes Berg
Cc: Sujith Manoharan
Signed-off-by: John W. Linville
27 Jun, 2008
2 commits
-
Some drivers may want to to use the TKIP key offsets for TX and RX
MIC so lets move this out. Lets also clear up a bit how this is used
internally in mac80211.Signed-off-by: Luis R. Rodriguez
Signed-off-by: John W. Linville -
... to MAC80211_TKIP_DEBUG rather than TKIP_DEBUG.
Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville
15 Jun, 2008
3 commits
-
Signed-off-by: Harvey Harrison
Signed-off-by: John W. Linville -
Also change the arguments of the phase1, 2 key mixing to take
a pointer to the encrytion key and the tkip_ctx in the same
order.Do the dereference of the encryption key in the callers.
Signed-off-by: Harvey Harrison
Signed-off-by: John W. Linville -
Signed-off-by: Harvey Harrison
Signed-off-by: John W. Linville
22 May, 2008
4 commits
-
Signed-off-by: Harvey Harrison
Cc: "John W. Linville"
Signed-off-by: Andrew Morton
Signed-off-by: John W. Linville -
Signed-off-by: Harvey Harrison
Cc: "John W. Linville"
Signed-off-by: Andrew Morton
Signed-off-by: John W. Linville -
Signed-off-by: Harvey Harrison
Cc: "John W. Linville"
Signed-off-by: Andrew Morton
Signed-off-by: John W. Linville -
Signed-off-by: Harvey Harrison
Cc: "John W. Linville"
Signed-off-by: Andrew Morton
Signed-off-by: John W. Linville
15 May, 2008
1 commit
-
Use kernel-provided bit rotation and unaligned access infrastructure rather
than opencoding it.Some minor spacing adjustments as well.
Signed-off-by: Harvey Harrison
Cc: "John W. Linville"
Signed-off-by: Andrew Morton
Signed-off-by: John W. Linville
01 May, 2008
1 commit
-
Looks like 5d2cdcd4e85c5187db30a6b29f79fbbe59f39f78 ("mac80211: get a
TKIP phase key from skb") got the shifts wrong.Noticed by sparse:
net/mac80211/tkip.c:234:25: warning: right shift by bigger than source value
net/mac80211/tkip.c:235:25: warning: right shift by bigger than source value
net/mac80211/tkip.c:236:25: warning: right shift by bigger than source valueSigned-off-by: Harvey Harrison
Signed-off-by: John W. Linville
09 Apr, 2008
1 commit
-
This patch renames all mac80211 files (except ieee80211_i.h) to get rid
of the useless ieee80211_ prefix.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville
26 Mar, 2008
2 commits
-
This patch makes mac80211 able to send a phase1 key for TKIP
decryption.
This is needed for drivers that don't do the rekeying by themselves
(i.e. iwlwifi). Upon IV16 wrap around, the packet is decrypted in SW,
if decryption is ok, mac80211 calls to update_tkip_key with a new
phase 1 RX key.Signed-off-by: Emmanuel Grumbach
Signed-off-by: Tomas Winkler
Signed-off-by: John W. Linville -
This patch makes mac80211 able to compute a TKIP key from an skb.
The requested key can be a phase 1 or a phase 2 key.
This is useful for drivers who need to provide tkip key to their
HW to enable HW encryption.Signed-off-by: Emmanuel Grumbach
Signed-off-by: Tomas Winkler
Signed-off-by: John W. Linville
11 Oct, 2007
3 commits
-
The TKIP IV should be updated only after MMIC verification,
this patch changes it to be at that spot.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville -
This is nicer than the MAC_FMT stuff.
Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
This patch embeds the struct ieee80211_key_conf into struct ieee80211_key
and thus avoids allocations and having data present twice.This required some more changes:
1) The removal of the IEEE80211_KEY_DEFAULT_TX_KEY key flag.
This flag isn't used by drivers nor should it be since
we have a set_key_idx() callback. Maybe that callback needs
to be extended to include the key conf, but only a driver that
requires it will tell.
2) The removal of the IEEE80211_KEY_DEFAULT_WEP_ONLY key flag.
This flag is global, so it shouldn't be passed in the key
conf structure. Pass it to the function instead.Also, this patch removes the AID parameter to the set_key() callback
because it is currently unused and the hardware currently cannot know
about the AID anyway. I suspect this was used with some hardware that
actually selected the AID itself, but that functionality was removed.Additionally, I've removed the ALG_NULL key algorithm since we have
ALG_NONE.Signed-off-by: Johannes Berg
Acked-by: Michael Wu
Signed-off-by: John W. Linville
Signed-off-by: David S. Miller
06 May, 2007
1 commit
-
Add mac80211, the IEEE 802.11 software MAC layer.
Signed-off-by: Jiri Benc
Signed-off-by: John W. Linville