Emmanuel Grumbach
6584b9d0aa
wifi: iwlwifi: move code from iwl-eeprom-parse to dvm
...
Move code that is DVM only to dvm.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com >
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com >
Link: https://msgid.link/20240512152312.9a1b6ef116e0.I217a513f544d5288a7760d265f51419e81abfd9d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
2024-05-23 10:53:04 +02:00
Johannes Berg
744b7e1ef2
wifi: iwlwifi: dvm: remove kernel-doc warnings
...
Mostly remove kernel-doc comment annotation since
the comments really aren't kernel-doc, and fix a
few other places.
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com >
Link: https://lore.kernel.org/r/20230830112059.7178fb7c96fb.I6af1f291e306c50a3c4f5afcdc2ba0bbd4bea01f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
2023-09-11 12:36:27 +02:00
Kees Cook
72c08d9f4c
wifi: iwlwifi: Track scan_cmd allocation size explicitly
...
In preparation for reducing the use of ksize(), explicitly track the
size of scan_cmd allocations. This also allows for noticing if the scan
size changes unexpectedly. Note that using ksize() was already incorrect
here, in the sense that ksize() would not match the actual allocation
size, which would trigger future run-time allocation bounds checking.
(In other words, memset() may know how large scan_cmd was allocated for,
but ksize() will return the upper bounds of the actually allocated memory,
causing a run-time warning about an overflow.)
Cc: Gregory Greenman <gregory.greenman@intel.com >
Cc: Kalle Valo <kvalo@kernel.org >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Eric Dumazet <edumazet@google.com >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Paolo Abeni <pabeni@redhat.com >
Cc: Luca Coelho <luciano.coelho@intel.com >
Cc: Johannes Berg <johannes.berg@intel.com >
Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com >
Cc: Miri Korenblit <miriam.rachel.korenblit@intel.com >
Cc: Ilan Peer <ilan.peer@intel.com >
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org >
Signed-off-by: Kalle Valo <kvalo@kernel.org >
Link: https://lore.kernel.org/r/20220923220853.3302056-1-keescook@chromium.org
2022-09-28 09:43:58 +03:00
Johannes Berg
854fe828e5
iwlwifi: remove contact information
...
The list address is going away, and the postal address isn't
useful, remove all the contact information.
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.20211017113927.f73e3b6384cb.I967fd394995461277eafa149bb25cefd1673751e@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
2021-10-22 10:48:59 +03:00
Emmanuel Grumbach
f25c418dca
iwlwifi: remove antenna_coupling module parameter
...
This module parameter should not be mangled by users.
This relates to a very old driver and I doubt people can
really check the antenna coupling in a way that would make
the BT Coexistence work better with a real value.
Drop it.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com >
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
Link: https://lore.kernel.org/r/iwlwifi.20200424182644.6e566897ce0a.I8395a50c1c39522e542366064bff33a33009ce7b@changeid
2020-05-08 09:50:42 +03:00
Akinobu Mita
b1a79b2f31
iwlwifi: use <linux/units.h> helpers
...
This switches the iwlwifi driver to use celsius_to_kelvin() and
kelvin_to_celsius() in <linux/units.h>.
Link: http://lkml.kernel.org/r/1576386975-7941-11-git-send-email-akinobu.mita@gmail.com
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com >
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com >
Acked-by: Luca Coelho <luciano.coelho@intel.com >
Cc: Kalle Valo <kvalo@codeaurora.org >
Cc: Johannes Berg <johannes.berg@intel.com >
Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com >
Cc: Luca Coelho <luciano.coelho@intel.com >
Cc: Amit Kucheria <amit.kucheria@verdurent.com >
Cc: Andy Shevchenko <andy@infradead.org >
Cc: Christoph Hellwig <hch@lst.de >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Darren Hart <dvhart@infradead.org >
Cc: Guenter Roeck <linux@roeck-us.net >
Cc: Hartmut Knaack <knaack.h@gmx.de >
Cc: Jean Delvare <jdelvare@suse.com >
Cc: Jens Axboe <axboe@fb.com >
Cc: Jonathan Cameron <jic23@kernel.org >
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Cc: Keith Busch <kbusch@kernel.org >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net >
Cc: Sagi Grimberg <sagi@grimberg.me >
Cc: Stanislaw Gruszka <sgruszka@redhat.com >
Cc: Sujith Thomas <sujith.thomas@intel.com >
Cc: Zhang Rui <rui.zhang@intel.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2020-01-31 10:30:40 -08:00
Thomas Gleixner
4273a380f2
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322
...
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of version 2 of the gnu general public license as
published by the free software foundation this program is
distributed in the hope that it will be useful but without any
warranty without even the implied warranty of merchantability or
fitness for a particular purpose see the gnu general public license
for more details the full gnu general public license is included in
this distribution in the file called license
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 29 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Reviewed-by: Allison Randal <allison@lohutok.net >
Reviewed-by: Alexios Zavras <alexios.zavras@intel.com >
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org >
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190530000435.438503728@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-06-05 17:37:05 +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
9fca9d5c97
iwlwifi: move notification wait into fw/
...
Move the notification wait code into the new fw interaction directory.
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
2017-06-29 13:26:27 +03:00
Johannes Berg
d962f9b101
iwlwifi: create new subdirectory for FW interaction
...
There's a lot of mvm code that really should be more generic
and part of the iwlwifi module. Start by making a place to
keep such code - in the new "fw" subdirectory - and already
move the firmware related header files there.
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
2017-06-29 13:26:27 +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
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