]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: set default new STA as non-aggregated
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 24 Sep 2015 08:44:12 +0000 (10:44 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Dec 2015 06:19:36 +0000 (08:19 +0200)
commit7a907694bfb49b1782bd6804f1aec355a98ab92d
treefea1fe864bd1b04074b3617fe345678aadbb5481
parent12c322b05a9026f63e63dbe330980b3f7974f7f7
iwlwifi: mvm: set default new STA as non-aggregated

When sending the first ADD_STA HCMD for a STA, the %add_modify
field indicates an addition of a STA and not a modification
of one. In such a case, all fields of the HCMD are used to
initialize the corresponding fields in the FW, regardless of
what bits are set in %modify_mask.

Set the %tid_disable_tx field to mvm_sta->tid_disable_agg in
iwl_mvm_sta_send_to_fw(). If the STA is only updated this will
have no effect, but if it is added - it will make sure the
STA starts with the correct queues - if any - configured as
non-aggregated by default (until told otherwise).

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c