Re: [RFC 00/19] wilc: added driver for wilc module

2018-10-07 Thread Ajay Singh
On Sat, 6 Oct 2018 15:45:41 +0300 Kalle Valo wrote: > Ajay Singh writes: > > > This patch set contains the driver files from > > 'driver/staging/wilc1000'. Renamed the driver from 'wilc1000' to > > 'wilc' to have generic name, as the same driver will be used by > > other wilc family members.

RE: [RFC v3 07/12] rtw88: phy files

2018-10-07 Thread Tony Chuang
> -Original Message- > From: Stanislaw Gruszka [mailto:sgrus...@redhat.com] > Sent: Thursday, October 04, 2018 10:10 PM > To: Tony Chuang > Cc: kv...@codeaurora.org; larry.fin...@lwfinger.net; Pkshih; Andy Huang; > linux-wireless@vger.kernel.org > Subject: Re: [RFC v3 07/12] rtw88: phy

Re: [RFC v2] cfg80211: add peer measurement with FTM API

2018-10-07 Thread Johannes Berg
Hi Lior, Thanks for taking the time :-) > > Results availability is multicast on a new "peer-measurement" > > multicast group, and results can be retrieved by dumping the > > data given the measurement cookie. Note that dumping it from > > the netlink socket that started the measurement will

Re: [RFC v2] cfg80211: add peer measurement with FTM API

2018-10-07 Thread Lior David
Hi Johannes, On 10/1/2018 4:35 PM, Johannes Berg wrote: > From: Johannes Berg > > Add a new "peer measurement" API, that can be used to measure > certain things related to a peer. Right now, only implement > FTM (flight time measurement) over it, but the idea is that > it'll be extensible to

[PATCH 0/3] enable sta mode in mt76x0e driver

2018-10-07 Thread Lorenzo Bianconi
Enable client mode in mt76x0e driver registering the device to the mac80211 layer. Moreover add missing mac80211 callbacks in mt76x0e_ops data structure. Sta mode has been tested connecting to a 802.11ac AP on 5GHz band Lorenzo Bianconi (3): mt76x0: pci: add missing mac80211 callbacks mt76:

[PATCH 3/3] mt76x0: pci: add mt76x0_register_device in mt76x0e_register_device

2018-10-07 Thread Lorenzo Bianconi
Run mt76x0_register_device routine in mt76x0e_register_device in order to register the device to the mac80211 layer. Moreover init mt76_driver_ops data structure and register interrupt line Signed-off-by: Lorenzo Bianconi --- .../net/wireless/mediatek/mt76/mt76x0/pci.c | 20

[PATCH 2/3] mt76: disable ldpc coding for mt76x0 devices

2018-10-07 Thread Lorenzo Bianconi
Disable ldpc coding for mt76x0 devices. Morover remove mt76x02_mac_fill_txwi routine since it is used just in mt76x02_mac_write_txwi Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x02.h | 7 ++ .../net/wireless/mediatek/mt76/mt76x02_mac.c | 77 ---

[PATCH 1/3] mt76x0: pci: add missing mac80211 callbacks

2018-10-07 Thread Lorenzo Bianconi
Add missing mac80211 callbacks in mt76x0e_ops data structure Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x0/pci.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c

[PATCH v2] mt76x0: pci: report firmware version using ethtool

2018-10-07 Thread Lorenzo Bianconi
Report via ethtool fw_ver and build_ver members of mt76x02_fw_header data structure similarly to what is reported in the syslog Signed-off-by: Lorenzo Bianconi --- Changes since v1: - rebase on top of 'mt76x02_dev data structure cleanup' series ---

[PATCH 0/7] use mt76x02_dev instead of mt76_dev as reference

2018-10-07 Thread Lorenzo Bianconi
Use mt76x02_dev data structure as reference in mt76x02 code instead of mt76_dev one Lorenzo Bianconi (7): mt76: use mt76x02_dev instead of mt76_dev in mt76x02_mcu.c mt76: use mt76x02_dev instead of mt76_dev in mt76x02_phy.c mt76: use mt76x02_dev instead of mt76_dev in mt76x02_util.c mt76:

[PATCH 6/7] mt76: use mt76x02_dev instead of mt76_dev in mt76x02_txrx.c

