Johannes Berg
e5f1cc98cc
iwlwifi: allow rate-limited error messages
...
Sometimes we might want to have an error message for something
related to TX/RX, but if that somehow happens frequently it'll
overwhelm the logs. Add IWL_ERR_LIMIT() to alleviate that by
rate-limiting those messages.
To do this, rework __iwl_err() a bit to have a mode argument
instead of passing yet another (bool) argument to it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
Link: https://lore.kernel.org/r/iwlwifi.20211017162352.2cb1e6b75672.Iec5b1c1bcc6ebc87c586921a6c5c2a937f49e83c@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
2021-10-22 10:49:03 +03:00
Johannes Berg
8e99ea8d09
iwlwifi: use SPDX tags
...
Use SPDX tags instead of the long copyright notices. Also cleanup
some duplicate copyright notices and combine the years where possible.
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
Link: https://lore.kernel.org/r/iwlwifi.20201210000603.481bcb512a6f.I8146abe5a637079e7336209f23cb26af98b12b31@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
2020-12-10 00:15:31 +02:00
Greg Kroah-Hartman
84caa1dd00
iwlwifi: dvm: no need to check return value of debugfs_create functions
...
When calling debugfs functions, there is no need to ever check the
return value. The function can work or not, but the code logic should
never do something different based on this.
Cc: Johannes Berg <johannes.berg@intel.com >
Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com >
Cc: Luca Coelho <luciano.coelho@intel.com >
Cc: Intel Linux Wireless <linuxwifi@intel.com >
Cc: Kalle Valo <kvalo@codeaurora.org >
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
2019-02-20 20:47:56 +02:00
Luca Coelho
754f890a3a
iwlwifi: remove all occurrences of the FSF address paragraph
...
The Free Software Foundation address is superfluous and causes
checkpatch to issue a warning when present. Remove all paragraphs
with FSF's address to prevent that.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
2018-08-31 11:38:33 +03:00
Johannes Berg
57fbcce37b
cfg80211: remove enum ieee80211_band
...
This enum is already perfectly aliased to enum nl80211_band, and
the only reason for it is that we get IEEE80211_NUM_BANDS out of
it. There's no really good reason to not declare the number of
bands in nl80211 though, so do that and remove the cfg80211 one.
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
2016-04-12 15:56:15 +02:00
Emmanuel Grumbach
cb2f827795
iwlwifi: change the Intel Wireless email address
...
ilw@linux.intel.com is not available anymore.
linuxwifi@intel.com should be used instead.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com >
2015-12-20 14:48:22 +02:00
Sharon Dvir
39bdb17ebb
iwlwifi: update host command messages to new format
...
Host commands now have a group id, express this in printed messages.
Signed-off-by: Sharon Dvir <sharon.dvir@intel.com >
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com >
2015-12-13 08:56:17 +02:00
Kalle Valo
e705c12146
iwlwifi: move under intel vendor directory
...
Part of reorganising wireless drivers directory and Kconfig.
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2015-11-18 14:28:30 +02:00