All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rtlwifi: fix REG_USTIME_TSF register definition
@ 2017-05-19 15:02 Kevin Lo
  2017-05-24  8:46 ` Kalle Valo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Kevin Lo @ 2017-05-19 15:02 UTC (permalink / raw)
  To: Larry Finger, Ping-Ke Shih, linux-wireless

The REG_USTIME_TSF (US Time Tuning for TSF) definition of Realtek chips
should be 0x55C.

Signed-off-by: Kevin Lo <kevlo@kevlo.org>
---

diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
index 15400ee6c04b..0c0d64aea651 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
@@ -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
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
index 1bb7ed35812d..9e3b58a5d2bb 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
@@ -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
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
index b354b95936e2..d4c4e76a9244 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
@@ -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
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
index 306059f9b9cc..30938cd9fce5 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
@@ -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
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
index 03581d2a5da0..95c4f8e206c7 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
@@ -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
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
index ed69dbe178ff..db8bc8a2de61 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
@@ -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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: rtlwifi: fix REG_USTIME_TSF register definition
  2017-05-19 15:02 [PATCH] rtlwifi: fix REG_USTIME_TSF register definition Kevin Lo
@ 2017-05-24  8:46 ` Kalle Valo
       [not found] ` <CA+R5OdtxiN4XBZg3k-Suamj5r4+=jDY-10HdUCHuqb=Nt-baqg@mail.gmail.com>
  2017-06-21 15:24 ` Kalle Valo
  2 siblings, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2017-05-24  8:46 UTC (permalink / raw)
  To: Kevin Lo; +Cc: Larry Finger, Ping-Ke Shih, linux-wireless

Kevin Lo <kevlo@kevlo.org> wrote:
> The REG_USTIME_TSF (US Time Tuning for TSF) definition of Realtek chips
> should be 0x55C.
> 
> Signed-off-by: Kevin Lo <kevlo@kevlo.org>

Larry, is this ok to take?

-- 
https://patchwork.kernel.org/patch/9737421/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] rtlwifi: fix REG_USTIME_TSF register definition
       [not found] ` <CA+R5OdtxiN4XBZg3k-Suamj5r4+=jDY-10HdUCHuqb=Nt-baqg@mail.gmail.com>
@ 2017-06-10 14:23   ` Kevin Lo
  2017-06-11  8:18     ` Kalle Valo
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Lo @ 2017-06-10 14:23 UTC (permalink / raw)
  To: Larry Finger; +Cc: Ping-Ke Shih, Yan-Hsuan Chuang, linux-wireless

Sorry for the top post.  This patch has an Acked-by Yan-Hsuan Chuang.

On Wed, Jun 07, 2017 at 09:43:21AM +0800, 莊彥宣 wrote:
> Yes, the register 0x55c is for REG_USTIME_TSF.
> And 0x551 is for BCN_CTRL1.
> 
> 
> Acked-by: Yan-Hsuan, Chuang <yhchuang@realtek.com>
> 
> 2017-05-19 23:02 GMT+08:00 Kevin Lo <kevlo@kevlo.org>:
> 
> > The REG_USTIME_TSF (US Time Tuning for TSF) definition of Realtek chips
> > should be 0x55C.
> >
> > Signed-off-by: Kevin Lo <kevlo@kevlo.org>
> > ---
> >
> > diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
> > b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
> > index 15400ee6c04b..0c0d64aea651 100644
> > --- a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
> > +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
> > @@ -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
> > diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
> > b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
> > index 1bb7ed35812d..9e3b58a5d2bb 100644
> > --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
> > +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
> > @@ -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
> > diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
> > b/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
> > index b354b95936e2..d4c4e76a9244 100644
> > --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
> > +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
> > @@ -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
> > diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
> > b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
> > index 306059f9b9cc..30938cd9fce5 100644
> > --- a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
> > +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
> > @@ -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
> > diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
> > b/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
> > index 03581d2a5da0..95c4f8e206c7 100644
> > --- a/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
> > +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
> > @@ -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
> > diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
> > b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
> > index ed69dbe178ff..db8bc8a2de61 100644
> > --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
> > +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
> > @@ -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
> >

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] rtlwifi: fix REG_USTIME_TSF register definition
  2017-06-10 14:23   ` [PATCH] " Kevin Lo
@ 2017-06-11  8:18     ` Kalle Valo
  2017-06-11 13:24       ` Kevin Lo
  0 siblings, 1 reply; 6+ messages in thread
From: Kalle Valo @ 2017-06-11  8:18 UTC (permalink / raw)
  To: Kevin Lo; +Cc: Larry Finger, Ping-Ke Shih, Yan-Hsuan Chuang, linux-wireless

