Hi Dan,
On Mon, 30 Jul 2018 14:32:31 +0300
Dan Carpenter wrote:
> On Mon, Jul 30, 2018 at 03:40:24PM +0530, Ajay Singh wrote:
> > Hi Dan,
> >
> > On Mon, 30 Jul 2018 11:41:13 +0300
> > Dan Carpenter wrote:
> >
> > > On Fri, Jul 20, 2018 at 04:35:24AM +0530, Ajay Singh wrote:
> > > > Hi
Refactor wilc_wlan_handle_isr_ext() to avoid the use of the goto label.
Also avoid the unnecessary NULL check for 'wilc->rx_buffer' and
calling wilc_wlan_handle_rxq() only after wilc_wlan_rxq_add() call.
The link [1] contains details for discussion related to this changes.
[1].
On 07/31/2018 01:10 PM, Alexander Wetzel wrote:
Rekeying a pairwise key with encryption offload and only keyid 0 had
multiple races. Two of them could freeze the wlan connection till
rekeyed again and the third could send out packets in clear which should
have been encrypted.
1) Freeze caused
I do not see an acceptable way from the kernel to trigger a fast
reconnect. wpa_supplicant e.g. has some special code handling errors
during a 4-way-handshake differently. I assume we would have to add
code detecting if we are running as AP, Station Infrastructure, Ad-Hoc
or Mesh and then find and
Drivers able to replace a in-use should set
NL80211_EXT_FEATURE_ATOMIC_KEY_REPLACE to allow the userspace (e.g.
hostapd or wpa_supplicant) to rekey the PTK without a full
disassociation. The userspace must detect a PTK rekey attempt and only
go ahead with the rekey if the driver has set this flag.
Define the new driver callback replace_key in mac80211 for future use.
Drivers able to replace a in-use key should implement this new callback
to allow mac80211 drivers to securely use PTK rekeying.
On return of the function drivers must guarantee they:
- Did not send out any frames for the key
Rekeying a pairwise key with encryption offload and only keyid 0 had
multiple races. Two of them could freeze the wlan connection till
rekeyed again and the third could send out packets in clear which should
have been encrypted.
1) Freeze caused by incoming packets:
If the local STA
Hello.
Please look at this problem:
https://forums.fedoraforum.org/showthread.php?318910-Driver-for-realtek-RTL8723BS-wifi-bluetooth-chip
There may be a bug in the r8723bs module.
Also I'm suprising very much why I can see the ttyS4 initializing in
dmesg but the /dev/ttyS4 does not exist.
Thank in
Firmware blob will be located in mediatek subdirectory. Add "u" suffix
to indicate this is USB device firmware.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/usb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Add states needed for mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h
b/drivers/net/wireless/mediatek/mt76/mt76.h
index 4bf1b35ec44c..2eab35879163
Add main file of mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/main.c | 403 +++
1 file changed, 403 insertions(+)
create mode 100644 drivers/net/wireless/mediatek/mt76/mt76x0/main.c
diff --git
Add dma and tx files of mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/dma.c | 522
drivers/net/wireless/mediatek/mt76/mt76x0/dma.h | 126 ++
drivers/net/wireless/mediatek/mt76/mt76x0/tx.c | 270
3 files
Add trace and debugfs files of mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
.../net/wireless/mediatek/mt76/mt76x0/debugfs.c| 166 ++
drivers/net/wireless/mediatek/mt76/mt76x0/trace.c | 21 ++
drivers/net/wireless/mediatek/mt76/mt76x0/trace.h | 366 +
3
Add eeprom files of mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c | 445 +
drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h | 149 +++
2 files changed, 594 insertions(+)
create mode 100644
Add Kconfig and Makefiles for mt76x0 driver. Now the driver
can be build.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/Kconfig | 7 +++
drivers/net/wireless/mediatek/mt76/Makefile| 1 +
drivers/net/wireless/mediatek/mt76/mt76x0/Makefile | 7 +++
Disable HW before probe, otherwise after reboot we will fail
to initialize MCU.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 2 +-
drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h | 1 +
drivers/net/wireless/mediatek/mt76/mt76x0/usb.c| 4
Add phy files of mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
.../wireless/mediatek/mt76/mt76x0/initvals_phy.h | 772 +++
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c| 1008
drivers/net/wireless/mediatek/mt76/mt76x0/phy.h| 81 ++
3 files
Add init files of mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 720 +
.../net/wireless/mediatek/mt76/mt76x0/initvals.h | 282
2 files changed, 1002 insertions(+)
create mode 100644
Add mcu files of mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/mcu.c | 656
drivers/net/wireless/mediatek/mt76/mt76x0/mcu.h | 101
2 files changed, 757 insertions(+)
create mode 100644
Add mac files of mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/mac.c | 660
drivers/net/wireless/mediatek/mt76/mt76x0/mac.h | 154 ++
2 files changed, 814 insertions(+)
create mode 100644
Add mt76x0 driver for MT7610U based USB dongles. Currently driver
support only STA mode.
mt76x0 is based on Jakub's mt7601u driver already included
in the kernel. I would like the driver be integrated as part
of mt76 (instead of separate driver in mediatek dir like mt7601u)
to utilize mt76 code
Add usb files of mt76x0 driver.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/usb.c | 377
drivers/net/wireless/mediatek/mt76/mt76x0/usb.h | 61
2 files changed, 438 insertions(+)
create mode 100644
Core files of mt76x0 driver.
mt76x0 driver adds support for Mediatek MT7610U based
USB Wi-Fi dongles.
Signed-off-by: Stanislaw Gruszka
---
drivers/net/wireless/mediatek/mt76/mt76x0/core.c | 34 ++
drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h | 335 +++
On 7/30/2018 4:06 PM, Kalle Valo wrote:
Sergey Matyukevich writes:
From: Andrey Shevchenko
Implement support for PTA (Packet Traffic Arbitration) configuration.
The PTA mechanism is used to coordinate sharing of the medium between
WiFi and other 2.4 wireless networks, e.g. Bluetooth or
Stanislaw Gruszka writes:
> On Tue, Jul 31, 2018 at 12:54:32PM +0300, Kalle Valo wrote:
>> Lorenzo Bianconi writes:
>>
>> > Add usb layer to mt76 driver in order to support mt76x2u based devices.
>> > Move common code between pci and usb in mt76x2-common module in order to
>> > remove pci
On Tue, Jul 31, 2018 at 12:54:32PM +0300, Kalle Valo wrote:
> Lorenzo Bianconi writes:
>
> > Add usb layer to mt76 driver in order to support mt76x2u based devices.
> > Move common code between pci and usb in mt76x2-common module in order to
> > remove pci dependency from usb driver
> >
> >
Hello Kalle,
> > This patch implements core WoWLAN support in qtnfmac driver, including
> > processing of WoWLAN features reported by firmware and implementation
> > of cfg80211 suspend/resume/wakeup callbacks. Currently the following
> > WoWLAN triggers are supported: disconnect, magic packet,
Lorenzo Bianconi writes:
> Add usb layer to mt76 driver in order to support mt76x2u based devices.
> Move common code between pci and usb in mt76x2-common module in order to
> remove pci dependency from usb driver
>
> Changes since v1:
> - rebase on top of wireless-drivers-next master branch
> -
In order to remove usb dependency from pcie code, add mt76x2-common as
a container of shared code between mt76x2 and mt76x2u. Add eeprom code
to mt76x2-common module
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Kconfig | 5 +
Move mt76x2_debugfs code in mt76-common module since it is shared
between mt76x2 and mt76x2u
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Makefile | 5 +++--
drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c | 1 +
2 files changed, 4 insertions(+), 2
Move init related code shared between mt76x2 and mt76x2u in
mt76x2-common module
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Makefile | 3 +-
drivers/net/wireless/mediatek/mt76/mt76x2.h | 6 +
.../net/wireless/mediatek/mt76/mt76x2_init.c | 238
Move tx related code shared between mt76x2 and mt76x2u in mt76x2-common
module
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Makefile | 2 +-
drivers/net/wireless/mediatek/mt76/mt76x2.h | 2 +
.../net/wireless/mediatek/mt76/mt76x2_tx.c| 123 ---
Move mac related code shared between mt76x2 and mt76x2u in
mt76x2-common module
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Makefile | 2 +-
drivers/net/wireless/mediatek/mt76/mt76x2.h | 7 +-
.../net/wireless/mediatek/mt76/mt76x2_init.c | 35 -
MT76x2u is a 2x2 USB 802.11ac chipset by MediaTek. This driver currently
support station mode
Tested-by:
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Kconfig| 10 +
drivers/net/wireless/mediatek/mt76/Makefile | 5 +
drivers/net/wireless/mediatek/mt76/mt76x2.h
In order to reuse them supporting mt76x2u based devices, move
mt76x2_wait_for_mac, wait_for_wpdma and mt76x2_channel_silent in
mt76x2.h
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/mt76x2.h | 40 +++
.../net/wireless/mediatek/mt76/mt76x2_init.c | 28
Add mt76x2_init_device routine in order to reuse common pcie/usb mac80211
initialization code supporting mt76x2u based device
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/mt76x2.h | 1 +
.../net/wireless/mediatek/mt76/mt76x2_init.c | 58 ++-
2 files
Add mt76x2_mac_load_tx_status routine since tx stats register map is
shared between usb and pci based devices but usb devices do not have a
tx stat irq line as pcie ones and it is necessary to load tx statistics
using a workqueue
Signed-off-by: Lorenzo Bianconi
---
This will be used by drivers for MT76x2u based devices
Tested-by:
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Kconfig| 4 +
drivers/net/wireless/mediatek/mt76/Makefile | 4 +
drivers/net/wireless/mediatek/mt76/dma.h | 5 +
Move phy related code shared between mt76x2 and mt76x2u in
mt76x2-common module
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Makefile | 2 +-
drivers/net/wireless/mediatek/mt76/mt76x2.h | 9 +
.../net/wireless/mediatek/mt76/mt76x2_phy.c | 328
Move mt76_dma_tx_queue_skb routine in dma.c.
Remove static qualifier from mt76_get_txwi definition
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/dma.c | 74
drivers/net/wireless/mediatek/mt76/mt76.h | 7 +-
Move core related code shared between mt76x2 and mt76x2u in
mt76x2-common module
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Makefile | 2 +-
drivers/net/wireless/mediatek/mt76/mt76x2.h | 21 ++
.../wireless/mediatek/mt76/mt76x2_common.c| 350
Add usb layer to mt76 driver in order to support mt76x2u based devices.
Move common code between pci and usb in mt76x2-common module in order to
remove pci dependency from usb driver
Changes since v1:
- rebase on top of wireless-drivers-next master branch
- fix mt7662u fw definitions
- remove
move mt76x2_fw_header and mt76x2_patch_header definitions in mcu.h in
order to reuse them in mt76x2u mcu related code
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/mt76x2_mcu.c | 17 -
drivers/net/wireless/mediatek/mt76/mt76x2_mcu.h | 17
in order to reuse mt76_rx_complete routine supporting mt76x2u based
devices add napi struct to mt76_rx_poll_complete and mt76_rx_complete
routine signatures and do not fetch it according to the rx queue index
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/agg-rx.c | 2
Since MT_TXD_INFO, MT_MCU_MSG and MT_RX_FCE_INFO definitions are in
common between mt76x2u, mt76x2 and mt76x0u move them in dma.h in order
to reuse usb code supporting mt76x2u and mt76x0u based devices
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/dma.h | 38
Move wiphy interface_modes definition in mt76x2_init in order to
reuse mt76_register_device routine supporting mt76x2u based chipsets
since mt76x2u currently supports just sta mode
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/mac80211.c| 8
Add tx_queue_skb function pointer in mt76_bus_ops since mt76x2u based
devices do not map mt76x2_txwi on dma buffers and it is not possible
to reuse mt76_dma_tx_queue_skb() routine to enqueue tx frames to
hw buffers
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/dma.c |
Add frame length to mt76x2_mac_write_txwi routine signature and do not
fetch it from skb since txwi data structure is added at the beginning of
the skb for usb based devices and mt76x2_mac_write_txwi will be shared
between pci and usb related code
Signed-off-by: Lorenzo Bianconi
---
Maya Erez wrote:
> Store the last received multicast sequence number (SN) part of the TID
> info. Drop Rx multicast packets with retry bit set which their SN
> is equal to the last received.
>
> Signed-off-by: Dedy Lansky
> Signed-off-by: Maya Erez
> Signed-off-by: Kalle Valo
19 patches
Felix Fietkau wrote:
> AR9002 code and the QCA AR9003+ reference code do the same.
>
> Signed-off-by: Felix Fietkau
> Signed-off-by: Kalle Valo
8 patches applied to ath-next branch of ath.git, thanks.
a2a49e86b325 ath9k_hw: set spectral scan enable bit on trigger for AR9003+
3a69dd366866
for standard ath9k. (non htc) the following is just enough
Index: init.c
===
--- init.c (revision 4145)
+++ init.c (working copy)
@@ -735,7 +735,7 @@
static const struct ieee80211_iface_limit if_limits[] = {
{
Loic Poulain wrote:
> When receiving a beacon or probe response, we should update the
> boottime_ns field which is the timestamp the frame was received at.
> (cf mac80211.h)
>
> This fixes a scanning issue with Android since it relies on this
> timestamp to determine when the AP has been seen
Rafał Miłecki wrote:
> From: Rafał Miłecki
>
> Some features supported by firmware aren't advertised and there is no
> way for a driver to query them. This includes e.g. monitor mode details.
>
> Most firmwares support monitor interface but only the latest ones
> /announce/ it with a "monitor"
Siva Rebbagondla wrote:
> From: Siva Rebbagondla
>
> Removing redundant device id's from both usb and sdio idtables, as rsi
> driver currently supporting only one module(RS9113). Also, replaced ids
> with specific defines.
>
> Signed-off-by: Siva Rebbagondla
6 patches applied to
Sushant Kumar Mishra wrote:
> From: Siva Rebbagondla
>
> observed low throughput rates during verification. This is because, QoS
> enable flag is overridden by sequence number in the data descriptor frame.
> Hence, added the fix for same.
>
> Signed-off-by: Siva Rebbagondla
> Signed-off-by:
Ganapathi Bhat wrote:
> Driver is using boolean variables to maintain vairous status
> information of adapter. These status variables are accessed by
> multiple threads and there is a possibility of a race. To avoid
> this, convert these variables to a set of bitops flags, to be
> operated
Ganapathi Bhat wrote:
> At present driver spinlock protects iteration of list
> rx_reorder_tbl_ptr with rx_reorder_tbl_lock. To protect the
> individual items in this list, it uses rx_pkt_lock. But, we can
> use a single rx_reorder_tbl_lock for both purposes. This patch
> replaces rx_pkt_lock by
57 matches
Mail list logo