]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: set the RTS_MIMO_PROT bit in flag mask when sending sta to fw
authorNaftali Goldstein <naftali.goldstein@intel.com>
Thu, 27 Jul 2017 01:53:55 +0000 (04:53 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 1 Aug 2017 09:18:51 +0000 (12:18 +0300)
commita9ad183c669d80bc2ee1d29f72a5379a712970ac
treeeed3bcc93dd9e141b9f5fb0931a658c3a03a5645
parentb414642da32fb0b46cf940d710c9480ce9e4702a
iwlwifi: mvm: set the RTS_MIMO_PROT bit in flag mask when sending sta to fw

Set the STA_FLG_RTS_MIMO_PROT bit in station_flags_msk of the add sta
command, so that when smps mode changes, the FW will know about it.

In particular, in AP mode, clients are added upon receival of an auth
request, at which point there's no knowledge of the client's smps mode.
When the assoc request arrives, the add_sta command is resent to modify
the station parameters. At this point the driver knows the smps mode,
but since the corresponding bit in the mask is not set, the fw doesn't
update this field so there's no rts protection for mimo.

Fixes: 1cf6a10dee6b ("iwlwifi: mvm: set up initial SMPS/NSS station info")
Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c