iwlwifi: iwlmvm: in monitor NDP notif take the NSS from rx_vec
authorShaul Triebitz <shaul.triebitz@intel.com>
Wed, 24 Oct 2018 15:37:46 +0000 (18:37 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 29 Jan 2019 14:10:29 +0000 (16:10 +0200)
commitc97781d1d9563dc594074177dfedd848da648223
tree9e9b79dac9bf7beefb536a000a28e31de622c372
parent937c2652768f931ac2f8ce0aa35476ccb0a603d0
iwlwifi: iwlmvm: in monitor NDP notif take the NSS from rx_vec

Take the NSS value from 'rx_vec' rather than from 'rate_n_flags'.
The rate_n_flags has only 2 bits for the NSS giving a max of 4SS
(0 = 1SS etc.). Since there may be up to 8SS use the rx_vec which
has 3 bits for the NSS.
While at it, fix the rx_vec array to length of 2.

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/rx.h
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c