1. 29 1月, 2008 3 次提交
    • M
      mac80211: clean up rate selection · 1abbe498
      Mattias Nissler 提交于
      Move some code out of rc80211_simple since it's probably needed for all rate
      selection algorithms, and fix iwlwifi accordingly. While at it, clean up the
      rate_control_get_rate() interface.
      Signed-off-by: NStefano Brivio <stefano.brivio@polimi.it>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1abbe498
    • R
      mac80211: adding 802.11n configuration flows · d3c990fb
      Ron Rindjunsky 提交于
      This patch configures the 802.11n mode of operation
      internally in ieee80211_conf structure and in the low-level
      driver as well (through op conf_ht).
      It does not include AP configuration flows.
      Signed-off-by: NRon Rindjunsky <ron.rindjunsky@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d3c990fb
    • 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
  2. 20 12月, 2007 1 次提交
    • J
      mac80211: fix header ops · 3333590e
      Johannes Berg 提交于
      When using recvfrom() on a SOCK_DGRAM packet socket, I noticed that the MAC
      address passed back for wireless frames was always completely wrong. The
      reason for this is that the header parse function assigned to our virtual
      interfaces is a function parsing an 802.11 rather than 802.3 header. This
      patch fixes it by keeping the default ethernet header operations assigned.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3333590e
  3. 30 11月, 2007 2 次提交
  4. 21 11月, 2007 2 次提交
  5. 11 11月, 2007 2 次提交
  6. 11 10月, 2007 30 次提交