lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251026182602.26464-1-balejk@matfyz.cz>
Date: Sun, 26 Oct 2025 19:20:37 +0100
From: Karel Balej <balejk@...fyz.cz>
To: Johannes Berg <johannes@...solutions.net>, Rob Herring <robh@...nel.org>,
        Krzysztof Kozlowski <krzk+dt@...nel.org>,
        Conor Dooley <conor+dt@...nel.org>,
        Duje Mihanović <duje@...emihanovic.xyz>,
        Andrew Lunn <andrew@...n.ch>,
        Gregory Clement <gregory.clement@...tlin.com>,
        Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
        Brian Norris <briannorris@...omium.org>,
        Francesco Dolcini <francesco@...cini.it>,
        Ulf Hansson <ulf.hansson@...aro.org>, Frank Li <Frank.Li@....com>,
        linux-wireless@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-mmc@...r.kernel.org
Cc: ~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org,
        Karel Balej <balejk@...fyz.cz>, Jeff Chen <jeff.chen_1@....com>,
        Peng Fan <peng.fan@....com>
Subject: [DONOTAPPLY RFC PATCH v2 0/4] WiFi support for samsung,coreprimevelte

Hello,

this series adds support for WiFi to the samsung,coreprimevelte
smartphone (and can be straightforwardly reused for the other known
Marvell PXA1908-based smartphones).

The series is currently not intended for application as indicated in the
subject prefix as the firmware necessary for the operation of the chip is not
available in linux-firmware.

Instead, my intentions are to publish the recent developments regarding
the chip support (see the third patch of the series) and offer them for
others to use and if possible get some feedback on them and also
hopefully to spark some conversation with NXP regarding getting the FW
into linux-firmware which would allow this series to be mainlined.

Regarding the firmware I have been in contact with Jeff Chen of NXP some
time ago who promised to ask about it internally – I am thus now gently
reminding Jeff of the matter. I will also appreciate input from anyone
else who may help with upstreaming whichever version of the firmware.

The trouble of upstreaming the FW is mostly a legal one (although an up
to date version of it would also be very welcome) as it is available as
part of the stock Android of the devices with this chip and can thus be
used on individual basis, it cannot however be submitted to
linux-firmware by myself for instance as the license is not known
(although probably is the same as for the other blobs in the mrvl
directory) and as the submission would require a sign-off from someone
involved with NXP.

The third patch in this series fixes a serious issue with the WiFi
observed on the phone (see the relevant commit message). The form is
however not directly usptreamable and it is not clear to me how to best
make it be since it involves changing a data type which probably cannot
be easily be special-cased for the new chip and would likely break the
other chips the mwifiex driver supports if applied as is. I will thus
welcome suggestions on this, although I'm also hopeful that a possible
reasonably up to date FW would not require this workaround at all.

The series is based on the pxa1908-dt-for-6.19 tag of Duje's tree [1] as
it contains the necessary SDIO description in the phone's device tree.

I have not applied the trailers sent in response to v1 as it has been
some time and as this is not expected to be applied anyway.

[1] https://gitlab.com/pxa1908-mainline/linux/-/commits/pxa1908-dt-for-6.19

Cc: Jeff Chen <jeff.chen_1@....com>
Cc: Peng Fan <peng.fan@....com>

v2:
- Rebase to Duje's tag.
- Add a new patch fixing observed firmware crashes.
- Link to v1: https://lore.kernel.org/r/20231029111807.19261-1-balejk@matfyz.cz/

Karel Balej (4):
  dt-bindings: mwifiex: document use with the SD8777 chipset
  net: mwifiex: add support for the SD8777 chipset
  DONOTMERGE: net: mwifiex: fix timeouts with the SD8777 chip
  arm64: dts: samsung,coreprimevelte: add wifi node

 .../bindings/net/wireless/marvell,sd8787.yaml |  1 +
 .../mmp/pxa1908-samsung-coreprimevelte.dts    | 15 +++++++++++++
 drivers/net/wireless/marvell/mwifiex/fw.h     |  4 +---
 drivers/net/wireless/marvell/mwifiex/sdio.c   | 21 +++++++++++++++++++
 drivers/net/wireless/marvell/mwifiex/sdio.h   |  1 +
 drivers/net/wireless/marvell/mwifiex/sta_tx.c | 10 ++-------
 include/linux/mmc/sdio_ids.h                  |  1 +
 7 files changed, 42 insertions(+), 11 deletions(-)

-- 
2.51.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