1. 21 10月, 2015 1 次提交
    • J
      mac80211: move station statistics into sub-structs · e5a9f8d0
      Johannes Berg 提交于
      Group station statistics by where they're (mostly) updated
      (TX, RX and TX-status) and group them into sub-structs of
      the struct sta_info.
      
      Also rename the variables since the grouping now makes it
      obvious where they belong.
      
      This makes it easier to identify where the statistics are
      updated in the code, and thus easier to think about them.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      e5a9f8d0
  2. 22 9月, 2015 1 次提交
  3. 14 8月, 2015 1 次提交
    • J
      mac80211: use DECLARE_EWMA · 40d9a38a
      Johannes Berg 提交于
      Instead of using the out-of-line average calculation, use the new
      DECLARE_EWMA() macro to declare a signal EWMA, and use that.
      
      This actually *reduces* the code size slightly (on x86-64) while
      also reducing the station info size by 80 bytes.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      40d9a38a
  4. 17 7月, 2015 6 次提交
  5. 10 6月, 2015 1 次提交
  6. 03 6月, 2015 1 次提交
  7. 20 4月, 2015 1 次提交
  8. 30 3月, 2015 1 次提交
  9. 04 3月, 2015 2 次提交
  10. 23 1月, 2015 1 次提交
  11. 17 12月, 2014 1 次提交
  12. 26 8月, 2014 2 次提交
  13. 15 8月, 2014 1 次提交
  14. 23 6月, 2014 1 次提交
    • B
      mac80211: remove ignore_plink_timer flag · 2b470c39
      Bob Copeland 提交于
      The mesh_plink code is doing some interesting things with the
      ignore_plink_timer flag.  It seems the original intent was to
      handle this race:
      
      cpu 0                           cpu 1
      -----                           -----
                                      start timer handler for state X
      acquire sta_lock
      change state from X to Y
      mod_timer() / del_timer()
      release sta_lock
                                      acquire sta_lock
                                      execute state Y timer too soon
      
      However, using the mod_timer()/del_timer() return values to
      detect these cases is broken.  As a result, timers get ignored
      unnecessarily, and stations can get stuck in the peering state
      machine.
      
      Instead, we can detect the case by looking at the timer expiration.
      In the case of del_timer, just ignore the timers in the following
      (LISTEN/ESTAB) states since they won't have timers anyway.
      Signed-off-by: NBob Copeland <me@bobcopeland.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      2b470c39
  15. 07 1月, 2014 1 次提交
  16. 26 11月, 2013 16 次提交
  17. 28 10月, 2013 1 次提交
    • M
      mac80211: fixes for mesh powersave logic · 446075d7
      Marco Porsch 提交于
      This patch fixes errors in the mesh powersave logic which
      cause that remote peers do not get peer power mode change
      notifications and mesh peer service periods (MPSPs) got
      stuck.
      
      When closing a peer link, set the (now invalid) peer-specific
      power mode to 'unknown'.
      
      Avoid overhead when local power mode is unchanged.
      
      Reliably clear MPSP flags on peering status update.
      
      Avoid MPSP flags getting stuck by not requesting a further
      MPSP ownership if we already are an MPSP owner.
      Signed-off-by: NMarco Porsch <marco@cozybit.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      446075d7
  18. 16 7月, 2013 1 次提交