Ming Lei 32e31de5c3 wireless: ath9k-htc: only load firmware in need
It is not necessary to hold the firmware memory during the whole
driver lifetime, and obviously it does waste memory. Suppose there
are 4 ath9k-htc usb dongles working, kernel has to consume about
4*50KBytes RAM to cache firmware for all dongles. After applying the
patch, kernel only caches one single firmware image in RAM for
all ath9k-htc devices just during system suspend/resume cycle.

When system is ready for loading firmware, ath9k-htc can request
the loading from usersapce. During system resume, ath9k-htc still
can load the firmware which was cached in kernel memory before
system suspend.

Cc: ath9k-devel@lists.ath9k.org
Cc: "Luis R. Rodriguez" <mcgrof@qca.qualcomm.com>
Cc: Jouni Malinen <jouni@qca.qualcomm.com>
Cc: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-09-07 15:03:36 -04:00
..
2012-07-09 16:36:24 -04:00
2012-06-28 14:37:46 -04:00
2012-06-28 14:37:46 -04:00
2012-06-06 15:20:31 -04:00
2012-04-12 15:10:32 -04:00
2012-05-15 17:27:55 -04:00
2012-05-15 17:27:55 -04:00
2012-06-28 14:37:47 -04:00
2012-06-28 14:37:47 -04:00
2012-07-17 15:11:40 -04:00
2012-06-06 15:20:30 -04:00
2012-06-06 15:20:30 -04:00
2012-03-26 15:07:23 -04:00
2012-07-17 15:11:39 -04:00
2012-07-17 15:11:40 -04:00
2012-06-05 15:23:20 -04:00
2012-07-17 15:11:36 -04:00
2012-06-26 14:28:52 -04:00
2012-07-17 15:11:38 -04:00
2012-07-17 15:11:38 -04:00
2012-07-17 15:11:39 -04:00
2012-07-17 15:11:40 -04:00
2012-07-12 15:27:16 -04:00
2012-07-17 15:11:40 -04:00
2012-06-06 15:20:24 -04:00
2012-08-10 15:27:19 -04:00
2012-07-17 15:11:38 -04:00
2012-07-12 15:27:16 -04:00