]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: debugfs: add an option to set antennas for scan command
authorOren Givon <oren.givon@intel.com>
Mon, 19 Aug 2013 05:36:48 +0000 (08:36 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 Oct 2013 16:00:32 +0000 (18:00 +0200)
commit91b05d103545500285790a09d02e763a61f2020f
tree524142d71960fcd2c1b964c7cf7a963d0d9d8360
parent4ac6cb59faefc3143d8d4589549a6c2a7ccaefe9
iwlwifi: mvm: debugfs: add an option to set antennas for scan command

Add an option to set rx antennas for the scan command from debugfs.
Create a file called ant_rxchain in the mvm debugfs directory.
To choose antennas, write a number between 1-7 to ant_rxchain.
Write 1 for A, 2 for B, 3 for AB and so on.

Signed-off-by: Oren Givon <oren.givon@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/debugfs.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/scan.c