2019-06-04 10:11:33 +02:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-08 17:44:29 +02:00
|
|
|
|
|
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
|
|
|
|
|
2010-06-10 10:21:48 +02:00
|
|
|
|
2017-05-27 00:27:25 +02:00
|
|
|
|
2024-01-29 19:54:35 +01:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-15 11:47:34 -04:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
|
|
|
|
|
2009-02-12 11:38:37 +05:30
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
|
|
|
|
|
2011-11-24 11:15:21 -08:00
|
|
|
|
|
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
|
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
|
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-15 19:13:56 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
|
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
|
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
2014-04-15 19:13:56 +03:00
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
2012-12-12 16:56:20 -08:00
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
|
|
|
|
|
2012-12-12 16:56:20 -08:00
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
|
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
2014-04-01 07:13:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-15 19:13:56 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-01-08 23:31:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-09 14:11:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-01-08 23:31:49 +03:00
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
|
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
2013-06-28 10:39:59 +02:00
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
2013-02-12 16:43:19 +01:00
|
|
|
|
2022-06-15 09:20:45 +02:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
2022-06-15 09:20:45 +02:00
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
2008-10-14 16:58:37 +02:00
|
|
|
|
|
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
|
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
2010-07-16 13:01:24 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-17 17:14:26 +03:00
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-17 17:14:26 +03:00
|
|
|
|
|
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
|
|
|
|
|
2009-12-17 13:55:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-28 15:01:57 +01:00
|
|
|
|
2009-12-17 13:55:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
2008-10-14 16:58:37 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2008-10-14 16:58:37 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2008-10-14 16:58:37 +02:00
|
|
|
|
2008-10-09 12:13:49 +02:00
|
|
|
|
|
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
2008-10-09 12:13:49 +02:00
|
|
|
|
2011-02-25 12:24:10 +01:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2011-02-25 12:24:10 +01:00
|
|
|
|
2008-10-09 12:13:49 +02:00
|
|
|
|
|
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2008-10-09 12:13:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-25 12:24:10 +01:00
|
|
|
|
2008-10-09 12:13:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
2008-10-09 12:13:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
2008-10-14 16:58:37 +02:00
|
|
|
|
2008-10-09 12:13:49 +02:00
|
|
|
|
|
|
|
|
|
2013-03-01 11:54:43 +01:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2011-11-18 11:32:00 -08:00
|
|
|
|
2014-07-17 17:14:27 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-12-13 15:41:05 +02:00
|
|
|
|
2022-09-02 16:12:54 +02:00
|
|
|
|
2015-12-13 15:41:05 +02:00
|
|
|
|
2022-09-02 16:12:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-12-13 15:41:05 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2022-06-15 09:20:45 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2022-06-15 09:20:45 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wifi: mac80211: introduce 'channel request'
For channel contexts, mac80211 currently uses the cfg80211
chandef struct (control channel, center freq(s), width) to
define towards drivers and internally how these behave. In
fact, there are _two_ such structs used, where the min_def
can reduce bandwidth according to the stations connected.
Unfortunately, with EHT this is longer be sufficient, at
least not for all hardware. EHT requires that non-AP STAs
that are connected to an AP with a lower bandwidth than it
(the AP) advertises (e.g. 160 MHz STA connected to 320 MHz
AP) still be able to receive downlink OFDMA and respond to
trigger frames for uplink OFDMA that specify the position
and bandwidth for the non-AP STA relative to the channel
the AP is using. Therefore, they need to be aware of this,
and at least for some hardware (e.g. Intel) this awareness
is in the hardware. As a result, use of the "same" channel
may need to be split over two channel contexts where they
differ by the AP being used.
As a first step, introduce a concept of a channel request
('chanreq') for each interface, to control the context it
requests. This step does nothing but reorganise the code,
so that later the AP's chandef can be added to the request
in order to handle the EHT case described above.
Link: https://msgid.link/20240129194108.2e88e48bd2e9.I4256183debe975c5ed71621611206fdbb69ba330@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-01-29 19:34:40 +01:00
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
|
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
|
|
|
|
|
2020-07-07 15:45:48 -05:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-09 10:22:01 -08:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2022-06-15 09:20:45 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2022-06-15 09:20:45 +02:00
|
|
|
|
2012-12-27 18:55:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-01-31 13:12:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-09-02 16:12:41 +02:00
|
|
|
|
2020-01-31 13:12:53 +02:00
|
|
|
|
2022-09-02 16:12:41 +02:00
|
|
|
|
2020-01-31 13:12:53 +02:00
|
|
|
|
2022-09-02 16:12:41 +02:00
|
|
|
|
2013-02-12 14:21:00 +01:00
|
|
|
|
2022-09-02 16:12:41 +02:00
|
|
|
|
2013-02-07 11:47:44 +01:00
|
|
|
|
2008-10-14 16:58:37 +02:00
|
|
|
|
|
|
|
|
|
2012-07-18 13:31:31 +02:00
|
|
|
|
|
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
2009-02-10 21:25:46 +01:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
2023-08-28 14:00:04 +02:00
|
|
|
|
2017-05-27 00:27:25 +02:00
|
|
|
|
2017-10-29 11:51:09 +02:00
|
|
|
|
2023-08-28 14:00:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-29 11:51:09 +02:00
|
|
|
|
2017-09-06 17:32:40 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-14 22:33:34 +02:00
|
|
|
|
2023-08-28 13:59:35 +02:00
|
|
|
|
2017-09-06 17:32:40 +03:00
|
|
|
|
2018-05-14 22:33:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-09-06 17:32:40 +03:00
|
|
|
|
2018-05-14 22:33:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-09-06 17:32:40 +03:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
|
|
|
|
|
2023-08-28 13:59:35 +02:00
|
|
|
|
2010-06-10 10:21:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-14 22:33:34 +02:00
|
|
|
|
2010-06-10 10:21:43 +02:00
|
|
|
|
|
|
|
|
|
2023-08-28 14:00:04 +02:00
|
|
|
|
|
|
|
|
|
2018-05-14 22:33:34 +02:00
|
|
|
|
|
|
|
|
|
2010-06-10 10:21:43 +02:00
|
|
|
|
2012-11-14 23:22:21 +01:00
|
|
|
|
2010-06-10 10:21:44 +02:00
|
|
|
|
2023-08-28 14:00:04 +02:00
|
|
|
|
2010-06-10 10:21:44 +02:00
|
|
|
|
2010-10-05 19:37:40 +02:00
|
|
|
|
2010-06-10 10:21:44 +02:00
|
|
|
|
2011-05-22 16:10:21 +03:00
|
|
|
|
|
|
|
|
|
2023-08-28 14:00:04 +02:00
|
|
|
|
2011-05-22 16:10:21 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-14 22:33:34 +02:00
|
|
|
|
|
|
|
|
|
2017-05-30 16:34:46 +02:00
|
|
|
|
2023-08-28 14:00:04 +02:00
|
|
|
|
|
|
|
|
|
2024-11-12 16:38:46 +08:00
|
|
|
|
2017-05-30 16:34:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-08-28 14:00:04 +02:00
|
|
|
|
2017-05-30 16:34:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-12 14:08:44 -07:00
|
|
|
|
|
|
|
|
|
2011-05-13 13:35:40 +02:00
|
|
|
|
2018-05-14 22:33:34 +02:00
|
|
|
|
2023-01-06 23:31:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-08-28 13:59:35 +02:00
|
|
|
|
2023-01-06 23:31:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-13 13:35:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-06-10 10:21:43 +02:00
|
|
|
|
|
|
|
|
|
2011-05-13 13:35:40 +02:00
|
|
|
|
|
|
|
|
|
2013-06-12 14:08:44 -07:00
|
|
|
|
2011-05-13 13:35:40 +02:00
|
|
|
|
2011-05-13 14:15:49 +02:00
|
|
|
|
2017-05-27 00:27:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-14 22:33:34 +02:00
|
|
|
|
|
|
|
|
|
2017-05-27 00:27:25 +02:00
|
|
|
|
|
|
|
|
|
2023-08-28 14:00:04 +02:00
|
|
|
|
|
|
|
|
|
2017-05-27 00:27:25 +02:00
|
|
|
|
|
|
|
|
|
2010-06-10 10:21:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-10 21:25:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-29 14:17:31 -07:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-25 12:09:25 +03:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mac80211: send {ADD,DEL}BA on AC_VO like other mgmt frames, as per spec
ATM, {ADD,DEL}BA and BAR frames are sent on the AC matching the TID of
the BA parameters. In the discussion [1] about this patch, Johannes
recalled that it fixed some races with the DELBA and indeed this
behavior was introduced in [2].
While [2] is right for the BARs, the part queueing the {ADD,DEL}BAs on
their BA params TID AC violates the spec and is more a workaround for
some drivers. Helmut expressed some concerns wrt such drivers, in
particular DELBAs in rt2x00.
ATM, DELBAs are sent after a driver has called (hence "purposely")
ieee80211_start_tx_ba_cb_irqsafe and Johannes and Emmanuel gave some
details wrt intentions behind the split of the IEEE80211_AMPDU_TX_STOP_*
given to the driver ampdu_action supposed to call this function, which
could prove handy to people trying to do the right thing in faulty
drivers (if their fw/hw don't get in their way).
[1] http://mid.gmane.org/1390391564-18481-1-git-send-email-karl.beldan@gmail.com
[2] Commit: cf6bb79ad828 ("mac80211: Use appropriate TID for sending BAR, ADDBA and DELBA frames")
Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-01-23 20:06:34 +01:00
|
|
|
|
2008-09-08 17:44:28 +02:00
|
|
|
|
|
|
|
|
|
2008-09-09 14:42:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-22 11:29:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-09 14:42:50 +02:00
|
|
|
|
|
|
|
|
|
2010-10-05 19:37:40 +02:00
|
|
|
|
|
|
|
|
|
2010-06-10 10:21:39 +02:00
|
|
|
|
2012-07-18 13:31:31 +02:00
|
|
|
|
2008-09-09 14:42:50 +02:00
|
|
|
|
2009-12-01 13:37:02 +01:00
|
|
|
|
2018-03-27 19:16:16 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-12-01 13:37:02 +01:00
|
|
|
|
|
|
|
|
|
2023-08-28 15:09:25 +02:00
|
|
|
|
2009-12-01 13:37:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-08-28 15:09:26 +02:00
|
|
|
|
|
|
|
|
|
2009-12-01 13:37:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
networking: make skb_put & friends return void pointers
It seems like a historic accident that these return unsigned char *,
and in many places that means casts are required, more often than not.
Make these functions (skb_put, __skb_put and pskb_put) return void *
and remove all the casts across the tree, adding a (u8 *) cast only
where the unsigned char pointer was used directly, all done with the
following spatch:
@@
expression SKB, LEN;
typedef u8;
identifier fn = { skb_put, __skb_put };
@@
- *(fn(SKB, LEN))
+ *(u8 *)fn(SKB, LEN)
@@
expression E, SKB, LEN;
identifier fn = { skb_put, __skb_put };
type T;
@@
- E = ((T *)(fn(SKB, LEN)))
+ E = fn(SKB, LEN)
which actually doesn't cover pskb_put since there are only three
users overall.
A handful of stragglers were converted manually, notably a macro in
drivers/isdn/i4l/isdn_bsdcomp.c and, oddly enough, one of the many
instances in net/bluetooth/hci_sock.c. In the former file, I also
had to fix one whitespace problem spatch introduced.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-16 14:29:21 +02:00
|
|
|
|
2009-12-01 13:37:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-08-28 15:09:26 +02:00
|
|
|
|
2020-07-07 15:45:48 -05:00
|
|
|
|
2009-12-01 13:37:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-08-28 15:09:26 +02:00
|
|
|
|
|
|
|
|
|
2024-03-20 09:14:00 +02:00
|
|
|
|
2023-08-28 15:09:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-08-28 15:09:25 +02:00
|
|
|
|
2009-12-01 13:37:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-05 17:05:55 +02:00
|
|
|
|
2022-05-30 23:45:04 +02:00
|
|
|
|
2010-08-05 17:05:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
2010-08-05 17:05:55 +02:00
|
|
|
|
2021-06-18 13:41:32 +03:00
|
|
|
|
2010-08-05 17:05:55 +02:00
|
|
|
|
|
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
|
|
|
|
|
2022-05-30 23:45:04 +02:00
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
2021-06-18 13:41:32 +03:00
|
|
|
|
2024-01-29 19:54:35 +01:00
|
|
|
|
|
|
|
|
|
2022-05-30 23:45:04 +02:00
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
2022-05-30 23:45:04 +02:00
|
|
|
|
|
|
|
|
|
2023-06-06 14:49:28 +02:00
|
|
|
|
|
|
|
|
|
2022-06-17 22:36:37 +02:00
|
|
|
|
|
|
|
|
|
2010-08-05 17:05:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|