iwlwifi: mvm: add lq_cmd/tx_resp reduced_tpc field
authorEliad Peller <eliad@wizery.com>
Wed, 12 Mar 2014 13:05:06 +0000 (15:05 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 9 Apr 2014 16:29:36 +0000 (19:29 +0300)
commit3a84b69e3cc20868099e4c513da6f7d169a60479
tree8e216545ebd7cc39939a978ce0f3294cd9b72d53
parente7f7634092d73d86846e8d8a85d417b5707ffb29
iwlwifi: mvm: add lq_cmd/tx_resp reduced_tpc field

The fw recently added an option to set tx power reduction
per station (in the lq_cmd command), and get the tx power
reduction used (in the tx_resp struct).

Use them and propogate this value up to mac80211's tx
response (in order to use it later in the rate-scaling
algorithm).

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw-api-rs.h
drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h
drivers/net/wireless/iwlwifi/mvm/sta.h
drivers/net/wireless/iwlwifi/mvm/tx.c