diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-06-26 12:06:54 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-27 15:09:42 -0400 |
commit | 77b7023afe93b5e3bdcf2c0faaa5e5caafb6ef44 (patch) | |
tree | 95816e9126dac6a5e0ebb999066bb4f781138b36 /include/sound/cs46xx_dsp_spos.h | |
parent | eef726994fc4ce2f9d0c880016bd104628ef44c9 (diff) |
mac80211: dynamic PS - don't enter PS when TX frames are pending
Use the tx_frames_pending() driver callback to determine if Tx frames are
pending for its internal queues. If so postpone the dynamic PS timeout
to avoid interrupting Tx traffic.
The commit e8306f989483e4b97a8b37dd268de6c8c6f35e75 enabled this
behavior for drivers with IEEE80211_HW_PS_NULLFUNC_STACK. We enable this
for all drivers supporting dynamic PS.
This patch helps improve performance in noisy environments.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/sound/cs46xx_dsp_spos.h')
0 files changed, 0 insertions, 0 deletions