From: Wey-Yi Guy Date: Sat, 3 Apr 2010 23:44:39 +0000 (-0700) Subject: iwlwifi: set correct single/dual stream mask X-Git-Tag: v2.6.35-rc1~473^2~393^2~25^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a23d69582fa4bfcb443631bcd3d0d2afcc19208;p=pandora-kernel.git iwlwifi: set correct single/dual stream mask Even the initial single/dual stream values will be overridden later when issue link quality command; but still make sense not to use hard-code value during initialization. Single/Dual stream mask are used to indicate the best antenna for SISO/MIMO; different NIC has different tx antenna configuration; so the parameter need to based on the valid tx antenna. 1x2 device: single tx antenna available, only SISO is valid configuration, but still need to set up MIMO configuration, so set it up with antenna A & B as default. 2x2 device: two tx antenna available, dual_stream will use both valid antenna. 3x3 device: three tx antenna available, skip the first antenna and choice the second and third antenna for dual_stream. Signed-off-by: Wey-Yi Guy Signed-off-by: Reinette Chatre --- Reading git-diff-tree failed