First batch of iwlwifi fixes intended for 4.16:

* A couple of bugzilla fixes
  - Fix a bogus warning when freeing a TFD;
  - Fix severe throughput problem with 9000 series;
* Fix for a bug that caused queue hangs in certain situations;
* Fix for an issue with IBSS;
* Fix an issue with rate-scalingin AP-mode.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEF3LNfgb2BPWm68smoUecoho8xfoFAlqG3nYACgkQoUecoho8
xfoK5g/+OyIZv9Apq+5e5zWV4433jJgSl+P1nvIh5ajpU+Mf8gPvGmkxYjZ1qtg1
l5aAw1amIXcQewhbro9SPSJBQi02vu4i9cOYBiyJT6AQ/GtxbDImxB8yFElr1C/K
84FnM+iRDwrFaNQtja7d7iB3rsB22VNQfGs6lecswYrEPofW+JSaKMOVQQUlvyU1
way58DYPx5R1PmqOJXIbld4Qi1Vy9+uNfduD685cwByrssWX2zod949eVaseeTS2
evSvx6ZeYRYGKBAHflprliXJ04Jt7A39cgYkIImLFTTXKwhXfn1pj3pi5cn+8vvd
CYizIh0TVgCTXu6dAPPeuaBs1HWgA5qYzM8HyR3OvEqbBlUW8H3eIrFQCB7pqHbO
R0ALULYo10WQzlf7lUS9OpX/ePVyURNm8pW+S8DFWIrByFKUBQsQCjDgmylYqEuM
H1RnF9ZctT2PdDI3mEDksBaHg6gbMyz7krAhOcUFj6QNEkCzPr8pVf+bQCEELmSd
favmHeyQzSPLHa889fkk/3EdD6g2HvN5ENjmNAw5PzOX5eDuMCbg3xYSxJahs/19
fRH2viu7qPfG3FRTgWZfDKAB4JWhPO1i4Fmp1xbN4IbpHD+Yf/h89n4qbHtLnCJ/
fh0H6o2hNkSBvaItv9Ku8w1u3XX1sTKNpT75Bj9fQXDpgunGu8c=
=wvAJ
-----END PGP SIGNATURE-----
iwlwifi: mvm: always init rs with 20mhz bandwidth rates

In AP mode, when a new station associates, rs is initialized immediately
upon association completion, before the phy context is updated with the
association parameters, so the sta bandwidth might be wider than the phy
context allows.
To avoid this issue, always initialize rs with 20mhz bandwidth rate, and
after authorization, when the phy context is already up-to-date, re-init
rs with the correct bw.

Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2 files changed