Re: [PATCH] brcmfmac: fix regression in parsing NVRAM for multiple devices

2018-07-22 Thread Kalle Valo
Rafał Miłecki writes: > From: Rafał Miłecki > > NVRAM is designed to work with Broadcom's SDK Linux kernel which fakes > PCI domain 0 for all internal MMIO devices. Since official Linux kernel > uses platform devices for that purpose there is a mismatch in numbering > PCI domains. > > There used

Re: [PATCH 04/11] mt76x0: usb files

2018-07-22 Thread Kalle Valo
Lorenzo Bianconi writes: > On Jul 05, Stanislaw Gruszka wrote: >> Add usb files of mt76x0 driver. >> >> Signed-off-by: Stanislaw Gruszka [...] >> +static int mt76x0_suspend(struct usb_interface *usb_intf, pm_message_t >> state) >> +{ >> +struct mt76x0_dev *dev = usb_get_intfdata(usb_intf

Re: RT2880F based iNIC mini-PCI network card

2018-07-22 Thread Linus Walleij
On Sun, Jul 15, 2018 at 1:37 AM Linus Walleij wrote: > I'm curious to hear if you have hints of this beast: > > lspci: > 00:0c.0 Class 0200: 1814:0801 (...) > Has someone seen a vendor tree where this leaked out by > mistake or so? The Internet is so big. impossible to keep secrets there. So I f

[PATCH] brcmfmac: fix regression in parsing NVRAM for multiple devices

2018-07-22 Thread Rafał Miłecki
From: Rafał Miłecki NVRAM is designed to work with Broadcom's SDK Linux kernel which fakes PCI domain 0 for all internal MMIO devices. Since official Linux kernel uses platform devices for that purpose there is a mismatch in numbering PCI domains. There used to be a fix for that problem but it w

Re: [PATCH 11/20] wil6210: send L2UF on behalf of newly associated station

2018-07-22 Thread Johannes Berg
On Sun, 2018-07-22 at 10:47 +0300, Maya Erez wrote: > From: Ahmad Masri > > Send L2UF (Level 2 Update Frame) to update forwarding tables in layer 2 > in AP mode. Wil6210 driver creates and sends this frame once a new > station connects to the AP. Might be worth unifying with ieee80211_send_layer

Hello Beautiful

2018-07-22 Thread Jack
Hi Dear, my name is Jack and i am seeking for a relationship in which i will feel loved after a series of failed relationships. I am hoping that you would be interested and we could possibly get to know each other more if you do not mind. I am open to answering questions from you as i think my

[PATCH] iw: 'idby' might be used uninitialized in main function

2018-07-22 Thread Omer Dagan
During static-analysis of the code, a message appeared stating that 'idby' enum might be used un-initialized. It described a case in which the 'goto detect' statment occurred and that means that the enum initialiaztion will be skipped The change puts the declaration of the 'idx' var and the enum at

[PATCH 09/20] wil6210: fix min() compilation errors

2018-07-22 Thread Maya Erez
From: Alexei Avshalom Lazar With some tool chains compilation fails due to type mismatch of the arguments passed to min(). Use min_t() to solve these compilation errors. Signed-off-by: Alexei Avshalom Lazar Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/fw_inc.c | 2 +- 1 file

[PATCH 17/20] wil6210: align to latest auto generated wmi.h

2018-07-22 Thread Maya Erez
From: Ahmad Masri Align to latest version of the auto generated wmi file describing the interface with FW. Signed-off-by: Ahmad Masri Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/wmi.h | 200 - 1 file changed, 197 insertions(+), 3 deletions(-)

[PATCH 13/20] wil6210: support max aggregation window size 64

2018-07-22 Thread Maya Erez
FW can support BACK window size 64 for performance improvements. A new FW capability is added for notifying the host on the increased max BACK win size support. Defining WIL_MAX_AGG_WSIZE_64 and WIL_MAX_AMPDU_SIZE_128 to be used in this case. Signed-off-by: Maya Erez --- drivers/net/wireless/ath

[PATCH 14/20] wil6210: increase firmware ready timeout

2018-07-22 Thread Maya Erez
From: Hamad Kadmany Firmware ready event may take longer than current timeout in some scenarios, for example with multiple RFs connected where each requires an initial calibration. Increase the timeout to support these scenarios. Signed-off-by: Hamad Kadmany Signed-off-by: Maya Erez --- driv

[PATCH 15/20] wil6210: support Talyn specific board file

2018-07-22 Thread Maya Erez
FW file name for Talyn device can be different from the default name. In such a case use a corresponding board file name. If such a board file is not present FW download procedure will fail. Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/fw.c | 3 +++ drivers/net/wireless/a

[PATCH 10/20] wil6210: add support for link statistics

2018-07-22 Thread Maya Erez
From: Dedy Lansky Driver can request FW to report link statistics using WMI_LINK_STATS_CMDID. FW will report statistics with WMI_LINK_STATS_EVENTID. Two categories of statistics defined: basic and global. New "link_stats" debugfs is used for requesting basic statistics report (write) and for rea

[PATCH 06/20] wil6210: support Talyn specific FW file

2018-07-22 Thread Maya Erez
FW file name for Talyn device is different from the default name. This patch searches for Talyn specific FW file name and fallback to the default FW file in case it is not present. Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/pcie_bus.c | 8 drivers/net/wireless/ath/wil

[PATCH 20/20] wil6210: fix eDMA RX chaining

2018-07-22 Thread Maya Erez
HW requires Rx buffers to be 4 bytes aligned. Modify the driver to meet this requirement. Enable OFU rdy valid bug fix, to prevent hang in oful34_rx while there is back-pressure from host during RX. Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/main.c | 7 +++ drivers/n

[PATCH 03/20] wil6210: add TX latency statistics

2018-07-22 Thread Maya Erez
From: Dedy Lansky Collect statistics of TX latency. The latency is measured from the time the HW gets aware of new SKB to transmit until the HW indicates tx complete for this SKB. The statistics are shown via new "tx_latency" debugfs. Signed-off-by: Dedy Lansky Signed-off-by: Maya Erez --- dr

[PATCH 16/20] wil6210: set default 3-MSI

2018-07-22 Thread Maya Erez
From: Alexei Avshalom Lazar Single MSI is the current default configuration. With multiple MSI interrupts configuration, Tx/Rx processing could run in parallel on different CPU cores and allow better balance between the cores. Signed-off-by: Alexei Avshalom Lazar Signed-off-by: Maya Erez ---

[PATCH 05/20] wil6210: fix RX checksum report to network stack

2018-07-22 Thread Maya Erez
Currently the driver sets CHECKSUM_UNNECESSARY only in case the HW doesn't report checksum error. As ip_summed value is not initialized it is not clear what the driver will report to the network stack in case of HW checksum error or in case HW doesn't calculate checksum. Initialize ip_summed to CHE

[PATCH 19/20] wil6210: prevent FW download if HW is configured for secured boot

2018-07-22 Thread Maya Erez
Currently the driver doesn't support secured boot flow, hence prevent FW download in case HW is configured for such a flow. Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/main.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/wireless/ath/wil6210/main.c b/dri

[PATCH 04/20] wil6210: fix temperature debugfs

2018-07-22 Thread Maya Erez
From: Dedy Lansky For negative temperatures, "temp" debugfs is showing wrong values. Use signed types so proper calculations is done for sub zero temperatures. Signed-off-by: Dedy Lansky Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/debugfs.c | 7 --- 1 file changed, 4 ins

[PATCH 02/20] wil6210: drop Rx packets with L2 error indication from HW

2018-07-22 Thread Maya Erez
From: Dedy Lansky Due to recent change in FW, driver will be notified of corrupted Rx packets (e.g. MIC error). Drop such packets before they are delivered to network stack. Signed-off-by: Dedy Lansky Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/debugfs.c | 12 dri

[PATCH 18/20] wil6210: off channel transmit management frames in AP mode

2018-07-22 Thread Maya Erez
From: Ahmad Masri Currently wil6210 ignores the channel field in the cfg80211_mgmt_tx_params struct for wil_cfg80211_ops mgmt_tx operation and sends all management frames on the serving channel. Add support for off-channel transmission of management frames (WIPHY_FLAG_OFFCHAN_TX) in AP mode. Thi

[PATCH 11/20] wil6210: send L2UF on behalf of newly associated station

2018-07-22 Thread Maya Erez
From: Ahmad Masri Send L2UF (Level 2 Update Frame) to update forwarding tables in layer 2 in AP mode. Wil6210 driver creates and sends this frame once a new station connects to the AP. Signed-off-by: Ahmad Masri Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/txrx.c| 48

[PATCH 12/20] wil6210: allow scan on AP interface

2018-07-22 Thread Maya Erez
From: Ahmad Masri Scan is allowed only on client interfaces (STA/P2P). Allow scan on AP interface so that the AP can discover rouge or unauthorized neighbor APs. Signed-off-by: Ahmad Masri Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/cfg80211.c | 3 ++- 1 file changed, 2 inse

[PATCH 07/20] wil6210: align to latest auto generated wmi.h

2018-07-22 Thread Maya Erez
From: Dedy Lansky Align to latest version of the auto generated wmi file describing the interface with FW. Signed-off-by: Dedy Lansky Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/wmi.h | 459 +++-- 1 file changed, 434 insertions(+), 25 deletions(-)

[PATCH 08/20] wil6210: add 3-MSI support

2018-07-22 Thread Maya Erez
From: Alexei Avshalom Lazar Extend MSI support to 3-MSI in order to load balance the tx\rx interrupts between different cores. use_msi module parameter has changed to n_msi. Usage: - Set n_msi to 0 for using INTx - Set n_msi to 1 for using single MSI - Set n_msi to 3 for using 3-MSI In 3-MSI con

[PATCH 00/20] wil6210 patches

2018-07-22 Thread Maya Erez
The following set of patches include: - Various wil6210 fixes - Support triple MSI configuration - Support scan on AP interface - Support Talyn specific FW and board files Ahmad Masri (4): wil6210: send L2UF on behalf of newly associated station wil6210: allow scan on AP interface wil6210: a

[PATCH 01/20] wil6210: Rx multicast packets duplicate detection

2018-07-22 Thread Maya Erez
From: Dedy Lansky 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 --- drivers/net/wireless/ath/wil6210/debugfs.c| 7