madwifi/net80211
proski a5b3087ab0 Rewrite ieee80211_input_all()
The logic to prevent calling ieee80211_input() on inactive VAPs was
flawed.  The first VAP was exempt from the check for no reason.

Rewrite to avoid having nested loops.  Give the original skb to the
first VAP, not to the last one, as the first VAP is easier to find in a
loop.  Process the first VAP after others.

Only collect the result from the first VAP.  ieee80211_input() should
return the same value (frame type) for all VAPs except if we call it
incorrectly, e.g. on an inactive VAP.


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4081 0192ed92-7a03-0410-a25b-9323aeb14dbd
2009-07-30 21:06:29 +00:00
..
_ieee80211.h Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_acl.c Eliminate ether_sprintf in favor of new MAC_FMT and MAC_ADDR macros (which are faster and thread safe). 2008-01-25 22:49:48 +00:00
ieee80211_beacon.c Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_crypto_ccmp.c KASSERT should add newline at the end to match FreeBSD behavior 2008-06-19 16:58:07 +00:00
ieee80211_crypto_none.c Cleanup up de-MIC failure (in hardware) handling. Apparently, HW sometimes gets this wrong and spuriusly fails valid packets. In all cases, the packets are dropped, but we do extra processing to record statistics correctly. 2008-02-04 00:16:24 +00:00
ieee80211_crypto_tkip.c KASSERT should add newline at the end to match FreeBSD behavior 2008-06-19 16:58:07 +00:00
ieee80211_crypto_wep.c Make pointer declarations and casting consistent. Some other formatting changes are made in passing 2008-06-06 20:32:29 +00:00
ieee80211_crypto.c Make pointer declarations and casting consistent. Some other formatting changes are made in passing 2008-06-06 20:32:29 +00:00
ieee80211_crypto.h Remove, rename, and move various mystery meat defines 2008-07-06 02:31:09 +00:00
ieee80211_debug.h Fix compilation when there is no debugging 2008-01-28 23:35:29 +00:00
ieee80211_input.c Rewrite ieee80211_input_all() 2009-07-30 21:06:29 +00:00
ieee80211_ioctl.h Remove all reverse engineering support, it's pointless now 2009-04-22 22:05:57 +00:00
ieee80211_linux.c Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_linux.h Compile fix with VLAN support on recent kernels 2009-06-25 22:22:58 +00:00
ieee80211_monitor.c Reference the VAP's node in injection/raw output frames. Makes injection work. 2008-06-12 05:22:37 +00:00
ieee80211_monitor.h Move the monitor physical parameter struct inside ieee80211_cb. Have same struct actually be an array. Add an evil struct definition that breaks if ieee80211_cb is bigger than 48 bytes; it serves no other purpose. 2008-05-05 23:51:16 +00:00
ieee80211_node.c Rewrote IBSS merge (part that updates the IBSS parameters using content from 2009-07-11 17:37:55 +00:00
ieee80211_node.h Make ieee80211_free_node() static 2009-04-01 19:34:57 +00:00
ieee80211_output.c Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_power.c Move responsibility for removing padding in the RX path entirely to the driver. This allows it to be done once, and thus avoids extra copying of SKBs. 2008-06-08 01:43:53 +00:00
ieee80211_power.h Have net80211 hard_start functions return NETDEV_TX_* codes; tidy some headers in the process. 2007-12-23 20:11:05 +00:00
ieee80211_proto.c Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_proto.h Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_radiotap.h Restructuring the repository layout in response to ath5k. 2007-10-04 13:07:51 +00:00
ieee80211_rate.c Restructuring the repository layout in response to ath5k. 2007-10-04 13:07:51 +00:00
ieee80211_rate.h Restructuring the repository layout in response to ath5k. 2007-10-04 13:07:51 +00:00
ieee80211_scan_ap.c Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_scan_sta.c Update roaming iwpriv names to reflect actual format of rate data (i.e., increments of 0.5). 2008-06-19 02:34:23 +00:00
ieee80211_scan.c Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_scan.h Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_skb.c Fix all cases of stack usage exceeding 1024 bytes 2009-05-12 20:05:46 +00:00
ieee80211_skb.h Convert various _debug style char *func and int line passing to use dump_stack. This may possibly be a tad noisy still. 2008-06-22 02:12:53 +00:00
ieee80211_var.h Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_wireless.c Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
ieee80211_xauth.c Restructuring the repository layout in response to ath5k. 2007-10-04 13:07:51 +00:00
ieee80211.c Avoid kernel panic and returns 802.11b. 2009-07-11 17:33:54 +00:00
ieee80211.h Merge madwifi-dfs back to trunk: this change is only about DFS, excluding 2009-07-11 17:20:58 +00:00
if_athproto.h Remove now unused FF next field in ieee80211_cb. This makes ieee80211_cb under 48 bytes on 64-bit with IEEE80211_DEBUG_REFCNT 2008-05-06 11:22:31 +00:00
if_ethersubr.h Restructuring the repository layout in response to ath5k. 2007-10-04 13:07:51 +00:00
if_llc.h Restructuring the repository layout in response to ath5k. 2007-10-04 13:07:51 +00:00
if_media.c Make pointer declarations and casting consistent. Some other formatting changes are made in passing 2008-06-06 20:32:29 +00:00
if_media.h Merge some whitespace changes from the DFS branch 2007-11-20 17:18:36 +00:00
Makefile Merge madwifi-free branch into the trunk 2009-04-07 01:26:53 +00:00
Makefile.kernel Merge madwifi-free branch into the trunk 2009-04-07 01:26:53 +00:00