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>
This commit is contained in:
committed by
John W. Linville
parent
07d4f1ad2c
commit
a85d7cca12
@@ -2919,6 +2919,11 @@ struct iwl_scancomplete_notification {
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
enum iwl_ibss_manager {
|
||||
IWL_NOT_IBSS_MANAGER = 0,
|
||||
IWL_IBSS_MANAGER = 1,
|
||||
};
|
||||
|
||||
/*
|
||||
* BEACON_NOTIFICATION = 0x90 (notification only, not a command)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user