Message ID | 1548161274-3335-1-git-send-email-sgruszka@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 3bd1505fed71d834f45e87b32ff07157fdda47e0 |
Delegated to: | Kalle Valo |
Headers | show |
Series | mt7601u: bump supported EEPROM version | expand |
On Tue, 22 Jan 2019 13:47:54 +0100, Stanislaw Gruszka wrote: > As reported by Michael eeprom 0d is supported and work with the driver. > > Dump of /sys/kernel/debug/ieee80211/phy1/mt7601u/eeprom_param > with 0d EEPORM looks like this: > > RSSI offset: 0 0 > Reference temp: f9 > LNA gain: 8 > Reg channels: 1-14 > Per rate power: > raw:05 bw20:05 bw40:05 > raw:05 bw20:05 bw40:05 > raw:03 bw20:03 bw40:03 > raw:03 bw20:03 bw40:03 > raw:04 bw20:04 bw40:04 > raw:00 bw20:00 bw40:00 > raw:00 bw20:00 bw40:00 > raw:00 bw20:00 bw40:00 > raw:02 bw20:02 bw40:02 > raw:00 bw20:00 bw40:00 > Per channel power: > tx_power ch1:09 ch2:09 > tx_power ch3:0a ch4:0a > tx_power ch5:0a ch6:0a > tx_power ch7:0b ch8:0b > tx_power ch9:0b ch10:0b > tx_power ch11:0b ch12:0b > tx_power ch13:0b ch14:0b > > Reported-and-tested-by: Michael <ZeroBeat@gmx.de> > Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Jakub Kicinski <kubakici@wp.pl>
Stanislaw Gruszka <sgruszka@redhat.com> wrote: > As reported by Michael eeprom 0d is supported and work with the driver. > > Dump of /sys/kernel/debug/ieee80211/phy1/mt7601u/eeprom_param > with 0d EEPORM looks like this: > > RSSI offset: 0 0 > Reference temp: f9 > LNA gain: 8 > Reg channels: 1-14 > Per rate power: > raw:05 bw20:05 bw40:05 > raw:05 bw20:05 bw40:05 > raw:03 bw20:03 bw40:03 > raw:03 bw20:03 bw40:03 > raw:04 bw20:04 bw40:04 > raw:00 bw20:00 bw40:00 > raw:00 bw20:00 bw40:00 > raw:00 bw20:00 bw40:00 > raw:02 bw20:02 bw40:02 > raw:00 bw20:00 bw40:00 > Per channel power: > tx_power ch1:09 ch2:09 > tx_power ch3:0a ch4:0a > tx_power ch5:0a ch6:0a > tx_power ch7:0b ch8:0b > tx_power ch9:0b ch10:0b > tx_power ch11:0b ch12:0b > tx_power ch13:0b ch14:0b > > Reported-and-tested-by: Michael <ZeroBeat@gmx.de> > Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> > Acked-by: Jakub Kicinski <kubakici@wp.pl> Patch applied to wireless-drivers-next.git, thanks. 3bd1505fed71 mt7601u: bump supported EEPROM version
diff --git a/drivers/net/wireless/mediatek/mt7601u/eeprom.h b/drivers/net/wireless/mediatek/mt7601u/eeprom.h index 662d12703b69..57b503ae63f1 100644 --- a/drivers/net/wireless/mediatek/mt7601u/eeprom.h +++ b/drivers/net/wireless/mediatek/mt7601u/eeprom.h @@ -17,7 +17,7 @@ struct mt7601u_dev; -#define MT7601U_EE_MAX_VER 0x0c +#define MT7601U_EE_MAX_VER 0x0d #define MT7601U_EEPROM_SIZE 256 #define MT7601U_DEFAULT_TX_POWER 6
As reported by Michael eeprom 0d is supported and work with the driver. Dump of /sys/kernel/debug/ieee80211/phy1/mt7601u/eeprom_param with 0d EEPORM looks like this: RSSI offset: 0 0 Reference temp: f9 LNA gain: 8 Reg channels: 1-14 Per rate power: raw:05 bw20:05 bw40:05 raw:05 bw20:05 bw40:05 raw:03 bw20:03 bw40:03 raw:03 bw20:03 bw40:03 raw:04 bw20:04 bw40:04 raw:00 bw20:00 bw40:00 raw:00 bw20:00 bw40:00 raw:00 bw20:00 bw40:00 raw:02 bw20:02 bw40:02 raw:00 bw20:00 bw40:00 Per channel power: tx_power ch1:09 ch2:09 tx_power ch3:0a ch4:0a tx_power ch5:0a ch6:0a tx_power ch7:0b ch8:0b tx_power ch9:0b ch10:0b tx_power ch11:0b ch12:0b tx_power ch13:0b ch14:0b Reported-and-tested-by: Michael <ZeroBeat@gmx.de> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> --- drivers/net/wireless/mediatek/mt7601u/eeprom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)