1. 27 6月, 2008 3 次提交
  2. 19 6月, 2008 1 次提交
  3. 18 6月, 2008 1 次提交
    • D
      Revert "mac80211: Use skb_header_cloned() on TX path." · 3a5be7d4
      David S. Miller 提交于
      This reverts commit 608961a5.
      
      The problem is that the mac80211 stack not only needs to be able to
      muck with the link-level headers, it also might need to mangle all of
      the packet data if doing sw wireless encryption.
      
      This fixes kernel bugzilla #10903.  Thanks to Didier Raboud (for the
      bugzilla report), Andrew Prince (for bisecting), Johannes Berg (for
      bringing this bisection analysis to my attention), and Ilpo (for
      trying to analyze this purely from the TCP side).
      
      In 2.6.27 we can take another stab at this, by using something like
      skb_cow_data() when the TX path of mac80211 ends up with a non-NULL
      tx->key.  The ESP protocol code in the IPSEC stack can be used as a
      model for implementation.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3a5be7d4
  4. 15 6月, 2008 1 次提交
  5. 04 6月, 2008 5 次提交
  6. 22 5月, 2008 6 次提交
  7. 15 5月, 2008 3 次提交
    • I
      mac80211: Set IEEE80211_TXPD_REQ_TX_STATUS for all TX frames · b0a67179
      Ivo van Doorn 提交于
      All interfaces should set the IEEE80211_TXPD_REQ_TX_STATUS flag for all TX frames
      which will force the master interface to set the IEEE80211_TX_CTL_REQ_TX_STATUS
      flag. This in turn will allow drivers to check for that flag before reporting
      the TX status to mac80211.
      
      This is very usefull when frames (like beacons, RTS and CTS-to-self) should not
      be reported back to mac80211. Later we could add more extensive checks to
      exclude more frames from being reported, or let mac80211 decide if it wants
      the frame for status reporting or not.
      
      v2: Monitor interfaces should also set IEEE80211_TXPD_REQ_TX_STATUS
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Acked-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b0a67179
    • J
      mac80211: proper STA info locking · 07346f81
      Johannes Berg 提交于
      As discussed earlier, we can unify locking in struct sta_info
      and use just a single spinlock protecting all members of the
      structure that need protection. Many don't, but one of the
      especially bad ones is the 'flags' member that can currently
      be clobbered when RX and TX is being processed on different
      CPUs at the same time.
      
      Because having four spinlocks for different, mostly exclusive
      parts of a single structure is overkill, this patch also kills
      the ampdu and mesh plink spinlocks and uses just a single one
      for everything. Because none of the spinlocks are nested, this
      is safe.
      
      It remains to be seen whether or not we should make the sta
      flags use atomic bit operations instead, for now though this
      is a safe thing and using atomic operations instead will be
      very simple using the new static inline functions this patch
      introduces for accessing sta->flags.
      
      Since spin_lock_bh() is used with this lock, there shouldn't
      be any contention even if aggregation is enabled at around the
      same time as both requires frame transmission/reception which
      is in a bh context.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Cc: Tomas Winkler <tomasw@gmail.com>
      Cc: Ron Rindjunsky <ron.rindjunsky@intel.com>
      Cc: Luis Carlos Cobo <luisca@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      07346f81
    • J
      mac80211: require four hardware queues for QoS/HT · 3434fbd3
      Johannes Berg 提交于
      This patch makes mac80211 only announce QoS/HT support when
      the underlying hardware has four (or more) queues.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Cc: Ron Rindjunksi <ron.rindjunksi@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3434fbd3
  8. 13 5月, 2008 2 次提交
  9. 09 4月, 2008 2 次提交
  10. 07 3月, 2008 4 次提交
  11. 01 3月, 2008 11 次提交
  12. 29 1月, 2008 1 次提交