Kevin Lo <kevlo@kevlo.org> writes:

> 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:
>> Yes, the register 0x55c is for REG_USTIME_TSF.
>> And 0x551 is for BCN_CTRL1.
>>=20
>>=20
>> Acked-by: Yan-Hsuan, Chuang <yhchuang@realtek.com>
>>=20
>> 2017-05-19 23:02 GMT+08:00 Kevin Lo <kevlo@kevlo.org>:
>>=20
>> > The REG_USTIME_TSF (US Time Tuning for TSF) definition of Realtek chips
>> > should be 0x55C.
>> >
>> > Signed-off-by: Kevin Lo <kevlo@kevlo.org>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] rtlwifi: fix REG_USTIME_TSF register definition
  2017-06-11  8:18     ` Kalle Valo
@ 2017-06-11 13:24       ` Kevin Lo
  0 siblings, 0 replies; 6+ messages in thread
From: Kevin Lo @ 2017-06-11 13:24 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Larry Finger, Ping-Ke Shih, Yan-Hsuan Chuang, linux-wireless

On Sun, Jun 11, 2017 at 11:18:38AM +0300, Kalle Valo wrote:
> 
> Kevin Lo <kevlo@kevlo.org> writes:
> 
> > Sorry for the top post.  This patch has an Acked-by Yan-Hsuan Chuang.
> >
> > On Wed, Jun 07, 2017 at 09:43:21AM +0800, 莊彥宣 wrote:
> >> Yes, the register 0x55c is for REG_USTIME_TSF.
> >> And 0x551 is for BCN_CTRL1.
> >> 
> >> 
> >> Acked-by: Yan-Hsuan, Chuang <yhchuang@realtek.com>
> >> 
> >> 2017-05-19 23:02 GMT+08:00 Kevin Lo <kevlo@kevlo.org>:
> >> 
> >> > The REG_USTIME_TSF (US Time Tuning for TSF) definition of Realtek chips
> >> > should be 0x55C.
> >> >
> >> > Signed-off-by: Kevin Lo <kevlo@kevlo.org>
> 
> 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 replied privately to me.  I think he forgot to cc linux-wireless@.

> Yan-Hsuan or Larry, can you please resend the ack so that patchwork sees
> it?
> 
> -- 
> Kalle Valo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rtlwifi: fix REG_USTIME_TSF register definition
  2017-05-19 15:02 [PATCH] rtlwifi: fix REG_USTIME_TSF register definition Kevin Lo
  2017-05-24  8:46 ` Kalle Valo
       [not found] ` <CA+R5OdtxiN4XBZg3k-Suamj5r4+=jDY-10HdUCHuqb=Nt-baqg@mail.gmail.com>
@ 2017-06-21 15:24 ` Kalle Valo
  2 siblings, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2017-06-21 15:24 UTC (permalink / raw)
  To: Kevin Lo; +Cc: Larry Finger, Ping-Ke Shih, linux-wireless

Kevin Lo <kevlo@kevlo.org> wrote:

> The REG_USTIME_TSF (US Time Tuning for TSF) definition of Realtek chips
> should be 0x55C.
> 
> Signed-off-by: Kevin Lo <kevlo@kevlo.org>
> 
> diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
> index 15400ee6c04b..0c0d64aea651 100644
> --- a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
> +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h
> @@ -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
> diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
> index 1bb7ed35812d..9e3b58a5d2bb 100644
> --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
> +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/reg.h
> @@ -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
> diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
> index b354b95936e2..d4c4e76a9244 100644
> --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
> +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
> @@ -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
> diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
> index 306059f9b9cc..30938cd9fce5 100644
> --- a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
> +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h
> @@ -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
> diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
> index 03581d2a5da0..95c4f8e206c7 100644
> --- a/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
> +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h
> @@ -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
> diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
> index ed69dbe178ff..db8bc8a2de61 100644
> --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
> +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h
> @@ -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

Patch applied to wireless-drivers-next.git, thanks.

9da96c5e7edd rtlwifi: fix REG_USTIME_TSF register definition

-- 
https://patchwork.kernel.org/patch/9737421/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-21 16:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-19 15:02 [PATCH] rtlwifi: fix REG_USTIME_TSF register definition Kevin Lo
2017-05-24  8:46 ` Kalle Valo
     [not found] ` <CA+R5OdtxiN4XBZg3k-Suamj5r4+=jDY-10HdUCHuqb=Nt-baqg@mail.gmail.com>
2017-06-10 14:23   ` [PATCH] " Kevin Lo
2017-06-11  8:18     ` Kalle Valo
2017-06-11 13:24       ` Kevin Lo
2017-06-21 15:24 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.