Add new mac80211 driver mwlwifi.
PATCH v4 1/1 Add new mac80211 driver mwlwifi.
The Linux driver for WRT1900AC. The work was initially developed as part of openwrt effort and maintained on https://github.com/kaloz/mwlwifi.
This is still work in progress, with 8864 chipset more mature and tested, while 8897 for the similar use case is added recently.
--- drivers/net/wireless/Kconfig | 1 + drivers/net/wireless/Makefile | 2 + drivers/net/wireless/mwlwifi/Kconfig | 17 + drivers/net/wireless/mwlwifi/MAINTAINERS | 5 + drivers/net/wireless/mwlwifi/Makefile | 11 + drivers/net/wireless/mwlwifi/dev.h | 435 ++++++ drivers/net/wireless/mwlwifi/fwcmd.c | 2296 ++++++++++++++++++++++++++++++ drivers/net/wireless/mwlwifi/fwcmd.h | 175 +++ drivers/net/wireless/mwlwifi/fwdl.c | 183 +++ drivers/net/wireless/mwlwifi/fwdl.h | 27 + drivers/net/wireless/mwlwifi/hostcmd.h | 753 ++++++++++ drivers/net/wireless/mwlwifi/isr.c | 148 ++ drivers/net/wireless/mwlwifi/isr.h | 26 + drivers/net/wireless/mwlwifi/mac80211.c | 739 ++++++++++ drivers/net/wireless/mwlwifi/mac80211.h | 25 + drivers/net/wireless/mwlwifi/main.c | 856 +++++++++++ drivers/net/wireless/mwlwifi/rx.c | 522 +++++++ drivers/net/wireless/mwlwifi/rx.h | 25 + drivers/net/wireless/mwlwifi/sysadpt.h | 67 + drivers/net/wireless/mwlwifi/tx.c | 834 +++++++++++ drivers/net/wireless/mwlwifi/tx.h | 28 + 21 files changed, 7175 insertions(+) create mode 100644 drivers/net/wireless/mwlwifi/Kconfig create mode 100644 drivers/net/wireless/mwlwifi/MAINTAINERS create mode 100644 drivers/net/wireless/mwlwifi/Makefile create mode 100644 drivers/net/wireless/mwlwifi/dev.h create mode 100644 drivers/net/wireless/mwlwifi/fwcmd.c create mode 100644 drivers/net/wireless/mwlwifi/fwcmd.h create mode 100644 drivers/net/wireless/mwlwifi/fwdl.c create mode 100644 drivers/net/wireless/mwlwifi/fwdl.h create mode 100644 drivers/net/wireless/mwlwifi/hostcmd.h create mode 100644 drivers/net/wireless/mwlwifi/isr.c create mode 100644 drivers/net/wireless/mwlwifi/isr.h create mode 100644 drivers/net/wireless/mwlwifi/mac80211.c create mode 100644 drivers/net/wireless/mwlwifi/mac80211.h create mode 100644 drivers/net/wireless/mwlwifi/main.c create mode 100644 drivers/net/wireless/mwlwifi/rx.c create mode 100644 drivers/net/wireless/mwlwifi/rx.h create mode 100644 drivers/net/wireless/mwlwifi/sysadpt.h create mode 100644 drivers/net/wireless/mwlwifi/tx.c create mode 100644 drivers/net/wireless/mwlwifi/tx.h
drivers/net/wireless/Kconfig +1 -0
@@ -284,5 +284,6 @@ source "drivers/net/wireless/zd1211rw/Kconfig" source "drivers/net/wireless/mwifiex/Kconfig" source "drivers/net/wireless/cw1200/Kconfig" source "drivers/net/wireless/rsi/Kconfig" +source "drivers/net/wireless/mwlwifi/Kconfig" endif # WLAN
drivers/net/wireless/Makefile +2 -0
@@ -62,3 +62,5 @@ obj-$(CONFIG_BRCMSMAC) += brcm80211/ obj-$(CONFIG_CW1200) += cw1200/ obj-$(CONFIG_RSI_91X) += rsi/ + +obj-$(CONFIG_MWLWIFI) += mwlwifi/
drivers/net/wireless/mwlwifi/Kconfig new file +17 -0
@@ -0,0 +1,17 @@ +config MWLWIFI + tristate "Marvell Wireless WiFi driver (mwlwifi)" + depends on PCI && MAC80211 && MWIFIEX_PCIE=n + select FW_LOADER + select OF + ---help--- + Select to build the driver supporting the: + + Marvell Wireless WiFi 88W8864 modules + Marvell Wireless WiFi 88W8897 modules + + This driver uses the kernel's mac80211 subsystem. + + If you want to compile the driver as a module (= code which can be + inserted in and removed from the running kernel whenever you want), + say M here and read <file:Documentation/kbuild/modules.txt>. The + module will be called mwlwifi.
drivers/net/wireless/mwlwifi/MAINTAINERS new file +5 -0
@@ -0,0 +1,5 @@ +MARVELL MWLWIFI WIRELESS DRIVER +M: David Lin <[email protected]> +L: [email protected] +S: Maintained +F: drivers/net/wireless/mwlwifi/
drivers/net/wireless/mwlwifi/Makefile new file +11 -0
@@ -0,0 +1,11 @@ +obj-$(CONFIG_MWLWIFI) += mwlwifi.o + +mwlwifi-objs += main.o +mwlwifi-objs += mac80211.o +mwlwifi-objs += fwdl.o +mwlwifi-objs += fwcmd.o +mwlwifi-objs += tx.o +mwlwifi-objs += rx.o +mwlwifi-objs += isr.o + +ccflags-y += -D__CHECK_ENDIAN__
drivers/net/wireless/mwlwifi/dev.h new file +435 -0
435 lines not on this page · raw message
drivers/net/wireless/mwlwifi/fwcmd.c new file +2296 -0
2,296 lines not on this page · raw message
drivers/net/wireless/mwlwifi/fwcmd.h new file +175 -0
175 lines not on this page · raw message
drivers/net/wireless/mwlwifi/fwdl.c new file +183 -0
50 lines not on this page · raw message
drivers/net/wireless/mwlwifi/fwdl.h new file +27 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mwlwifi/hostcmd.h new file +753 -0
753 lines not on this page · raw message
drivers/net/wireless/mwlwifi/isr.c new file +148 -0
148 lines not on this page · raw message
drivers/net/wireless/mwlwifi/isr.h new file +26 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mwlwifi/mac80211.c new file +739 -0
739 lines not on this page · raw message
drivers/net/wireless/mwlwifi/mac80211.h new file +25 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mwlwifi/main.c new file +856 -0
856 lines not on this page · raw message
drivers/net/wireless/mwlwifi/rx.c new file +522 -0
522 lines not on this page · raw message
drivers/net/wireless/mwlwifi/rx.h new file +25 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mwlwifi/sysadpt.h new file +67 -0
67 lines not on this page · raw message
drivers/net/wireless/mwlwifi/tx.c new file +834 -0
834 lines not on this page · raw message
drivers/net/wireless/mwlwifi/tx.h new file +28 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.9.1
Part of the diff is not shown here. View the raw message.
Quoted 2 lines · David Lin
The Linux driver for WRT1900AC. The work was initially developed as part of openwrt effort and maintained on https://github.com/kaloz/mwlwifi.
trivia:
Please add terminating newlines to logging messages. This prevents interleaving output from multiple threads.
drivers/net/wireless/mwlwifi/fwcmd.c
Quoted 1 line
drivers/net/wireless/mwlwifi/fwcmd.c +0
-0
[]
drivers/net/wireless/mwlwifi/fwcmd.c
Quoted 2 lines
drivers/net/wireless/mwlwifi/fwcmd.c +2
-0+static bool mwl_fwcmd_chk_adapter (struct mwl_priv *priv) +{
[]
drivers/net/wireless/mwlwifi/fwcmd.c line 37
Quoted 2 lines
drivers/net/wireless/mwlwifi/fwcmd.c +2
-0+if (regval ==0xffffffff ) { +wiphy_err (priv->hw->wiphy,"adapter is not existed" );
wiphy_err(priv->hw->wiphy, "adapter is not existed\n");
drivers/net/wireless/mwlwifi/fwcmd.c
Quoted 2 lines
drivers/net/wireless/mwlwifi/fwcmd.c +2
-0+static int mwl_fwcmd_wait_complete (struct mwl_priv *priv,unsigned short cmd) +{
[]
drivers/net/wireless/mwlwifi/fwcmd.c line 111
Quoted 2 lines
drivers/net/wireless/mwlwifi/fwcmd.c +2
-0+if (curr_iteration ==0 ) { + wiphy_err(priv->hw->wiphy, "cmd 0x%04x=%s timed out",
wiphy_err(priv->hw->wiphy, "cmd 0x%04x=%s timed out\n",
etc...
Quoted 24 lines
Joe Perches wrote:
Quoted 2 lines · David Lin
The Linux driver for WRT1900AC. The work was initially developed as part of openwrt effort and maintained on https://github.com/kaloz/mwlwifi.
trivia:
Please add terminating newlines to logging messages. This prevents interleaving output from multiple threads.
drivers/net/wireless/mwlwifi/fwcmd.c
Quoted 2 lines
drivers/net/wireless/mwlwifi/fwcmd.c +0
-0[]
Quoted 1 line
+static bool
mwl_fwcmd_chk_adapter(struct mwl_priv *priv){[]
drivers/net/wireless/mwlwifi/fwcmd.c line 37
Quoted 2 lines
drivers/net/wireless/mwlwifi/fwcmd.c +2
-0+if (regval ==0xffffffff ) { +wiphy_err (priv->hw->wiphy,"adapter is not existed" );wiphy_err(priv->hw->wiphy, "adapter is not existed\n");drivers/net/wireless/mwlwifi/fwcmd.c
Quoted 2 lines
drivers/net/wireless/mwlwifi/fwcmd.c +2
-0+static int mwl_fwcmd_wait_complete (struct mwl_priv *priv,unsigned +short cmd) {[]
Quoted 7 lines
drivers/net/wireless/mwlwifi/fwcmd.c line 111
Quoted 2 lines
drivers/net/wireless/mwlwifi/fwcmd.c +2
-0+if (curr_iteration ==0 ) { + wiphy_err(priv->hw->wiphy, "cmd 0x%04x=%s timed out",wiphy_err(priv->hw->wiphy, "cmd 0x%04x=%s timed out\n",etc...
Should be modified in next patch.
Johannes Berg
maintainerdrivers/net/wireless/mwlwifi/Kconfig line 3
Quoted 5 lines · David Lin
+++ b/drivers/net/wireless/mwlwifi/Kconfig
drivers/net/wireless/mwlwifi/Kconfig new file +3
-0@@ -0,0 +1,17 @@ +config MWLWIFI + tristate "Marvell Wireless WiFi driver (mwlwifi)" + depends on PCI && MAC80211 && MWIFIEX_PCIE=n
I still think you need to get rid of this so we can build-test this driver properly.
drivers/net/wireless/mwlwifi/Kconfig line 5
Quoted 2 lines
drivers/net/wireless/mwlwifi/Kconfig new file +2
-0+ select FW_LOADER + select OF
This looks OK, though I get a very strange dependency loop warning from Kconfig here.
Looks like the driver now builds almost cleanly with sparse/smatch on 64-bit.
Two warnings remain, both are bugs:
Quoted 1 line
writew(0x00, (void __iomem *)&priv->pcmd_buf[1]);
cannot be right. This memory isn't __iomem, it's dma_alloc_coherent, so a simple write should be done.
in mwl_rx_ring_init:
Quoted 4 lines
rx_hndl->psk_buff =
dev_alloc_skb(desc->rx_buf_size);
if (skb_linearize(rx_hndl->psk_buff)) {*crash*. You also later check rx_hndl->psk_buff, but well after it already crashed.
Also, this code sequence is utterly bogus. Please try to understand why and then remove it.
You should also use paged RX since you're allocating *very large* buffe rs. We found that even alloc_pages(1) will fail eventually, you're doing an order-2 allocation here for every RX skb. At least used paged RX to get it down to order-1.
johannes
Quoted 9 lines · Johannes Berg
drivers/net/wireless/mwlwifi/Kconfig line 3
Quoted 5 lines · David Lin
+++ b/drivers/net/wireless/mwlwifi/Kconfig
drivers/net/wireless/mwlwifi/Kconfig new file +3
-0@@ -0,0 +1,17 @@ +config MWLWIFI + tristate "Marvell Wireless WiFi driver (mwlwifi)" + depends on PCI && MAC80211 && MWIFIEX_PCIE=nI still think you need to get rid of this so we can build-test this driver properly.
The OLPC 8388 is another device that has two drivers, libertas and libertas_tf. I don't think there's any protection between then, you get whatever gets loaded first by the kernel. In that case, I think the answer was either (a) only put the driver you want onto the system, or
(b) manually manage from userspace. Given that this Marvell hardware is likely intended for more customized use-cases (AP, embedded, etc?) perhaps this would be an acceptable option for now...
I tend to agree with Johannes here; the builder of the kernel can certainly adjust CONFIG_MWLWIFI and CONFIG_MWIFIEX to fit their scenario, including leaving both enabled.
Dan
Quoted 39 lines
drivers/net/wireless/mwlwifi/Kconfig line 5
Quoted 2 lines
drivers/net/wireless/mwlwifi/Kconfig new file +2
-0+ select FW_LOADER + select OFThis looks OK, though I get a very strange dependency loop warning from
Kconfighere.Looks like the driver now builds almost cleanly with sparse/smatch on 64-bit.
Two warnings remain, both are bugs:
Quoted 1 line
writew(0x00, (void __iomem *)&priv->pcmd_buf[1]);cannot be right. This memory isn't
__iomem, it'sdma_alloc_coherent, so a simple write should be done.in
mwl_rx_ring_init:Quoted 4 lines
rx_hndl->psk_buff = dev_alloc_skb(desc->rx_buf_size); if (skb_linearize(rx_hndl->psk_buff)) {*crash*. You also later check
rx_hndl->psk_buff, but well after it already crashed.Also, this code sequence is utterly bogus. Please try to understand why and then remove it.
You should also use paged RX since you're allocating *very large* buffe rs. We found that even
alloc_pages(1)will fail eventually, you're doing an order-2 allocation here for every RX skb. At least used paged RX to get it down to order-1.johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Dan Williams
Quoted 9 lines · Johannes Berg
drivers/net/wireless/mwlwifi/Kconfig line 3
Quoted 5 lines · David Lin
+++ b/drivers/net/wireless/mwlwifi/Kconfig
drivers/net/wireless/mwlwifi/Kconfig new file +3
-0@@ -0,0 +1,17 @@ +config MWLWIFI + tristate "Marvell Wireless WiFi driver (mwlwifi)" + depends on PCI && MAC80211 && MWIFIEX_PCIE=nI still think you need to get rid of this so we can build-test this driver properly.
Quoted 2 lines
The OLPC 8388 is another device that has two drivers, libertas and
libertas_tf.
Also 8686.
Quoted 4 lines
I don't think there's any protection between then, you get whatever gets loaded first by the kernel. In that case, I think the answer was either (a) only put the driver you want onto the system, or
Yes, for end-user.
Quoted 1 line
(b) manually manage from userspace.
Yes, for developer testing.
Quoted 55 lines
Given that this Marvell hardware is likely intended for more customized use-cases (AP, embedded, etc?) perhaps this would be an acceptable option for now...
I tend to agree with Johannes here; the builder of the kernel can certainly adjust
CONFIG_MWLWIFIandCONFIG_MWIFIEXto fit their scenario, including leaving both enabled.Dan
Quoted 34 lines
drivers/net/wireless/mwlwifi/Kconfig line 5
Quoted 2 lines
drivers/net/wireless/mwlwifi/Kconfig new file +2
-0+ select FW_LOADER + select OFThis looks OK, though I get a very strange dependency loop warning from
Kconfighere.Looks like the driver now builds almost cleanly with sparse/smatch on 64-bit.
Two warnings remain, both are bugs:
Quoted 1 line
writew(0x00, (void __iomem *)&priv->pcmd_buf[1]);cannot be right. This memory isn't
__iomem, it'sdma_alloc_coherent, so a simple write should be done.in
mwl_rx_ring_init:Quoted 4 lines
rx_hndl->psk_buff = dev_alloc_skb(desc->rx_buf_size); if (skb_linearize(rx_hndl->psk_buff)) {*crash*. You also later check
rx_hndl->psk_buff, but well after it already crashed.Also, this code sequence is utterly bogus. Please try to understand why and then remove it.
You should also use paged RX since you're allocating *very large* buffe rs. We found that even
alloc_pages(1)will fail eventually, you're doing an order-2 allocation here for every RX skb. At least used paged RX to get it down to order-1.Quoted 5 lines
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
James Cameron http://quozl.linux.org.au/
Quoted 22 lines
James Cameron wrote:
Quoted 11 lines · Dan Williams
Quoted 9 lines · Johannes Berg
drivers/net/wireless/mwlwifi/Kconfig line 3
Quoted 5 lines · David Lin
+++ b/drivers/net/wireless/mwlwifi/Kconfig
drivers/net/wireless/mwlwifi/Kconfig new file +3
-0@@ -0,0 +1,17 @@ +config MWLWIFI + tristate "Marvell Wireless WiFi driver (mwlwifi)" + depends on PCI && MAC80211 && MWIFIEX_PCIE=nI still think you need to get rid of this so we can build-test this driver properly.
Quoted 2 lines
The OLPC 8388 is another device that has two drivers, libertas and
libertas_tf.Also 8686.
Quoted 3 lines
I don't think there's any protection between then, you get whatever gets loaded first by the kernel. In that case, I think the answer was either (a) only put the driver you want onto the system, or
Quoted 10 lines
Yes, for end-user.
Quoted 1 line
(b) manually manage from userspace.
Yes, for developer testing.
Quoted 4 lines
Given that this Marvell hardware is likely intended for more customized use-cases (AP, embedded, etc?) perhaps this would be an acceptable option for now...
Yes, you are right. The two drivers (MWLWIFI and MWIFIEX) serve different customized use cases:
- MWLWIFI is mac80211-based SoftMAC with the primary use case of AP/Wireless Bridge
- MWIFIEX is fullmac firmware for embedded clients They can operate on same chip part number, for example 8897 in this case, and that could cause confusion. MWIFIEX has been in full production with some clients.
Quoted 5 lines
Quoted 5 lines
I tend to agree with Johannes here; the builder of the kernel can certainly adjust
CONFIG_MWLWIFIandCONFIG_MWIFIEXto fit their scenario, including leaving both enabled.Dan
We can leave both selectable by developer testing as per your suggestion, and assume users/integrators will know how to put the driver they want in their system. We were warned about causing confusion hence the conditioning in CONFIG. Do you feel there's no concern leaving both driver in, not checking each other's presence? We can comply either way.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
drivers/net/wireless/mwlwifi/Kconfig line 5
Quoted 3 lines
drivers/net/wireless/mwlwifi/Kconfig new file +2
-0+ select FW_LOADER + select OFThis looks OK, though I get a very strange dependency loop warning from
Kconfighere.
For the next patch, we will modify the code to still work even though the target does not support DTS. So we can remove "select OF" from Kconfig file.
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Looks like the driver now builds almost cleanly with sparse/smatch on 64-bit.
Two warnings remain, both are bugs:
Quoted 1 line
writew(0x00, (void __iomem *)&priv->pcmd_buf[1]);cannot be right. This memory isn't
__iomem, it'sdma_alloc_coherent, so a simple write should be done.
Without this casting, C=2 will cause a warning message like this: "Warning: incorrect type in argument 2 (different address spaces)"
Quoted 18 lines
Quoted 4 lines
Quoted 4 lines
in
mwl_rx_ring_init:Quoted 2 lines
rx_hndl->psk_buff =
dev_alloc_skb(desc->rx_buf_size);Quoted 13 lines
Quoted 13 lines
Quoted 2 lines
if (skb_linearize(rx_hndl->psk_buff)) {*crash*. You also later check
rx_hndl->psk_buff, but well after it already crashed.Also, this code sequence is utterly bogus. Please try to understand why and then remove it.
You should also use paged RX since you're allocating *very large* buffe rs. We found that even
alloc_pages(1)will fail eventually, you're doing an order-2 allocation here for every RX skb. At least used paged RX to get it down to order-1.
The code will be corrected to take care of error exception.
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 8 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html--
James Cameron
http://quozl.linux.org.au/
Thanks,
David
Johannes Berg
maintainerQuoted 6 lines · David Lin
Quoted 1 line
We can leave both selectable by developer testing as per your
suggestion, and assume users/integrators will know how to put the driver they want in their system. We were warned about causing confusion hence the conditioning in CONFIG. Do you feel there's no concern leaving both driver in, not checking each other's presence? We can comply either way.
I think you should just leave both selectable.
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
This looks OK, though I get a very strange dependency loop warning
fromKconfighere.For the next patch, we will modify the code to still work even though the target does not support DTS. So we can remove "select OF" from
Kconfigfile.
If the driver needs OF don't bother - the dependency loop is very long and the warning is rather strange.
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
writew(0x00, (void __iomem *)&priv->pcmd_buf[1]);cannot be right. This memory isn't
__iomem, it'sdma_alloc_coherent,
so a simple write should be done.Without this casting, C=2 will cause a warning message like this:
"Warning: incorrect type in argument 2 (different address spaces)"
Yes, but the warning is correct and the cast is wrong. This isn't __iomem, it's simply mapped, so you should just do a
(u32 *)pcmd_buf[1] = 0;
or something like that. The writev() to such a pointer cannot be right.
Quoted 1 line
johannes
PiBKb2hhbm5lcyBCZXJnIHdyb3RlOg0KPiBPbiBXZWQsIDIwMTUtMDctMDEgYXQgMTQ6NDIgKzAw MDAsIERhdmlkIExpbiB3cm90ZToNCj4gPiA+IFdlIGNhbiBsZWF2ZSBib3RoIHNlbGVjdGFibGUg YnkgZGV2ZWxvcGVyIHRlc3RpbmcgYXMgcGVyIHlvdXINCj4gPiBzdWdnZXN0aW9uLCBhbmQgYXNz dW1lIHVzZXJzL2ludGVncmF0b3JzIHdpbGwga25vdyBob3cgdG8gcHV0IHRoZQ0KPiA+IGRyaXZl ciB0aGV5IHdhbnQgaW4gdGhlaXIgc3lzdGVtLiBXZSB3ZXJlIHdhcm5lZCBhYm91dCBjYXVzaW5n DQo+ID4gY29uZnVzaW9uIGhlbmNlIHRoZSBjb25kaXRpb25pbmcgaW4gQ09ORklHLiBEbyB5b3Ug ZmVlbCB0aGVyZSdzIG5vDQo+ID4gY29uY2VybiBsZWF2aW5nIGJvdGggZHJpdmVyIGluLCBub3Qg Y2hlY2tpbmcgZWFjaCBvdGhlcidzIHByZXNlbmNlPw0KPiA+IFdlIGNhbiBjb21wbHkgZWl0aGVy IHdheS4NCj4gDQo+IEkgdGhpbmsgeW91IHNob3VsZCBqdXN0IGxlYXZlIGJvdGggc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