On Mon, 2018-11-05 at 19:25 +0800, Shaokun Zhang wrote:
> RT_TRACE shows REG_MCUFWDL value as a decimal value with a '0x'
> prefix, which is somewhat misleading.
>
> Fix it to print hexadecimal, as was intended.
>
> Cc: Ping-Ke Shih
> Cc: Kalle Valo
> Signed-off-by: Shaokun Zhang
> ---
>
From: Ping-Ke Shih
The following:
bool efuse_re_pg_sec1flag;
u8 efuse_re_pg_data[8];
are not referenced anywhere in the rtlwifi code.
This patch is originally created by Rick Veens ,
and Joe Perches reminded to apply it to rtlwifi.
Signed-off-by: Ping-Ke Shih
---
v2: change author to me
On Mon, 2018-10-01 at 12:10 +0300, Kalle Valo wrote:
> writes:
>
> > From: Rick Veens
> >
> > The following:
> > bool efuse_re_pg_sec1flag;
> > u8 efuse_re_pg_data[8];
> > are not referenced anywhere in the rtlwifi code.
> >
> > This patch is originally created by Rick Veens ,
> > and Joe
From: Rick Veens
The following:
bool efuse_re_pg_sec1flag;
u8 efuse_re_pg_data[8];
are not referenced anywhere in the rtlwifi code.
This patch is originally created by Rick Veens ,
and Joe Perches reminded to apply it to rtlwifi.
Signed-off-by: Ping-Ke Shih
---
On Mon, 2018-09-03 at 22:57 +0800, Kevin Lo wrote:
> Remove set but unused variables from _rtl88ee_hw_configure() and
> _rtl8723e_hw_configure().
>
> Signed-off-by: Kevin Lo
Acked-by: Ping-Ke Shih
On Sun, 2018-07-08 at 11:30 -0500, Larry Finger wrote:
> On 07/06/2018 12:44 AM, pks...@realtek.com wrote:
> > From: Ping-Ke Shih
> >
> > RTL8822be can't bring up properly on ASUS X530UN, and dmesg says:
> > [ 8.591333] r8822be: module is from the staging directory, the quality
> > is unknown,
On Fri, 2018-06-29 at 10:30 +0300, Kalle Valo wrote:
> Pkshih writes:
>
> > On Tue, 2018-05-29 at 08:18 +0300, Kalle Valo wrote:
> >> writes:
> >>
> >
> > Because C2H data is little endian order, the struct will look like
> > struct foo {
> &g
On Wed, 2018-06-27 at 08:36 -0500, Larry Finger wrote:
> On 06/27/2018 03:01 AM, pks...@realtek.com wrote:
> > From: Ping-Ke Shih
> >
> > rtl8821ae uses two kinds of firmwares for normal and WoWlan cases, and
> > each firmware has firmware data buffer and size individually. Original
> > code
From: Ping-Ke Shih
rtl8821ae uses two kinds of firmwares for normal and WoWlan cases, and
each firmware has firmware data buffer and size individually. Original
code always overwrite size of normal firmware rtlpriv->rtlhal.fwsize, and
this mismatch causes firmware checksum error, then firmware
From: Ping-Ke Shih
rtl8821ae uses two kinds of firmwares for normal and WoWlan cases, and
each firmware has two firmware data buffer and size individually. Original
code always overwrite size of normal firmware rtlpriv->rtlhal.fwsize, and
this mismatch causes firmware checksum error, then
From: Ping-Ke Shih
When connecting to AP, mac80211 asks driver to enter and leave PS quickly,
but driver deinit doesn't wait for delayed work complete when entering PS,
then driver reinit procedure and delay work are running simultaneously.
This will cause unpredictable kernel oops or crash like
On Fri, 2018-06-22 at 07:00 +0200, Arend Van Spriel wrote:
> Op vr 22 jun. 2018 04:27 schreef Pkshih :
> >
> > On Thu, 2018-06-21 at 10:14 -0500, Larry Finger wrote:
> > > On 06/21/2018 02:06 AM, pks...@realtek.com wrote:
> > > > From: Ping-Ke Shih
> [snip]
On Thu, 2018-06-21 at 10:14 -0500, Larry Finger wrote:
> On 06/21/2018 02:06 AM, pks...@realtek.com wrote:
> > From: Ping-Ke Shih
> >
> > When connecting to AP, mac80211 asks driver to enter and leave PS quickly,
> > but driver deinit doesn't wait for delayed work complete when entering PS,
> >
From: Ping-Ke Shih
When connecting to AP, mac80211 asks driver to enter and leave PS quickly,
but driver deinit doesn't wait for delayed work complete when entering PS,
then driver reinit procedure and delay work are running simultaneously.
This will cause unpredictable kernel oops or crash like
On Thu, 2018-05-24 at 11:27 +0300, Kalle Valo wrote:
>
> You are missing my point: I don't even have time to review huge rtlwifi
> patches when they are not even ready for upstream. I cannot start
> working on cleaning up rtlwifi code and doing multiple iterations of
> reviews on these kind of
On Fri, 2018-04-13 at 14:16 +0800, pks...@realtek.com wrote:
> From: Ping-Ke Shih
>
> v4: swap the order of patch 4/9 and 5/9, because kbuild test robot reports
> undefined reference. No source code change.
> v3: forget to CC wireless mailing list, so resend again. No any change.
> v2: fix
On Tue, 2018-05-29 at 08:18 +0300, Kalle Valo wrote:
> writes:
>
> > From: Ping-Ke Shih
> >
> > The format of C2H data is ID(1 byte) + Length(1 byte) + value, and it is
> > more readable to use macros to access C2H data.
> >
> > Signed-off-by: Ping-Ke Shih
>
> [...]
>
> > ---
On Sat, 2018-05-19 at 20:43 +, Mattias Jernberg wrote:
> Hi
>
> With kernel 4.16 I experience a loss in signal strength on rtl8723be,
> it is very similar to having the ant_sel parameter wrong (or missing),
> iw scan shows only my own access point next to me and with a signal
> strength of
On Wed, 2018-05-16 at 15:36 +0300, Kalle Valo wrote:
> Pkshih <pks...@realtek.com> writes:
>
> > On Mon, 2018-04-30 at 14:03 +0530, Krishna Chaitanya wrote:
> >> On Mon, Apr 30, 2018 at 8:10 AM, Pkshih <pks...@realtek.com> wrote:
> >> >
> >&g
From: Ping-Ke Shih
To use keep-alive mechanism in mac80211 stack, since driver supports
reporting accurate nullfunc frame tx ack now.
Signed-off-by: Tzu-En Huang
Signed-off-by: Ping-Ke Shih
---
From: Tzu-En Huang
In order to realize the keep-alive mechanism in mac80211 stack, reporting
accurate tx ack status for nullfunc frame is added in this commit.
If current frame is nullfunc frame, we ask firmware to report by filling
TX report bit in TX descriptor. After
From: Ping-Ke Shih
The caller of hal_op rx_command_packet will assert function pointer
before calling, so we can remove dummy functions safely.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c | 2 --
From: Ping-Ke Shih
Merge duplicate C2H handler and implement the handler in base.c.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/base.c| 72 +
drivers/net/wireless/realtek/rtlwifi/base.h| 3 +
From: Ping-Ke Shih
Because the hal_op rx_command_packet does C2H handler if rx packet type
is C2H, and the handler have been moved to base.c so we can call the
handler directly.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/pci.c
From: Ping-Ke Shih
The IDs are defined by driver and map to the fw C2H IDs, but they aren't
used now result in removal.
Signed-off-by: Ping-Ke Shih
---
.../net/wireless/realtek/rtlwifi/rtl8188ee/def.h | 25 --
From: Ping-Ke Shih
We're going to merge C2H handler into one, but one special case is to
handle RA_REPORT that implements in individual IC folder. So this commit
adds a hal_op for caller in common code.
Signed-off-by: Ping-Ke Shih
---
From: Ping-Ke Shih
Move C2H definition to wifi.h, because the definitions of 8192ee, 8723be
and 8821ae are the same.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c | 16
From: Ping-Ke Shih
Similar to rx_command_packet, we can call rtl_c2h_content_parsing so the
hal_op isn't necessary.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/base.c | 7 +++
From: Ping-Ke Shih
The goal of patch 1/14 and 2/14 is to use keep-alive mechanism in mac80211
stack that needs accurate TX ack status for null frame reported by firmware
through C2H.
The remaining patches are step by step to remove duplicate C2H handlers
that widely
From: Ping-Ke Shih
We use 'struct rtl_c2hcmd' to store C2H commands originally, and the code
is slightly complex to enqueue and dequeue and also wastes time to
allocate and memcpy data. Since C2H commands are asynchronous events,
they can be processed in work queue, so RX ISR
From: Ping-Ke Shih
Move duplicate definitions from def.h of ic folder to wifi.h
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/def.h | 7 ---
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/def.h | 8
From: Ping-Ke Shih
The format of C2H data is ID(1 byte) + Length(1 byte) + value, and it is
more readable to use macros to access C2H data.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/base.c | 8
From: Ping-Ke Shih
Current chips use packet-based C2H commands whose IDs differ from old
ones, so this commit simply gives C2H_V0_ as prefix of command IDs.
Signed-off-by: Ping-Ke Shih
---
.../net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c | 6 +++---
From: Ping-Ke Shih
In former patch, I enqueu all C2H commands and processed by a workqueue.
In case C2H_BT_INFO will issue a H2C command to set BT reg, and wait for
a C2H ack. But it is totally impossible that C2H workqueue waits for a
C2H command, so kernel log warn
On Mon, 2018-04-30 at 14:03 +0530, Krishna Chaitanya wrote:
> On Mon, Apr 30, 2018 at 8:10 AM, Pkshih <pks...@realtek.com> wrote:
> >
> >
> > > -Original Message-
> > > From: Barry Day [mailto:brise...@gmail.com]
> > > Sent: Saturday, April 2
On Wed, 2018-05-09 at 13:33 -0700, João Paulo Rechi Vita wrote:
> On Tue, May 8, 2018 at 1:37 AM, Pkshih <pks...@realtek.com> wrote:
> > On Mon, 2018-05-07 at 14:49 -0700, João Paulo Rechi Vita wrote:
> >> On Tue, May 1, 2018 at 10:58 PM, Pkshih <pks...@realtek.com>
On Mon, 2018-05-07 at 14:49 -0700, João Paulo Rechi Vita wrote:
> On Tue, May 1, 2018 at 10:58 PM, Pkshih <pks...@realtek.com> wrote:
> > On Wed, 2018-05-02 at 05:44 +, Pkshih wrote:
> >>
> >> > -Original Message-
> >> > From:
From: Ping-Ke Shih
Two enumerations bt_total_ant_num and bt_ant_num are identical, so one
can be removed.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c | 4 ++--
drivers/net/wireless/realtek/rtlwifi/wifi.h |
On Wed, 2018-05-02 at 05:44 +, Pkshih wrote:
>
> > -Original Message-
> > From: João Paulo Rechi Vita [mailto:jprv...@gmail.com]
> > Sent: Wednesday, May 02, 2018 6:41 AM
> > To: Larry Finger
> > Cc: Steve deRosier; 莊彥宣; Pkshih; Birming Chiu; Shao
> -Original Message-
> From: João Paulo Rechi Vita [mailto:jprv...@gmail.com]
> Sent: Wednesday, May 02, 2018 6:41 AM
> To: Larry Finger
> Cc: Steve deRosier; 莊彥宣; Pkshih; Birming Chiu; Shaofu; Steven Ting;
> Chaoming_Li; Kalle Valo;
> linux-wireless; Network Deve
> -Original Message-
> From: Barry Day [mailto:brise...@gmail.com]
> Sent: Saturday, April 28, 2018 6:42 AM
> To: Pkshih
> Cc: Kalle Valo; larry.fin...@lwfinger.net; linux-wireless@vger.kernel.org
> Subject: Re: [PATCH v3 00/19] rtlwifi: halmac: Add new module halmac
&
> -Original Message-
> From: Kalle Valo [mailto:kv...@codeaurora.org]
> Sent: Wednesday, April 25, 2018 3:36 PM
> To: Pkshih
> Cc: larry.fin...@lwfinger.net; linux-wireless@vger.kernel.org
> Subject: Re: [PATCH v3 00/19] rtlwifi: halmac: Add new module halmac
>
On Tue, 2018-04-24 at 17:12 +, Kalle Valo wrote:
> writes:
>
> > From: Ping-Ke Shih
> >
> > v2: remove indirection to get halmac ops
> > Only patches 1/17 and 11/17 are changed.
> >
> > Patches 1/17-3/17 are added structure to support this module.
From: Ping-Ke Shih
This file provides interfaces to read and write efuse contents.
Signed-off-by: Ping-Ke Shih
---
.../rtlwifi/halmac/halmac_88xx/halmac_efuse_88xx.c | 1918
.../rtlwifi/halmac/halmac_88xx/halmac_efuse_88xx.h | 101
From: Ping-Ke Shih
The halmac supports three buses interfaces, PCI, USB and SDIO, and this
commit makes it possible to change their phy parameters.
Signed-off-by: Ping-Ke Shih
---
.../halmac_88xx/halmac_8822b/halmac_pcie_8822b.c | 218 +
From: Ping-Ke Shih
This commit provides WiFi mac functions to control wifi easier, and also
provides generic access entries for driver and other modules.
Signed-off-by: Ping-Ke Shih
---
.../halmac_8822b/halmac_cfg_wmac_8822b.c | 144 +
From: Ping-Ke Shih
TX/RX descriptor are the headers to describe the packet content.
Signed-off-by: Ping-Ke Shih
---
.../realtek/rtlwifi/halmac/halmac_rx_bd_nic.h | 36 ++
.../realtek/rtlwifi/halmac/halmac_rx_desc_chip.h | 100 +
From: Ping-Ke Shih
Some BB and RF functions collaborate with firmware or MAC. For instances,
the IQK and PSD functions are implemented in firmware, so use a H2C command
to trigger. For MIMO function, use the helper functions to control related
MAC registers.
Signed-off-by:
From: Ping-Ke Shih
GPIO with pinmux can switch to many functions such as LED, UART, JTAG,
WoWLAN, etc.
Signed-off-by: Ping-Ke Shih
---
.../halmac_88xx/halmac_8822b/halmac_gpio_8822b.c | 847 +
From: Ping-Ke Shih
Add files to initialize and free halmac context. Since halmac is an three
levels hierarchy file structure, so the added files provide interfaces of
halmac, 88xx and 8822b.
Signed-off-by: Ping-Ke Shih
---
From: Ping-Ke Shih
Define power sequence command, and fill the sequences of 8822b.
Signed-off-by: Ping-Ke Shih
---
.../halmac_8822b/halmac_pwr_seq_8822b.c| 396 +
.../halmac_8822b/halmac_pwr_seq_8822b.h| 26
From: Ping-Ke Shih
Add structure and ops to interact with halmac and other modules.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/wifi.h | 58 +
1 file changed, 58 insertions(+)
diff --git
From: Ping-Ke Shih
List all MAC registers including rtl8822b.
Signed-off-by: Ping-Ke Shih
---
.../wireless/realtek/rtlwifi/halmac/halmac_reg2.h | 1292
.../realtek/rtlwifi/halmac/halmac_reg_8822b.h | 733 +++
2 files
From: Ping-Ke Shih
The structure halmac_ops defined in wifi.h, and this commit implements and
hooks ops to the structure, so a symbol rtl_halmac_get_ops_pointer is
expoerted to access this module. Meanwhile, we implement ops defined and
needed by this module.
Signed-off-by:
From: Ping-Ke Shih
Add a debug ID for the module halmac
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/debug.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/realtek/rtlwifi/debug.h
From: Ping-Ke Shih
The number and size of chip fucntions are different, such as TX/RX FIFO
size, efuse size, etc. So they are defined in an individual file.
Signed-off-by: Ping-Ke Shih
---
.../halmac_88xx/halmac_8822b/halmac_8822b_cfg.h| 68
From: Ping-Ke Shih
v3: patch 06/17 in v2 is too big, so mail server may block the mail.
In this patchset, I decompose the patch into three patches 06/19-08/19,
so in patchset view v2 and v3 are identical.
v2: remove indirection to get halmac ops
Only patches 1/17
From: Ping-Ke Shih
The files contain main definition of struct, enum, prototypes,
state machine, etc.
Signed-off-by: Ping-Ke Shih
---
.../realtek/rtlwifi/halmac/halmac_state_machine.h | 157 ++
.../wireless/realtek/rtlwifi/halmac/halmac_type.h | 2134
From: Ping-Ke Shih
Add halmac to Makefile and Kconfig, so we can build this module if 8822BE
is selected.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/Kconfig | 5
drivers/net/wireless/realtek/rtlwifi/Makefile |
From: Ping-Ke Shih
This header file is maintained by new module phydm, and share with
driver and other modules, such as halmac. This patch adds only one
enumeration, and more information will be added later.
Signed-off-by: Ping-Ke Shih
---
Thanks for spending your time to teach and help, Kalle and Larry.
I'll record this example to internal white board.
PK
From: Ping-Ke Shih
The module parameter ant_sel is used to control antenna number and path.
There is an existing enum ANT_{X2,X1} defined the antenna number, so
add a new enum ANT_{MAIN,AUX} to make it readable. After this work,
incorrect given values depend on ant_sel were
On Thu, 2018-04-19 at 12:52 +0300, Kalle Valo wrote:
> writes:
>
> > From: Ping-Ke Shih
> >
> > The module parameter ant_sel is used to control antenna number and path.
> > There is an existing enum ANT_{X2,X1} defined the antenna number, so
> > add a new
From: Ping-Ke Shih
The module parameter ant_sel is used to control antenna number and path.
There is an existing enum ANT_{X2,X1} defined the antenna number, so
add a new enum ANT_{MAIN,AUX} to make it readable. After this work,
incorrect given values depend on ant_sel were
From: Ping-Ke Shih
Remove the global varaibles, and use local varialbes that point the fields
defined in 'struct btc_coexist' instead, so it is possible to support
multiple devices.
Signed-off-by: Ping-Ke Shih
---
From: Ping-Ke Shih
The variables declared as 'static' look a little weird. Since they are
version of btcoex and only used to display in debug message, this patch
changes them to 'static const' to make it clear.
Signed-off-by: Ping-Ke Shih
---
From: Ping-Ke Shih
Add btcoex of 8822b to Makefile.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/btcoexist/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/Makefile
From: Ping-Ke Shih
The comments aren't meaningful and the use of '***...***' isn't upstream
style, so remove them. This patch doesn't change any code.
Signed-off-by: Ping-Ke Shih
---
.../realtek/rtlwifi/btcoexist/halbtc8192e2ant.c| 22
From: Ping-Ke Shih
v4: swap the order of patch 4/9 and 5/9, because kbuild test robot reports
undefined reference. No source code change.
v3: forget to CC wireless mailing list, so resend again. No any change.
v2: fix misspelling and boolean expression in patch 1/9
From: Ping-Ke Shih
Add 8822b routines to run btcoex algorithm
Signed-off-by: Ping-Ke Shih
---
.../realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 100 +
1 file changed, 100 insertions(+)
diff --git
From: Ping-Ke Shih
Chip specific context plays as global variables that will not support
multiple devices simultaneously. This patch adds 'union' fields to hold
the variables, and next patch will remove all of them.
To use the declaration of fields in halbtcoutsrc.h, I move
From: Ping-Ke Shih
Add 8822b header files to precomp.h for routing functions.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbt_precomp.h | 3 +++
1 file changed, 3 insertions(+)
diff --git
From: Ping-Ke Shih
Remove the global varaibles, and use local varialbes that point the fields
defined in 'struct btc_coexist' instead, so it is possible to support
multiple devices.
Signed-off-by: Ping-Ke Shih
---
From: Ping-Ke Shih
The variables declared as 'static' look a little weird. Since they are
version of btcoex and only used to display in debug message, this patch
changes them to 'static const' to make it clear.
Signed-off-by: Ping-Ke Shih
---
From: Ping-Ke Shih
v3: forget to CC wireless mailing list, so resend again. No any change.
v2: fix misspelling and boolean expression in patch 1/9
Patches 1-2 are revised by patches 12 of previous patchset. 8822b coex
files are split into two patches, and I remove some
From: Ping-Ke Shih
Add 8822b routines to run btcoex algorithm
Signed-off-by: Ping-Ke Shih
---
.../realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 100 +
1 file changed, 100 insertions(+)
diff --git
From: Ping-Ke Shih
The comments aren't meaningful and the use of '***...***' isn't upstream
style, so remove them. This patch doesn't change any code.
Signed-off-by: Ping-Ke Shih
---
.../realtek/rtlwifi/btcoexist/halbtc8192e2ant.c| 22
From: Ping-Ke Shih
Chip specific context plays as global variables that will not support
multiple devices simultaneously. This patch adds 'union' fields to hold
the variables, and next patch will remove all of them.
To use the declaration of fields in halbtcoutsrc.h, I move
From: Ping-Ke Shih
Add btcoex of 8822b to Makefile.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/btcoexist/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/Makefile
From: Ping-Ke Shih
Add 8822b header files to precomp.h for routing functions.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbt_precomp.h | 3 +++
1 file changed, 3 insertions(+)
diff --git
From: Ping-Ke Shih
Since the statements are identical, we can safely remove the statements.
The commit 42e74946f016 ("rtlwifi: btcoexist: Fix if == else warnings in
halbtc8821a1ant.c") had fixed the statements, but the commit c6821613e653
("rtlwifi: btcoex: follow linux
On Thu, 2018-04-05 at 01:25 +, Gustavo A. R. Silva wrote:
> Hi all,
>
> While doing some static analysis I came across the following piece of code at
> drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c:1581:
>
> 1581 static void btc8821a1ant_act_bt_sco_hid_only_busy(struct
On Wed, 2018-04-04 at 20:41 +0800, Pkshih wrote:
> On Wed, 2018-04-04 at 02:43 +, Larry Finger wrote:
> > On 03/28/2018 02:27 AM, pks...@realtek.com wrote:
> > > From: Ping-Ke Shih <pks...@realtek.com>
> > >
> > > This file supports 88
On Wed, 2018-04-04 at 02:43 +, Larry Finger wrote:
> On 03/28/2018 02:27 AM, pks...@realtek.com wrote:
> > From: Ping-Ke Shih
> >
> > This file supports 8822be WiFi module with two physical antenna that
> > means one antenna will share with BT.
> >
> > Signed-off-by:
From: Ping-Ke Shih
v2: remove indirection to get halmac ops
Only patches 1/17 and 11/17 are changed.
Patches 1/17-3/17 are added structure to support this module.
Patches 4/17-16/17 add new files.
Patch 17/17 add this module to Makefile and Kconfig.
Ping-Ke Shih (17):
From: Ping-Ke Shih
Define power sequence command, and fill the sequences of 8822b.
Signed-off-by: Ping-Ke Shih
---
.../halmac_8822b/halmac_pwr_seq_8822b.c| 396 +
.../halmac_8822b/halmac_pwr_seq_8822b.h| 26
From: Ping-Ke Shih
The files contain main definition of struct, enum, prototypes,
state machine, etc.
Signed-off-by: Ping-Ke Shih
---
.../realtek/rtlwifi/halmac/halmac_state_machine.h | 157 ++
.../wireless/realtek/rtlwifi/halmac/halmac_type.h | 2134
From: Ping-Ke Shih
TX/RX descriptor are the headers to describe the packet content.
Signed-off-by: Ping-Ke Shih
---
.../realtek/rtlwifi/halmac/halmac_rx_bd_nic.h | 36 ++
.../realtek/rtlwifi/halmac/halmac_rx_desc_chip.h | 100 +
From: Ping-Ke Shih
Add a debug ID for the module halmac
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/debug.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/realtek/rtlwifi/debug.h
From: Ping-Ke Shih
The number and size of chip fucntions are different, such as TX/RX FIFO
size, efuse size, etc. So they are defined in an individual file.
Signed-off-by: Ping-Ke Shih
---
.../halmac_88xx/halmac_8822b/halmac_8822b_cfg.h| 68
From: Ping-Ke Shih
This file provides interfaces to read and write efuse contents.
Signed-off-by: Ping-Ke Shih
---
.../rtlwifi/halmac/halmac_88xx/halmac_efuse_88xx.c | 1918
.../rtlwifi/halmac/halmac_88xx/halmac_efuse_88xx.h | 101
From: Ping-Ke Shih
Add structure and ops to interact with halmac and other modules.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/wifi.h | 58 +
1 file changed, 58 insertions(+)
diff --git
From: Ping-Ke Shih
The structure halmac_ops defined in wifi.h, and this commit implements and
hooks ops to the structure, so a symbol rtl_halmac_get_ops_pointer is
expoerted to access this module. Meanwhile, we implement ops defined and
needed by this module.
Signed-off-by:
From: Ping-Ke Shih
GPIO with pinmux can switch to many functions such as LED, UART, JTAG,
WoWLAN, etc.
Signed-off-by: Ping-Ke Shih
---
.../halmac_88xx/halmac_8822b/halmac_gpio_8822b.c | 847 +
From: Ping-Ke Shih
This header file is maintained by new module phydm, and share with
driver and other modules, such as halmac. This patch adds only one
enumeration, and more information will be added later.
Signed-off-by: Ping-Ke Shih
---
From: Ping-Ke Shih
This commit provides WiFi mac functions to control wifi easier, and also
provides generic access entries for driver and other modules.
Signed-off-by: Ping-Ke Shih
---
.../halmac_8822b/halmac_cfg_wmac_8822b.c | 144 +
From: Ping-Ke Shih
Add files to initialize and free halmac context. Since halmac is an three
levels hierarchy file structure, so the added files provide interfaces of
halmac, 88xx and 8822b.
Signed-off-by: Ping-Ke Shih
---
From: Ping-Ke Shih
Some BB and RF functions collaborate with firmware or MAC. For instances,
the IQK and PSD functions are implemented in firmware, so use a H2C command
to trigger. For MIMO function, use the helper functions to control related
MAC registers.
Signed-off-by:
From: Ping-Ke Shih
Add halmac to Makefile and Kconfig, so we can build this module if 8822BE
is selected.
Signed-off-by: Ping-Ke Shih
---
drivers/net/wireless/realtek/rtlwifi/Kconfig | 5
drivers/net/wireless/realtek/rtlwifi/Makefile |
From: Ping-Ke Shih
The halmac supports three buses interfaces, PCI, USB and SDIO, and this
commit makes it possible to change their phy parameters.
Signed-off-by: Ping-Ke Shih
---
.../halmac_88xx/halmac_8822b/halmac_pcie_8822b.c | 218 +
1 - 100 of 263 matches
Mail list logo