1. 14 1月, 2015 1 次提交
  2. 10 1月, 2015 1 次提交
  3. 09 1月, 2015 2 次提交
    • J
      mac80211: fix handling TIM IE when stations disconnect · 9b7a86f3
      Johannes Berg 提交于
      When a station disconnects with frames still pending, we clear
      the TIM bit, but too late - it's only cleared when the station
      is already removed from the driver, and thus the driver can get
      confused (and hwsim will loudly complain.)
      
      Fix this by clearing the TIM bit earlier, when the station has
      been unlinked but not removed from the driver yet. To do this,
      refactor the TIM recalculation to in that case ignore traffic
      and simply assume no pending traffic - this is correct for the
      disconnected station even though the frames haven't been freed
      yet at that point.
      
      This patch isn't needed for current drivers though as they don't
      check the station argument to the set_tim() operation and thus
      don't really run into the possible confusion.
      Reported-by: NJouni Malinen <j@w1.fi>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      9b7a86f3
    • J
      mac80211_hwsim: fix PS debugfs file locking · a809ca5e
      Johannes Berg 提交于
      The functions called within the iterators must be called with
      tasklets disabled, so use atomic iteration like the rest of
      the code and disable tasklets around the whole operation.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      a809ca5e
  4. 08 1月, 2015 11 次提交
  5. 07 1月, 2015 2 次提交
    • I
      mac80211: Re-fix accounting of the tailroom-needed counter · db12847c
      Ido Yariv 提交于
      When hw acceleration is enabled, the GENERATE_IV or PUT_IV_SPACE flags
      only require headroom space. Therefore, the tailroom-needed counter can
      safely be decremented for most drivers.
      
      The older incarnation of this patch (ca34e3b5) assumed that the above
      holds true for all drivers. As reported by Christopher Chavez and
      researched by Christian Lamparter and Larry Finger, this isn't a valid
      assumption for p54 and cw1200.
      
      Drivers that still require tailroom for ICV/MIC even when HW encryption
      is enabled can use IEEE80211_KEY_FLAG_RESERVE_TAILROOM to indicate it.
      Signed-off-by: NIdo Yariv <idox.yariv@intel.com>
      Cc: Christopher Chavez <chrischavez@gmx.us>
      Cc: Christian Lamparter <chunkeey@googlemail.com>
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Cc: Solomon Peachy <pizza@shaftnet.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      db12847c
    • J
      Merge branch 'mac80211' into mac80211-next · 3a4b0c94
      Johannes Berg 提交于
      Merge mac80211.git to get some changes that would otherwise
      cause conflicts with new changes coming here.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      3a4b0c94
  6. 06 1月, 2015 3 次提交
  7. 05 1月, 2015 2 次提交
  8. 23 12月, 2014 1 次提交
  9. 22 12月, 2014 1 次提交
  10. 20 12月, 2014 1 次提交
  11. 18 12月, 2014 3 次提交
  12. 17 12月, 2014 12 次提交