On Tue, Aug 21, 2012 at 4:04 PM, Ming Lei <ming.lei@xxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxxxxx > Cc: "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> > Cc: Jouni Malinen <jouni@xxxxxxxxxxxxxxxx> > Cc: Vasanthakumar Thiagarajan <vthiagar@xxxxxxxxxxxxxxxx> > Cc: Senthil Balasubramanian <senthilb@xxxxxxxxxxxxxxxx> > Cc: "John W. Linville" <linville@xxxxxxxxxxxxx> > Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxxxxx> > --- > v1: > fix double free of firmware in failue path of > ath9k_hif_usb_firmware_cb Gentle ping, :-) Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html