aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-commands.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-07-31 11:34:10 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-08-16 15:26:38 -0400
commita85d7cca1204f2dba86d2f61693f0fe8c48f0fa5 (patch)
tree78613f0415c0feca672b382d9c98f1c69c25b7e9 /drivers/net/wireless/iwlwifi/iwl-commands.h
parent07d4f1ad2c21273f0f89a3d2202d22fcaf901439 (diff)
iwlwifi: track IBSS manager status
Only the IBSS manager, ie. the station that sent the IBSS beacon last, should be replying to probe responses. This requires implementing the mac80211 tx_last_beacon callback, which we can do thanks to the ucode beacon notification. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 60725a5c1b69..9435fd934d5e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -2919,6 +2919,11 @@ struct iwl_scancomplete_notification {
2919 * 2919 *
2920 *****************************************************************************/ 2920 *****************************************************************************/
2921 2921
2922enum iwl_ibss_manager {
2923 IWL_NOT_IBSS_MANAGER = 0,
2924 IWL_IBSS_MANAGER = 1,
2925};
2926
2922/* 2927/*
2923 * BEACON_NOTIFICATION = 0x90 (notification only, not a command) 2928 * BEACON_NOTIFICATION = 0x90 (notification only, not a command)
2924 */ 2929 */