commit | 3ff23cd5654b9c8f4d567caa73439b4c39fbeaae | [log] [tgz] |
---|---|---|
author | Toke Høiland-Jørgensen <toke@toke.dk> | Fri Sep 23 21:59:11 2016 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Sep 30 13:33:33 2016 +0200 |
tree | 7c7317b0aa529c0fce09c9322bc2d124253740a7 | |
parent | 2a4e675d887bb3130354561a70f05127de8b9926 [diff] |
mac80211: Set lower memory limit for non-VHT devices Small devices can run out of memory from queueing too many packets. If VHT is not supported by the PHY, having more than 4 MBytes of total queue in the TXQ intermediate queues is not needed, and so we can safely limit the memory usage in these cases and avoid OOM. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Signed-off-by: Johannes Berg <johannes.berg@intel.com>