03 Jul, 2020
1 commit
-
Many defined constants in wifi.h are unused and/or available from
, some with slightly different names. Use the
common ones, rename where necessary and remove unused.Signed-off-by: Michael Straube
Link: https://lore.kernel.org/r/20200701164213.4205-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman
01 Jul, 2020
1 commit
-
The constants IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL and
IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA are not used in the driver
code and, if ever needed, available from 'include/linux/ieee80211.h'.
Remove them from wifi.h.Signed-off-by: Michael Straube
Link: https://lore.kernel.org/r/20200629171405.7711-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman
17 Jun, 2020
1 commit
-
This patch switches to and and
deletes a lot of duplicate definitions plus many unused ones.Non obvious changes:
- struct ieee80211_ht_cap is different enough that I preferred to keep
(and rename) it for now.
- mcs_rate in translate_scan was not read after being set, so I deleted
that part rather than using the renamed struct
- WLAN_CAPABILITY_BSS is replaced with WLAN_CAPABILITY_ESS which is the
corresponding one with same valueSigned-off-by: Pascal Terjan
Link: https://lore.kernel.org/r/20200609194848.166130-1-pterjan@google.com
Signed-off-by: Greg Kroah-Hartman
27 May, 2020
1 commit
-
The value in shared headers was fixed 9 years ago in commit 8d661f1e462d
("ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro") and
while looking at using shared headers for other duplicated constants
I noticed this driver uses the old value.The macros are also defined twice in this file so I am deleting the
second definition.Signed-off-by: Pascal Terjan
Cc: stable
Link: https://lore.kernel.org/r/20200523211247.23262-1-pterjan@google.com
Signed-off-by: Greg Kroah-Hartman
28 Aug, 2019
1 commit
-
Remove multiple blank lines.
Signed-off-by: Taihsiang Ho (tai271828)
Link: https://lore.kernel.org/r/20190826052018.18649-1-tai271828@gmail.com
Signed-off-by: Greg Kroah-Hartman
20 May, 2019
1 commit
-
Use is_multicast_ether_addr instead of custom IS_MCAST and remove
the now unused IS_MCAST. All buffers are properly aligned.Signed-off-by: Michael Straube
Signed-off-by: Greg Kroah-Hartman
04 Oct, 2018
1 commit
-
This satisfies a checkpatch warning and is the preferred
method for notating the license.The SPDX identifier is a legally binding shorthand, which
can be used instead of the full boiler plate text.Signed-off-by: Michael Straube
Signed-off-by: Greg Kroah-Hartman
19 Jun, 2018
1 commit
-
Bump the IEEE80211_MAX_AMPDU_BUF size to 0x100 for HE support
and - for now - use IEEE80211_MAX_AMPDU_BUF_HT everywhere.This is derived from my internal patch, parts of which Luca
had sent upstream.Signed-off-by: Luca Coelho
Signed-off-by: Johannes Berg
25 Jun, 2017
1 commit
-
CHECK: Macro argument reuse 'pframe' - possible side-effects?
Convert get_tofr_ds macro to inline functions to fix checkpatch check
Signed-off-by: Jaya Durga
Signed-off-by: Greg Kroah-Hartman
06 Mar, 2017
1 commit
-
Fixed style of block comments
Found using checkpatchSigned-off-by: Derek Robson
Signed-off-by: Greg Kroah-Hartman
12 Feb, 2017
1 commit
-
Although the driver works on big-endian hardware, Sparse generates a lot
of warnings. Many of these are the result of incorrect coding of these
macros.Signed-off-by: Larry Finger
Signed-off-by: Greg Kroah-Hartman
03 Jan, 2017
1 commit
-
Fixed a sparse warning.
GetFrameSubType and GetFrameType should cast to __le16. Furthermore
GetFramSubType should use le16_to_cpu instead of cpu_to_le16.Signed-off-by: Jannik Becher
Tested-by: Larry Finger
Signed-off-by: Greg Kroah-Hartman
12 Sep, 2016
1 commit
-
Fix checkpatch.pl warning "Block comments use a trailing */ on
a separate line" on multiple files of the driver by editing the
affected comments.Signed-off-by: Raphaël Beamonte
Signed-off-by: Greg Kroah-Hartman
13 Sep, 2015
2 commits
-
The BIT() macro is already defined in bitops.h,
remove duplicate definitions.Signed-off-by: Anish Bhatt
Signed-off-by: Greg Kroah-Hartman -
WLAN_ETHHDR_LEN/WLAN_ETHADDR_LEN/WLAN_ADDR_LEN
are unused, duplicate or unnecessary, remove.Signed-off-by: Anish Bhatt
Signed-off-by: Greg Kroah-Hartman
16 Mar, 2015
1 commit
-
This fixes the following checkpatch.pl warning:
WARNING: __constant_cpu_to_le16 should be cpu_to_le16Signed-off-by: Dilek Uzulmez
Signed-off-by: Greg Kroah-Hartman
27 Feb, 2015
1 commit
-
Removes several macro definitions that are unused
Patch 2 will remove the same definitions in rtl8188eu/include/wifi.hSigned-off-by: Katie Dunne
Signed-off-by: Greg Kroah-Hartman
12 Jan, 2013
2 commits
-
Those definitions are not used anywhere in the kernel. If you know any
reason why they should stay in the code please speak up!Signed-off-by: Przemo Firszt
Signed-off-by: Greg Kroah-Hartman -
Clean some trivial formating problems in rtl8712 from staging tree. This patch
also changes the way preprocessor macros are defined to keep checkpatch.pl
quiet.Signed-off-by: Przemo Firszt
Signed-off-by: Greg Kroah-Hartman
11 May, 2012
1 commit
-
This driver had headers like big_endian.h, little_endian.h, swab.h
and yet we can throw them all in the trash can and the thing
still builds on x86-64 and ppc, just by deleting the references
to the deleted files.Cc: Larry Finger
Cc: Greg Kroah-Hartman
Signed-off-by: Paul Gortmaker
07 Sep, 2011
1 commit
-
Only copyright banners have been added to these files. No functional changes.
Signed-off-by: Ali Bahar
Signed-off-by: Larry Finger
Signed-off-by: Greg Kroah-Hartman
06 Jul, 2011
1 commit
-
According to scripts/checkpatch.pl, the __packed macro
from linux/compiler.h should be used.Signed-off-by: Michael Fiedler
Acked-by: Larry Finger
Signed-off-by: Greg Kroah-Hartman
21 Apr, 2011
1 commit
-
Fixed some style and format issues with headers.
Signed-off-by: Javier M. Mellid
Signed-off-by: Greg Kroah-Hartman
20 Aug, 2010
1 commit
-
This code is for a completely new version of the Realtek 8192 USB devices
such as the D-Link DWA-130. The Realtek code, which was originally for
Linux, Windows XP and Windows CE, has been stripped of all code not needed
for Linux. In addition, only one additional configuration variable, which
enables AP mode, remains.Signed-off-by: Larry Finger
Signed-off-by: Florian Schilhabel
Tested-by: Frederic Leroy