aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-11-13 14:56:36 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-18 17:09:07 -0500
commit9bb487b406692e172b15eba58de7d69358ac2005 (patch)
tree5eb25516212f26b0e9f067c387e4fd014f68e64a /drivers/net/wireless/iwlwifi/iwl-4965.c
parentc397bf15a6067ecf39f8a771907f4721a64fd61f (diff)
iwlwifi: add sleep_tx_count ucode station API
This field was marked as reserved before since we didn't use it, but is present in all released firmwares afaict. We're going to need it soon, so add it now. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 0efde87b4597..1e58c49dd768 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -1817,6 +1817,7 @@ static u16 iwl4965_build_addsta_hcmd(const struct iwl_addsta_cmd *cmd, u8 *data)
1817 addsta->add_immediate_ba_tid = cmd->add_immediate_ba_tid; 1817 addsta->add_immediate_ba_tid = cmd->add_immediate_ba_tid;
1818 addsta->remove_immediate_ba_tid = cmd->remove_immediate_ba_tid; 1818 addsta->remove_immediate_ba_tid = cmd->remove_immediate_ba_tid;
1819 addsta->add_immediate_ba_ssn = cmd->add_immediate_ba_ssn; 1819 addsta->add_immediate_ba_ssn = cmd->add_immediate_ba_ssn;
1820 addsta->sleep_tx_count = cmd->sleep_tx_count;
1820 addsta->reserved1 = cpu_to_le16(0); 1821 addsta->reserved1 = cpu_to_le16(0);
1821 addsta->reserved2 = cpu_to_le32(0); 1822 addsta->reserved2 = cpu_to_le32(0);
1822 1823