rtlwifi: fix REG_USTIME_TSF register definition
PATCH 1/1 rtlwifi: fix REG_USTIME_TSF register definition
The REG_USTIME_TSF (US Time Tuning for TSF) definition of Realtek chips should be 0x55C.
---
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h +1 -1
@@ -248,7 +248,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554
@@ -256,6 +255,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055F
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h +1 -1
@@ -227,7 +227,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554
@@ -235,6 +234,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055F
drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h +1 -1
@@ -255,7 +255,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554
@@ -263,6 +262,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055F
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h +1 -1
@@ -217,7 +217,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554
@@ -225,6 +224,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055F
drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h +1 -1
@@ -261,7 +261,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554
@@ -269,6 +268,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055F
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h +1 -1
@@ -267,7 +267,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554
@@ -275,6 +274,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055F
Quoted 4 lines · Kevin Lo
The
REG_USTIME_TSF(US Time Tuning for TSF) definition of Realtek chips should be0x55C.Signed-off-by Kevin Lo <[email protected]>
Larry, is this ok to take?
Signature · 3 lines
https://patchwork.kernel.org/patch/9737421/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
A message that is not in the archive (sent off-list or not yet received): CA+R5OdtxiN4XBZg3k-Suamj5r4+=jDY-10HdUCHuqb=Nt-baqg@mail.gmail.com
Sorry for the top post. This patch has an Acked-by Yan-Hsuan Chuang.
Quoted 141 lines · 莊彥宣
Yes, the register
0x55cis forREG_USTIME_TSF.
And0x551is forBCN_CTRL1.2017-05-19 23:02 GMT+08:00 Kevin Lo <[email protected]>:
Quoted 133 lines
The
REG_USTIME_TSF(US Time Tuning for TSF) definition of Realtek chips should be0x55C.Signed-off-by Kevin Lo <[email protected]>---
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h +1
-1@@ -248,7 +248,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -256,6 +255,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h +1
-1@@ -227,7 +227,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -235,6 +234,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h +1
-1@@ -255,7 +255,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -263,6 +262,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h +1
-1@@ -217,7 +217,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -225,6 +224,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h +1
-1@@ -261,7 +261,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -269,6 +268,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h +1
-1@@ -267,7 +267,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -275,6 +274,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055F
Quoted 3 lines · Kevin Lo
Sorry for the top post. This patch has an Acked-by Yan-Hsuan Chuang.
On Wed, Jun 07, 2017 at 09:43:21AM +0800, =E8=8E=8A=E5=BD=A5=E5=AE=A3 wro=
te:
Quoted 8 lines
Quoted 8 lines
Yes, the register
0x55cis forREG_USTIME_TSF.
And0x551is forBCN_CTRL1.
=20
=20=20
2017-05-19 23:02 GMT+08:00 Kevin Lo <[email protected]>:
=20
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
The
REG_USTIME_TSF(US Time Tuning for TSF) definition of Realtek chips should be0x55C.Signed-off-by Kevin Lo <[email protected]>
I don't see Yan-Hsuan's ack on the mailing list (maybe it was dropped because of HTML?) and hence neither in patchwork:
https://patchwork.kernel.org/patch/9737421/
Yan-Hsuan or Larry, can you please resend the ack so that patchwork sees it?
--=20
Kalle Valo
Quoted 17 lines · Kalle Valo
Quoted 14 lines · Kevin Lo
Sorry for the top post. This patch has an Acked-by Yan-Hsuan Chuang.
Quoted 11 lines · 莊彥宣
Yes, the register
0x55cis forREG_USTIME_TSF.
And0x551is forBCN_CTRL1.2017-05-19 23:02 GMT+08:00 Kevin Lo <[email protected]>:
Quoted 3 lines
The
REG_USTIME_TSF(US Time Tuning for TSF) definition of Realtek chips should be0x55C.
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Signed-off-by Kevin Lo <[email protected]>I don't see Yan-Hsuan's ack on the mailing list (maybe it was dropped because of HTML?) and hence neither in patchwork:
Yan-Hsuan replied privately to me. I think he forgot to cc linux-wireless@.
Quoted 5 lines
Yan-Hsuan or Larry, can you please resend the ack so that patchwork sees it?
Signature · 1 line
Kalle Valo
Quoted 118 lines · Kevin Lo
The
REG_USTIME_TSF(US Time Tuning for TSF) definition of Realtek chips should be0x55C.Signed-off-by Kevin Lo <[email protected]>drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h +1
-1@@ -248,7 +248,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -256,6 +255,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h +1
-1@@ -227,7 +227,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -235,6 +234,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h +1
-1@@ -255,7 +255,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -263,6 +262,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h +1
-1@@ -217,7 +217,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -225,6 +224,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h +1
-1@@ -261,7 +261,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554@@ -269,6 +268,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055Fdrivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h +0
-1@@ -267,7 +267,6 @@#define REG_RD_NAV_NXT 0x0544#define REG_NAV_PROT_LEN 0x0546#define REG_BCN_CTRL 0x0550 -#define REG_USTIME_TSF 0x0551#define REG_MBID_NUM 0x0552#define REG_DUAL_TSF_RST 0x0553#define REG_BCN_INTERVAL 0x0554
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h line 280
Quoted 7 lines
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h +1
-0@@ -275,6 +274,7 @@#define REG_DRVERLYINT 0x0558#define REG_BCNDMATIM 0x0559#define REG_ATIMWND 0x055A +#define REG_USTIME_TSF 0x055C#define REG_BCN_MAX_ERR 0x055D#define REG_RXTSF_OFFSET_CCK 0x055E#define REG_RXTSF_OFFSET_OFDM 0x055F
Patch applied to wireless-drivers-next.git, thanks.
9da96c5e7edd rtlwifi: fix REG_USTIME_TSF register definition
Signature · 3 lines
https://patchwork.kernel.org/patch/9737421/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches