From: Johannes Berg
Using skcipher just makes the code longer, and mac80211
also "open-codes" the WEP encrypt/decrypt.
Signed-off-by: Johannes Berg
---
net/wireless/lib80211_crypt_tkip.c | 59 +-
net/wireless/lib80211_crypt_wep.c | 52
Move mt76x2 and mt76x2u drivers to mt76x2 subfolder and
leave just shared code in mt76 root folder
Acked-by: Stanislaw Gruszka
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Kconfig| 43 +--
drivers/net/wireless/mediatek/mt76/Makefile | 22
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 Perches reminded to apply it to rtlwifi.
>
> Signed-off-by: Ping-Ke Shih
> On Sat, Sep 29, 2018 at 07:30:32PM +0200, Lorenzo Bianconi wrote:
> > Add MT_H2M_BBP_AGENT, MT_H2M_MAILBOX_CSR and MT_H2M_INT_SRC and
> > remove magic numbers
> >
> >
> > /* TODO: Probably not needed */
> > - mt76_wr(dev, 0x7028, 0);
> > - mt76_wr(dev, 0x7010, 0);
> > - mt76_wr(dev,
From: Johannes Berg
Add some error messages to nl80211_parse_chandef() to make
failures here - especially with disabled channels - easier
to diagnose.
Signed-off-by: Johannes Berg
---
net/wireless/nl80211.c | 62 --
1 file changed, 40
On Oct 01, Stanislaw Gruszka wrote:
> Hi
>
> On Sat, Sep 29, 2018 at 07:26:41PM +0200, Lorenzo Bianconi wrote:
> > Add mt76x0e_cleanup routine to tidy up the device
> > during netdevice removal
> >
> > Signed-off-by: Lorenzo Bianconi
> > + mt76_wr(dev, MT_H2M_MAILBOX_CID, ~0);
> > +
Add mt76x0e_cleanup routine to tidy up the device
during device removal
Signed-off-by: Lorenzo Bianconi
---
Changes since v1:
- remove H2M_MAILBOX_* configurations
---
.../net/wireless/mediatek/mt76/mt76x0/pci.c | 26 ++-
1 file changed, 20 insertions(+), 6 deletions(-)
diff
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 Sat, Sep 29, 2018 at 07:44:55PM +0200, Lorenzo Bianconi wrote:
> > + if (dev->drv->get_tx_txpwr_adj) {
> > + txpwr_adj = dev->drv->get_tx_txpwr_adj(dev, dev->txpower_conf,
> > + max_txpwr_adj);
> > + txwi->ctl2 =
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: Johannes Berg
Since my change to split out the regulatory init to occur later,
any issues during earlier cfg80211_init() or errors during the
platform device allocation would lead to crashes later. Make this
more robust by checking that the earlier initialization succeeded.
Fixes:
From: Johannes Berg
There's no reason for drivers to be able to access the
cfg80211 internal cookie counter; move it out of the
wiphy into the rdev structure.
While at it, also make it never assign 0 as a cookie
(we consider that invalid in some places), and warn if
we manage to do that for
On 2018-10-01 07:48, Stanislaw Gruszka wrote:
> On Sat, Sep 29, 2018 at 07:44:55PM +0200, Lorenzo Bianconi wrote:
>> +spin_lock_bh(>lock);
>> +if (wcid && (rate->idx < 0 || !rate->count)) {
>> +txwi->rate = wcid->tx_rate;
>> +max_txpwr_adj = wcid->max_txpwr_adj;
>>
On Tue, Sep 25, 2018 at 11:53:15AM +0530, Ajay Singh wrote:
> This patch series contains changes to avoid the use of static variables.
> Cleanup changes to fix some checkpatch issues and return void for
> function if their return value is not used.
> Also deleted 'wilc_debugfs.c' file as it's not
Hi Dan,
On Mon, 1 Oct 2018 10:47:34 +0300
Dan Carpenter wrote:
> On Tue, Sep 25, 2018 at 11:53:15AM +0530, Ajay Singh wrote:
> > This patch series contains changes to avoid the use of static
> > variables. Cleanup changes to fix some checkpatch issues and return
> > void for function if their
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
---
Stanislaw Gruszka wrote:
> In order to reuse usb txdone/txstatus routines for mmio, move them
> to common rt2800lib.c file.
>
> Signed-off-by: Stanislaw Gruszka
5 patches applied to wireless-drivers-next.git, thanks.
5c656c71b1bf rt2800: move usb specific txdone/txstatus routines to
Luca Coelho writes:
> This is the second batch of patches intended for v4.20. This includes
> the last 2 patchsets I sent. Usual development work, with some
> improvements on HE, HW support, bugfixes, and some other small
> improvements. More details about the contents in the tag description.
Igor Mitsyanko wrote:
> Firmware name is only needed at probe stage, no point in keeping it in
> driver state structure.
>
> Signed-off-by: Igor Mitsyanko
11 patches applied to wireless-drivers-next.git, thanks.
4059afc6bd17 qtnfmac_pcie: do not store FW name in driver state structure
On Mon, Oct 01, 2018 at 12:06:56PM +0200, Lorenzo Bianconi wrote:
> > All above looks mt76x2 specific, maybe would be beter to place this in
> > in setup_txwi() calback i.e:
> >
> > if (dev->drv->setup_txwi)
> > drv->drv->setup_txwi(...)
> >
> > or maybe you plan to implement
Merge mt76x0_dev data structure in mt76x02_dev one and remove
duplicated code. Remove unused definition in mt76x0.h.
Moreover merge mt76x0_caldata and mt76x02_rx_freq_cal data structures.
This is a preliminary patch for rxwi unification.
Signed-off-by: Lorenzo Bianconi
---
Add mt76x02_txrx.c source file in order to contain tx/rx shared
routines for mt76x0 and mt76x2 drivers
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/Makefile | 3 +-
.../net/wireless/mediatek/mt76/mt76x02_txrx.c | 162 ++
Rename mt76x02_util.h header file in mt76x02.h since now contains
all mt76x02 related definitions and not just utility routines
declarations
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 3 ---
drivers/net/wireless/mediatek/mt76/mt76x0/mac.c
Remove following function declarations since they have been moved
to mt76x02-lib module:
- mt76x2_sta_add
- mt76x2_sta_remove
- mt76x2_remove_interface
- mt76x2_conf_tx
- mt76x2_txq_init
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h | 10 --
1
Move shared tx/rx code in mt76x02_txrx.c. Moreover rename
mt76x02_util.h in mt76x02.h since now it contains most
relevant mt76x02 data structures
Lorenzo Bianconi (3):
mt76: move txrx shared routines in mt76x02_txrx.c
mt76: rename mt76x02_util.h in mt76x02.h
mt76x2: remove leftover function
Remove no longer used mac_lock spinlock and data array
in mt76x0_dev data structure
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 1 -
drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h | 5 -
2 files changed, 6 deletions(-)
diff --git
Remove hw_atomic_mutex mutex in mt76x0_dev data structure
since mt76x0_phy_set_channel is already protected by mt76_dev
mutex while mt76x0_chip_onoff is used just at device probe or
cleanup
Signed-off-by: Lorenzo Bianconi
---
.../net/wireless/mediatek/mt76/mt76x0/init.c| 5 -
Move mt76x2_dev in mt76x02_util.h and rename it in mt76x02_dev
in order to be shared between mt76x2 and mt76x0 driver
Signed-off-by: Lorenzo Bianconi
---
.../net/wireless/mediatek/mt76/mt76x02_dfs.h | 140 +
.../net/wireless/mediatek/mt76/mt76x02_util.h | 71 +
Merge mt76x0_dev and mt76x2_dev in mt76x02_dev and remove duplicated code.
Move mt76x02_mac_process_rx routine in mt76x02-lib module in order to
unify rxwi parsing between mt76x0 and mt76x2 drivers.
Move mt76x02_tx in mt76x02-lib module and remove duplicated code
Lorenzo Bianconi (10):
mt76:
Move mt76x02_phy_get_min_avg_rssi in mt76x02-lib module since
it will be used by mt76x0 driver in order to unify rxwi parsing
Signed-off-by: Lorenzo Bianconi
---
.../net/wireless/mediatek/mt76/mt76x02_phy.c | 48 +++
.../net/wireless/mediatek/mt76/mt76x02_phy.h | 1 +
Move mt76x02_tx shared routine in mt76x02-lib module and remove
duplicated code. Moreover remove mt76x0/tx.c since it is an empty
file
Signed-off-by: Lorenzo Bianconi
---
.../wireless/mediatek/mt76/mt76x0/Makefile| 2 +-
.../wireless/mediatek/mt76/mt76x0/mt76x0.h| 4 --
Unify rxwi parsing between mt76x2 and mt76x0. Remove the following
routines:
- mt76x0_phy_get_rssi
- mt76x0_queue_rx_skb
- mt76x0_mac_process_rx
Moreover remove mt76x2/common.c and mt76x0/mac.h since are empty files
Enable CCMP PN sw validation
Signed-off-by: Lorenzo Bianconi
---
Move mt76x02_mac_process_rx utility routine in mt76x02-lib
in order to by reused by mt76x0 driver for rxwi parsing.
Add stream number check in mt76x02_mac_process_rx since mt76x0
chipsets are 1x1:1
Signed-off-by: Lorenzo Bianconi
---
.../net/wireless/mediatek/mt76/mt76x02_mac.c | 105
Move mt76x02_rx_get_sta and mt76x02_rx_get_sta_wcid utility routines in
mt76x02-lib module since it will be used by mt76x0 driver in order to
unify rxwi parsing
Signed-off-by: Lorenzo Bianconi
---
.../net/wireless/mediatek/mt76/mt76x02_util.c | 29 +
Use shared mt76x02 utility routines for rssi tracking.
Moreover remove no longer used con_mon_lock spinlock
and following variable:
- ap_bssid
- bcn_freq_off
- bcn_phy_mode
- avg_rssi
Signed-off-by: Lorenzo Bianconi
---
.../net/wireless/mediatek/mt76/mt76x0/init.c | 1 -
From: Johannes Berg
We currently have two places that do similar things, depending
on whether it's a wdev with or without netdev.
Combine the code to avoid having to duplicate all new additions.
Signed-off-by: Johannes Berg
---
net/wireless/core.c | 38 +-
If the first virtual interface is a station (or an AP with beacons
temporarily disabled), the beacon of the second interface needs to
occupy hardware beacon slot 0.
For some reason the beacon index was incorrectly masked with the
virtual interface beacon mask, which prevents the secondary
Add device node for the ath10k SNOC platform driver probe
and add resources required for WCN3990 on SDM845 soc.
Signed-off-by: Govind Singh
---
arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 7 +++
arch/arm64/boot/dts/qcom/sdm845.dtsi| 26 +
2 files changed, 33
Add missing optional properties in WCN3990 wifi node.
Signed-off-by: Govind Singh
---
.../bindings/net/wireless/qcom,ath10k.txt | 28 ++-
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
On 2018-10-01 10:55, Lorenzo Bianconi wrote:
> Add mt76x0e_cleanup routine to tidy up the device
> during device removal
>
> Signed-off-by: Lorenzo Bianconi
Merged, thanks.
- Felix
You are right, it is possible to do it as you comment
(NL80211_CMD_STOP_AP and then NL80211_CMD_START_AP). It is therefore
not necessary a specific command to abort the CAC.
Thank you very much for the clarification and the time spent.
PS: If you use OpenWRT you have to control the STOP and the
On 2018-10-01 10:18, Lorenzo Bianconi wrote:
> Move mt76x2 and mt76x2u drivers to mt76x2 subfolder and
> leave just shared code in mt76 root folder
>
> Acked-by: Stanislaw Gruszka
> Signed-off-by: Lorenzo Bianconi
Merged, thanks.
- Felix
From: Johannes Berg
If we use the iwl_pcie_gen2_set_tb() return value for BIT(),
we should validate that it's not going to be negative, so do
the check and bail out if we hit an error. We shouldn't, as
we check if it'll fit beforehand, but better be safe.
Fixes: ab6c644539e9 ("iwlwifi: pcie:
From: Shahar S Matityahu
Add debugfs to send host command in mvm and fmac op modes.
Allows to send host command at runtime via send_hcmd debugfs file.
The command is received as a string that represents hex values.
The struct of the command is as follows:
[cmd_id][flags][length][data]
cmd_id
From: Johannes Berg
When the info type is MU, we still have the data from the TSF
overload words, so should decode that. When it's MU_EXT_INFO
we additionally have the SIG-B common 0/1/2 fields.
Also document the validity depending on the info type and fix
the name of the regular TB PPDU info
From: Sara Sharon
As preparation for new trigger format, make the function
agnostic to the trigger fomat. Instead it gets the relevant
parameters - id and delay.
Signed-off-by: Sara Sharon
Signed-off-by: Luca Coelho
---
drivers/net/wireless/intel/iwlwifi/fw/dbg.h | 10 --
1 file
From: Shahar S Matityahu
Trigger dump collection if the alive flow fails, regardless of the
reason.
Signed-off-by: Shahar S Matityahu
Signed-off-by: Luca Coelho
---
drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 27 ++-
drivers/net/wireless/intel/iwlwifi/fw/dbg.h | 1 +
From: Johannes Berg
Bump the firmware API version to 41.
Signed-off-by: Johannes Berg
Signed-off-by: Luca Coelho
---
drivers/net/wireless/intel/iwlwifi/cfg/22000.c | 2 +-
drivers/net/wireless/intel/iwlwifi/cfg/9000.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Haim Dreyfuss
Change MCC update response API to be compatible with new FW API.
While at it change v2 which is not in use anymore to v3 and cleanup
mcc_update v1 command and response which is obsolete.
Signed-off-by: Haim Dreyfuss
Signed-off-by: Luca Coelho
---
From: Yisheng Xie
match_string() returns the index of an array for a matching string,
which can be used intead of open coded variant.
Reviewed-by: Andy Shevchenko
Signed-off-by: Yisheng Xie
Signed-off-by: Luca Coelho
---
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 13 -
1
From: Shaul Triebitz
If all free RB queues are empty, the driver will never restock the
free RB queue. That's because the restocking happens in the Rx flow,
and if the free queue is empty there will be no Rx.
Although there's a background worker (a.k.a. allocator) allocating
memory for RBs so
From: Johannes Berg
The fall-through to the MVM case is intended as we have to do
*something* to continue, and can't easily clean up. So we'll
just fail in mvm later, if this does happen.
Signed-off-by: Johannes Berg
Signed-off-by: Luca Coelho
---
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
From: Johannes Berg
For trigger-based PPDUs, most values aren't part of the HE-SIG-A
because they're preconfigured by the trigger frame. However, we
still have this information since we used the trigger frame to
configure the hardware, so we can (and do) read it back out and
can thus show it in
From: Sara Sharon
iwl_fw_dbg_collect can be called by any function that already
has the error string ready. iwl_fw_dbg_collect_trig, on the
other hand, does string formatting. The occurrences decrement
is at iwl_fw_dbg_collect_trig, instead of iwl_fw_dbg_collect,
which causes it to sometimes be
From: Shahar S Matityahu
Add send host command op to firmware runtime op struct to allow sending
host commands to the op mode from the fw runtime context.
Signed-off-by: Shahar S Matityahu
Signed-off-by: Luca Coelho
---
drivers/net/wireless/intel/iwlwifi/fw/runtime.h | 1 +
From: Naftali Goldstein
With NICs that don't read the NVM directly and instead rely on getting
the relevant data from the firmware, the number of reserved MAC
addresses was not added to the API. This caused the driver to assume
there is only one address which results in all interfaces getting
From: Johannes Berg
If we use the iwl_pcie_txq_build_tfd() return value for BIT(),
we should validate that it's not going to be negative, so do
the check and bail out if we hit an error. We shouldn't, as
we check if it'll fit beforehand, but better be safe.
Signed-off-by: Johannes Berg
From: Sara Sharon
As preparation for new trigger type, make iwl_fw_dbg_collect_desc
agnostic to the trigger structure.
Signed-off-by: Sara Sharon
Signed-off-by: Luca Coelho
---
drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 37 ++--
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
From: Luca Coelho
Hi,
Here's the sixth set of patches intended for v4.20. It's the usual
development, some improvements, debugging and bugfixes.
The changes are:
* Bumped the FW API version supported after the last API change for
this release;
* Debugging improvements;
* A few bug fixes;
*
On Thu, 2018-09-27 at 18:01 +0300, Jouni Malinen wrote:
> From: Ankita Bajaj
>
> Add support for drivers to report the total number of MPDUs received
> and the number of MPDUs received with an FCS error from a specific
> peer. These counters will be incremented only when the TA of the
> frame
Remove leftover configuration for legacy devices in
mt76x0_init_mac_registers routine. Moreover substitute
msleep function with usleep_range routine
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
From: Johannes Berg
There isn't really any need for us to be sending this from
two different places - move cfg80211_init_wdev() later and
send the notification from there, removing it from the non-
netdev case.
Signed-off-by: Johannes Berg
---
net/wireless/core.c| 5 +++--
Hi Kalle,
Here's another large batch of mt76 code cleanup / deduplication / fixes
- Felix
The following changes since commit 93ed990e3a6e722b7b1e1d59b3ceb8d91e36e682:
qtnfmac: remove set but not used variable 'vif' (2018-09-20 15:12:13 +0300)
are available in the Git repository at:
Move mt76x02_mac_write_txwi routine in mt76x02-lib module in order to
unify txwi parsing between mt76x0 and mt76x2 drivers.
For rxwi unification we need to merge mt76x2_dev and mt76x0_dev in
mt76x02_dev and remove duplicated code
Changes since RFC:
- drop patch 1/5 ("mt76: introduce is_mt76x2
Use mt76x02u_tx_prepare_skb routine to fill txwi in mt76x2u and
mt76x0u driver and remove duplicated code. Moreover add static
qualifier to mt76x02_mac_tx_rate_val and mt76x02_mac_fill_txwi
routines
Signed-off-by: Lorenzo Bianconi
---
.../wireless/mediatek/mt76/mt76x0/mt76x0.h| 5 --
Move mt76x02_tx_get_max_txpwr_adj routine in mt76x02-lib module
since now both mt76x0 and mt76x2 drivers read rate tx power gain from
rate_power data structure. Moreover remove get_max_txpwr_adj function
pointer from mt76_driver_ops data structure
Signed-off-by: Lorenzo Bianconi
---
Move mt76x02_mac_write_txwi in mt76x02_mac.c since it is shared between
mt76x0 and mt76x2 drivers. This is a preliminary patch to unify txwi
configuration between mt76x0 and mt76x2 drivers
Signed-off-by: Lorenzo Bianconi
---
.../net/wireless/mediatek/mt76/mt76x02_mac.c | 63 +++
Add get_tx_txpwr_adj function pointer to mt76_driver_ops data structure
as a preliminary patch to unify txwi configuration between mt76x0 and
mt76x2 drivers since tpc is currently supported just by mt76x2 driver
Signed-off-by: Lorenzo Bianconi
---
drivers/net/wireless/mediatek/mt76/mt76.h
Felix Fietkau wrote:
> Various documented examples on how to set up tx99 with ath9k rely
> on setting up a regular monitor interface for setting the channel.
> My previous patch "ath9k: fix tx99 with monitor mode interface" made
> it possible to set it up this way again. However, it was removing
On 2018-10-02 00:19, Lorenzo Bianconi wrote:
> Move mt76x02_rx_get_sta and mt76x02_rx_get_sta_wcid utility routines in
> mt76x02-lib module since it will be used by mt76x0 driver in order to
> unify rxwi parsing
>
> Signed-off-by: Lorenzo Bianconi
> ---
>
Simon Wunderlich wrote:
> This is helpful to see whether spectral samples get discarded.
>
> Signed-off-by: Simon Wunderlich
> Signed-off-by: Kalle Valo
5 patches applied to ath-next branch of ath.git, thanks.
03224678c013 ath9k: add counters for good and errorneous FFT/spectral frames
From: Johannes Berg
There were supposed to be two blocks - one for each direction
cfg80211 <-> driver, clean up the code to restore that.
Signed-off-by: Johannes Berg
---
net/wireless/trace.h | 268 +--
1 file changed, 134 insertions(+), 134
On Monday, October 1, 2018 5:31:42 PM CEST Kalle Valo wrote:
> Simon Wunderlich writes:
> > On Monday, October 1, 2018 2:07:55 PM CEST Kalle Valo wrote:
> >> Simon Wunderlich wrote:
> >> > Cc: Nick Kossifidis
> >> > Signed-off-by: Simon Wunderlich
> >> > Signed-off-by: Kalle Valo
> >>
> >>
Simon Wunderlich writes:
> On Monday, October 1, 2018 2:07:55 PM CEST Kalle Valo wrote:
>> Simon Wunderlich wrote:
>> > Cc: Nick Kossifidis
>> > Signed-off-by: Simon Wunderlich
>> > Signed-off-by: Kalle Valo
>>
>> No empty commit logs, please. But I can add that, just tell me what to add.
>
On Wed, Sep 26, 2018 at 12:07 PM Ganapathi Bhat wrote:
>
> The following changes since commit 0ced724f6ed564a5e1602808163db7cfa4697f39:
>
> linux-firmware: update Marvell USB8801 B0 firmware image (2018-07-20
> 11:00:29 +0530)
>
> are available in the git repository at:
>
>
On Monday, October 1, 2018 2:07:55 PM CEST Kalle Valo wrote:
> Simon Wunderlich wrote:
> > Cc: Nick Kossifidis
> > Signed-off-by: Simon Wunderlich
> > Signed-off-by: Kalle Valo
>
> No empty commit logs, please. But I can add that, just tell me what to add.
How about:
Since the debug print
From: Johannes Berg
Add a new "peer measurement" API, that can be used to measure
certain things related to a peer. Right now, only implement
FTM (flight time measurement) over it, but the idea is that
it'll be extensible to also support measuring the necessary
things to calculate e.g.
Simon Wunderlich wrote:
> Cc: Nick Kossifidis
> Signed-off-by: Simon Wunderlich
> Signed-off-by: Kalle Valo
No empty commit logs, please. But I can add that, just tell me what to add.
--
https://patchwork.kernel.org/patch/10605615/
Remove leftover configuration for legacy devices in
mt76x0_init_mac_registers routine. Moreover remove
unnecessary msleep delay
Signed-off-by: Lorenzo Bianconi
---
Changes since v1
- remove msleep delay
---
drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 6 --
1 file changed, 6
We do not currently clear wl->elp_compl on ELP timeout and we have bogus
lingering pointer that wlcore_irq then will try to access after recovery
is done:
BUG: spinlock bad magic on CPU#1, irq/255-wl12xx/580
...
(spin_dump) from [] (do_raw_spin_lock+0xc8/0x124)
(do_raw_spin_lock) from []
Now with wlcore using PM runtime, we can also add support for Linux
generic wakeirq handling for it if configured in the dts file.
The wakeirq can be configured as the second interrupt in the dts file
with interrupts-extended property where it is the padconf irq of the OOB
GPIO pin used for
81 matches
Mail list logo