[PATCH 0/2] take into account external PA when configuring tx power

2019-06-10 Thread Lorenzo Bianconi
Refer to proper eeprom fields configuring tx power when TSSI calibration is disabled. Moreover initialize per-channel tx power Lorenzo Bianconi (2): mt76: mt7615: init per-channel target power mt76: mt7615: take into account extPA when configuring tx power .../wireless/mediatek/mt76/mt7615/e

[PATCH 1/2] mt76: mt7615: init per-channel target power

2019-06-10 Thread Lorenzo Bianconi
Set per-channel target power as the minimum between the regulatory tx power and the value configured in the eeprom Signed-off-by: Lorenzo Bianconi --- .../net/wireless/mediatek/mt76/mt7615/init.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/drivers/net/wireless/media

[PATCH 2/2] mt76: mt7615: take into account extPA when configuring tx power

2019-06-10 Thread Lorenzo Bianconi
When TSSI calibration is disabled (which it means the device has been equipped with an external power amplifier) we need to refer to different eeprom fields in order to properly configure tx power Signed-off-by: Lorenzo Bianconi --- please note I have not been able to test this patch since I have

Re: [PATCH] ssb/gpio: Remove unnecessary WARN_ON from driver_gpio

2019-06-10 Thread H Buus
On 6/10/2019 3:16 PM, Larry Finger wrote: > On 6/10/19 1:49 PM, Michael Büsch wrote: >> The WARN_ON triggers on older BCM4401-B0 100Base-TX ethernet controllers. >> The warning serves no purpose. So let's just remove it. >> >> Reported-by: H Buus >> Signed-off-by: Michael Büsch >> >> --- > > Ack

Re: [PATCH] ssb/gpio: Remove unnecessary WARN_ON from driver_gpio

2019-06-10 Thread Larry Finger
On 6/10/19 1:49 PM, Michael Büsch wrote: The WARN_ON triggers on older BCM4401-B0 100Base-TX ethernet controllers. The warning serves no purpose. So let's just remove it. Reported-by: H Buus Signed-off-by: Michael Büsch --- Acked-by: Larry Finger Larry diff --git a/drivers/ssb/driver_g

[PATCH] ssb/gpio: Remove unnecessary WARN_ON from driver_gpio

2019-06-10 Thread Michael Büsch
The WARN_ON triggers on older BCM4401-B0 100Base-TX ethernet controllers. The warning serves no purpose. So let's just remove it. Reported-by: H Buus Signed-off-by: Michael Büsch --- diff --git a/drivers/ssb/driver_gpio.c b/drivers/ssb/driver_gpio.c index e809dae4c470..66a76fd83248 100644 ---

Re: [PATCH] carl9170: fix enum compare splat

2019-06-10 Thread Christian Lamparter
On Monday, June 10, 2019 9:06:30 AM CEST Kalle Valo wrote: > Christian Lamparter writes: > > > This patch fixes a noisy warning triggered by -Wenum-compare > > > > |main.c:1390:31: warning: comparison between ‘enum nl80211_ac’ > > | and ‘enum ar9170_txq’ [-Wenum-compare] > > | BUILD_BUG_ON(NL8

Re: [PATCH] carl9170: fix enum compare splat

2019-06-10 Thread Kalle Valo
Christian Lamparter writes: > This patch fixes a noisy warning triggered by -Wenum-compare > > |main.c:1390:31: warning: comparison between ‘enum nl80211_ac’ > | and ‘enum ar9170_txq’ [-Wenum-compare] > | BUILD_BUG_ON(NL80211_NUM_ACS > __AR9170_NUM_TXQ); > | ^ >