From: Jes Sorensen
Hi Greg,
Please find attached another round of cleanups, removal of dead code,
and tidying up most of the #ifdef CONFIG_8723AU_BT_COEXIST mess.
Notably patch 10 fixes an OOPS case if a user tries to add a monitor
interface - monitor mode still doesn't work, but at lea
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/hal/usb_halinit.c | 58 -
1 file changed, 16 insertions(+), 42 deletions(-)
diff --git a/drivers/staging/rtl8723au/hal/usb_halinit.c
b/drivers/staging/rtl8723au/hal/usb_halinit.c
index
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/include/ioctl_cfg80211.h
b/drivers/staging/rtl8723au/include/ioctl_cfg80211.h
index 256000f..63e921f 100644
From: Jes Sorensen
In addition get rid of some pointless code obfuscating wrappers
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 9 ++---
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 5 ++---
drivers/staging/rtl8723au/include
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_xmit.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c
b/drivers/staging/rtl8723au/core/rtw_xmit.c
index 0c66d35..9060494
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/hal/usb_halinit.c | 40 +
1 file changed, 18 insertions(+), 22 deletions(-)
diff --git a/drivers/staging/rtl8723au/hal/usb_halinit.c
b/drivers/staging/rtl8723au/hal/usb_halinit.c
index
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/ieee80211.h | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/rtl8723au/include/ieee80211.h
b/drivers/staging/rtl8723au/include/ieee80211.h
index e69f1cc..69c0f5c 100644
--- a
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 2 +-
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 5 ++---
drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h | 3 ---
drivers/staging/rtl8723au/include
From: Jes Sorensen
Providing a dummy wrapper also allows removing some more
CONFIG_8723AU_BT_COEXIST clutter
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_cmd.c| 7 ++-
drivers/staging/rtl8723au/hal/hal_com.c | 4 +---
drivers/staging
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 19 ---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 1 -
2 files changed, 20 deletions(-)
diff --git a/drivers/staging/rtl8723au/include/ioctl_cfg80211.h
b
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 2 +-
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 6 ++
drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h | 2 --
drivers/staging/rtl8723au/include
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_pwrctrl.c | 9 +++--
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 2 +-
drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h | 2 ++
3 files changed, 6 insertions(+), 7 deletions
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 2 --
drivers/staging/rtl8723au/include/rtl8723a_cmd.h | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
b/drivers
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_cmd.c| 12 +++-
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 8 ++--
drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h | 2 --
drivers/staging/rtl8723au
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/rtw_mlme.h | 63
1 file changed, 63 deletions(-)
diff --git a/drivers/staging/rtl8723au/include/rtw_mlme.h
b/drivers/staging/rtl8723au/include/rtw_mlme.h
index 129c524..d601c55
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 19 ---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 15 ---
2 files changed, 8 insertions(+), 26 deletions(-)
diff --git a/drivers/staging/rtl8723au
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_cmd.c | 20 +---
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c
b/drivers/staging/rtl8723au/core/rtw_cmd.c
index 646b59b..1696cb8
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/rtw_mlme.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723au/include/rtw_mlme.h
b/drivers/staging/rtl8723au/include/rtw_mlme.h
index 1bb9e6c..1aafa26 100644
--- a
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_cmd.c | 12 +-
drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 24 +---
drivers/staging/rtl8723au/core/rtw_led.c | 31 +-
drivers/staging/rtl8723au
From: Jes Sorensen
In addition, remove a followon check for false just after having
checked for true.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 3 +--
drivers/staging/rtl8723au/core/rtw_led.c | 17 ++---
drivers/staging/rtl8723au/core
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 3 -
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 166 -
2 files changed, 169 deletions(-)
diff --git a/drivers/staging/rtl8723au/include/ioctl_cfg80211.h
b
From: Jes Sorensen
Make it return bool since it only returns true/false, and get rid of
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/hal/odm.c | 4 +---
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 4 ++--
drivers/staging/rtl8723au/include
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_cmd.c | 28 +---
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c
b/drivers/staging/rtl8723au/core/rtw_cmd.c
index db97ffb
From: Jes Sorensen
This file is only compiled if CONFIG_8723AU_BT_COEXIST=y
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c
b/drivers/staging
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h
b/drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h
index 2a6a100
From: Jes Sorensen
Use this header for declaring functions that are currently #ifdef'ed
out in the general code.
Start by moving BTDM_1Ant8723A() there and renaming it appropriately.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_cmd.c | 10
dr
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_pwrctrl.c| 13 ++---
drivers/staging/rtl8723au/include/rtw_pwrctrl.h | 1 -
drivers/staging/rtl8723au/os_dep/os_intfs.c | 4
drivers/staging/rtl8723au/os_dep/usb_intf.c | 11
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 3 ---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 7 ---
2 files changed, 10 deletions(-)
diff --git a/drivers/staging/rtl8723au/include/ioctl_cfg80211.h
b/drivers/staging
Dan Carpenter writes:
> On Sun, May 25, 2014 at 10:43:27PM +0200, jes.soren...@redhat.com wrote:
>> --- a/drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h
>> +++ b/drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h
>> @@ -22,6 +22,7 @@
>> bool rtl8723a_BT_using_antenna_1(struct rtw_adapter
Dan Carpenter writes:
> On Mon, May 26, 2014 at 12:46:09PM +0200, Jes Sorensen wrote:
>> If you look at the patches, you'll notice that I made them functions
>> when there were return values, only the ones returning void were done
>> like this. If you can point out a
Benoit Taine writes:
> This issue was reported by coccicheck using the semantic patch
> at scripts/coccinelle/api/memdup.cocci
>
> Signed-off-by: Benoit Taine
> ---
> Tested by compilation without errors.
>
> drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c |3 +--
> drivers/staging/rtl872
From: Jes Sorensen
WLAN_EID_HT_CAPABILITY carries a struct ieee80211_ht_operation - use
the right struct instead of a self invented one.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 6 +++---
drivers/staging/rtl8723au/include/wifi.h | 8
2 files
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c| 5 ++--
drivers/staging/rtl8723au/core/rtw_wlan_util.c | 38 ++--
drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 9 +++---
3 files changed, 22 insertions(+), 30
From: Jes Sorensen
Yet another duplicate version of struct ieee80211_ht_operation
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ap.c | 14 +++--
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 6 +++---
drivers/staging/rtl8723au/core/rtw_ioctl_set.c
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ap.c| 9 ++--
drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 11 ++--
drivers/staging/rtl8723au/core/rtw_mlme.c | 14 +++--
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 42
From: Jes Sorensen
Hi Greg,
A smaller set of patches this time. It's mainly cleanups, removal of
yet more locally duplicated structs, and some endian fixes. Note the
endian fixes shouldn't really cause an urgeng 3.15 backport since I am
unaware of any big endian hardware currently
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
index 4d6ec40..1e1f845
From: Jes Sorensen
This sort of stuff should be handled by the bonding driver
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_pwrctrl.c | 16
drivers/staging/rtl8723au/core/rtw_wlan_util.c | 25 -
drivers/staging/rtl8723au/include
From: Jes Sorensen
Only retrieve beacon_interval from frames where it is present. This
avoids setting BeaconPeriod to garbage for other frame types.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_wlan_util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c
b/drivers/staging/rtl8723au/core/rtw_wlan_util.c
index 8c007cd..67fb7ec 100644
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 26 --
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c
b/drivers/staging/rtl8723au/core/rtw_mlme.c
index 7170258
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 274 +++---
1 file changed, 160 insertions(+), 114 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
From: Jes Sorensen
The original RTL code defined the MCS information as a 16 byte array
and blindly applied it's masking over the full array, ignoring the
fact that only the first 10 bytes describe the rx_mask and the rest
are different fields.
Signed-off-by: Jes Sorensen
---
drivers/st
From: Jes Sorensen
These were just stored to check whether the beacon info had changed
and print a debug message in this case. If we ever need this again, we
can determine this change differently.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 22
From: Jes Sorensen
Greg,
One of the patches in my last set had a bad bug which made the driver
mask out the bits used to determine the correct location of the 40MHz
channel location.
This one needs to go on top.
Thanks,
Jes
Jes Sorensen (1):
staging: rtl8723au: rtw_update_ht_cap23a(): Use
From: Jes Sorensen
commit 2dc5e6e90892d7247fbe8c25714dba3c0ba744e8
Author: Jes Sorensen
Date: Tue May 27 13:43:12 2014 +0200
staging: rtl8723au: Eliminate struct HT_info_element
Yet another duplicate version of struct ieee80211_ht_operation
Signed-off-by: Jes Sorensen
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c
b/drivers/staging/rtl8723au/core/rtw_mlme.c
index b1fa5dc..76e1797 100644
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 12 ++--
drivers/staging/rtl8723au/include/ieee80211.h | 2 --
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
b/drivers
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 44 --
drivers/staging/rtl8723au/include/ieee80211.h | 1 -
2 files changed, 45 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
b/drivers
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_wlan_util.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c
b/drivers/staging/rtl8723au/core/rtw_wlan_util.c
index 3195b44..a2c249f
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 29 +-
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
b/drivers/staging/rtl8723au/core/rtw_ieee80211.c
From: Jes Sorensen
Add missing firmware references, and request the correct one.
Reported-by: Larry Finger
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/os_dep/os_intfs.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723au/os_dep
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c| 52
drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 3 --
2 files changed, 25 insertions(+), 30 deletions(-)
diff --git a/drivers/staging/rtl8723au/core
From: Jes Sorensen
Some of this is hackish, but so was the original code. This needs to
be cleaned up eventually.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ap.c | 25 -
1 file changed, 16 insertions(+), 9 deletions(-)
diff --git a/drivers
From: Jes Sorensen
This reduces the dependency of rtw_set_fixed_ie23a() which is
scheduled to go away.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 101 +++---
1 file changed, 44 insertions(+), 57 deletions(-)
diff --git a/drivers
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 30 ---
1 file changed, 10 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
b/drivers/staging/rtl8723au/os_dep
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/ieee80211.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/rtl8723au/include/ieee80211.h
b/drivers/staging/rtl8723au/include/ieee80211.h
index cb3f4fa..7d22825 100644
--- a/drivers
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ap.c| 6 +++---
drivers/staging/rtl8723au/core/rtw_mlme.c | 2 +-
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 6 +++---
drivers/staging/rtl8723au/core/rtw_wlan_util.c | 4 ++--
4 files
From: Jes Sorensen
Greg,
Thanks for pushing my other changes to Linus. This set goes on top of
the set I sent you on 2014/05/31 and the fix from 2014/06/03. If you
prefer I go back and submit it all as one large set, let me know.
This set contains a number of fixes, including getting rid of
From: Jes Sorensen
Use _rtw_free_network23() so elements are freed in one place.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c
b/drivers/staging
From: Jes Sorensen
Only one is used, and only describes the size of an array defined in a
local function. Use sizeof() in the local function to deobfuscate it.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 7 ---
drivers/staging/rtl8723au/include/wifi.h | 7
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 75 --
drivers/staging/rtl8723au/include/ieee80211.h | 2 -
2 files changed, 77 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
b/drivers
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c
b/drivers/staging/rtl8723au/core/rtw_mlme.c
index 44a5249..639dfca 100644
--- a/drivers
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 66 +++
1 file changed, 37 insertions(+), 29 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
From: Jes Sorensen
Match the return type of rtw_restructure_ht_ie23a() accordingly
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c| 4 ++--
drivers/staging/rtl8723au/include/rtw_ht.h | 2 +-
drivers/staging/rtl8723au/include/rtw_mlme.h | 4 ++--
3 files changed
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_wlan_util.c | 4 ++--
drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c
b/drivers
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 15 +-
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 40 +++---
drivers/staging/rtl8723au/include/ieee80211.h | 4 +--
3 files changed, 34 insertions(+), 25
From: Jes Sorensen
Given that the IE len is stored in a u8, there is no point having a
512 buffer to store it, nor check if the size exceeds this size.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/ieee80211.h | 2 +-
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
From: Jes Sorensen
Instead allocate it separately and reference it from survey_event.
This will allow for us to pass it on later without having to copy it.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 5 -
drivers/staging/rtl8723au/core/rtw_mlme_ext.c
From: Jes Sorensen
This gets rid of the rtw_set_fixed_ie23a() usage here. Note that this
abuses ieee80211_mgmt.u.action.u.chan_switch for now, since the
correct defines are currently missing, and this one matches.
Need to fix up the definitions in ieee80211.h and afterwards fix it up
here
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 149 +-
1 file changed, 74 insertions(+), 75 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_wlan_util.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c
b/drivers/staging/rtl8723au/core/rtw_wlan_util.c
index 82904d0
From: Jes Sorensen
The filename requested by the driver didn't match what we had sitting
in /lib/firmware/
Reported-by: Ben Hutchings
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dr
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
index 14193b4..bed7eb7 100644
From: Jes Sorensen
The driver shouldn't be dealing with public action management frames.
Let these go directly to the cfg80211 layer which can defer them to
userland if needed.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 26
drivers/st
From: Jes Sorensen
The driver should not be issuing BSS Coexistence management action
frames when scanning. This isn't required by the spec, and if needed,
these should come from wpa_s instead.
Recommended by Johannes Berg.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 3 ++-
drivers/staging/rtl8723au/include/ieee80211.h | 2 --
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 32 +++
1 file changed, 13 insertions(+), 19 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
index 02180fc..14193b4 100644
--- a/drivers
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 27 ++-
1 file changed, 10 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 10 --
drivers/staging/rtl8723au/include/ieee80211.h | 5 -
2 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
b
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/ieee80211.h | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/rtl8723au/include/ieee80211.h
b/drivers/staging/rtl8723au/include/ieee80211.h
index 7d22825..c2c57c7 100644
--- a
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ieee80211.c | 8
drivers/staging/rtl8723au/include/ieee80211.h | 1 -
2 files changed, 9 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
b/drivers/staging/rtl8723au/core
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 33 +++
1 file changed, 13 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ap.c | 7 +--
drivers/staging/rtl8723au/core/rtw_ieee80211.c| 7 +--
drivers/staging/rtl8723au/core/rtw_mlme.c | 2 +-
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 6
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c
b/drivers/staging/rtl8723au/core/rtw_mlme.c
index 7c99c37..bcc6893 100644
--- a/drivers/staging/rtl8723au
From: Jes Sorensen
Don't mix true/fail with _SUCCESS/_FAIL as return value
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_ioctl_set.c
b/drivers/st
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c
b/drivers/staging/rtl8723au/core/rtw_mlme.c
index 2a0c43a..31cf1ac 100644
--- a
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ioctl_set.c| 33
drivers/staging/rtl8723au/core/rtw_mlme.c | 38 +--
drivers/staging/rtl8723au/include/rtw_ioctl_set.h | 1 -
3 files changed, 36
From: Jes Sorensen
Don't start running network scans if trying to connect to a network
not in our cache. Let the 802.11 stack do it's job instead.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 85 --
1 file changed, 13
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_ioctl_set.c
b/drivers/staging/rtl8723au/core/rtw_ioctl_set.c
index b58cd9e
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/include/rtw_debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723au/include/rtw_debug.h
b/drivers/staging/rtl8723au/include/rtw_debug.h
index a69d6e2..b6b0173 100644
From: Jes Sorensen
Since we just matched sme->{ssid,ssid_len} to
pnetwork->network.Ssid.{ssid,ssid_len} we can simplify the copy and
move it to just before the call to rtw_set_ssid().
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 11 ---
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 53 +--
1 file changed, 20 insertions(+), 33 deletions(-)
diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
b/drivers/staging/rtl8723au/os_dep
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
index 2cb2c7e..3819368 100644
--- a
From: Jes Sorensen
There is no point copying a buffer, just to scan it and then free it
again.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/rtl8723au
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_mlme.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c
b/drivers/staging/rtl8723au/core/rtw_mlme.c
index 4a146fb..77a0a4a 100644
--- a/drivers/staging/rtl8723au
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 2 --
drivers/staging/rtl8723au/core/rtw_mlme.c | 46 --
drivers/staging/rtl8723au/include/rtw_mlme.h | 2 ++
3 files changed, 30 insertions(+), 20 deletions
From: Jes Sorensen
We already have the wlan_network we wish to join, hence it's pointless
to go back to the scanned_queue and pull it out of there, before
running the join logic.
Signed-off-by: Jes Sorensen
---
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 25 +++--
401 - 500 of 745 matches
Mail list logo