This can be useful to know what is happening in mac80211
from the low level driver without guessing from mac80211's
callbacks.
This can be used for error detection (too many deauths)
and trigger recovery / debug flows based on that
information.
Another possibility is to change parameters that are not
controlled by mac80211 based on this. For example, after
a few association failures, a device may change its BT
Coexist scheme or modify the time sharing between its
vifs.

I use these patches in iwlwifi for debug only (currently).
This allows me to collect firmware debug data upon
authentication failure / deauth Rx etc...

Emmanuel Grumbach (4):
  mac80211: convert rssi_callback() to event_callback()
  mac80211: notify the driver about authentication status
  mac80211: notify the driver about association status
  mac80211: notify the driver about deauth

 drivers/net/wireless/iwlwifi/dvm/mac80211.c    | 15 ++--
 drivers/net/wireless/iwlwifi/mvm/coex.c        |  2 +-
 drivers/net/wireless/iwlwifi/mvm/coex_legacy.c |  2 +-
 drivers/net/wireless/iwlwifi/mvm/mvm.h         |  4 +-
 include/net/mac80211.h                         | 90 ++++++++++++++++++++---
 net/mac80211/driver-ops.h                      | 12 ++--
 net/mac80211/mlme.c                            | 99 ++++++++++++++++++++------
 net/mac80211/trace.h                           | 14 ++--
 8 files changed, 185 insertions(+), 53 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to