2018-10-07 Thread Lorenzo Bianconi
Use mt76x02_dev data structure as reference in mt76x02_txrx.c instead of mt76_dev Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x02.h | 5 +++-- .../net/wireless/mediatek/mt76/mt76x02_mac.c | 5 ++--- .../net/wireless/mediatek/mt76/mt76x02_txrx.c | 22

[PATCH 1/7] mt76: use mt76x02_dev instead of mt76_dev in mt76x02_mcu.c

2018-10-07 Thread Lorenzo Bianconi
Use mt76x02_dev data structure as reference in mt76x02_mcu.c instead of mt76_dev Signed-off-by: Lorenzo Bianconi --- .../net/wireless/mediatek/mt76/mt76x0/init.c | 2 +- .../net/wireless/mediatek/mt76/mt76x0/pci.c | 2 +- .../net/wireless/mediatek/mt76/mt76x0/phy.c | 24 +++---

[PATCH 3/7] mt76: use mt76x02_dev instead of mt76_dev in mt76x02_util.c

2018-10-07 Thread Lorenzo Bianconi
Use mt76x02_dev data structure as reference in mt76x02_util.c instead of mt76_dev Signed-off-by: Lorenzo Bianconi --- .../net/wireless/mediatek/mt76/mt76x0/init.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x02.h | 6 +- .../net/wireless/mediatek/mt76/mt76x02_util.c | 138

[PATCH 4/7] mt76: use mt76x02_dev instead of mt76_dev in mt76x02_usb_mcu.c

2018-10-07 Thread Lorenzo Bianconi
Use mt76x02_dev data structure as reference in mt76x02_usb_mcu.c instead of mt76_dev Signed-off-by: Lorenzo Bianconi --- .../wireless/mediatek/mt76/mt76x0/usb_mcu.c | 7 +++-- .../net/wireless/mediatek/mt76/mt76x02_usb.h | 6 ++--- .../wireless/mediatek/mt76/mt76x02_usb_mcu.c | 27

[PATCH 2/7] mt76: use mt76x02_dev instead of mt76_dev in mt76x02_phy.c

2018-10-07 Thread Lorenzo Bianconi
Use mt76x02_dev data structure as reference in mt76x02_phy.c instead of mt76_dev Signed-off-by: Lorenzo Bianconi --- .../net/wireless/mediatek/mt76/mt76x0/phy.c | 8 +- .../net/wireless/mediatek/mt76/mt76x02_phy.c | 89 +-- .../net/wireless/mediatek/mt76/mt76x02_phy.h | 8

[PATCH 7/7] mt76: use mt76x02_dev instead of mt76_dev in mt76x02_eeprom.c

2018-10-07 Thread Lorenzo Bianconi
Use mt76x02_dev data structure as reference in mt76x02_eeprom.c instead of mt76_dev Signed-off-by: Lorenzo Bianconi --- .../wireless/mediatek/mt76/mt76x0/eeprom.c| 50 ++-- .../net/wireless/mediatek/mt76/mt76x0/pci.c | 2 +- .../net/wireless/mediatek/mt76/mt76x0/phy.c | 2 +-

[PATCH 5/7] mt76: use mt76x02_dev instead of mt76_dev in mt76x02_mac.c

2018-10-07 Thread Lorenzo Bianconi
Use mt76x02_dev data structure as reference in mt76x02_mac.c instead of mt76_dev Signed-off-by: Lorenzo Bianconi --- .../wireless/mediatek/mt76/mt76x0/eeprom.c| 3 +- drivers/net/wireless/mediatek/mt76/mt76x02.h | 2 +- .../net/wireless/mediatek/mt76/mt76x02_mac.c | 132

[PATCH] mt76x0: phy: fix bank check in mt76x0_rf_csr_{wr,rr}

2018-10-07 Thread Lorenzo Bianconi
Fix typo in bank check in mt76x0_rf_csr_{wr,rr} routines. This issue has never been hit since mt76x0_rf_csr_{wr,rr} are actually used just by pci code Fixes: 10de7a8b4ab9 ("mt76x0: phy files") Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x0/phy.c | 4 ++-- 1 file