aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-commands.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-05-29 04:35:02 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-03 15:00:23 -0400
commit7a999bf0c5eb19b20ac6ab0f21f6e5013400fa51 (patch)
tree4879bb2ebc4a6170ea423f2e3e1775ced5cef8c9 /drivers/net/wireless/iwlwifi/iwl-commands.h
parentb3bbacb78bc688707ac312158c5bbc6bbbb55b23 (diff)
iwlwifi: add remove station functionality
This patch adds remove station functionality, which is required for 5000 and AP mode. There are still some gaps in managment that need to be closed but it provides sufficient functionality for 5000 HW. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-commands.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index afd0f7d5b145..a637abe6efef 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -928,10 +928,28 @@ struct iwl_addsta_cmd {
928/* 928/*
929 * REPLY_ADD_STA = 0x18 (response) 929 * REPLY_ADD_STA = 0x18 (response)
930 */ 930 */
931struct iwl4965_add_sta_resp { 931struct iwl_add_sta_resp {
932 u8 status; /* ADD_STA_* */ 932 u8 status; /* ADD_STA_* */
933} __attribute__ ((packed)); 933} __attribute__ ((packed));
934 934
935#define REM_STA_SUCCESS_MSK 0x1
936/*
937 * REPLY_REM_STA = 0x19 (response)
938 */
939struct iwl_rem_sta_resp {
940 u8 status;
941} __attribute__ ((packed));
942
943/*
944 * REPLY_REM_STA = 0x19 (command)
945 */
946struct iwl_rem_sta_cmd {
947 u8 num_sta; /* number of removed stations */
948 u8 reserved[3];
949 u8 addr[ETH_ALEN]; /* MAC addr of the first station */
950 u8 reserved2[2];
951} __attribute__ ((packed));
952
935/* 953/*
936 * REPLY_WEP_KEY = 0x20 954 * REPLY_WEP_KEY = 0x20
937 */ 955 */
@@ -2869,7 +2887,8 @@ struct iwl_rx_packet {
2869 struct iwl_error_resp err_resp; 2887 struct iwl_error_resp err_resp;
2870 struct iwl4965_card_state_notif card_state_notif; 2888 struct iwl4965_card_state_notif card_state_notif;
2871 struct iwl4965_beacon_notif beacon_status; 2889 struct iwl4965_beacon_notif beacon_status;
2872 struct iwl4965_add_sta_resp add_sta; 2890 struct iwl_add_sta_resp add_sta;
2891 struct iwl_rem_sta_resp rem_sta;
2873 struct iwl4965_sleep_notification sleep_notif; 2892 struct iwl4965_sleep_notification sleep_notif;
2874 struct iwl4965_spectrum_resp spectrum; 2893 struct iwl4965_spectrum_resp spectrum;
2875 struct iwl4965_notif_statistics stats; 2894 struct iwl4965_notif_statistics stats;