commit | 0ec84d1d1e6db6e0b4c1eb9bd9cdd2da64451da6 | [log] [tgz] |
---|---|---|
author | Sara Sharon <sara.sharon@intel.com> | Sun Apr 10 12:27:25 2016 +0300 |
committer | Luca Coelho <luciano.coelho@intel.com> | Tue May 10 22:34:03 2016 +0300 |
tree | a5656e182d8481e83ea71fbf7e16016c39f19817 | |
parent | dd02fbeb8fedecd8b2d55fdfde664eaa05afac6f [diff] |
iwlwifi: mvm: make phy_db size dynamic Driver is agnostic to the number of the phy_db entries and only serves the firmware as a pipe to move the data from init image to RT image. As the size of the arrays may change (as it does in 9000 device) allocate it dynamically. Firmware sends the largest index first so we can use this to know how much we should allocate. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>