ath9k: Further fix for mesh beaconing

    This fix ensure the timers to be set at beacon interval boundaries.
    Without this change timers can be set improperly resulting in the absence of beacons.

    Signed-off-by: Fabrice Deyber <fabricedeyber@agilemesh.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
ath9k: Add a debug entry to start/stop ANI

    this helps the user to start/stop ANI dynamically.

    Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
ath9k: better position PAPRD debug message

    the training power calculation indirectly depends on target power under
    some scenarios, unless we have a valid training power, the PAPRD frames
    won't be sent out. so when we get an invalid training power, its better
    to display them before returning back.

    Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
cfg80211: skip disabled channels on channel survey

    The channel survey information will be empy for
    disabled channels so simply discard those entries.

    Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
iwlagn: remove un-necessary tx power ops

    All agn devices use the same tx power function, remove the ops

    Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
iwlagn: fix dual-mode RXON

     The PAN context has three states: disabled, disassociated
     and associated. It seems that wasn't quite as much of an
     issue in previous versions of the microcode, but now we
     really have to use all the three states properly. So add
     code to switch accordingly.

    Additionally, PAN parameters need to be sent differently
    and the timing for PAN RXON needs to be inbetween.

    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>
iwlagn: solve sparse warning

    Remove local variable that was shadowing another one
    sta_priv hasn't changed since the beginning of the function, so don't define
    another pointer with the same name to the same variable

    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
iwlwifi: disambiguate invalid DMA index warnings

    The exact same error message is used in three different functions in
    iwlagn. Add the function name to the error string to disambiguate where
    the error is coming from.

    Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu>
    Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
iwlagn: free the ICT ISR when the request_irq failed

    Fix a memory leak in case request_irq fails.

    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
iwlagn: advertise interface combinations

    With this, iwlwifi will advertise the limits on
    concurrency of virtual interfaces.

    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>
iwlagn: change the logging level for aggregation enable check

    Aggregation will not enable if the traffic is lower than the threshold,
    this is not an error condition, so change the logging level.

    Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
iwlagn: change log to better represent the state of aggregation process

    Multiple A-MPDU actions will received from mac80211 while setting up the
    aggregation queue, change the message log to better represent the states.

    Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>