summaryrefslogtreecommitdiffstats
path: root/net/mac80211/driver-ops.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-09-03 15:25:06 +0300
committerJohannes Berg <johannes.berg@intel.com>2014-09-05 13:52:09 +0200
commiteaa336b0f5087addb32217e6a70845ed57249f76 (patch)
treead4c34139f02db933f5a061058bba0b9c96a9825 /net/mac80211/driver-ops.h
parent24ecd45e2eb194dcadefeb60a16f4ca751402413 (diff)
downloadlinux-eaa336b0f5087addb32217e6a70845ed57249f76.tar.gz
linux-eaa336b0f5087addb32217e6a70845ed57249f76.tar.bz2
linux-eaa336b0f5087addb32217e6a70845ed57249f76.zip
mac80211: combine roc with the "next roc" if possible
If the remaining time in the current roc is not long enough, mac80211 adds the new roc right after it (if they have similar params). However, in case of multiple rocs, the "next roc" is not considered, resulting in multiple rocs, each one with its own duration. Refactor the code a bit and consider the next roc, so a single max roc will be used instead of multiple rocs (which might last much longer). Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Reviewed-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/driver-ops.h')
0 files changed, 0 insertions, 0 deletions