1. 29 1月, 2008 3 次提交
    • R
      mac80211: restructuring data Rx handlers · 76ee65bf
      Ron Rindjunsky 提交于
      This patch restructures the Rx handlers chain by incorporating previously
      handlers ieee80211_rx_h_802_1x_pae and ieee80211_rx_h_drop_unencrypted
      into ieee80211_rx_h_data, already in 802.3 form. this scheme follows more
      precisely after the IEEE802.11 data plane archituecture, and will prevent
      code duplication to IEEE8021.11n A-MSDU handler.
      
      added function:
       - ieee80211_data_to_8023: transfering 802.11 data frames to 802.3 frame
       - ieee80211_deliver_skb: delivering the 802.3 frames to upper stack
      eliminated handlers:
       - ieee80211_rx_h_drop_unencrypted: now function ieee80211_drop_unencrypted
       - ieee80211_rx_h_802_1x_pae: now function ieee80211_802_1x_pae
      changed handlers:
       - ieee80211_rx_h_data: now contains calls to four above function
      Signed-off-by: NRon Rindjunsky <ron.rindjunsky@intel.com>
      Acked-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      76ee65bf
    • Z
      mac80211: hardware scan rework · ece8eddd
      Zhu Yi 提交于
      The scan code in mac80211 makes the software scan assumption in various
      places. For example, we stop the Tx queue during a software scan so that
      all the Tx packets will be queued by the stack. We also drop frames not
      related to scan in the software scan process. But these are not true for
      hardware scan.
      
      Some wireless hardwares (for example iwl3945/4965) has the ability to
      perform the whole scan process by hardware and/or firmware. The hardware
      scan is relative powerful in that it tries to maintain normal network
      traffic while doing a scan in the background. Some drivers (i.e iwlwifi)
      do provide a way to tune the hardware scan parameters (for example if the
      STA is associated, what's the max time could the STA leave from the
      associated channel, how long the scans get suspended after returning to
      the service channel, etc). But basically this is transparent to the
      stack. mac80211 should not stop Tx queues or drop Rx packets during a
      hardware scan.
      
      This patch resolves the above problem by spliting the current scan
      indicator local->sta_scanning into local->sta_sw_scanning and
      local->sta_hw_scanning. It then changes the scan related code to be aware
      of hardware scan or software scan in various places. With this patch,
      iwlwifi performs much better in the scan-while-associated condition and
      disable_hw_scan=1 should never be required.
      
      Cc: Mohamed Abbas <mohamed.abbas@intel.com>
      Cc: Ben Cahill <ben.m.cahill@intel.com>
      Signed-off-by: NZhu Yi <yi.zhu@intel.com>
      Acked-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ece8eddd
    • D
      [MAC80211]: Revert unaligned warning removal. · d10f2150
      David S. Miller 提交于
      For release Linux removed this warning, but we want it
      back for development.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d10f2150
  2. 25 1月, 2008 1 次提交
  3. 27 12月, 2007 1 次提交
  4. 30 11月, 2007 1 次提交
  5. 11 11月, 2007 1 次提交
    • J
      mac80211: make "decrypt failed" messages conditional upon MAC80211_DEBUG · 7f3ad894
      John W. Linville 提交于
      Make "decrypt failed" and "have no key" debugging messages compile
      conditionally upon CONFIG_MAC80211_DEBUG.  They have been useful for
      finding certain problems in the past, but in many cases they just
      clutter a user's logs.
      
      A typical example is an enviornment where multiple SSIDs are using a
      single BSSID but with different protection schemes or different keys
      for each SSID.  In such an environment these messages are just noise.
      Let's just leave them for those interested enough to turn-on debugging.
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      7f3ad894
  6. 11 10月, 2007 33 次提交