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AgICAgICAgICAgICAgICAgICAgICAgIDQNCisjZGVmaW5lIE1XTF9NQVhfVElEICAgICAg
ICAgICAgICAgICAgICAgICAgIDgNCisjZGVmaW5lIE1XTF9BTVNEVV9TSVpFXzRLICAgICAgICAg
ICAgICAgICAgIDANCisjZGVmaW5lIE1XTF9BTVNEVV9TSVpFXzhLICAgICAgICAgICAgICAgICAg
IDENCisNCisvKiBwb3dlciBpbml0ICovDQorI2RlZmluZSBNV0xfUE9XRVJfSU5JVF8xICAgICAg
ICAgICAgICAgICAgICAxDQorI2RlZmluZSBNV0xfUE9XRVJfSU5JVF8yICAgICAgICAgICAgICAg
ICAgICAyDQorDQorZW51bSB7DQorCU1XTDg4NjQgPSAwLA0KKwlNV0w4ODk3LA0KKwlNV0xVTktO
T1dOLA0KK307DQorDQorZW51bSB7DQorCUFQX01PREVfMTFBQyA9IDB4MTAsICAgICAgICAgLyog
Z2VuZXJpYyAxMWFjIGluZGljYXRpb24gbW9kZSAqLw0KKwlBUF9NT0RFXzJfNEdIWl8xMUFDX01J
WEVEID0gMHgxNywNCit9Ow0KKw0KK2VudW0gew0KKwlBTVBEVV9OT19TVFJFQU0sDQorCUFNUERV
X1NUUkVBTV9ORVcsDQorCUFNUERVX1NUUkVBTV9JTl9QUk9HUkVTUywNCisJQU1QRFVfU1RSRUFN
X0FDVElWRSwNCit9Ow0KKw0KK3N0cnVjdCBtd2xfY2hpcF9pbmZvIHsNCisJY29uc3QgY2hhciAq
cGFydF9uYW1lOw0KKwljb25zdCBjaGFyICpmd19pbWFnZTsNCisJaW50IGFudGVubmFfdHg7DQor
CWludCBhbnRlbm5hX3J4Ow0KK307DQorDQorc3RydWN0IG13bF90eF9wd3JfdGJsIHsNCisJdTgg
Y2hhbm5lbDsNCisJdTggc2V0Y2FwOw0KKwl1MTYgdHhhbnRlbm5hMjsNCisJdTE2IHR4X3Bvd2Vy
W1NZU0FEUFRfVFhfUE9XRVJfTEVWRUxfVE9UQUxdOw0KKwlib29sIGNkZDs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KiAxNiBiaXQgaG9zdCBjb21tYW5kIGNvZGUgKi8N
CisjZGVmaW5lIEhPU1RDTURfQ01EX0dFVF9IV19TUEVDICAgICAgICAgICAgICAgICAweDAwMDMN
CisjZGVmaW5lIEhPU1RDTURfQ01EX1NFVF9IV19TUEVDICAgICAgICAgICAgICAgICAweDAwMDQN
CisjZGVmaW5lIEhPU1RDTURfQ01EXzgwMl8xMV9HRVRfU1RBVCAgICAgICAgICAgICAweDAwMTQN
CisjZGVmaW5lIEhPU1RDTURfQ01EXzgwMl8xMV9SQURJT19DT05UUk9MICAgICAgICAweDAwMWMN
CisjZGVmaW5lIEhPU1RDTURfQ01EX01FTV9BRERSX0FDQ0VTUyAgICAgICAgICAgICAweDAwMWQN
CisjZGVmaW5lIEhPU1RDTURfQ01EXzgwMl8xMV9UWF9QT1dFUiAgICAgICAgICAgICAweDAwMWYN
CisjZGVmaW5lIEhPU1RDTURfQ01EXzgwMl8xMV9SRl9BTlRFTk5BICAgICAgICAgICAweDAwMjAN
CisjZGVmaW5lIEhPU1RDTURfQ01EX0JST0FEQ0FTVF9TU0lEX0VOQUJMRSAgICAgICAweDAwNTAg
LyogcGVyLXZpZiAqLw0KKyNkZWZpbmUgSE9TVENNRF9DTURfU0VUX1JGX0NIQU5ORUwgICAgICAg
ICAgICAgIDB4MDEwYQ0KKyNkZWZpbmUgSE9TVENNRF9DTURfU0VUX0FJRCAgICAgICAgICAgICAg
ICAgICAgIDB4MDEwZCAvKiBwZXItdmlmICovDQorI2RlZmluZSBIT1NUQ01EX0NNRF9TRVRfSU5G
UkFfTU9ERSAgICAgICAgICAgICAgMHgwMTBlIC8qIHBlci12aWYgKi8NCisjZGVmaW5lIEhPU1RD
TURfQ01EXzgwMl8xMV9SVFNfVEhTRCAgICAgICAgICAgICAweDAxMTMNCisjZGVmaW5lIEhPU1RD
TURfQ01EX1NFVF9FRENBX1BBUkFNUyAgICAgICAgICAgICAweDAxMTUNCisjZGVmaW5lIEhPU1RD
TURfQ01EX1NFVF9XTU1fTU9ERSAgICAgICAgICAgICAgICAweDAxMjMNCisjZGVmaW5lIEhPU1RD
TURfQ01EX0hUX0dVQVJEX0lOVEVSVkFMICAgICAgICAgICAweDAxMjQNCisjZGVmaW5lIEhPU1RD
TURfQ01EX1NFVF9GSVhFRF9SQVRFICAgICAgICAgICAgICAweDAxMjYNCisjZGVmaW5lIEhPU1RD
TURfQ01EX1NFVF9JRVMgICAgICAgICAgICAgICAgICAgICAweDAxMjcNCisjZGVmaW5lIEhPU1RD
TURfQ01EX1NFVF9MSU5LQURBUFRfQ1NfTU9ERSAgICAgICAweDAxMjkNCisjZGVmaW5lIEhPU1RD
TURfQ01EX1NFVF9NQUNfQUREUiAgICAgICAgICAgICAgICAweDAyMDIgLyogcGVyLXZpZiAqLw0K
KyNkZWZpbmUgSE9TVENNRF9DTURfU0VUX1JBVEVfQURBUFRfTU9ERSAgICAgICAgIDB4MDIwMw0K
KyNkZWZpbmUgSE9TVENNRF9DTURfR0VUX1dBVENIRE9HX0JJVE1BUCAgICAgICAgIDB4MDIwNQ0K
KyNkZWZpbmUgSE9TVENNRF9DTURfREVMX01BQ19BRERSICAgICAgICAgICAgICAgIDB4MDIwNiAv
KiBwZXItdmlmICovDQorI2RlZmluZSBIT1NUQ01EX0NNRF9CU1NfU1RBUlQgICAgICAgICAgICAg
ICAgICAgMHgxMTAwIC8qIHBlci12aWYgKi8NCisjZGVmaW5lIEhPU1RDTURfQ01EX0FQX0JFQUNP
TiAgICAgICAgICAgICAgICAgICAweDExMDEgLyogcGVyLXZpZiAqLw0KKyNkZWZpbmUgSE9TVENN
RF9DTURfU0VUX05FV19TVE4gICAgICAgICAgICAgICAgIDB4MTExMSAvKiBwZXItdmlmICovDQor
I2RlZmluZSBIT1NUQ01EX0NNRF9TRVRfQVBNT0RFICAgICAgICAgICAgICAgICAgMHgxMTE0DQor
I2RlZmluZSBIT1NUQ01EX0NNRF9VUERBVEVfRU5DUllQVElPTiAgICAgICAgICAgMHgxMTIyIC8q
IHBlci12aWYgKi8NCisjZGVmaW5lIEhPU1RDTURfQ01EX0JBU1RSRUFNICAgICAgICAgICAgICAg
ICAgICAweDExMjUNCisjZGVmaW5lIEhPU1RDTURfQ01EX1NFVF9PUFRJTUlaQVRJT05fTEVWRUwg
ICAgICAweDExMzMNCisjZGVmaW5lIEhPU1RDTURfQ01EX0RXRFNfRU5BQkxFICAgICAgICAgICAg
ICAgICAweDExNDQNCisjZGVmaW5lIEhPU1RDTURfQ01EX0ZXX0ZMVVNIX1RJTUVSICAgICAgICAg
ICAgICAweDExNDgNCisjZGVmaW5lIEhPU1RDTURfQ01EX1NFVF9DREQgICAgICAgICAgICAgICAg
ICAgICAweDExNTANCisNCisvKiBEZWZpbmUgZ2VuZXJhbCByZXN1bHQgY29kZSBmb3IgZWFjaCBj
b21tYW5kICovDQorI2RlZmluZSBIT1NUQ01EX1JFU1VMVF9PSyAgICAgICAgICAgICAgICAgICAg
ICAgMHgwMDAwDQorLyogR2VuZXJhbCBlcnJvciAqLw0KKyNkZWZpbmUgSE9TVENNRF9SRVNVTFRf
RVJST1IgICAgICAgICAgICAgICAgICAgIDB4MDAwMQ0KKy8qIENvbW1hbmQgaXMgbm90IHZhbGlk
ICovDQorI2RlZmluZSBIT1NUQ01EX1JFU1VMVF9OT1RfU1VQUE9SVCAgICAgICAgICAgICAgMHgw
MDAyDQorLyogQ29tbWFuZCBpcyBwZW5kaW5nICh3aWxsIGJlIHByb2Nlc3NlZCkgKi8NCisjZGVm
aW5lIEhPU1RDTURfUkVTVUxUX1BFTkRJTkcgICAgICAgICAgICAgICAgICAweDAwMDMNCisvKiBT
eXN0ZW0gaXMgYnVzeSAoY29tbWFuZCBpZ25vcmVkKSAqLw0KKyNkZWZpbmUgSE9TVENNRF9SRVNV
TFRfQlVTWSAgICAgICAgICAgICAgICAgICAgIDB4MDAwNA0KKy8qIERhdGEgYnVmZmVyIGlzIG5v
dCBiaWcgZW5vdWdoICovDQorI2RlZmluZSBIT1NUQ01EX1JFU1VMVF9QQVJUSUFMX0RBVEEgICAg
ICAgICAgICAgMHgwMDA1DQorDQorLyogRGVmaW5lIGNoYW5uZWwgcmVsYXRlZCBjb25zdGFudHMg
Ki8NCisjZGVmaW5lIEZSRVFfQkFORF8yRE9UNEdIWiAgICAgICAgICAgICAgICAgICAgICAweDEN
CisjZGVmaW5lIEZSRVFfQkFORF80RE9UOUdIWiAgICAgICAgICAgICAgICAgICAgICAweDINCisj
ZGVmaW5lIEZSRVFfQkFORF81R0haICAgICAgICAgICAgICAgICAgICAgICAgICAweDQNCisjZGVm
aW5lIEZSRVFfQkFORF81RE9UMkdIWiAgICAgICAgICAgICAgICAgICAgICAweDgNCisjZGVmaW5l
IENIX0FVVE9fV0lEVEgJICAgICAgICAgICAgICAgICAgICAgICAgMA0KKyNkZWZpbmUgQ0hfMTBf
TUhaX1dJRFRIICAgICAgICAgICAgICAgICAgICAgICAgIDB4MQ0KKyNkZWZpbmUgQ0hfMjBfTUha
X1dJRFRIICAgICAgICAgICAgICAgICAgICAgICAgIDB4Mg0KKyNkZWZpbmUgQ0hfNDBfTUhaX1dJ
RFRIICAgICAgICAgICAgICAgICAgICAgICAgIDB4NA0KKyNkZWZpbmUgQ0hfODBfTUhaX1dJRFRI
ICAgICAgICAgICAgICAgICAgICAgICAgIDB4NQ0KKyNkZWZpbmUgRVhUX0NIX0FCT1ZFX0NUUkxf
Q0ggICAgICAgICAgICAgICAgICAgIDB4MQ0KKyNkZWZpbmUgRVhUX0NIX0FVVE8gICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIDB4Mg0KKyNkZWZpbmUgRVhUX0NIX0JFTE9XX0NUUkxfQ0ggICAg
ICAgICAgICAgICAgICAgIDB4Mw0KKyNkZWZpbmUgTk9fRVhUX0NIQU5ORUwgICAgICAgICAgICAg
ICAgICAgICAgICAgIDB4MA0KKw0KKyNkZWZpbmUgQUNUX1BSSU1BUllfQ0hBTl8wICAgICAgICAg
ICAgICAgICAgICAgIDANCisjZGVmaW5lIEFDVF9QUklNQVJZX0NIQU5fMSAgICAgICAgICAgICAg
ICAgICAgICAxDQorI2RlZmluZSBBQ1RfUFJJTUFSWV9DSEFOXzIgICAgICAgICAgICAgICAgICAg
ICAgMg0KKyNkZWZpbmUgQUNUX1BSSU1BUllfQ0hBTl8zICAgICAgICAgICAgICAgICAgICAgIDMN
CisNCisvKiBEZWZpbmUgcmF0ZSByZWxhdGVkIGNvbnN0YW50cyAqLw0KKyNkZWZpbmUgSE9TVENN
RF9BQ1RfTk9UX1VTRV9GSVhFRF9SQVRFICAgICAgICAgIDB4MDAwMg0KKw0KKy8qIERlZmluZSBz
dGF0aW9uIHJlbGF0ZWQgY29uc3RhbnRzICovDQorI2RlZmluZSBIT1NUQ01EX0FDVF9TVEFfQUNU
SU9OX0FERCAgICAgICAgICAgICAgMA0KKyNkZWZpbmUgSE9TVENNRF9BQ1RfU1RBX0FDVElPTl9S
RU1PVkUgICAgICAgICAgIDINCisNCisvKiBEZWZpbmUga2V5IHJlbGF0ZWQgY29uc3RhbnRzICov
DQorI2RlZmluZSBNQVhfRU5DUl9LRVlfTEVOR1RIICAgICAgICAgICAgICAgICAgICAgMTYNCisj
ZGVmaW5lIE1JQ19LRVlfTEVOR1RIICAgICAgICAgICAgICAgICAgICAgICAgICA4DQorDQorI2Rl
ZmluZSBLRVlfVFlQRV9JRF9XRVAgICAgICAgICAgICAgICAgICAgICAgICAgMHgwMA0KKyNkZWZp
bmUgS0VZX1RZUEVfSURfVEtJUCAgICAgICAgICAgICAgICAgICAgICAgIDB4MDENCisjZGVmaW5l
IEtFWV9UWVBFX0lEX0FFUwkgICAgICAgICAgICAgICAgICAgICAgICAweDAyDQorDQorI2RlZmlu
ZSBFTkNSX0tFWV9GTEFHX1RYR1JPVVBLRVkgICAgICAgICAgICAgICAgMHgwMDAwMDAwNA0KKyNk
ZWZpbmUgRU5DUl9LRVlfRkxBR19QQUlSV0lTRSAgICAgICAgICAgICAgICAgIDB4MDAwMDAwMDgN
Cisj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wYXRjaCBpcyByZWFk
eSwgSSB3aWxsIG1vZGlmeSBtd2x3aWZpIHRvIHVzZSBpdC4gVGhhbmtzLg0KDQo+IGpvaGFubmVz
DQo+IC0tDQo+IFRvIHVuc3Vic2NyaWJlIGZyb20gdGhpcyBsaXN0OiBzZW5kIHRoZSBsaW5lICJ1
bnN1YnNjcmliZSBsaW51eC13aXJlbGVzcyIgaW4gdGhlDQo+IGJvZHkgb2YgYSBtZXNzYWdlIHRv
IG1ham9yZG9tb0B2Z2VyLmtlcm5lbC5vcmcgTW9yZSBtYWpvcmRvbW8gaW5mbyBhdA0KPiBodHRw
Oi8vdmdlci5rZXJuZWwub3JnL21ham9yZG9tby1pbmZvLmh0bWwNCg==
On Thu, 2015-11-26 at 08:27 +0000, David Lin wrote:
> > Since you do this in .probe, you should consider loading the
> > firmware asynchronously.
> >
>
> I hope I can postpone this modification later.
I don't feel strongly about this one - otoh it's not really
complicated.
> > > +#ifdef CONFIG_SUPPORT_MFG
> >
> > This Kconfig variable doesn't exist.
> >
>
> The compile variable is used privately by Marvell and our customers
> in production line.
Yeah, still. Make it a proper Kconfig variable, defaulting to off and
hidden under something, or remove it. It's extremely misleading to have
something called CONFIG_* when it's not a Kconfig variable.
> Mac80211 does not support mesh AMSDU now, we implement this function
> in mwlwifi driver for the time being. Except for mesh AMSDU, we still
> leverage mac80211 to handle data AMSDU.
You're allowed to modify mac80211.
> > What's going on here? Why are you modifying the action frames on
> > the fly??!
> >
>
> Due to mwlwifi supports Tx/Rx AMSDU, these frames are modified to
> inform client that we support AMSDU.
>
Ditto - you're allowed to modify mac80211. We actually have a patch
like this already:
https://git.kernel.org/cgit/linux/kernel/git/jberg/mac80211-
next.git/commit/?id=99e7ca44bb910f0cbfda5d9008e8517df0ebc939
johannes
David Lin <[email protected]> writes:
> This patch provides the mwlwifi driver for Marvell 8863, 8864 and 8897
> chipsets.
> This driver was developed as part of the openwrt.org project to support
> Linksys WRT1900AC and is maintained on https://github.com/kaloz/mwlwifi.
>
> The mwlwifi driver differs from existing mwifiex driver:
> o mwlwifi is a "softmac driver" using the kernel? mac802.11 subsystem
> to provide full AP/Wireless Bridge functionality (routers).
> o mwifiex is a "fullmac driver" which provides a comprehensive set of
> client functions (laptops/embedded devices)
> o only mwlwifi supports Marvell AP chip 886X series
>
> NOTE: Users with Marvell 88W8897 chipsets currently should enable
> (CONFIG=Y or M) either CONFIG_MWIFIEX or CONFIG_MWLWIFI, NOT BOTH.
I didn't get very far reading through this - but there was a few bits
that stood out like a sore thumb.
> mwlwifi driver leveraged code from existing MWL8K driver in the
> following areas:
> - 802.11n setting for mac80211
> - Functions needed to hook up to mac80211
> - Interactions with mac80211 to establish BA streams
> - Partial firmware APIs, some data fields
> - Method to pass Rx packets to mac80211 except 11ac rates
>
> In addition, mwlwifi driver supports:
> - future scalability and future development (refactored source code)
> - Marvell 802.11ac chipsets, including combo BT devices
> - 802.11ac related settings and functions
> - concurrent AP+STA functionalities with single firmware per chip
> - firmware APIs for the supported chipset
> - communicating new mac80211 settings to firmware
> - Different TX/RX datapath where applicable
> - A-MSDU and A-MPDU
> - mac80211-based MESH (work in progress)
> - Refined the code to establish BA streams
>
> NOTE: MWLWIFI will be organized under new vendor specific folder/marvell,
> as per request of the gate keeper and community.
>
> Signed-off-by: David Lin <[email protected]>
> ---
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 27b27c0..7c32f0a 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -6629,6 +6629,12 @@ L: [email protected]
> S: Odd Fixes
> F: drivers/net/wireless/mwl8k.c
>
> +MARVELL MWLWIFI WIRELESS DRIVER
> +M: David Lin <[email protected]>
> +L: [email protected]
> +S: Maintained
> +F: drivers/net/wireless/marvell/mwlwifi
> +
> MARVELL SOC MMC/SD/SDIO CONTROLLER DRIVER
> M: Nicolas Pitre <[email protected]>
> S: Odd Fixes
> diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
> index f9f9422..d599b35 100644
> --- a/drivers/net/wireless/Kconfig
> +++ b/drivers/net/wireless/Kconfig
> @@ -285,5 +285,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/marvell/Kconfig"
>
> endif # WLAN
> diff --git a/drivers/net/wireless/Makefile b/drivers/net/wireless/Makefile
> index 740fdd3..71504a7 100644
> --- a/drivers/net/wireless/Makefile
> +++ b/drivers/net/wireless/Makefile
> @@ -60,3 +60,5 @@ obj-$(CONFIG_BRCMSMAC) += brcm80211/
>
> obj-$(CONFIG_CW1200) += cw1200/
> obj-$(CONFIG_RSI_91X) += rsi/
> +
> +obj-$(CONFIG_WL_MARVELL) += marvell/
> diff --git a/drivers/net/wireless/marvell/Kconfig
> b/drivers/net/wireless/marvell/Kconfig
> new file mode 100644
> index 0000000..d73e642
> --- /dev/null
> +++ b/drivers/net/wireless/marvell/Kconfig
> @@ -0,0 +1,8 @@
> +menuconfig WL_MARVELL
> + bool "Marvell Wireless LAN support"
> + ---help---
> + Enable community drivers for Marvell Wi-Fi devices.
> +
> +if WL_MARVELL
> +source "drivers/net/wireless/marvell/mwlwifi/Kconfig"
> +endif # WL_MARVELL
> diff --git a/drivers/net/wireless/marvell/Makefile
> b/drivers/net/wireless/marvell/Makefile
> new file mode 100644
> index 0000000..70d1b3f
> --- /dev/null
> +++ b/drivers/net/wireless/marvell/Makefile
> @@ -0,0 +1 @@
> +obj-$(CONFIG_MWLWIFI) += mwlwifi/
> diff --git a/drivers/net/wireless/marvell/mwlwifi/Kconfig
> b/drivers/net/wireless/marvell/mwlwifi/Kconfig
> new file mode 100644
> index 0000000..a9bcb9c
> --- /dev/null
> +++ b/drivers/net/wireless/marvell/mwlwifi/Kconfig
> @@ -0,0 +1,23 @@
> +config MWLWIFI
> + tristate "Marvell Avastar 88W8864/88W8897 PCIe driver (mac80211
> compatible)"
> + depends on PCI && MAC80211
> + select FW_LOADER
> + ---help---
> + Select to build the driver supporting the:
> +
> + Marvell Wireless Wi-Fi 88W8864 modules
> + Marvell Wireless Wi-Fi 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.
> +
> + NOTE: Selecting this driver may cause conflict with MWIFIEX driver
> + that also operates on the same part number 88W8897. Users should
> + select either MWIFIEX or MWLWIFI, not both. MWIFIEX is fullmac,
> + supporting more comprehensive client functions for laptops/embedded
> + devices. MWLWIFI is mac80211-based for full AP/Wireless Bridge.
> +
> diff --git a/drivers/net/wireless/marvell/mwlwifi/Makefile
> b/drivers/net/wireless/marvell/mwlwifi/Makefile
> new file mode 100644
> index 0000000..88f7efd
> --- /dev/null
> +++ b/drivers/net/wireless/marvell/mwlwifi/Makefile
> @@ -0,0 +1,12 @@
> +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
> +mwlwifi-$(CONFIG_DEBUG_FS) += debugfs.o
> +
> +ccflags-y += -D__CHECK_ENDIAN__
> diff --git a/drivers/net/wireless/marvell/mwlwifi/debugfs.c
> b/drivers/net/wireless/marvell/mwlwifi/debugfs.c
> new file mode 100644
> index 0000000..997461a
> --- /dev/null
> +++ b/drivers/net/wireless/marvell/mwlwifi/debugfs.c
> @@ -0,0 +1,433 @@
> +/*
> + * Copyright (C) 2006-2015, Marvell International Ltd.
> + *
> + * This software file (the "File") is distributed by Marvell International
> + * Ltd. under the terms of the GNU General Public License Version 2, June 1991
> + * (the "License"). You may use, redistribute and/or modify this File in
> + * accordance with the terms and conditions of the License, a copy of which
> + * is available by writing to the Free Software Foundation, Inc.
> + *
> + * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
> + * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
> + * ARE EXPRESSLY DISCLAIMED. The License provides additional details about
> + * this warranty disclaimer.
> + */
> +
> +/* Description: This file implements debug fs related functions. */
> +
> +#include <linux/debugfs.h>
> +
> +#include "sysadpt.h"
> +#include "dev.h"
> +#include "hostcmd.h"
> +#include "fwcmd.h"
> +#include "debugfs.h"
> +
> +#define MWLWIFI_DEBUGFS_ADD_FILE(name) do { \
> + if (!debugfs_create_file(#name, 0644, priv->debugfs_phy, \
> + priv, &mwl_debugfs_##name##_fops)) \
> + return; \
> +} while (0)
This macros relies on implicit arguments which is just bad and doesn't
really do anything except for obfuscating the code.
> +#define MWLWIFI_DEBUGFS_FILE_OPS(name) \
> +static const struct file_operations mwl_debugfs_##name##_fops = { \
> + .read = mwl_debugfs_##name##_read, \
> + .write = mwl_debugfs_##name##_write, \
> + .open = simple_open, \
> +}
> +
> +#define MWLWIFI_DEBUGFS_FILE_READ_OPS(name) \
> +static const struct file_operations mwl_debugfs_##name##_fops = { \
> + .read = mwl_debugfs_##name##_read, \
> + .open = simple_open, \
> +}
> +
> +#define MWLWIFI_DEBUGFS_FILE_WRITE_OPS(name) \
> +static const struct file_operations mwl_debugfs_##name##_fops = { \
> + .write = mwl_debugfs_##name##_write, \
> + .open = simple_open, \
> +}
Again here - you use thiese wrappers once, just declare the structs
explicitly rather than this macro wrapping dance.
> +static int print_mac_addr(char *p, u8 *mac_addr)
> +{
> + int i;
> + char *str = p;
> +
> + str += sprintf(str, "mac address: %02x", mac_addr[0]);
> + for (i = 1; i < ETH_ALEN; i++)
> + str += sprintf(str, ":%02x", mac_addr[i]);
> + str += sprintf(str, "\n");
> +
> + return (str - p);
> +}
> +
> +static int dump_data(char *p, u8 *data, int len, char *title)
> +{
> + char *str = p;
> + int cur_byte = 0;
> + int i;
> +
> + str += sprintf(str, "%s\n", title);
> + for (cur_byte = 0; cur_byte < len; cur_byte += 8) {
> + if ((cur_byte + 8) < len) {
> + for (i = 0; i < 8; i++)
> + str += sprintf(str, "0x%02x ",
> + *(data + cur_byte + i));
> + str += sprintf(str, "\n");
> + } else {
> + for (i = 0; i < (len - cur_byte); i++)
> + str += sprintf(str, "0x%02x ",
> + *(data + cur_byte + i));
> + str += sprintf(str, "\n");
> + break;
> + }
> + }
> +
> + return (str - p);
> +}
> +
> +static ssize_t mwl_debugfs_info_read(struct file *file, char __user *ubuf,
> + size_t count, loff_t *ppos)
> +{
> + struct mwl_priv *priv = (struct mwl_priv *)file->private_data;
> + unsigned long page = get_zeroed_page(GFP_KERNEL);
> + char *p = (char *)page;
> + ssize_t ret;
> +
> + if (!p)
> + return -ENOMEM;
> +
> + p += sprintf(p, "\n");
> + p += sprintf(p, "driver name: %s\n", MWL_DRV_NAME);
> + p += sprintf(p, "chip type: %s\n",
> + (priv->chip_type == MWL8864) ? "88W8864" : "88W8897");
> + p += sprintf(p, "hw version: %X\n", priv->hw_data.hw_version);
> + p += sprintf(p, "driver version: %s\n", MWL_DRV_VERSION);
> + p += sprintf(p, "firmware version: 0x%08x\n",
> + priv->hw_data.fw_release_num);
> + p += print_mac_addr(p, priv->hw_data.mac_addr);
> + p += sprintf(p, "2g: %s\n", priv->disable_2g ? "disable" : "enable");
> + p += sprintf(p, "5g: %s\n", priv->disable_5g ? "disable" : "enable");
> + p += sprintf(p, "antenna: %d %d\n",
> + (priv->antenna_tx == ANTENNA_TX_4_AUTO) ? 4 : 2,
> + (priv->antenna_rx == ANTENNA_TX_4_AUTO) ? 4 : 2);
> + p += sprintf(p, "irq number: %d\n", priv->irq);
> + p += sprintf(p, "iobase0: %p\n", priv->iobase0);
> + p += sprintf(p, "iobase1: %p\n", priv->iobase1);
> + p += sprintf(p, "tx limit: %d\n", priv->txq_limit);
> + p += sprintf(p, "rx limit: %d\n", priv->recv_limit);
> + p += sprintf(p, "ap macid support: %08x\n",
> + priv->ap_macids_supported);
> + p += sprintf(p, "sta macid support: %08x\n",
> + priv->sta_macids_supported);
> + p += sprintf(p, "macid used: %08x\n", priv->macids_used);
> + p += sprintf(p, "mfg mode: %s\n", priv->mfg_mode ? "true" : "false");
> + p += sprintf(p, "\n");
> +
> + ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page,
> + (unsigned long)p - page);
> + free_page(page);
> +
> + return ret;
> +}
> +
> +static ssize_t mwl_debugfs_vif_read(struct file *file, char __user *ubuf,
> + size_t count, loff_t *ppos)
> +{
> + struct mwl_priv *priv = (struct mwl_priv *)file->private_data;
> + unsigned long page = get_zeroed_page(GFP_KERNEL);
> + char *p = (char *)page;
> + struct mwl_vif *mwl_vif;
> + struct ieee80211_vif *vif;
> + char ssid[IEEE80211_MAX_SSID_LEN + 1];
> + ssize_t ret;
> +
> + if (!p)
> + return -ENOMEM;
> +
> + p += sprintf(p, "\n");
> + spin_lock_bh(&priv->vif_lock);
> + list_for_each_entry(mwl_vif, &priv->vif_list, list) {
> + vif = container_of((char *)mwl_vif, struct ieee80211_vif,
> + drv_priv[0]);
> + p += sprintf(p, "macid: %d\n", mwl_vif->macid);
> + switch (vif->type) {
> + case NL80211_IFTYPE_AP:
> + p += sprintf(p, "type: ap\n");
> + memcpy(ssid, vif->bss_conf.ssid,
> + vif->bss_conf.ssid_len);
> + ssid[vif->bss_conf.ssid_len] = 0;
> + p += sprintf(p, "ssid: %s\n", ssid);
> + p += print_mac_addr(p, mwl_vif->bssid);
> + break;
> + case NL80211_IFTYPE_MESH_POINT:
> + p += sprintf(p, "type: mesh\n");
> + p += print_mac_addr(p, mwl_vif->bssid);
> + break;
> + case NL80211_IFTYPE_STATION:
> + p += sprintf(p, "type: sta\n");
> + p += print_mac_addr(p, mwl_vif->sta_mac);
> + break;
> + default:
> + p += sprintf(p, "type: unknown\n");
> + break;
> + }
> + p += sprintf(p, "hw_crypto_enabled: %s\n",
> + mwl_vif->is_hw_crypto_enabled ? "true" : "false");
> + p += sprintf(p, "key idx: %d\n", mwl_vif->keyidx);
> + p += sprintf(p, "IV: %08x%04x\n", mwl_vif->iv32, mwl_vif->iv16);
> + p += dump_data(p, mwl_vif->beacon_info.ie_wmm_ptr,
> + mwl_vif->beacon_info.ie_wmm_len, "WMM:");
> + p += dump_data(p, mwl_vif->beacon_info.ie_rsn_ptr,
> + mwl_vif->beacon_info.ie_rsn_len, "RSN:");
> + p += dump_data(p, mwl_vif->beacon_info.ie_rsn48_ptr,
> + mwl_vif->beacon_info.ie_rsn48_len, "RSN48:");
> + p += dump_data(p, mwl_vif->beacon_info.ie_ht_ptr,
> + mwl_vif->beacon_info.ie_ht_len, "HT:");
> + p += dump_data(p, mwl_vif->beacon_info.ie_vht_ptr,
> + mwl_vif->beacon_info.ie_vht_len, "VHT:");
> + p += sprintf(p, "\n");
> + }
> + spin_unlock_bh(&priv->vif_lock);
I hope there is no way that the number of vifs can get to the point
where you overflow the page allocated since there is no cap on the
sprintf() usage in dump_data().
> +
> +MWLWIFI_DEBUGFS_FILE_READ_OPS(info);
> +MWLWIFI_DEBUGFS_FILE_READ_OPS(vif);
> +MWLWIFI_DEBUGFS_FILE_READ_OPS(sta);
> +MWLWIFI_DEBUGFS_FILE_READ_OPS(ampdu);
> +MWLWIFI_DEBUGFS_FILE_OPS(regrdwr);
> +
> +void mwl_debugfs_init(struct ieee80211_hw *hw)
> +{
> + struct mwl_priv *priv = hw->priv;
> +
> + if (!priv->debugfs_phy)
> + priv->debugfs_phy = debugfs_create_dir("mwlwifi",
> + hw->wiphy->debugfsdir);
> +
> + if (!priv->debugfs_phy)
> + return;
> +
> + MWLWIFI_DEBUGFS_ADD_FILE(info);
> + MWLWIFI_DEBUGFS_ADD_FILE(vif);
> + MWLWIFI_DEBUGFS_ADD_FILE(sta);
> + MWLWIFI_DEBUGFS_ADD_FILE(ampdu);
> + MWLWIFI_DEBUGFS_ADD_FILE(regrdwr);
> +}
> +
> +void mwl_debugfs_remove(struct ieee80211_hw *hw)
> +{
> + struct mwl_priv *priv = hw->priv;
> +
> + debugfs_remove(priv->debugfs_phy);
> + priv->debugfs_phy = NULL;
> +}
> diff --git a/drivers/net/wireless/marvell/mwlwifi/debugfs.h
> b/drivers/net/wireless/marvell/mwlwifi/debugfs.h
> new file mode 100644
> index 0000000..dfc2a3c
> --- /dev/null
> +++ b/drivers/net/wireless/marvell/mwlwifi/debugfs.h
> @@ -0,0 +1,24 @@
> +/*
> + * Copyright (C) 2006-2015, Marvell International Ltd.
> + *
> + * This software file (the "File") is distributed by Marvell International
> + * Ltd. under the terms of the GNU General Public License Version 2, June 1991
> + * (the "License"). You may use, redistribute and/or modify this File in
> + * accordance with the terms and conditions of the License, a copy of which
> + * is available by writing to the Free Software Foundation, Inc.
> + *
> + * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
> + * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
> + * ARE EXPRESSLY DISCLAIMED. The License provides additional details about
> + * this warranty disclaimer.
> + */
> +
> +/* Description: This file defines debug fs related functions. */
> +
> +#ifndef _debugfs_h_
> +#define _debugfs_h_
The general convention is to user upper-case for the these - not a
biggie though.
> +struct mwl_priv {
> + struct ieee80211_hw *hw;
> + struct firmware *fw_ucode;
> + int chip_type;
> +
> + struct device_node *dt_node;
> + struct device_node *pwr_node;
> + bool disable_2g;
> + bool disable_5g;
> + int antenna_tx;
> + int antenna_rx;
> +
> + struct mwl_tx_pwr_tbl tx_pwr_tbl[SYSADPT_MAX_NUM_CHANNELS];
> + bool cdd;
> + u16 txantenna2;
> + u8 powinited;
> + u16 max_tx_pow[SYSADPT_TX_POWER_LEVEL_TOTAL]; /* max tx power (dBm) */
> + u16 target_powers[SYSADPT_TX_POWER_LEVEL_TOTAL]; /* target powers */
> + u8 cal_tbl[200];
> +
> + struct pci_dev *pdev;
> + void __iomem *iobase0; /* MEM Base Address Register 0 */
> + void __iomem *iobase1; /* MEM Base Address Register 1 */
> + u32 next_bar_num;
> +
> + spinlock_t fwcmd_lock; /* for firmware command */
> + unsigned short *pcmd_buf; /* pointer to CmdBuf (virtual) */
> + dma_addr_t pphys_cmd_buf; /* pointer to CmdBuf (physical) */
> + bool in_send_cmd;
> +
> + int irq;
> + struct mwl_hw_data hw_data; /* Adapter HW specific info */
> +
> + /* various descriptor data */
> + spinlock_t tx_desc_lock; /* for tx descriptor data */
> + spinlock_t rx_desc_lock; /* for rx descriptor data */
You probably don't want to declare these two right next to each other,
if you expect the RX and TX paths of the code to be able to run in
parallel.
Spin locks are not guaranteed to be cache line aligned or cache line
sized, so you can end up with cache line ping pongs between CPUs in this
case.
> + struct mwl_desc_data desc_data[SYSADPT_NUM_OF_DESC_DATA];
> + struct sk_buff_head txq[SYSADPT_NUM_OF_DESC_DATA];
> + struct sk_buff_head delay_q;
> + /* number of descriptors owned by fw at any one time */
> + int fw_desc_cnt[SYSADPT_NUM_OF_DESC_DATA];
> +
> + struct tasklet_struct tx_task;
> + struct tasklet_struct rx_task;
> + struct tasklet_struct qe_task;
> + int txq_limit;
> + bool is_tx_schedule;
> + int recv_limit;
> + bool is_rx_schedule;
> + bool is_qe_schedule;
> + s8 noise; /* Most recently reported noise in dBm */
> + struct ieee80211_supported_band band_24;
> + struct ieee80211_channel channels_24[BAND_24_CHANNEL_NUM];
> + struct ieee80211_rate rates_24[BAND_24_RATE_NUM];
> + struct ieee80211_supported_band band_50;
> + struct ieee80211_channel channels_50[BAND_50_CHANNEL_NUM];
> + struct ieee80211_rate rates_50[BAND_50_RATE_NUM];
> +
> + u32 ap_macids_supported;
> + u32 sta_macids_supported;
> + u32 macids_used;
> + spinlock_t vif_lock; /* for private interface info */
> + struct list_head vif_list; /* List of interfaces. */
> + u32 running_bsses; /* bitmap of running BSSes */
> +
> + spinlock_t sta_lock; /* for private sta info */
> + struct list_head sta_list; /* List of stations */
These two are awfully close together too. You might just get away with
it on x86_64, given list_head is 16 bytes, but the x86_64 packing rules
are odd, so I am never quite sure. On x86_32 it will certainly bite you
- provided vif_lock and sta_lock can get taken from two different paths.
> +
> + bool radio_on;
> + bool radio_short_preamble;
> + bool wmm_enabled;
> + struct ieee80211_tx_queue_params wmm_params[SYSADPT_TX_WMM_QUEUES];
> +
> + /* Ampdu stream information */
> + u8 num_ampdu_queues;
> + spinlock_t stream_lock; /* for ampdu stream */
> + struct mwl_ampdu_stream ampdu[SYSADPT_TX_AMPDU_QUEUES];
> + struct work_struct watchdog_ba_handle;
> +
> + bool mfg_mode;
> +
> +#ifdef CONFIG_DEBUG_FS
> + struct dentry *debugfs_phy;
> + u32 reg_type;
> + u32 reg_offset;
> + u32 reg_value;
> +#endif
> +};
[snip]
> +static void mwl_fwcmd_parse_beacon(struct mwl_priv *priv,
> + struct mwl_vif *vif, u8 *beacon, int len)
> +{
> + struct ieee80211_mgmt *mgmt;
> + struct beacon_info *beacon_info;
> + int baselen;
> + u8 *pos;
> + size_t left;
> + bool elem_parse_failed;
> +
> + mgmt = (struct ieee80211_mgmt *)beacon;
> +
> + baselen = (u8 *)mgmt->u.beacon.variable - (u8 *)mgmt;
> + if (baselen > len)
> + return;
> +
> + beacon_info = &vif->beacon_info;
> + memset(beacon_info, 0, sizeof(struct beacon_info));
> + beacon_info->valid = false;
> + beacon_info->ie_ht_ptr = &beacon_info->ie_list_ht[0];
> + beacon_info->ie_vht_ptr = &beacon_info->ie_list_vht[0];
> +
> + beacon_info->cap_info = le16_to_cpu(mgmt->u.beacon.capab_info);
> +
> + pos = (u8 *)mgmt->u.beacon.variable;
> + left = len - baselen;
> +
> + elem_parse_failed = false;
> +
> + while (left >= 2) {
> + u8 id, elen;
> +
> + id = *pos++;
> + elen = *pos++;
> + left -= 2;
> +
> + if (elen > left) {
> + elem_parse_failed = true;
> + break;
> + }
> +
> + switch (id) {
> + case WLAN_EID_SUPP_RATES:
> + case WLAN_EID_EXT_SUPP_RATES:
> + {
> + int idx, bi, oi;
> + u8 rate;
> +
> + for (bi = 0; bi < SYSADPT_MAX_DATA_RATES_G;
> + bi++) {
> + if (beacon_info->b_rate_set[bi] == 0)
> + break;
> + }
> +
> + for (oi = 0; oi < SYSADPT_MAX_DATA_RATES_G;
> + oi++) {
> + if (beacon_info->op_rate_set[oi] == 0)
> + break;
> + }
> +
> + for (idx = 0; idx < elen; idx++) {
> + rate = pos[idx];
> + if ((rate & 0x80) != 0) {
> + if (bi < SYSADPT_MAX_DATA_RATES_G)
> + beacon_info->b_rate_set[bi++]
> + = rate & 0x7f;
> + else {
> + elem_parse_failed = true;
> + break;
> + }
> + }
> + if (oi < SYSADPT_MAX_DATA_RATES_G)
> + beacon_info->op_rate_set[oi++] =
> + rate & 0x7f;
> + else {
> + elem_parse_failed = true;
> + break;
> + }
> + }
> + }
> + break;
> + case WLAN_EID_RSN:
> + beacon_info->ie_rsn48_len = (elen + 2);
> + beacon_info->ie_rsn48_ptr = (pos - 2);
> + break;
> + case WLAN_EID_HT_CAPABILITY:
> + case WLAN_EID_HT_OPERATION:
> + case WLAN_EID_OVERLAP_BSS_SCAN_PARAM:
> + case WLAN_EID_EXT_CAPABILITY:
> + beacon_info->ie_ht_len += (elen + 2);
> + if (beacon_info->ie_ht_len >
> + sizeof(beacon_info->ie_list_ht)) {
> + elem_parse_failed = true;
> + } else {
> + *beacon_info->ie_ht_ptr++ = id;
> + *beacon_info->ie_ht_ptr++ = elen;
> + memcpy(beacon_info->ie_ht_ptr, pos, elen);
> + beacon_info->ie_ht_ptr += elen;
> + }
> + break;
> +#ifdef CONFIG_MAC80211_MESH
> + case WLAN_EID_MESH_CONFIG:
> + beacon_info->ie_meshcfg_len = (elen + 2);
> + beacon_info->ie_meshcfg_ptr = (pos - 2);
> + break;
> + case WLAN_EID_MESH_ID:
> + beacon_info->ie_meshid_len = (elen + 2);
> + beacon_info->ie_meshid_ptr = (pos - 2);
> + break;
> + case WLAN_EID_CHAN_SWITCH_PARAM:
> + beacon_info->ie_meshchsw_len = (elen + 2);
> + beacon_info->ie_meshchsw_ptr = (pos - 2);
> + break;
> +#endif
> + case WLAN_EID_VHT_CAPABILITY:
> + case WLAN_EID_VHT_OPERATION:
> + case WLAN_EID_OPMODE_NOTIF:
> + beacon_info->ie_vht_len += (elen + 2);
> + if (beacon_info->ie_vht_len >
> + sizeof(beacon_info->ie_list_vht)) {
> + elem_parse_failed = true;
> + } else {
> + *beacon_info->ie_vht_ptr++ = id;
> + *beacon_info->ie_vht_ptr++ = elen;
> + memcpy(beacon_info->ie_vht_ptr, pos, elen);
> + beacon_info->ie_vht_ptr += elen;
> + }
> + break;
> + case WLAN_EID_VENDOR_SPECIFIC:
> + if ((pos[0] == 0x00) && (pos[1] == 0x50) &&
> + (pos[2] == 0xf2)) {
> + if (pos[3] == 0x01) {
> + beacon_info->ie_rsn_len = (elen + 2);
> + beacon_info->ie_rsn_ptr = (pos - 2);
> + }
> +
> + if (pos[3] == 0x02) {
> + beacon_info->ie_wmm_len = (elen + 2);
> + beacon_info->ie_wmm_ptr = (pos - 2);
> + }
> + }
> + break;
> + default:
> + break;
> + }
> +
> + left -= elen;
> + pos += elen;
> + }
> +
> + if (!elem_parse_failed) {
> + beacon_info->ie_ht_ptr = &beacon_info->ie_list_ht[0];
> + beacon_info->ie_vht_ptr = &beacon_info->ie_list_vht[0];
> + beacon_info->valid = true;
> + }
> +}
Any reason you're not using cfg80211_find_ie() here? Seems to be
re-inventing the wheel to me.
> +void mwl_fwcmd_reset(struct ieee80211_hw *hw)
> +{
> + struct mwl_priv *priv = hw->priv;
> +
> + if (mwl_fwcmd_chk_adapter(priv))
> + writel(ISR_RESET,
> + priv->iobase1 + MACREG_REG_H2A_INTERRUPT_EVENTS);
> +}
> +
> +void mwl_fwcmd_int_enable(struct ieee80211_hw *hw)
> +{
> + struct mwl_priv *priv = hw->priv;
> +
> + if (mwl_fwcmd_chk_adapter(priv)) {
> + writel(0x00,
> + priv->iobase1 + MACREG_REG_A2H_INTERRUPT_MASK);
> + writel((MACREG_A2HRIC_BIT_MASK),
> + priv->iobase1 + MACREG_REG_A2H_INTERRUPT_MASK);
Please avoid superfluous use of parentheses.
> +int mwl_fwcmd_get_hw_specs(struct ieee80211_hw *hw)
> +{
> + struct mwl_priv *priv = hw->priv;
> + struct hostcmd_cmd_get_hw_spec *pcmd;
> + int retry;
> + int i;
> +
> + if (priv->mfg_mode)
> + return 0;
> +
> + pcmd = (struct hostcmd_cmd_get_hw_spec *)&priv->pcmd_buf[0];
> +
> + spin_lock_bh(&priv->fwcmd_lock);
> +
> + wiphy_debug(hw->wiphy, "pcmd = %p\n", pcmd);
> + memset(pcmd, 0x00, sizeof(*pcmd));
> + eth_broadcast_addr(pcmd->permanent_addr);
> + pcmd->cmd_hdr.cmd = cpu_to_le16(HOSTCMD_CMD_GET_HW_SPEC);
> + pcmd->cmd_hdr.len = cpu_to_le16(sizeof(*pcmd));
> + pcmd->fw_awake_cookie = cpu_to_le32(priv->pphys_cmd_buf + 2048);
> +
> + retry = 0;
> + while (mwl_fwcmd_exec_cmd(priv, HOSTCMD_CMD_GET_HW_SPEC)) {
> + if (retry++ > MAX_WAIT_GET_HW_SPECS_ITERATONS) {
> + wiphy_err(hw->wiphy, "can't get hw specs\n");
> + spin_unlock_bh(&priv->fwcmd_lock);
> + return -EIO;
> + }
> +
> + mdelay(1000);
> + wiphy_debug(hw->wiphy,
> + "repeat command = %p\n", pcmd);
> + }
*cough* mdelay(1000) while holding a spin lock and within in a while()
*loop? *cough*
This needs a little cleaning up. Please have a look at
Documentation/timers/timers-howto.txt
> +
> + ether_addr_copy(&priv->hw_data.mac_addr[0], pcmd->permanent_addr);
> + priv->desc_data[0].wcb_base =
> + le32_to_cpu(pcmd->wcb_base0) & 0x0000ffff;
> + for (i = 1; i < SYSADPT_TOTAL_TX_QUEUES; i++)
> + priv->desc_data[i].wcb_base =
> + le32_to_cpu(pcmd->wcb_base[i - 1]) & 0x0000ffff;
> + priv->desc_data[0].rx_desc_read =
> + le32_to_cpu(pcmd->rxpd_rd_ptr) & 0x0000ffff;
> + priv->desc_data[0].rx_desc_write =
> + le32_to_cpu(pcmd->rxpd_wr_ptr) & 0x0000ffff;
> + priv->hw_data.region_code = le16_to_cpu(pcmd->region_code) & 0x00ff;
> + priv->hw_data.fw_release_num = le32_to_cpu(pcmd->fw_release_num);
> + priv->hw_data.max_num_tx_desc = le16_to_cpu(pcmd->num_wcb);
> + priv->hw_data.max_num_mc_addr = le16_to_cpu(pcmd->num_mcast_addr);
> + priv->hw_data.num_antennas = le16_to_cpu(pcmd->num_antenna);
> + priv->hw_data.hw_version = pcmd->version;
> + priv->hw_data.host_interface = pcmd->host_if;
> +
> + spin_unlock_bh(&priv->fwcmd_lock);
> +
> + return 0;
> +}
> +
> +int mwl_fwcmd_set_hw_specs(struct ieee80211_hw *hw)
> +{
> + struct mwl_priv *priv = hw->priv;
> + struct hostcmd_cmd_set_hw_spec *pcmd;
> + int i;
> +
> + if (priv->mfg_mode)
> + return 0;
> +
> + pcmd = (struct hostcmd_cmd_set_hw_spec *)&priv->pcmd_buf[0];
> +
> + spin_lock_bh(&priv->fwcmd_lock);
> +
> + memset(pcmd, 0x00, sizeof(*pcmd));
> + pcmd->cmd_hdr.cmd = cpu_to_le16(HOSTCMD_CMD_SET_HW_SPEC);
> + pcmd->cmd_hdr.len = cpu_to_le16(sizeof(*pcmd));
> + pcmd->wcb_base[0] = cpu_to_le32(priv->desc_data[0].pphys_tx_ring);
> + for (i = 1; i < SYSADPT_TOTAL_TX_QUEUES; i++)
> + pcmd->wcb_base[i] =
> + cpu_to_le32(priv->desc_data[i].pphys_tx_ring);
> + pcmd->tx_wcb_num_per_queue = cpu_to_le32(SYSADPT_MAX_NUM_TX_DESC);
> + pcmd->num_tx_queues = cpu_to_le32(SYSADPT_NUM_OF_DESC_DATA);
> + pcmd->total_rx_wcb = cpu_to_le32(SYSADPT_MAX_NUM_RX_DESC);
> + pcmd->rxpd_wr_ptr = cpu_to_le32(priv->desc_data[0].pphys_rx_ring);
> + pcmd->features = 0;
> +
> + if (mwl_fwcmd_exec_cmd(priv, HOSTCMD_CMD_SET_HW_SPEC)) {
> + spin_unlock_bh(&priv->fwcmd_lock);
> + wiphy_err(hw->wiphy, "failed execution\n");
> + return -EIO;
> + }
> +
> + spin_unlock_bh(&priv->fwcmd_lock);
> +
> + return 0;
> +}
It looks like fwcmd_lock() is used in this way in every instance. Could
you not allocate a pool of command buffers, put them on a list, and
only take the lock while you pull them out and reinsert them back into
the list?
If you need to hold a lock during firmware command execution, you
probably should switch to a mutex mechanism rather than spin locks.
> +
> +int mwl_fwcmd_get_stat(struct ieee80211_hw *hw,
> + struct ieee80211_low_level_stats *stats)
> +{
> + struct mwl_priv *priv = hw->priv;
> + struct hostcmd_cmd_802_11_get_stat *pcmd;
> +
> + pcmd = (struct hostcmd_cmd_802_11_get_stat *)&priv->pcmd_buf[0];
> +
> + spin_lock_bh(&priv->fwcmd_lock);
> +
> + memset(pcmd, 0x00, sizeof(*pcmd));
> + pcmd->cmd_hdr.cmd = cpu_to_le16(HOSTCMD_CMD_802_11_GET_STAT);
> + pcmd->cmd_hdr.len = cpu_to_le16(sizeof(*pcmd));
> +
> + if (mwl_fwcmd_exec_cmd(priv, HOSTCMD_CMD_802_11_GET_STAT)) {
> + spin_unlock_bh(&priv->fwcmd_lock);
> + wiphy_err(hw->wiphy, "failed execution\n");
> + return -EIO;
> + }
> +
> + stats->dot11ACKFailureCount =
> + le32_to_cpu(pcmd->ack_failures);
> + stats->dot11RTSFailureCount =
> + le32_to_cpu(pcmd->rts_failures);
> + stats->dot11FCSErrorCount =
> + le32_to_cpu(pcmd->rx_fcs_errors);
> + stats->dot11RTSSuccessCount =
> + le32_to_cpu(pcmd->rts_successes);
> +
> + spin_unlock_bh(&priv->fwcmd_lock);
> +
> + return 0;
> +}
> +
> +int mwl_fwcmd_radio_enable(struct ieee80211_hw *hw)
> +{
> + return mwl_fwcmd_802_11_radio_control(hw->priv, true, false);
> +}
> +
> +int mwl_fwcmd_radio_disable(struct ieee80211_hw *hw)
> +{
> + return mwl_fwcmd_802_11_radio_control(hw->priv, false, false);
> +}
These last two makes me think you only use the spin lock for buffer
management and not the command execution itself?
I am out of time for today, I'll try to see if I can find more time
later - please look into fixing the above.
Jes
PiBPbiBOb3ZlbWJlciAyMCwgMjAxNSA3OjIyIFBNLCBKb2hhbm5lcyBCZXJnIHdyb3RlOg0KPiAN
Cj4gT24gVGh1LCAyMDE1LTExLTEyIGF0IDAzOjUxICswMDAwLCBEYXZpZCBMaW4gd3JvdGU6DQo+
ID4NCj4gPiArc3RhdGljIGludCBwcmludF9tYWNfYWRkcihjaGFyICpwLCB1OCAqbWFjX2FkZHIp
IHsNCj4gPiArCWludCBpOw0KPiA+ICsJY2hhciAqc3RyID0gcDsNCj4gPiArDQo+ID4gKwlzdHIg
Kz0gc3ByaW50ZihzdHIsICJtYWMgYWRkcmVzczogJTAyeCIsIG1hY19hZGRyWzBdKTsNCj4gPiAr
CWZvciAoaSA9IDE7IGkgPCBFVEhfQUxFTjsgaSsrKQ0KPiA+ICsJCXN0ciArPSBzcHJpbnRmKHN0
ciwgIjolMDJ4IiwgbWFjX2FkZHJbaV0pOw0KPiA+ICsJc3RyICs9IHNwcmludGYoc3RyLCAiXG4i
KTsNCj4gPiArDQo+ID4gKwlyZXR1cm4gKHN0ciAtIHApOw0KPiA+ICt9DQo+IA0KPiBZb3UgY2Fu
IHVzZSAlcE0gaGVyZSAoYW5kIHBlcmhhcHMgZ2V0IHJpZCBvZiB0aGUgZnVuY3Rpb24gdGhlbikN
Cj4gDQoNCkkgd2lsbCBtb2RpZnkgaXQuDQoNCj4gPiArdm9pZCBtd2xfZGVidWdmc19yZW1vdmUo
c3RydWN0IGllZWU4MDIxMV9odyAqaHcpIHsNCj4gPiArCXN0cnVjdCBtd2xfcHJpdiAqcHJpdiA9
IGh3LT5wcml2Ow0KPiA+ICsNCj4gPiArCWRlYnVnZnNfcmVtb3ZlKHByaXYtPmRlYnVnZnNfcGh5
KTsNCj4gDQo+IGRvZXNuJ3Qg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char *p, u8 *mac_addr)
> +{
> + int i;
> + char *str = p;
> +
> + str += sprintf(str, "mac address: %02x", mac_addr[0]);
> + for (i = 1; i < ETH_ALEN; i++)
> + str += sprintf(str, ":%02x", mac_addr[i]);
> + str += sprintf(str, "\n");
> +
> + return (str - p);
> +}
You can use %pM here (and perhaps get rid of the function then)
> +void mwl_debugfs_remove(struct ieee80211_hw *hw)
> +{
> + struct mwl_priv *priv = hw->priv;
> +
> + debugfs_remove(priv->debugfs_phy);
doesn't that have to be _recursive()?
> +#define MWL_DRV_NAME KBUILD_MODNAME
> +#define MWL_DRV_VERSION "10.3.0.14"
versions like that are generally fairly useless since you don't update
them for every commit ...
> +struct mwl_tx_desc {
> + u8 data_rate;
> + u8 tx_priority;
> + __le16 qos_ctrl;
[...]
I still wouldn't mix device/firmware API with driver-use structures in
the same file, it gets confusing. It's your driver though, so if you
really want to confuse yourselves ... assuming you're going to maintain
it :)
> +struct mwl_sta {
> + struct list_head list;
> + bool is_mesh_node;
> + bool is_ampdu_allowed;
> + struct mwl_tx_info tx_stats[MWL_MAX_TID];
> + bool is_amsdu_allowed;
> + spinlock_t amsdu_lock; /* for amsdu
> aggregation */
> + struct mwl_amsdu_ctrl amsdu_ctrl;
> + u16 iv16;
> + u32 iv32;
> +};
I still don't see how this iv stuff in the *station* can possibly be
right. I think I also pointed out earlier that you can just let
mac80211 assign the PN/IV.
> +static int mwl_fwcmd_wait_complete(struct mwl_priv *priv, unsigned
> short cmd)
> +{
>
[...]
> + mdelay(3);
> +
> + return 0;
> +}
> +
> +static int mwl_fwcmd_exec_cmd(struct mwl_priv *priv, unsigned short
> cmd)
> +{
[...]
> + if (mwl_fwcmd_wait_complete(priv, 0x8000 | cmd)) {
[...]
> +}
> +
> +static int mwl_fwcmd_802_11_radio_control(struct mwl_priv *priv,
> + bool enable, bool force)
> +{
[...]
> + spin_lock_bh(&priv->fwcmd_lock);
[...]
> + if (mwl_fwcmd_exec_cmd(priv,
> HOSTCMD_CMD_802_11_RADIO_CONTROL)) {
> + spin_unlock_bh(&priv->fwcmd_lock);
This seems like a terrible idea. Spinning for 3 milliseconds (and more)
while blocking local soft-irqs is really bad for general latency on the
system. I don't like it at all.
And there doesn't really seem to be much reason for it either as far as
I can tell - almost all places can (as I pointed out before) live with
this being a mutex, you just need special handling in very few places
that really do want to send a command while not being able to sleep.
> +++ b/drivers/net/wireless/marvell/mwlwifi/hostcmd.h
This looks like you do have a file for commands - maybe move that TX
thing above here?
> +const struct ieee80211_ops mwl_mac80211_ops = {
> + .tx = mwl_mac80211_tx,
> + .start = mwl_mac80211_start,
> + .stop = mwl_mac80211_stop,
> + .add_interface = mwl_mac80211_add_interface,
> + .remove_interface = mwl_mac80211_remove_interface,
> + .config = mwl_mac80211_config,
> + .bss_info_changed = mwl_mac80211_bss_info_changed,
> + .configure_filter = mwl_mac80211_configure_filter,
> + .set_key = mwl_mac80211_set_key,
> + .set_rts_threshold = mwl_mac80211_set_rts_threshold,
> + .sta_add = mwl_mac80211_sta_add,
> + .sta_remove = mwl_mac80211_sta_remove,
> + .conf_tx = mwl_mac80211_conf_tx,
> + .get_stats = mwl_mac80211_get_stats,
> + .get_survey = mwl_mac80211_get_survey,
> + .ampdu_action = mwl_mac80211_ampdu_action,
> +};
Apart from .tx and .configure_filter, all of these can sleep I think.
> + rc = mwl_init_firmware(priv, fw_name);
>
Since you do this in .probe, you should consider loading the firmware
asynchronously.
> +#ifdef CONFIG_SUPPORT_MFG
This Kconfig variable doesn't exist.
> +static inline bool mwl_rx_process_mesh_amsdu(struct mwl_priv *priv,
> + struct sk_buff *skb,
Please instead teach mac80211 to do it right.
> + if (ieee80211_is_data(wh->frame_control)) {
> + if (is_multicast_ether_addr(wh->addr1)) {
> + if (ccmp) {
> + mwl_tx_insert_ccmp_hdr(dma_data-
> >data,
> + mwl_vif-
> >keyidx,
> + mwl_vif-
> >iv16,
> + mwl_vif-
> >iv32);
> + INCREASE_IV(mwl_vif->iv16, mwl_vif-
> >iv32);
> + }
Can't you let mac80211 deal with this?
Now I actually am beginning to understand - you need this for GTK only,
so it might even work in the station ... but still, don't do it, set
the flag to make mac80211 do it on the GTK.
> + if (mgmtframe) {
> + u16 capab;
> +
> + if (unlikely(ieee80211_is_action(wh->frame_control)
> &&
> + mgmt->u.action.category ==
> WLAN_CATEGORY_BACK &&
> + mgmt->u.action.u.addba_req.action_code
> ==
> + WLAN_ACTION_ADDBA_REQ)) {
> + capab = le16_to_cpu(mgmt-
> >u.action.u.addba_req.capab);
> + tid = (capab &
> IEEE80211_ADDBA_PARAM_TID_MASK) >> 2;
> + index = mwl_tx_tid_queue_mapping(tid);
> + capab |= 1;
> + mgmt->u.action.u.addba_req.capab =
> cpu_to_le16(capab);
> + }
What's going on here? Why are you modifying the action frames on the
fly??!
johannes
On Fri, 2015-11-27 at 02:00 +0000, David Lin wrote:
> > Ditto - you're allowed to modify mac80211. We actually have a patch
> > like this
> > already:
> > https://git.kernel.org/cgit/linux/kernel/git/jberg/mac80211-
> > next.git/commit/?id=99e7ca44bb910f0cbfda5d9008e8517df0ebc939
> >
>
> Once if this patch is ready, I will modify mwlwifi to use it. Thanks.
The patch is ready now and in the tree, but that wasn't my point. My
point is that you shouldn't try to hack around mac80211 like with the
action frame interception and the mesh-amsdu-reimplementation, but
actually go fix it.
If you have issues with mac80211 like this you can ask how to fix them,
or just fix them and suggest changes/patches, but just working around
it in the driver isn't the right approach.
johannes
Hi,
I was interested in the checking the A-MSDU implementation only, so I
reviewed only that.
I am not sure I really followed your implementation though.
In iwlwifi I chose the LSO mechanism to implement A-MSDU. I understand that for
an AP it makes less sense since you don't really have locally generated traffic
and LSO won't work well with packets forwarded by the IP layer.
So you seem to have added a timeout mechanism inside the driver that accumulates
the packet for a certain period of time and send them all when the max number of
packets has been reached?
But I didn't see any timer there, so that if you start an A-MSDU and
then suddenly
stop receiving packets for transmission, the packet already in the
buffer will stay
stale?
A few more comments below.
On Thu, Nov 12, 2015 at 5:51 AM, David Lin <[email protected]> wrote:
> This patch provides the mwlwifi driver for Marvell 8863, 8864 and 8897
> chipsets.
> This driver was developed as part of the openwrt.org project to support
> Linksys WRT1900AC and is maintained on https://github.com/kaloz/mwlwifi.
>
> The mwlwifi driver differs from existing mwifiex driver:
> o mwlwifi is a "softmac driver" using the kernel? mac802.11 subsystem
> to provide full AP/Wireless Bridge functionality (routers).
> o mwifiex is a "fullmac driver" which provides a comprehensive set of
> client functions (laptops/embedded devices)
> o only mwlwifi supports Marvell AP chip 886X series
>
[snip]
> +
> +static int mwl_mac80211_ampdu_action(struct ieee80211_hw *hw,
> + struct ieee80211_vif *vif,
> + enum ieee80211_ampdu_mlme_action action,
> + struct ieee80211_sta *sta,
> + u16 tid, u16 *ssn, u8 buf_size, bool amsdu)
> +{
> + int rc = 0;
> + struct mwl_priv *priv = hw->priv;
> + struct mwl_ampdu_stream *stream;
> + u8 *addr = sta->addr, idx;
> + struct mwl_sta *sta_info;
> +
> + sta_info = mwl_dev_get_sta(sta);
> +
> + spin_lock_bh(&priv->stream_lock);
> +
> + stream = mwl_fwcmd_lookup_stream(hw, addr, tid);
> +
> + switch (action) {
> + case IEEE80211_AMPDU_RX_START:
> + case IEEE80211_AMPDU_RX_STOP:
> + break;
> + case IEEE80211_AMPDU_TX_START:
> + if (!sta_info->is_ampdu_allowed) {
> + wiphy_warn(hw->wiphy, "ampdu not allowed\n");
> + rc = -EPERM;
> + break;
> + }
> +
> + if (!stream) {
> + stream = mwl_fwcmd_add_stream(hw, sta, tid);
> + if (!stream) {
> + wiphy_warn(hw->wiphy, "no stream found\n");
> + rc = -EPERM;
> + break;
> + }
> + }
> +
> + spin_unlock_bh(&priv->stream_lock);
> + rc = mwl_fwcmd_check_ba(hw, stream, vif);
> + spin_lock_bh(&priv->stream_lock);
> + if (rc) {
> + mwl_fwcmd_remove_stream(hw, stream);
> + wiphy_err(hw->wiphy,
> + "ampdu start error code: %d\n", rc);
> + rc = -EPERM;
> + break;
> + }
> + stream->state = AMPDU_STREAM_IN_PROGRESS;
> + *ssn = 0;
> + ieee80211_start_tx_ba_cb_irqsafe(vif, addr, tid);
This is why you have the race you mention below. What you should really
be doing is to wait until the all the packets for that RA / TID are sent
from all the HW Tx queues (only one realistically), and only then call the
_cb. This will allow you to send the ADDBA req on the VO queue as it should
be according to spec.
[snip]
> +
> +void mwl_rx_recv(unsigned long data)
> +{
[snip]
> +
> + if (unlikely(ieee80211_is_action(wh->frame_control) &&
> + mgmt->u.action.category ==
> + WLAN_CATEGORY_BACK &&
> + mgmt->u.action.u.addba_resp.action_code ==
> + WLAN_ACTION_ADDBA_RESP)) {
> + capab = mgmt->u.action.u.addba_resp.capab;
> + if (le16_to_cpu(capab) & 1)
> + mwl_rx_enable_sta_amsdu(priv, mgmt->sa);
err... no. mac80211 knows how to do that today. Johannes already
reported a similar issue somewhere else in your code.
> + }
> + }
> +
> + if (ieee80211_is_data_qos(wh->frame_control) &&
> + ieee80211_has_a4(wh->frame_control)) {
> + u8 *qc = ieee80211_get_qos_ctl(wh);
> +
> + if (*qc & IEEE80211_QOS_CTL_A_MSDU_PRESENT)
> + if (mwl_rx_process_mesh_amsdu(priv, prx_skb,
> + &status))
This sounds to be something you want to teach mac80211 about.
[snip]
> +
> +#define SYSADPT_AMSDU_FW_MAX_SIZE 3300
> +
> +#define SYSADPT_AMSDU_4K_MAX_SIZE SYSADPT_AMSDU_FW_MAX_SIZE
> +
> +#define SYSADPT_AMSDU_8K_MAX_SIZE SYSADPT_AMSDU_FW_MAX_SIZE
In case the FW will grow later?
> +
> +#define SYSADPT_AMSDU_ALLOW_SIZE 1600
> +
> +#define SYSADPT_AMSDU_FLUSH_TIME 500
> +
> +#define SYSADPT_AMSDU_PACKET_THRESHOLD 10
> +
> +#define SYSADPT_MAX_TID 8
> +
> +#endif /* _mwl_sysadpt_h_ */
> diff --git a/drivers/net/wireless/marvell/mwlwifi/tx.c b/drivers/net/wireless/marvell/mwlwifi/tx.c
> new file mode 100644
> index 0000000..68a994d
> --- /dev/null
> +++ b/drivers/net/wireless/marvell/mwlwifi/tx.c
> @@ -0,0 +1,1251 @@
> +/*
> + * Copyright (C) 2006-2015, Marvell International Ltd.
> + *
> + * This software file (the "File") is distributed by Marvell International
> + * Ltd. under the terms of the GNU General Public License Version 2, June 1991
> + * (the "License"). You may use, redistribute and/or modify this File in
> + * accordance with the terms and conditions of the License, a copy of which
> + * is available by writing to the Free Software Foundation, Inc.
> + *
> + * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
> + * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
> + * ARE EXPRESSLY DISCLAIMED. The License provides additional details about
> + * this warranty disclaimer.
> + */
> +
> +/* Description: This file implements transmit related functions. */
> +
> +#include <linux/etherdevice.h>
> +#include <linux/skbuff.h>
> +
> +#include "sysadpt.h"
> +#include "dev.h"
> +#include "fwcmd.h"
> +#include "tx.h"
> +
> +#define MAX_NUM_TX_RING_BYTES (SYSADPT_MAX_NUM_TX_DESC * \
> + sizeof(struct mwl_tx_desc))
> +
> +#define MAX_NUM_TX_HNDL_BYTES (SYSADPT_MAX_NUM_TX_DESC * \
> + sizeof(struct mwl_tx_hndl))
> +
> +#define EAGLE_TXD_XMITCTRL_USE_MC_RATE 0x8 /* Use multicast data rate */
> +
> +#define MWL_QOS_ACK_POLICY_MASK 0x0060
> +#define MWL_QOS_ACK_POLICY_NORMAL 0x0000
> +#define MWL_QOS_ACK_POLICY_BLOCKACK 0x0060
> +
> +#define EXT_IV 0x20
> +#define INCREASE_IV(iv16, iv32) \
> +{ \
> + (iv16)++; \
> + if ((iv16) == 0) \
> + (iv32)++; \
> +}
> +
> +/* Transmit rate information constants */
> +#define TX_RATE_FORMAT_LEGACY 0
> +#define TX_RATE_FORMAT_11N 1
> +#define TX_RATE_FORMAT_11AC 2
> +
> +#define TX_RATE_BANDWIDTH_20 0
> +#define TX_RATE_BANDWIDTH_40 1
> +#define TX_RATE_BANDWIDTH_80 2
> +
> +#define TX_RATE_INFO_STD_GI 0
> +#define TX_RATE_INFO_SHORT_GI 1
> +
> +enum {
> + IEEE_TYPE_MANAGEMENT = 0,
> + IEEE_TYPE_CONTROL,
> + IEEE_TYPE_DATA
> +};
> +
> +struct ccmp_hdr {
> + __le16 iv16;
> + u8 rsvd;
> + u8 key_id;
> + __le32 iv32;
> +} __packed;
> +
> +static int mwl_tx_ring_alloc(struct mwl_priv *priv)
> +{
> + struct mwl_desc_data *desc;
> + int num;
> + u8 *mem;
> +
> + desc = &priv->desc_data[0];
> +
> + mem = dma_alloc_coherent(&priv->pdev->dev,
> + MAX_NUM_TX_RING_BYTES *
> + SYSADPT_NUM_OF_DESC_DATA,
> + &desc->pphys_tx_ring,
> + GFP_KERNEL);
> +
> + if (!mem) {
> + wiphy_err(priv->hw->wiphy, "cannot alloc mem\n");
> + return -ENOMEM;
> + }
> +
> + for (num = 0; num < SYSADPT_NUM_OF_DESC_DATA; num++) {
> + desc = &priv->desc_data[num];
> +
> + desc->ptx_ring = (struct mwl_tx_desc *)
> + (mem + num * MAX_NUM_TX_RING_BYTES);
> +
> + desc->pphys_tx_ring = (dma_addr_t)
> + ((u32)priv->desc_data[0].pphys_tx_ring +
> + num * MAX_NUM_TX_RING_BYTES);
> +
> + memset(desc->ptx_ring, 0x00,
> + MAX_NUM_TX_RING_BYTES);
> + }
> +
> + mem = kmalloc(MAX_NUM_TX_HNDL_BYTES * SYSADPT_NUM_OF_DESC_DATA,
> + GFP_KERNEL);
> +
> + if (!mem) {
> + wiphy_err(priv->hw->wiphy, "cannot alloc mem\n");
> + dma_free_coherent(&priv->pdev->dev,
> + MAX_NUM_TX_RING_BYTES *
> + SYSADPT_NUM_OF_DESC_DATA,
> + priv->desc_data[0].ptx_ring,
> + priv->desc_data[0].pphys_tx_ring);
> + return -ENOMEM;
> + }
> +
> + for (num = 0; num < SYSADPT_NUM_OF_DESC_DATA; num++) {
> + desc = &priv->desc_data[num];
> +
> + desc->tx_hndl = (struct mwl_tx_hndl *)
> + (mem + num * MAX_NUM_TX_HNDL_BYTES);
> +
> + memset(desc->tx_hndl, 0x00,
> + MAX_NUM_TX_HNDL_BYTES);
> + }
> +
> + return 0;
> +}
> +
> +static int mwl_tx_ring_init(struct mwl_priv *priv)
> +{
> + int num, i;
> + struct mwl_desc_data *desc;
> +
> + for (num = 0; num < SYSADPT_NUM_OF_DESC_DATA; num++) {
> + skb_queue_head_init(&priv->txq[num]);
> + priv->fw_desc_cnt[num] = 0;
> +
> + desc = &priv->desc_data[num];
> +
> + if (desc->ptx_ring) {
> + for (i = 0; i < SYSADPT_MAX_NUM_TX_DESC; i++) {
> + desc->ptx_ring[i].status =
> + cpu_to_le32(EAGLE_TXD_STATUS_IDLE);
> + desc->ptx_ring[i].pphys_next =
> + cpu_to_le32((u32)desc->pphys_tx_ring +
> + ((i + 1) * sizeof(struct mwl_tx_desc)));
> + desc->tx_hndl[i].pdesc =
> + &desc->ptx_ring[i];
> + if (i < SYSADPT_MAX_NUM_TX_DESC - 1)
> + desc->tx_hndl[i].pnext =
> + &desc->tx_hndl[i + 1];
> + }
> + desc->ptx_ring[SYSADPT_MAX_NUM_TX_DESC - 1].pphys_next =
> + cpu_to_le32((u32)desc->pphys_tx_ring);
> + desc->tx_hndl[SYSADPT_MAX_NUM_TX_DESC - 1].pnext =
> + &desc->tx_hndl[0];
> +
> + desc->pstale_tx_hndl = &desc->tx_hndl[0];
> + desc->pnext_tx_hndl = &desc->tx_hndl[0];
> + } else {
> + wiphy_err(priv->hw->wiphy, "no valid TX mem\n");
> + return -ENOMEM;
> + }
> + }
> +
> + return 0;
> +}
> +
> +static void mwl_tx_ring_cleanup(struct mwl_priv *priv)
> +{
> + int cleaned_tx_desc = 0;
> + int num, i;
> + struct mwl_desc_data *desc;
> +
> + for (num = 0; num < SYSADPT_NUM_OF_DESC_DATA; num++) {
> + skb_queue_purge(&priv->txq[num]);
> + priv->fw_desc_cnt[num] = 0;
> +
> + desc = &priv->desc_data[num];
> +
> + if (desc->ptx_ring) {
> + for (i = 0; i < SYSADPT_MAX_NUM_TX_DESC; i++) {
> + if (!desc->tx_hndl[i].psk_buff)
> + continue;
> +
> + wiphy_info(priv->hw->wiphy,
> + "unmapped and free'd %i 0x%p 0x%x\n",
> + i,
> + desc->tx_hndl[i].psk_buff->data,
> + le32_to_cpu(
> + desc->ptx_ring[i].pkt_ptr));
> + pci_unmap_single(priv->pdev,
> + le32_to_cpu(
> + desc->ptx_ring[i].pkt_ptr),
> + desc->tx_hndl[i].psk_buff->len,
> + PCI_DMA_TODEVICE);
> + dev_kfree_skb_any(desc->tx_hndl[i].psk_buff);
> + desc->ptx_ring[i].status =
> + cpu_to_le32(EAGLE_TXD_STATUS_IDLE);
> + desc->ptx_ring[i].pkt_ptr = 0;
> + desc->ptx_ring[i].pkt_len = 0;
> + desc->tx_hndl[i].psk_buff = NULL;
> + cleaned_tx_desc++;
> + }
> + }
> + }
> +
> + wiphy_info(priv->hw->wiphy, "cleaned %i TX descr\n", cleaned_tx_desc);
> +}
> +
> +static void mwl_tx_ring_free(struct mwl_priv *priv)
> +{
> + int num;
> +
> + if (priv->desc_data[0].ptx_ring) {
> + dma_free_coherent(&priv->pdev->dev,
> + MAX_NUM_TX_RING_BYTES *
> + SYSADPT_NUM_OF_DESC_DATA,
> + priv->desc_data[0].ptx_ring,
> + priv->desc_data[0].pphys_tx_ring);
> + }
> +
> + for (num = 0; num < SYSADPT_NUM_OF_DESC_DATA; num++) {
> + if (priv->desc_data[num].ptx_ring)
> + priv->desc_data[num].ptx_ring = NULL;
> + priv->desc_data[num].pstale_tx_hndl = NULL;
> + priv->desc_data[num].pnext_tx_hndl = NULL;
> + }
> +
> + kfree(priv->desc_data[0].tx_hndl);
> +}
> +
> +static inline void mwl_tx_add_dma_header(struct mwl_priv *priv,
> + struct sk_buff *skb,
> + int head_pad,
> + int tail_pad)
> +{
> + struct ieee80211_hdr *wh;
> + int hdrlen;
> + int reqd_hdrlen;
> + struct mwl_dma_data *tr;
> +
> + /* Add a firmware DMA header; the firmware requires that we
> + * present a 2-byte payload length followed by a 4-address
> + * header (without QoS field), followed (optionally) by any
> + * WEP/ExtIV header (but only filled in for CCMP).
> + */
> + wh = (struct ieee80211_hdr *)skb->data;
> +
> + hdrlen = ieee80211_hdrlen(wh->frame_control);
> +
> + reqd_hdrlen = sizeof(*tr) + head_pad;
> +
> + if (hdrlen != reqd_hdrlen)
> + skb_push(skb, reqd_hdrlen - hdrlen);
> +
> + if (ieee80211_is_data_qos(wh->frame_control))
> + hdrlen -= IEEE80211_QOS_CTL_LEN;
> +
> + tr = (struct mwl_dma_data *)skb->data;
> +
> + if (wh != &tr->wh)
> + memmove(&tr->wh, wh, hdrlen);
> +
> + if (hdrlen != sizeof(tr->wh))
> + memset(((void *)&tr->wh) + hdrlen, 0, sizeof(tr->wh) - hdrlen);
> +
> + /* Firmware length is the length of the fully formed "802.11
> + * payload". That is, everything except for the 802.11 header.
> + * This includes all crypto material including the MIC.
> + */
> + tr->fwlen = cpu_to_le16(skb->len - sizeof(*tr) + tail_pad);
> +}
> +
> +static inline void mwl_tx_encapsulate_frame(struct mwl_priv *priv,
> + struct sk_buff *skb,
> + struct ieee80211_key_conf *k_conf,
> + bool *ccmp)
> +{
> + int head_pad = 0;
> + int data_pad = 0;
> +
> + /* Make sure the packet header is in the DMA header format (4-address
> + * without QoS), and add head & tail padding when HW crypto is enabled.
> + *
> + * We have the following trailer padding requirements:
> + * - WEP: 4 trailer bytes (ICV)
> + * - TKIP: 12 trailer bytes (8 MIC + 4 ICV)
> + * - CCMP: 8 trailer bytes (MIC)
> + */
> +
> + if (k_conf) {
> + head_pad = k_conf->iv_len;
> +
> + switch (k_conf->cipher) {
> + case WLAN_CIPHER_SUITE_WEP40:
> + case WLAN_CIPHER_SUITE_WEP104:
> + data_pad = 4;
> + break;
> + case WLAN_CIPHER_SUITE_TKIP:
> + data_pad = 12;
> + break;
> + case WLAN_CIPHER_SUITE_CCMP:
> + data_pad = 8;
> + *ccmp = true;
> + break;
> + }
> + }
> +
> + mwl_tx_add_dma_header(priv, skb, head_pad, data_pad);
> +}
> +
> +static inline void mwl_tx_insert_ccmp_hdr(u8 *pccmp_hdr,
> + u8 key_id, u16 iv16, u32 iv32)
> +{
> + struct ccmp_hdr *ccmp_h = (struct ccmp_hdr *)pccmp_hdr;
> +
> + ccmp_h->iv16 = cpu_to_le16(iv16);
> + ccmp_h->rsvd = 0;
> + ccmp_h->key_id = EXT_IV | (key_id << 6);
> + ccmp_h->iv32 = cpu_to_le32(iv32);
> +}
> +
> +static inline int mwl_tx_tid_queue_mapping(u8 tid)
> +{
> + switch (tid) {
> + case 0:
> + case 3:
> + return IEEE80211_AC_BE;
> + case 1:
> + case 2:
> + return IEEE80211_AC_BK;
> + case 4:
> + case 5:
> + return IEEE80211_AC_VI;
> + case 6:
> + case 7:
> + return IEEE80211_AC_VO;
> + default:
> + break;
> + }
> +
> + return -1;
> +}
> +
> +static inline void mwl_tx_count_packet(struct ieee80211_sta *sta, u8 tid)
> +{
> + struct mwl_sta *sta_info;
> + struct mwl_tx_info *tx_stats;
> +
> + if (WARN_ON(tid >= SYSADPT_MAX_TID))
> + return;
> +
> + sta_info = mwl_dev_get_sta(sta);
> +
> + tx_stats = &sta_info->tx_stats[tid];
> +
> + if (tx_stats->start_time == 0)
> + tx_stats->start_time = jiffies;
> +
> + /* reset the packet count after each second elapses. If the number of
> + * packets ever exceeds the ampdu_min_traffic threshold, we will allow
> + * an ampdu stream to be started.
> + */
> + if (jiffies - tx_stats->start_time > HZ) {
> + tx_stats->pkts = 0;
> + tx_stats->start_time = 0;
> + } else {
> + tx_stats->pkts++;
> + }
> +}
> +
> +static inline bool mwl_tx_available(struct mwl_priv *priv, int desc_num)
> +{
> + struct mwl_tx_hndl *tx_hndl;
> +
> + tx_hndl = priv->desc_data[desc_num].pnext_tx_hndl;
> +
> + if (!tx_hndl->pdesc)
> + return false;
> +
> + if (tx_hndl->pdesc->status != EAGLE_TXD_STATUS_IDLE) {
> + /* Interrupt F/W anyway */
> + if (tx_hndl->pdesc->status &
> + cpu_to_le32(EAGLE_TXD_STATUS_FW_OWNED))
> + writel(MACREG_H2ARIC_BIT_PPA_READY,
> + priv->iobase1 +
> + MACREG_REG_H2A_INTERRUPT_EVENTS);
> + return false;
> + }
> +
> + return true;
> +}
> +
> +static inline void mwl_tx_skb(struct mwl_priv *priv, int desc_num,
> + struct sk_buff *tx_skb)
> +{
> + struct ieee80211_tx_info *tx_info;
> + struct mwl_tx_ctrl *tx_ctrl;
> + struct mwl_tx_hndl *tx_hndl;
> + struct mwl_tx_desc *tx_desc;
> + struct ieee80211_sta *sta;
> + struct ieee80211_vif *vif;
> + struct mwl_vif *mwl_vif;
> + struct ieee80211_key_conf *k_conf;
> + bool ccmp = false;
> + struct mwl_dma_data *dma_data;
> + struct ieee80211_hdr *wh;
> + dma_addr_t dma;
> +
> + if (WARN_ON(!tx_skb))
> + return;
> +
> + tx_info = IEEE80211_SKB_CB(tx_skb);
> + tx_ctrl = (struct mwl_tx_ctrl *)&tx_info->status;
> + sta = (struct ieee80211_sta *)tx_ctrl->sta;
> + vif = (struct ieee80211_vif *)tx_ctrl->vif;
> + mwl_vif = mwl_dev_get_vif(vif);
> + k_conf = (struct ieee80211_key_conf *)tx_ctrl->k_conf;
> +
> + mwl_tx_encapsulate_frame(priv, tx_skb, k_conf, &ccmp);
> +
> + dma_data = (struct mwl_dma_data *)tx_skb->data;
> + wh = &dma_data->wh;
> +
> + if (ieee80211_is_data(wh->frame_control)) {
> + if (is_multicast_ether_addr(wh->addr1)) {
> + if (ccmp) {
> + mwl_tx_insert_ccmp_hdr(dma_data->data,
> + mwl_vif->keyidx,
> + mwl_vif->iv16,
> + mwl_vif->iv32);
> + INCREASE_IV(mwl_vif->iv16, mwl_vif->iv32);
> + }
> + } else {
> + if (ccmp) {
> + if (vif->type == NL80211_IFTYPE_STATION) {
> + mwl_tx_insert_ccmp_hdr(dma_data->data,
> + mwl_vif->keyidx,
> + mwl_vif->iv16,
> + mwl_vif->iv32);
> + INCREASE_IV(mwl_vif->iv16,
> + mwl_vif->iv32);
> + } else {
> + struct mwl_sta *sta_info;
> +
> + sta_info = mwl_dev_get_sta(sta);
> +
> + mwl_tx_insert_ccmp_hdr(dma_data->data,
> + 0,
> + sta_info->iv16,
> + sta_info->iv32);
> + INCREASE_IV(sta_info->iv16,
> + sta_info->iv32);
> + }
> + }
> + }
> + }
> +
> + tx_hndl = priv->desc_data[desc_num].pnext_tx_hndl;
> + tx_hndl->psk_buff = tx_skb;
> + tx_desc = tx_hndl->pdesc;
> + tx_desc->tx_priority = tx_ctrl->tx_priority;
> + tx_desc->qos_ctrl = cpu_to_le16(tx_ctrl->qos_ctrl);
> + tx_desc->pkt_len = cpu_to_le16(tx_skb->len);
> + tx_desc->packet_info = 0;
> + tx_desc->data_rate = 0;
> + tx_desc->type = tx_ctrl->type;
> + tx_desc->xmit_control = tx_ctrl->xmit_control;
> + tx_desc->sap_pkt_info = 0;
> + dma = pci_map_single(priv->pdev, tx_skb->data,
> + tx_skb->len, PCI_DMA_TODEVICE);
> + if (pci_dma_mapping_error(priv->pdev, dma)) {
> + dev_kfree_skb_any(tx_skb);
> + wiphy_err(priv->hw->wiphy,
> + "failed to map pci memory!\n");
> + return;
> + }
> + tx_desc->pkt_ptr = cpu_to_le32(dma);
> + tx_desc->status = cpu_to_le32(EAGLE_TXD_STATUS_FW_OWNED);
> + /* make sure all the memory transactions done by cpu were completed */
> + wmb(); /*Data Memory Barrier*/
> + writel(MACREG_H2ARIC_BIT_PPA_READY,
> + priv->iobase1 + MACREG_REG_H2A_INTERRUPT_EVENTS);
> + priv->desc_data[desc_num].pnext_tx_hndl = tx_hndl->pnext;
> + priv->fw_desc_cnt[desc_num]++;
> +}
> +
> +static inline struct sk_buff *mwl_tx_do_amsdu(struct mwl_priv *priv,
> + int desc_num,
> + struct sk_buff *tx_skb,
> + struct ieee80211_tx_info *tx_info)
> +{
> + struct ieee80211_sta *sta;
> + struct mwl_sta *sta_info;
> + struct mwl_tx_ctrl *tx_ctrl = (struct mwl_tx_ctrl *)&tx_info->status;
> + struct ieee80211_tx_info *amsdu_info;
> + struct sk_buff_head *amsdu_pkts;
> + struct mwl_amsdu_frag *amsdu;
> + int amsdu_allow_size;
> + struct ieee80211_hdr *wh;
> + int wh_len;
> + u16 len;
> + u8 *data;
> +
> + sta = (struct ieee80211_sta *)tx_ctrl->sta;
> + sta_info = mwl_dev_get_sta(sta);
> +
> + if (!sta_info->is_amsdu_allowed)
> + return tx_skb;
> +
> + wh = (struct ieee80211_hdr *)tx_skb->data;
> + if (sta_info->is_mesh_node && is_multicast_ether_addr(wh->addr3))
> + return tx_skb;
> +
> + if (sta_info->amsdu_ctrl.cap == MWL_AMSDU_SIZE_4K)
> + amsdu_allow_size = SYSADPT_AMSDU_4K_MAX_SIZE;
> + else if (sta_info->amsdu_ctrl.cap == MWL_AMSDU_SIZE_8K)
> + amsdu_allow_size = SYSADPT_AMSDU_8K_MAX_SIZE;
> + else
> + return tx_skb;
> +
> + spin_lock_bh(&sta_info->amsdu_lock);
> + amsdu = &sta_info->amsdu_ctrl.frag[desc_num];
> +
> + if (tx_skb->len > SYSADPT_AMSDU_ALLOW_SIZE) {
> + if (amsdu->num) {
> + mwl_tx_skb(priv, desc_num, amsdu->skb);
> + amsdu->num = 0;
> + amsdu->cur_pos = NULL;
> +
> + if (!mwl_tx_available(priv, desc_num)) {
> + skb_queue_head(&priv->txq[desc_num], tx_skb);
> + spin_unlock_bh(&sta_info->amsdu_lock);
> + return NULL;
> + }
> + }
> + spin_unlock_bh(&sta_info->amsdu_lock);
> + return tx_skb;
> + }
> +
> + /* potential amsdu size, should add amsdu header 14 bytes +
> + * maximum padding 3.
> + */
> + wh_len = ieee80211_hdrlen(wh->frame_control);
> + len = tx_skb->len - wh_len + 17;
> +
> + if (amsdu->num) {
> + if ((amsdu->skb->len + len) > amsdu_allow_size) {
> + mwl_tx_skb(priv, desc_num, amsdu->skb);
> + amsdu->num = 0;
> + amsdu->cur_pos = NULL;
> + }
> + }
> +
> + amsdu->jiffies = jiffies;
> + len = tx_skb->len - wh_len;
> +
> + if (amsdu->num == 0) {
> + struct sk_buff *newskb;
> +
> + amsdu_pkts = (struct sk_buff_head *)
> + kmalloc(sizeof(*amsdu_pkts), GFP_KERNEL);
> + if (!amsdu_pkts) {
> + spin_unlock_bh(&sta_info->amsdu_lock);
> + return tx_skb;
> + }
> + newskb = dev_alloc_skb(amsdu_allow_size +
> + SYSADPT_MIN_BYTES_HEADROOM);
> + if (!newskb) {
> + spin_unlock_bh(&sta_info->amsdu_lock);
> + kfree(amsdu_pkts);
> + return tx_skb;
> + }
> +
> + data = newskb->data;
> + memcpy(data, tx_skb->data, wh_len);
> + if (sta_info->is_mesh_node) {
> + ether_addr_copy(data + wh_len, wh->addr3);
> + ether_addr_copy(data + wh_len + ETH_ALEN, wh->addr4);
> + } else {
> + ether_addr_copy(data + wh_len,
> + ieee80211_get_DA(wh));
> + ether_addr_copy(data + wh_len + ETH_ALEN,
> + ieee80211_get_SA(wh));
> + }
> + *(u8 *)(data + wh_len + ETH_HLEN - 1) = len & 0xff;
> + *(u8 *)(data + wh_len + ETH_HLEN - 2) = (len >> 8) & 0xff;
These bit oeprations are not needed. The pointer must be WORD aligned, right?
This is why you have padding after all, unless you have some weird DMA games?
You seem to be assuming this alignment anyway because you use
ether_addr_copy above.
> +
> + /* Queue ADDBA request in the respective data queue. While setting up
> + * the ampdu stream, mac80211 queues further packets for that
> + * particular ra/tid pair. However, packets piled up in the hardware
> + * for that ra/tid pair will still go out. ADDBA request and the
> + * related data packets going out from different queues asynchronously
> + * will cause a shift in the receiver window which might result in
> + * ampdu packets getting dropped at the receiver after the stream has
> + * been setup.
> + */
Here is the race you are facing and that race can be avoided by the proper usage
of the _cb
> + if (mgmtframe) {
> + u16 capab;
> +
> + if (unlikely(ieee80211_is_action(wh->frame_control) &&
> + mgmt->u.action.category == WLAN_CATEGORY_BACK &&
> + mgmt->u.action.u.addba_req.action_code ==
> + WLAN_ACTION_ADDBA_REQ)) {
> + capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab);
> + tid = (capab & IEEE80211_ADDBA_PARAM_TID_MASK) >> 2;
> + index = mwl_tx_tid_queue_mapping(tid);
> + capab |= 1;
> + mgmt->u.action.u.addba_req.capab = cpu_to_le16(capab);
> + }
> +
> + if (unlikely(ieee80211_is_action(wh->frame_control) &&
> + mgmt->u.action.category == WLAN_CATEGORY_BACK &&
> + mgmt->u.action.u.addba_resp.action_code ==
> + WLAN_ACTION_ADDBA_RESP)) {
> + capab = le16_to_cpu(mgmt->u.action.u.addba_resp.capab);
> + capab |= 1;
> + mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab);
> + }
> + }
> +
> + index = SYSADPT_TX_WMM_QUEUES - index - 1;
> + txpriority = index;
> +
> + if (sta && sta->ht_cap.ht_supported && !eapol_frame &&
> + ieee80211_is_data_qos(wh->frame_control)) {
> + tid = qos & 0xf;
> + mwl_tx_count_packet(sta, tid);
> +
> + spin_lock_bh(&priv->stream_lock);
> + stream = mwl_fwcmd_lookup_stream(hw, sta->addr, tid);
> +
> + if (stream) {
> + if (stream->state == AMPDU_STREAM_ACTIVE) {
> + if (WARN_ON(!(qos &
> + MWL_QOS_ACK_POLICY_BLOCKACK))) {
> + spin_unlock_bh(&priv->stream_lock);
> + dev_kfree_skb_any(skb);
> + return;
> + }
> +
> + txpriority =
> + (SYSADPT_TX_WMM_QUEUES + stream->idx) %
> + SYSADPT_TOTAL_HW_QUEUES;
> + } else if (stream->state == AMPDU_STREAM_NEW) {
> + /* We get here if the driver sends us packets
> + * after we've initiated a stream, but before
> + * our ampdu_action routine has been called
> + * with IEEE80211_AMPDU_TX_START to get the SSN
> + * for the ADDBA request. So this packet can
> + * go out with no risk of sequence number
> + * mismatch. No special handling is required.
> + */
> + } else {
> + /* Drop packets that would go out after the
> + * ADDBA request was sent but before the ADDBA
> + * response is received. If we don't do this,
> + * the recipient would probably receive it
> + * after the ADDBA request with SSN 0. This
> + * will cause the recipient's BA receive window
> + * to shift, which would cause the subsequent
> + * packets in the BA stream to be discarded.
> + * mac80211 queues our packets for us in this
> + * case, so this is really just a safety check.
> + */
Well... I think you can really avoid that.
David Lin <[email protected]> writes:
> This patch provides the mwlwifi driver for Marvell 8863, 8864 and 8897
> chipsets.
> This driver was developed as part of the openwrt.org project to support
> Linksys WRT1900AC and is maintained on https://github.com/kaloz/mwlwifi.
>
> The mwlwifi driver differs from existing mwifiex driver:
> o mwlwifi is a "softmac driver" using the kernel? mac802.11 subsystem
> to provide full AP/Wireless Bridge functionality (routers).
> o mwifiex is a "fullmac driver" which provides a comprehensive set of
> client functions (laptops/embedded devices)
> o only mwlwifi supports Marvell AP chip 886X series
>
> NOTE: Users with Marvell 88W8897 chipsets currently should enable
> (CONFIG=Y or M) either CONFIG_MWIFIEX or CONFIG_MWLWIFI, NOT BOTH.
>
> mwlwifi driver leveraged code from existing MWL8K driver in the
> following areas:
> - 802.11n setting for mac80211
> - Functions needed to hook up to mac80211
> - Interactions with mac80211 to establish BA streams
> - Partial firmware APIs, some data fields
> - Method to pass Rx packets to mac80211 except 11ac rates
>
> In addition, mwlwifi driver supports:
> - future scalability and future development (refactored source code)
> - Marvell 802.11ac chipsets, including combo BT devices
> - 802.11ac related settings and functions
> - concurrent AP+STA functionalities with single firmware per chip
> - firmware APIs for the supported chipset
> - communicating new mac80211 settings to firmware
> - Different TX/RX datapath where applicable
> - A-MSDU and A-MPDU
> - mac80211-based MESH (work in progress)
> - Refined the code to establish BA streams
>
> NOTE: MWLWIFI will be organized under new vendor specific folder/marvell,
> as per request of the gate keeper and community.
>
> Signed-off-by: David Lin <[email protected]>
I don't see any changelog, please always provide one. Makes review a lot
easier.
Also I hope you are not adding new features anymore. It's better to
freeze the driver and focus on getting the driver accepted. Once that is
done you can submit new features as separate patches. Otherwise we go
back to square one after every review.
--
Kalle Valo
David Lin <[email protected]> writes:
>> > +#define MWL_DRV_NAME KBUILD_MODNAME
>> > +#define MWL_DRV_VERSION "10.3.0.14"
>>
>> versions like that are generally fairly useless since you don't update them for
>> every commit ...
>>
>
> We still need version information for formal release.
Then use git commit ids for tracking the driver version. Using manual
version strings for drivers don't work, it has been tried multiple times
and they are always out of sync.
--
Kalle Valo
David Lin <[email protected]> writes:
> This patch provides the mwlwifi driver for Marvell 8863, 8864 and 8897
> chipsets.
> This driver was developed as part of the openwrt.org project to support
> Linksys WRT1900AC and is maintained on https://github.com/kaloz/mwlwifi.
>
> The mwlwifi driver differs from existing mwifiex driver:
> o mwlwifi is a "softmac driver" using the kernel? mac802.11 subsystem
> to provide full AP/Wireless Bridge functionality (routers).
> o mwifiex is a "fullmac driver" which provides a comprehensive set of
> client functions (laptops/embedded devices)
> o only mwlwifi supports Marvell AP chip 886X series
>
> NOTE: Users with Marvell 88W8897 chipsets currently should enable
> (CONFIG=Y or M) either CONFIG_MWIFIEX or CONFIG_MWLWIFI, NOT BOTH.
>
> mwlwifi driver leveraged code from existing MWL8K driver in the
> following areas:
> - 802.11n setting for mac80211
> - Functions needed to hook up to mac80211
> - Interactions with mac80211 to establish BA streams
> - Partial firmware APIs, some data fields
> - Method to pass Rx packets to mac80211 except 11ac rates
>
> In addition, mwlwifi driver supports:
> - future scalability and future development (refactored source code)
> - Marvell 802.11ac chipsets, including combo BT devices
> - 802.11ac related settings and functions
> - concurrent AP+STA functionalities with single firmware per chip
> - firmware APIs for the supported chipset
> - communicating new mac80211 settings to firmware
> - Different TX/RX datapath where applicable
> - A-MSDU and A-MPDU
> - mac80211-based MESH (work in progress)
> - Refined the code to establish BA streams
>
> NOTE: MWLWIFI will be organized under new vendor specific folder/marvell,
> as per request of the gate keeper and community.
>
> Signed-off-by: David Lin <[email protected]>
This seems to use base64 encoding, how did you submit this? 'git
send-email' tool is strongly preferred.
Content-Transfer-Encoding: base64
I applied this to pending branch and saw few easy conflicts with Kconfig
files and Makefiles, I guess you submitted this patch before I added the
vendor directories. Let's see what kbuild finds but I already saw two
warnings:
drivers/net/wireless/marvell/mwlwifi/main.c:160:20: warning: incorrect type in argument 1 (different address spaces)
drivers/net/wireless/marvell/mwlwifi/main.c:160:20: expected void const *ptr
drivers/net/wireless/marvell/mwlwifi/main.c:160:20: got void [noderef] <asn:2>*[assigned] addr
drivers/net/wireless/marvell/mwlwifi/main.c:171:20: warning: incorrect type in argument 1 (different address spaces)
drivers/net/wireless/marvell/mwlwifi/main.c:171:20: expected void const *ptr
drivers/net/wireless/marvell/mwlwifi/main.c:171:20: got void [noderef] <asn:2>*[assigned] addr
--
Kalle Valo
> Kan Yan writes:
>
> David Lin <dlin@...> writes:
>
> > +static inline struct sk_buff *mwl_tx_do_amsdu(struct mwl_priv *priv,
> > + int desc_num,
> > ...
> > + amsdu_pkts = (struct sk_buff_head *)
> > + kmalloc(sizeof(*amsdu_pkts), GFP_KERNEL);
> > + if (!amsdu_pkts) {
>
> Should GFP_ATOMIC be used here instead of GFP_KERNEL? This function could
> be called in interrupt context.
>
Thanks. I will fix it.
> --
> 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
PiBLYWxsZSBWYWxvIFttYWlsdG86a3ZhbG9AY29kZWF1cm9yYS5vcmddIHdyb3RlOg0KPiANCj4g
RGF2aWQgTGluIDxkbGluQG1hcnZlbGwuY29tPiB3cml0ZXM6DQo+IA0KPiA+IFRoaXMgcGF0Y2gg
cHJvdmlkZXMgdGhlIG13bHdpZmkgZHJpdmVyIGZvciBNYXJ2ZWxsIDg4NjMsIDg4NjQgYW5kIDg4
OTcNCj4gPiBjaGlwc2V0cy4NCj4gPiBUaGlzIGRyaXZlciB3YXMgZGV2ZWxvcGVkIGFzIHBhcnQg
b2YgdGhlIG9wZW53cnQub3JnIHByb2plY3QgdG8NCj4gPiBzdXBwb3J0IExpbmtzeXMgV1JUMTkw
MEFDIGFuZCBpcyBtYWludGFpbmVkIG9uDQo+IGh0dHBzOi8vZ2l0aHViLmNvbS9rYWxvei9td2x3
aWZpL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PiA+ICsgICAgICAgICAg
ICAgICAgICAgICAgIHJjID0gLUVQRVJNOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIGJy
ZWFrOw0KPiA+ICsgICAgICAgICAgICAgICB9DQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAgICBp
ZiAoIXN0cmVhbSkgew0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIHN0cmVhbSA9IG13bF9m
d2NtZF9hZGRfc3RyZWFtKGh3LCBzdGEsDQo+IHRpZCk7DQo+ID4gKyAgICAgICAgICAgICAgICAg
ICAgICAgaWYgKCFzdHJlYW0pIHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IHdpcGh5X3dhcm4oaHctPndpcGh5LCAibm8gc3RyZWFtDQo+IGZvdW5kXG4iKTsNCj4gPiArICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJjID0gLUVQRVJNOw0KPiA+ICsgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAg
fQ0KPiA+ICsgICAgICAgICAgICAgICB9DQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAgICBzcGlu
X3VubG9ja19iaCgmcHJpdi0+c3RyZWFtX2xvY2spOw0KPiA+ICsgICAgICAgICAgICAgICByYyA9
IG13bF9md2NtZF9jaGVja19iYShodywgc3RyZWFtLCB2aWYpOw0KPiA+ICsgICAgICAgICAgICAg
ICBzcGluX2xvY2tfYmgoJnByaXYtPnN0cmVhbV9sb2NrKTsNCj4gPiArICAgICAgICAgICAgICAg
aWYgKHJjKSB7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgbXdsX2Z3Y21kX3JlbW92ZV9z
dHJlYW0oaHcsIHN0cmVhbSk7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgd2lwaHlfZXJy
KGh3LT53aXBoeSwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC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WF9O
VU1fVFhfUklOR19CWVRFUyAqDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
U1lTQURQVF9OVU1fT0ZfREVTQ19EQVRBLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICZkZXNjLT5wcGh5c190eF9yaW5nLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIEdGUF9LRVJORUwpOw0KPiA+ICsNCj4gPiArICAgICAgIGlmICghbWVtKSB7DQo+
ID4gKyAgICAgICAgICAgICAgIHdpcGh5X2Vycihwcml2LT5ody0+d2lwaHksICJjYW5ub3QgYWxs
b2MgbWVtXG4iKTsNCj4gPiArICAgICAgICAgICAgICAgcmV0dXJuIC1FTk9NRU07DQo+ID4gKyAg
ICAgICB9DQo+ID4gKw0KPiA+ICsgICAgICAgZm9yIChudW0gPSAwOyBudW0gPCBTWVNBRFBUX05V
TV9PRl9ERVNDX0RBVEE7IG51bSsrKSB7DQo+ID4gKyAgICAgICAgICAgICAgIGRlc2MgPSAmcHJp
di0+ZGVzY19kYXRhW251bV07DQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAgICBkZXNjLT5wdHhf
cmluZyA9IChzdHJ1Y3QgbXdsX3R4X2Rlc2MgKikNCj4gPiArICAgICAgICAgICAgICAgICAgICAg
ICAobWVtICsgbnVtICogTUFYX05VTV9UWF9SSU5HX0JZVEVTKTsNCj4gPiArDQo+ID4gKyAgICAg
ICAgICAgICAgIGRlc2MtPnBwaHlzX3R4X3JpbmcgPSAoZG1hX2FkZHJfdCkNCj4gPiArICAgICAg
ICAgICAgICAgICAgICAgICAoKHUzMilwcml2LT5kZXNjX2RhdGFbMF0ucHBoeXNfdHhfcmluZyAr
DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgbnVtICogTUFYX05VTV9UWF9SSU5HX0JZVEVT
KTsNCj4gPiArDQo+ID4gKyAgICAgICAgICAgICAgIG1lbXNldChkZXNjLT5wdHhfcmluZywgMHgw
MCwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgIE1BWF9OVU1fVFhfUklOR19CWVRFUyk7DQo+
ID4gKyAgICAgICB9DQo+ID4gKw0KPiA+ICsgICAgICAgbWVtID0ga21hbGxvYyhNQVhfTlVNX1RY
X0hORExfQllURVMgKg0KPiBTWVNBRFBUX05VTV9PRl9ERVNDX0RBVEEsDQo+ID4gKyAgICAgICAg
ICAgICAgICAgICAgIEdGUF9LRVJORUwpOw0KPiA+ICsNCj4gPiArICAgICAgIGlmICghbWVtKSB7
DQo+ID4gKyAgICAgICAgICAgICAgIHdpcGh5X2Vycihwcml2LT5ody0+d2lwaHksICJjYW5ub3Qg
YWxsb2MgbWVtXG4iKTsNCj4gPiArICAgICAgICAgICAgICAgZG1hX2ZyZWVfY29oZXJlbnQoJnBy
aXYtPnBkZXYtPmRldiwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTUFY
X05VTV9UWF9SSU5HX0JZVEVTICoNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgU1lTQURQVF9OVU1fT0ZfREVTQ19EQVRBLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICBwcml2LT5kZXNjX2RhdGFbMF0ucHR4X3JpbmcsDQo+ID4gKyAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgIHByaXYtPmRlc2NfZGF0YVswXS5wcGh5c190eF9yaW5nKTsN
Cj4gPiArICAgICAgICAgICAgICAgcmV0dXJuIC1FTk9NRU07DQo+ID4gKyAgICAgICB9DQo+ID4g
Kw0KPiA+ICsgICAgICAgZm9yIChudW0gPSAwOyBudW0gPCBTWVNBRFBUX05VTV9PRl9ERVNDX0RB
VEE7IG51bSsrKSB7DQo+ID4gKyAgICAgICAgICAgICAgIGRlc2MgPSAmcHJpdi0+ZGVzY19kYXRh
W251bV07DQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAgICBkZXNjLT50eF9obmRsID0gKHN0cnVj
dCBtd2xfdHhfaG5kbCAqKQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIChtZW0gKyBudW0g
KiBNQVhfTlVNX1RYX0hORExfQllURVMpOw0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgbWVt
c2V0KGRlc2MtPnR4X2huZGwsIDB4MDAsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICBNQVhf
TlVNX1RYX0hORExfQllURVMpOw0KPiA+ICsgICAgICAgfQ0KPiA+ICsNCj4gPiArICAgICAgIHJl
dHVybiAwOw0KPiA+ICt9DQo+ID4gKw0KPiA+ICtzdGF0aWMgaW50IG13bF90eF9yaW5nX2luaXQo
c3RydWN0IG13bF9wcml2ICpwcml2KSB7DQo+ID4gKyAgICAgICBpbnQgbnVtLCBpOw0KPiA+ICsg
ICAgICAgc3RydWN0IG13bF9kZXNjX2RhdGEgKmRlc2M7DQo+ID4gKw0KPiA+ICsgICAgICAgZm9y
IChudW0gPSAwOyBudW0gPCBTWVNBRFBUX05VTV9PRl9ERVNDX0RBVEE7IG51bSsrKSB7DQo+ID4g
KyAgICAgICAgICAgICAgIHNrYl9xdWV1ZV9oZWFkX2luaXQoJnByaXYtPnR4cVtudW1dKTsNCj4g
PiArICAgICAgICAgICAgICAgcHJpdi0+ZndfZGVzY19jbnRbbnVtXSA9IDA7DQo+ID4gKw0KPiA+
ICsgICAgICAgICAgICAgICBkZXNjID0gJnByaXYtPmRlc2NfZGF0YVtudW1dOw0KPiA+ICsNCj4g
PiArICAgICAgICAgICAgICAgaWYgKGRlc2MtPnB0eF9yaW5nKSB7DQo+ID4gKyAgICAgICAgICAg
ICAgICAgICAgICAgZm9yIChpID0gMDsgaSA8IFNZU0FEUFRfTUFYX05VTV9UWF9ERVNDOw0KPiBp
KyspIHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlc2MtPnB0eF9yaW5n
W2ldLnN0YXR1cyA9DQo+ID4gKw0KPiBjcHVfdG9fbGUzMihFQUdMRV9UWERfU1RBVFVTX0lETEUp
Ow0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVzYy0+cHR4X3JpbmdbaV0u
cHBoeXNfbmV4dCA9DQo+ID4gKw0KPiBjcHVfdG9fbGUzMigodTMyKWRlc2MtPnBwaHlzX3R4X3Jp
bmcgKw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoKGkgKyAx
KSAqIHNpemVvZihzdHJ1Y3QNCj4gbXdsX3R4X2Rlc2MpKSk7DQo+ID4gKyAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICBkZXNjLT50eF9obmRsW2ldLnBkZXNjID0NCj4gPiArICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJmRlc2MtPnB0eF9yaW5nW2ldOw0KPiA+ICsg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGkgPCBTWVNBRFBUX01BWF9OVU1fVFhf
REVTQw0KPiAtIDEpDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IGRlc2MtPnR4X2huZGxbaV0ucG5leHQgPQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICZkZXNjLT50eF9obmRsW2kNCj4gKyAxXTsNCj4gPiArICAg
ICAgICAgICAgICAgICAgICAgICB9DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgZGVzYy0+
cHR4X3JpbmdbU1lTQURQVF9NQVhfTlVNX1RYX0RFU0MNCj4gLSAxXS5wcGh5c19uZXh0ID0NCj4g
PiArDQo+IGNwdV90b19sZTMyKCh1MzIpZGVzYy0+cHBoeXNfdHhfcmluZyk7DQo+ID4gKyAgICAg
ICAgICAgICAgICAgICAgICAgZGVzYy0+dHhfaG5kbFtTWVNBRFBUX01BWF9OVU1fVFhfREVTQyAt
DQo+IDFdLnBuZXh0ID0NCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICZkZXNj
LT50eF9obmRsWzBdOw0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBkZXNjLT5w
c3RhbGVfdHhfaG5kbCA9ICZkZXNjLT50eF9obmRsWzBdOw0KPiA+ICsgICAgICAgICAgICAgICAg
ICAgICAgIGRlc2MtPnBuZXh0X3R4X2huZGwgID0gJmRlc2MtPnR4X2huZGxbMF07DQo+ID4gKyAg
ICAgICAgICAgICAgIH0gZWxzZSB7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgd2lwaHlf
ZXJyKHByaXYtPmh3LT53aXBoeSwgIm5vIHZhbGlkIFRYDQo+IG1lbVxuIik7DQo+ID4gKyAgICAg
ICAgICAgICAgICAgICAgICAgcmV0dXJuIC1FTk9NRU07DQo+ID4gKyAgICAgICAgICAgICAgIH0N
Cj4gPiArICAgICAgIH0NCj4gPiArDQo+ID4gKyAgICAgICByZXR1cm4gMDsNCj4gPiArfQ0KPiA+
ICsNCj4gPiArc3RhdGljIHZvaWQgbXdsX3R4X3JpbmdfY2xlYW51cChzdHJ1Y3QgbXdsX3ByaXYg
KnByaXYpIHsNCj4gPiArICAgICAgIGludCBjbGVhbmVkX3R4X2Rlc2MgPSAwOw0KPiA+ICsgICAg
ICAgaW50IG51bSwgaTsNCj4gPiArICAgICAgIHN0cnVjdCBtd2xfZGVzY19kYXRhICpkZXNjOw0K
PiA+ICsNCj4gPiArICAgICAgIGZvciAobnVtID0gMDsgbnVtIDwgU1lTQURQVF9OVU1fT0ZfREVT
Q19EQVRBOyBudW0rKykgew0KPiA+ICsgICAgICAgICAgICAgICBza2JfcXVldWVfcHVyZ2UoJnBy
aXYtPnR4cVtudW1dKTsNCj4gPiArICAgICAgICAgICAgICAgcHJpdi0+ZndfZGVzY19jbnRbbnVt
XSA9IDA7DQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAgICBkZXNjID0gJnByaXYtPmRlc2NfZGF0
YVtudW1dOw0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgaWYgKGRlc2MtPnB0eF9yaW5nKSB7
DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgZm9yIChpID0gMDsgaSA8IFNZU0FEUFRfTUFY
X05VTV9UWF9ERVNDOw0KPiBpKyspIHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgIGlmICghZGVzYy0+dHhfaG5kbFtpXS5wc2tfYnVmZikNCj4gPiArICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7DQo+ID4gKw0KPiA+ICsgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgd2lwaHlfaW5mbyhwcml2LT5ody0+d2lwaHksDQo+ID4gKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJ1bm1hcHBlZCBhbmQgZnJl
ZSdkDQo+ICVpIDB4JXAgMHgleFxuIiwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgaSwNCj4gPiArDQo+IGRlc2MtPnR4X2huZGxbaV0ucHNrX2J1ZmYtPmRh
dGEsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxlMzJf
dG9fY3B1KA0KPiA+ICsNCj4gZGVzYy0+cHR4X3JpbmdbaV0ucGt0X3B0cikpOw0KPiA+ICsgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgcGNpX3VubWFwX3NpbmdsZShwcml2LT5wZGV2LA0K
PiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZTMy
X3RvX2NwdSgNCj4gPiArDQo+IGRlc2MtPnB0eF9yaW5nW2ldLnBrdF9wdHIpLA0KPiA+ICsNCj4g
ZGVzYy0+dHhfaG5kbFtpXS5wc2tfYnVmZi0+bGVuLA0KPiA+ICsNCj4gUENJX0RNQV9UT0RFVklD
RSk7DQo+ID4gKw0KPiBkZXZfa2ZyZWVfc2tiX2FueShkZXNjLT50eF9obmRsW2ldLnBza19idWZm
KTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlc2MtPnB0eF9yaW5nW2ld
LnN0YXR1cyA9DQo+ID4gKw0KPiBjcHVfdG9fbGUzMihFQUdMRV9UWERfU1RBVFVTX0lETEUpOw0K
PiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVzYy0+cHR4X3JpbmdbaV0ucGt0
X3B0ciA9IDA7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXNjLT5wdHhf
cmluZ1tpXS5wa3RfbGVuID0gMDsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IGRlc2MtPnR4X2huZGxbaV0ucHNrX2J1ZmYgPSBOVUxMOw0KPiA+ICsgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgY2xlYW5lZF90eF9kZXNjKys7DQo+ID4gKyAgICAgICAgICAgICAgICAg
ICAgICAgfQ0KPiA+ICsgICAgICAgICAgICAgICB9DQo+ID4gKyAgICAgICB9DQo+ID4gKw0KPiA+
ICsgICAgICAgd2lwaHlfaW5mbyhwcml2LT5ody0+d2lwaHksICJjbGVhbmVkICVpIFRYIGRlc2Ny
XG4iLA0KPiA+ICtjbGVhbmVkX3R4X2Rlc2MpOyB9DQo+ID4gKw0KPiA+ICtzdGF0aWMgdm9pZCBt
d2xfdHhfcmluZ19mcmVlKHN0cnVjdCBtd2xfcHJpdiAqcHJpdikgew0KPiA+ICsgICAgICAgaW50
IG51bTsNCj4gPiArDQo+ID4gKyAgICAgICBpZiAocHJpdi0+ZGVzY19kYXRhWzBdLnB0eF9yaW5n
KSB7DQo+ID4gKyAgICAgICAgICAgICAgIGRtYV9mcmVlX2NvaGVyZW50KCZwcml2LT5wZGV2LT5k
ZXYsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE1BWF9OVU1fVFhfUklO
R19CWVRFUyAqDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFNZU0FEUFRf
TlVNX09GX0RFU0NfREFUQSwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
cHJpdi0+ZGVzY19kYXRhWzBdLnB0eF9yaW5nLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICBwcml2LT5kZXNjX2RhdGFbMF0ucHBoeXNfdHhfcmluZyk7DQo+ID4gKyAgICAg
ICB9DQo+ID4gKw0KPiA+ICsgICAgICAgZm9yIChudW0gPSAwOyBudW0gPCBTWVNBRFBUX05VTV9P
Rl9ERVNDX0RBVEE7IG51bSsrKSB7DQo+ID4gKyAgICAgICAgICAgICAgIGlmIChwcml2LT5kZXNj
X2RhdGFbbnVtXS5wdHhfcmluZykNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBwcml2LT5k
ZXNjX2RhdGFbbnVtXS5wdHhfcmluZyA9IE5VTEw7DQo+ID4gKyAgICAgICAgICAgICAgIHByaXYt
PmRlc2NfZGF0YVtudW1dLnBzdGFsZV90eF9obmRsID0gTlVMTDsNCj4gPiArICAgICAgICAgICAg
ICAgcHJpdi0+ZGVzY19kYXRhW251bV0ucG5leHRfdHhfaG5kbCA9IE5VTEw7DQo+ID4gKyAgICAg
ICB9DQo+ID4gKw0KPiA+ICsgICAgICAga2ZyZWUocHJpdi0+ZGVzY19kYXRhWzBdLnR4X2huZGwp
Ow0KPiA+ICt9DQo+ID4gKw0KPiA+ICtzdGF0aWMgaW5saW5lIHZvaWQgbXdsX3R4X2FkZF9kbWFf
aGVhZGVyKHN0cnVjdCBtd2xfcHJpdiAqcHJpdiwNCj4gPiArICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIHN0cnVjdCBza19idWZmICpza2IsDQo+ID4gKyAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICA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ikgew0KPiA+ICsgICAgICAgICAgICAgICBjYXNl
IFdMQU5fQ0lQSEVSX1NVSVRFX1dFUDQwOg0KPiA+ICsgICAgICAgICAgICAgICBjYXNlIFdMQU5f
Q0lQSEVSX1NVSVRFX1dFUDEwNDoNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBkYXRhX3Bh
ZCA9IDQ7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQo+ID4gKyAgICAgICAg
ICAgICAgIGNhc2UgV0xBTl9DSVBIRVJfU1VJVEVfVEtJUDoNCj4gPiArICAgICAgICAgICAgICAg
ICAgICAgICBkYXRhX3BhZCA9IDEyOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIGJyZWFr
Ow0KPiA+ICsgICAgICAgICAgICAgICBjYXNlIFdMQU5fQ0lQSEVSX1NVSVRFX0NDTVA6DQo+ID4g
KyAgICAgICAgICAgICAgICAgICAgICAgZGF0YV9wYWQgPSA4Ow0KPiA+ICsgICAgICAgICAgICAg
ICAgICAgICAgICpjY21wID0gdHJ1ZTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBicmVh
azsNCj4gPiArICAgICAgICAgICAgICAgfQ0KPiA+ICsgICAgICAgfQ0KPiA+ICsNCj4gPiArICAg
ICAgIG13bF90eF9hZGRfZG1hX2hlYWRlcihwcml2LCBza2IsIGhlYWRfcGFkLCBkYXRhX3BhZCk7
IH0NCj4gPiArDQo+ID4gK3N0YXRpYyBpbmxpbmUgdm9pZCBtd2xfdHhfaW5zZXJ0X2NjbXBfaGRy
KHU4ICpwY2NtcF9oZHIsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgdTgga2V5X2lkLCB1MTYgaXYxNiwgdTMyDQo+ID4gK2l2MzIpIHsNCj4gPiArICAgICAg
IHN0cnVjdCBjY21wX2hkciAqY2NtcF9oID0gKHN0cnVjdCBjY21wX2hkciAqKXBjY21wX2hkcjsN
Cj4gPiArD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ICAgICAgICAg
IH0gZWxzZSB7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNjbXApIHsNCj4gPiAr
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh2aWYtPnR5cGUgPT0NCj4gTkw4MDIx
MV9JRlRZUEVfU1RBVElPTikgew0KPiA+ICsNCj4gbXdsX3R4X2luc2VydF9jY21wX2hkcihkbWFf
ZGF0YS0+ZGF0YSwNCj4gPiArDQo+IG13bF92aWYtPmtleWlkeCwNCj4gPiArDQo+IG13bF92aWYt
Pml2MTYsDQo+ID4gKw0KPiBtd2xfdmlmLT5pdjMyKTsNCj4gPiArDQo+IElOQ1JFQVNFX0lWKG13
bF92aWYtPml2MTYsDQo+ID4gKw0KPiBtd2xfdmlmLT5pdjMyKTsNCj4gPiArICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIHN0cnVjdCBtd2xfc3RhICpzdGFfaW5mbzsNCj4gPiArDQo+ID4gKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0YV9pbmZvID0NCj4gPiArIG13
bF9kZXZfZ2V0X3N0YShzdGEpOw0KPiA+ICsNCj4gPiArDQo+IG13bF90eF9pbnNlcnRfY2NtcF9o
ZHIoZG1hX2RhdGEtPmRhdGEsDQo+ID4gKw0KPiAwLA0KPiA+ICsNCj4gc3RhX2luZm8tPml2MTYs
DQo+ID4gKw0KPiBzdGFfaW5mby0+aXYzMik7DQo+ID4gKw0KPiBJTkNSRUFTRV9JVihzdGFfaW5m
by0+aXYxNiwNCj4gPiArDQo+IHN0YV9pbmZvLT5pdjMyKTsNCj4gPiArICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIH0NCj4gPiArICAgICAgICAgICAgICAgICAgICAgICB9DQo+ID4gKyAg
ICAgICAgICAgICAgIH0NCj4gPiArICAgICAgIH0NC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VyX3BvcyA9IE5VTEw7DQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAg
IGlmICghbXdsX3R4X2F2YWlsYWJsZShwcml2LCBkZXNjX251bSkpIHsNCj4gPiArDQo+IHNrYl9x
dWV1ZV9oZWFkKCZwcml2LT50eHFbZGVzY19udW1dLCB0eF9za2IpOw0KPiA+ICsNCj4gc3Bpbl91
bmxvY2tfYmgoJnN0YV9pbmZvLT5hbXNkdV9sb2NrKTsNCj4gPiArICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIHJldHVybiBOVUxMOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIH0N
Cj4gPiArICAgICAgICAgICAgICAgfQ0KPiA+ICsgICAgICAgICAgICAgICBzcGluX3VubG9ja19i
aCgmc3RhX2luZm8tPmFtc2R1X2xvY2spOw0KPiA+ICsgICAgICAgICAgICAgICByZXR1cm4gdHhf
c2tiOw0KPiA+ICsgICAgICAgfQ0KPiA+ICsNCj4gPiArICAgICAgIC8qIHBvdGVudGlhbCBhbXNk
dSBzaXplLCBzaG91bGQgYWRkIGFtc2R1IGhlYWRlciAxNCBieXRlcyArDQo+ID4gKyAgICAgICAg
KiBtYXhpbXVtIHBhZGRpbmcgMy4NCj4gPiArICAgICAgICAqLw0KPiA+ICsgICAgICAgd2hfbGVu
ID0gaWVlZTgwMjExX2hkcmxlbih3aC0+ZnJhbWVfY29udHJvbCk7DQo+ID4gKyAgICAgICBsZW4g
PSB0eF9za2ItPmxlbiAtIHdoX2xlbiArIDE3Ow0KPiA+ICsNCj4gPiArICAgICAgIGlmIChhbXNk
dS0+bnVtKSB7DQo+ID4gKyAgICAgICAgICAgICAgIGlmICgoYW1zZHUtPnNrYi0+bGVuICsgbGVu
KSA+IGFtc2R1X2FsbG93X3NpemUpIHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBtd2xf
dHhfc2tiKHByaXYsIGRlc2NfbnVtLCBhbXNkdS0+c2tiKTsNCj4gPiArICAgICAgICAgICAgICAg
ICAgICAgICBhbXNkdS0+bnVtID0gMDsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBhbXNk
dS0+Y3VyX3BvcyA9IE5VTEw7DQo+ID4gKyAgICAgICAgICAgICAgIH0NCj4gPiArICAgICAgIH0N
Cj4gPiArDQo+ID4gKyAgICAgICBhbXNkdS0+amlmZmllcyA9IGppZmZpZXM7DQo+ID4gKyAgICAg
ICBsZW4gPSB0eF9za2ItPmxlbiAtIHdoX2xlbjsNCj4gPiArDQo+ID4gKyAgICAgICBpZiAoYW1z
ZHUtPm51bSA9PSAwKSB7DQo+ID4gKyAgICAgICAgICAgICAgIHN0cnVjdCBza19idWZmICpuZXdz
a2I7DQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAgICBhbXNkdV9wa3RzID0gKHN0cnVjdCBza19i
dWZmX2hlYWQgKikNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBrbWFsbG9jKHNpemVvZigq
YW1zZHVfcGt0cyksIEdGUF9LRVJORUwpOw0KPiA+ICsgICAgICAgICAgICAgICBpZiAoIWFtc2R1
X3BrdHMpIHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBzcGluX3VubG9ja19iaCgmc3Rh
X2luZm8tPmFtc2R1X2xvY2spOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0
eF9za2I7DQo+ID4gKyAgICAgICAgICAgICAgIH0NCj4gPiArICAgICAgICAgICAgICAgbmV3c2ti
ID0gZGV2X2FsbG9jX3NrYihhbXNkdV9hbGxvd19zaXplICsNCj4gPiArDQo+IFNZU0FEUFRfTUlO
X0JZVEVTX0hFQURST09NKTsNCj4gPiArICAgICAgICAgICAgICAgaWYgKCFuZXdza2IpIHsNCj4g
PiArICAgICAgICAgICAgICAgICAgICAgICBzcGluX3VubG9ja19iaCgmc3RhX2luZm8tPmFtc2R1
X2xvY2spOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIGtmcmVlKGFtc2R1X3BrdHMpOw0K
PiA+ICsgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0eF9za2I7DQo+ID4gKyAgICAgICAg
ICAgICAgIH0NCj4gPiArDQo+ID4gKyAgICAgICAgICAgICAgIGRhdGEgPSBuZXdza2ItPmRhdGE7
DQo+ID4gKyAgICAgICAgICAgICAgIG1lbWNweShkYXRhLCB0eF9za2ItPmRhdGEsIHdoX2xlbik7
DQo+ID4gKyAgICAgICAgICAgICAgIGlmIChzdGFfaW5mby0+aXNfbWVzaF9ub2RlKSB7DQo+ID4g
KyAgICAgICAgICAgICAgICAgICAgICAgZXRoZXJfYWRkcl9jb3B5KGRhdGEgKyB3aF9sZW4sIHdo
LT5hZGRyMyk7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgZXRoZXJfYWRkcl9jb3B5KGRh
dGEgKyB3aF9sZW4gKyBFVEhfQUxFTiwNCj4gd2gtPmFkZHI0KTsNCj4gPiArICAgICAgICAgICAg
ICAgfSBlbHNlIHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBldGhlcl9hZGRyX2NvcHko
ZGF0YSArIHdoX2xlbiwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgaWVlZTgwMjExX2dldF9EQSh3aCkpOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIGV0
aGVyX2FkZHJfY29weShkYXRhICsgd2hfbGVuICsgRVRIX0FMRU4sDQo+ID4gKyAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIGllZWU4MDIxMV9nZXRfU0Eod2gpKTsNCj4gPiAr
ICAgICAgICAgICAgICAgfQ0KPiA+ICsgICAgICAgICAgICAgICAqKHU4ICopKGRhdGEgKyB3aF9s
ZW4gKyBFVEhfSExFTiAtIDEpID0gbGVuICYgMHhmZjsNCj4gPiArICAgICAgICAgICAgICAgKih1
OCAqKShkYXRhICsgd2hfbGVuICsgRVRIX0hMRU4gLSAyKSA9IChsZW4gPj4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uaHRfc3VwcG9ydGVkICYmICFlYXBvbF9mcmFtZSAm
Jg0KPiA+ICsgICAgICAgICAgIGllZWU4MDIxMV9pc19kYXRhX3Fvcyh3aC0+ZnJhbWVfY29udHJv
bCkpIHsNCj4gPiArICAgICAgICAgICAgICAgdGlkID0gcW9zICYgMHhmOw0KPiA+ICsgICAgICAg
ICAgICAgICBtd2xfdHhfY291bnRfcGFja2V0KHN0YSwgdGlkKTsNCj4gPiArDQo+ID4gKyAgICAg
ICAgICAgICAgIHNwaW5fbG9ja19iaCgmcHJpdi0+c3RyZWFtX2xvY2spOw0KPiA+ICsgICAgICAg
ICAgICAgICBzdHJlYW0gPSBtd2xfZndjbWRfbG9va3VwX3N0cmVhbShodywgc3RhLT5hZGRyLCB0
aWQpOw0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgaWYgKHN0cmVhbSkgew0KPiA+ICsgICAg
ICAgICAgICAgICAgICAgICAgIGlmIChzdHJlYW0tPnN0YXRlID09IEFNUERVX1NUUkVBTV9BQ1RJ
VkUpDQo+IHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChXQVJOX09O
KCEocW9zICYNCj4gPiArDQo+IE1XTF9RT1NfQUNLX1BPTElDWV9CTE9DS0FDSykpKSB7DQo+ID4g
Kw0KPiBzcGluX3VubG9ja19iaCgmcHJpdi0+c3RyZWFtX2xvY2spOw0KPiA+ICsgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXZfa2ZyZWVfc2tiX2FueShza2IpOw0KPiA+
ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm47DQo+ID4gKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9DQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgdHhwcmlvcml0eSA9DQo+ID4gKw0KPiAoU1lTQURQVF9UWF9XTU1f
UVVFVUVTICsgc3RyZWFtLT5pZHgpICUNCj4gPiArDQo+IFNZU0FEUFRfVE9UQUxfSFdfUVVFVUVT
Ow0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoc3RyZWFtLT5zdGF0ZSA9
PQ0KPiBBTVBEVV9TVFJFQU1fTkVXKSB7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAvKiBXZSBnZXQgaGVyZSBpZiB0aGUgZHJpdmVyIHNlbmRzIHVzDQo+IHBhY2tldHMNCj4g
PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqIGFmdGVyIHdlJ3ZlIGluaXRpYXRl
ZCBhIHN0cmVhbSwgYnV0DQo+IGJlZm9yZQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICogb3VyIGFtcGR1X2FjdGlvbiByb3V0aW5lIGhhcw0KPiBiZWVuIGNhbGxlZA0KPiA+
ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICogd2l0aA0KPiBJRUVFODAyMTFfQU1Q
RFVfVFhfU1RBUlQgdG8gZ2V0IHRoZSBTU04NCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAqIGZvciB0aGUgQUREQkEgcmVxdWVzdC4gIFNvIHRoaXMNCj4gcGFja2V0IGNhbg0K
PiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICogZ28gb3V0IHdpdGggbm8gcmlz
ayBvZiBzZXF1ZW5jZQ0KPiBudW1iZXINCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAqIG1pc21hdGNoLiAgTm8gc3BlY2lhbCBoYW5kbGluZyBpcw0KPiByZXF1aXJlZC4NCj4g
PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqLw0KPiA+ICsgICAgICAgICAgICAg
ICAgICAgICAgIH0gZWxzZSB7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAv
KiBEcm9wIHBhY2tldHMgdGhhdCB3b3VsZCBnbyBvdXQNCj4gYWZ0ZXIgdGhlDQo+ID4gKyAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgKiBBRERCQSByZXF1ZXN0IHdhcyBzZW50IGJ1dA0K
PiBiZWZvcmUgdGhlIEFEREJBDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
KiByZXNwb25zZSBpcyByZWNlaXZlZC4gIElmIHdlIGRvbid0DQo+IGRvIHRoaXMsDQo+ID4gKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKiB0aGUgcmVjaXBpZW50IHdvdWxkIHByb2Jh
Ymx5DQo+IHJlY2VpdmUgaXQNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAq
IGFmdGVyIHRoZSBBRERCQSByZXF1ZXN0IHdpdGggU1NODQo+IDAuICBUaGlzDQo+ID4gKyAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgKiB3aWxsIGNhdXNlIHRoZSByZWNpcGllbnQncyBC
QQ0KPiByZWNlaXZlIHdpbmRvdw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICogdG8gc2hpZnQsIHdoaWNoIHdvdWxkIGNhdXNlIHRoZQ0KPiBzdWJzZXF1ZW50DQo+ID4gKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKiBwYWNrZXRzIGluIHRoZSBCQSBzdHJlYW0g
dG8gYmUNCj4gZGlzY2FyZGVkLg0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICogbWFjODAyMTEgcXVldWVzIG91ciBwYWNrZXRzIGZvcg0KPiB1cyBpbiB0aGlzDQo+ID4gKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKiBjYXNlLCBzbyB0aGlzIGlzIHJlYWxseSBq
dXN0IGEgc2FmZXR5DQo+IGNoZWNrLg0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICovDQo+IA0KPiBXZWxsLi4uIEkgdGhpbmsgeW91IGNhbiByZWFsbHkgYXZvaWQgdGhhdC4N
Cg0KQU1QRFUgcmVsYXRlZCBjb2RlIHdpbGwgYmUgY2hlY2tlZCBiYXNlZCBvbiB5b3VyIHN1Z2dl
c3Rpb25zIGxhdGVyLg0K
> Kalle Valo [mailto:[email protected]] wrote:
>
> David Lin <[email protected]> writes:
>
> > On November 26, 2015 5:40 PM, Johannes Berg wrote:
> >> On Thu, 2015-11-26 at 08:27 +0000, David Lin wrote:
> >>
> >> > > > +#ifdef CONFIG_SUPPORT_MFG
> >> > >
> >> > > This Kconfig variable doesn't exist.
> >> > >
> >> >
> >> > The compile variable is used privately by Marvell and our customers
> >> > in production line.
> >>
> >> Yeah, still. Make it a proper Kconfig variable, defaulting to off and
> >> hidden under something, or remove it. It's extremely misleading to
> >> have something called CONFIG_* when it's not a Kconfig variable.
> >>
> >
> > I will change this compile variable from "CONFIG_SUPPORT_MFG" to
> > "SUPPORT_MFG".
>
> Then it's still dead code which won't ever get compiled in upstream.
> Please follow what Johannes suggested.
>
The code will be removed.
> --
> Kalle Valo
David Lin <dlin@...> writes:
> +static inline struct sk_buff *mwl_tx_do_amsdu(struct mwl_priv *priv,
> + int desc_num,
> ...
> + amsdu_pkts = (struct sk_buff_head *)
> + kmalloc(sizeof(*amsdu_pkts), GFP_KERNEL);
> + if (!amsdu_pkts) {
Should GFP_ATOMIC be used here instead of GFP_KERNEL? This function could be
called in interrupt context.
Grant Grundler <[email protected]> writes:
> Sorry for the late response...just one point below
>
> On Fri, Nov 20, 2015 at 3:22 AM, Johannes Berg <[email protected]>
> wrote:
>
> > +#define MWL_DRV_NAME KBUILD_MODNAME
> > +#define MWL_DRV_VERSION "10.3.0.14"
>
> versions like that are generally fairly useless since you don't update
> them for every commit ...
>
>
> When backporting to other kernel trees, it's extremely handy to have a
> DRV_VERSION.
>
> Checking if a particular kernel build has the expected driver version trivial.
> "mod_info" dumps the driver version for modules (which this will usually be
> too).
>
> And yes, it won't get updated for every commit only because other version
> control might encapsulate those changes. Not every distro makes their build
> versioning accessible to outsiders. So it's still helpful even if not perfect.
>
> Marvell can update this every time they resync with their own internal
> versions.
But the problem is that you cannot really trust this driver version
string. I found a perfect example from another Marvell driver:
5e6e3a92b9a4c drivers/net/wireless/mwifiex/main.c (Bing Zhao 2011-03-21 18:00:50 -0700 25) #define VERSION "1.0"
So nobody has updated that version string since the initial commit from
2011 and that driver has had over 900 non-merge commits after that.
Because of bad cases like this I think having a driver specific versions
in in-tree drivers are just noise and unnecessary extra work. When
porting a driver to another tree git commit ids, release tag names or
git-describe output are much better ways to identify the driver version.
--
Kalle Valo
[resending as plain text....gmail...grrrh.]
On Fri, Dec 11, 2015 at 4:46 PM, Grant Grundler <[email protected]> wrote:
> Sorry for the late response...just one point below
>
> On Fri, Nov 20, 2015 at 3:22 AM, Johannes Berg <[email protected]>
> wrote:
>>
>> > +#define MWL_DRV_NAME KBUILD_MODNAME
>> > +#define MWL_DRV_VERSION "10.3.0.14"
>>
>> versions like that are generally fairly useless since you don't update
>> them for every commit ...
>
>
> When backporting to other kernel trees, it's extremely handy to have a
> DRV_VERSION.
>
> Checking if a particular kernel build has the expected driver version
> trivial. "mod_info" dumps the driver version for modules (which this will
> usually be too).
>
> And yes, it won't get updated for every commit only because other version
> control might encapsulate those changes. Not every distro makes their build
> versioning accessible to outsiders. So it's still helpful even if not
> perfect.
>
> Marvell can update this every time they resync with their own internal
> versions.
>
> cheers,
> grant
David Lin <[email protected]> writes:
> On November 26, 2015 5:40 PM, Johannes Berg wrote:
>> On Thu, 2015-11-26 at 08:27 +0000, David Lin wrote:
>>
>> > > > +#ifdef CONFIG_SUPPORT_MFG
>> > >
>> > > This Kconfig variable doesn't exist.
>> > >
>> >
>> > The compile variable is used privately by Marvell and our customers in
>> > production line.
>>
>> Yeah, still. Make it a proper Kconfig variable, defaulting to off and hidden
>> under something, or remove it. It's extremely misleading to have something
>> called CONFIG_* when it's not a Kconfig variable.
>>
>
> I will change this compile variable from "CONFIG_SUPPORT_MFG" to
> "SUPPORT_MFG".
Then it's still dead code which won't ever get compiled in upstream.
Please follow what Johannes suggested.
--
Kalle Valo
PiBGcm9tOiBKdWxpYW4gQ2FsYWJ5IFttYWlsdG86anVsaWFuLmNhbGFieUBnbWFpbC5jb21dIFRo
dXJzZGF5LCBNYXJjaCAxNywgMjAxNiA3OjI0IEFNDQo+IA0KPiBIaSBEYXZpZCwNCj4gDQo+IE9u
IFRodSwgTm92IDEyLCAyMDE1IGF0IDI6NTEgUE0sIERhdmlkIExpbiA8ZGxpbkBtYXJ2ZWxsLmNv
bT4gd3JvdGU6DQo+ID4gVGhpcyBwYXRjaCBwcm92aWRlcyB0aGUgbXdsd2lmaSBkcml2ZXIgZm9y
IE1hcnZlbGwgODg2MywgODg2NCBhbmQgODg5Nw0KPiA+IGNoaXBzZXRzLg0KPiA+IFRoaXMgZHJp
dmVyIHdhcyBkZXZlbG9wZWQgYXMgcGFydCBvZiB0aGUgb3BlbndydC5vcmcgcHJvamVjdCB0bw0K
PiA+IHN1cHBvcnQgTGlua3N5cyBXUlQxOTAwQUMgYW5kIGlzIG1haW50YWluZWQgb24NCj4gaHR0
cHM6Ly9naXRodWIuY29tL2thbG96L213bHdpZmkuDQo+ID4NCj4gPiBUaGUgbXdsd2lmaSBkcml2
ZXIgZGlmZmVycyBmcm9tIGV4aXN0aW5nIG13aWZpZXggZHJpdmVyOg0KPiA+IG8gbXdsd2lmaSBp
cyBhICJzb2Z0bWFjIGRyaXZlciIgdXNpbmcgdGhlIGtlcm5lbD/uqIMgbWFjODAyLjExIHN1YnN5
c3RlbQ0KPiA+IHRvIHByb3ZpZGUgZnVsbCBBUC9XaXJlbGVzcyBCcmlkZ2UgZnVuY3Rpb25hbGl0
eSAocm91dGVycykuDQo+ID4gbyBtd2lmaWV4IGlzIGEgImZ1bGxtYWMgZHJpdmVyIiB3aGljaCBw
cm92aWRlcyBhIGNvbXByZWhlbnNpd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CB0aGF0IGNvbW11bml0eSBkb2VzIG5vdCBz
ZWVtIHRvIGJlIHZlcnkgaW50ZXJlc3RlZCBpbiB0aGlzIGRyaXZlciwgc28gd2UgaGF2ZSBub3Qg
YmVlbiB1cGRhdGluZyB0aGUgd2lyZWxlc3Mgb3JnLiBMZXQgdXMga25vdyBpZiB5b3UgYXJlIHN1
cHBvcnRpdmUgYW5kIHdhaXRpbmcgZm9yIGl0Lg0KDQpUaGFua3MsDQpEYXZpZA0KDQo+DQo+IFRo
YW5rcywNCj4NCj4gLS0NCj4gSnVsaWFuIENhbGFieQ0KPiANCj4gRW1haWw6IGp1bGlhbi5jYWxh
YnlAZ21haWwuY29tDQo+IFByb2ZpbGU6IGh0dHA6Ly93d3cuZ29vZ2xlLmNvbS9wcm9maWxlcy9q
dWxpYW4uY2FsYWJ5Lw0K
Hi David,
On Thu, Mar 17, 2016 at 12:23 PM, David Lin <[email protected]> wrote:
>> From: Julian Calaby [mailto:[email protected]] Thursday, March 17, 2016 7:24 AM
>>
>> Hi David,
>>
>> On Thu, Nov 12, 2015 at 2:51 PM, David Lin <[email protected]> wrote:
>> > This patch provides the mwlwifi driver for Marvell 8863, 8864 and 8897
>> > chipsets.
>> > This driver was developed as part of the openwrt.org project to
>> > support Linksys WRT1900AC and is maintained on
>> https://github.com/kaloz/mwlwifi.
>> >
>> > The mwlwifi driver differs from existing mwifiex driver:
>> > o mwlwifi is a "softmac driver" using the kernel? mac802.11 subsystem
>> > to provide full AP/Wireless Bridge functionality (routers).
>> > o mwifiex is a "fullmac driver" which provides a comprehensive set of
>> > client functions (laptops/embedded devices) o only mwlwifi supports
>> > Marvell AP chip 886X series
>> >
>> > NOTE: Users with Marvell 88W8897 chipsets currently should enable
>> > (CONFIG=Y or M) either CONFIG_MWIFIEX or CONFIG_MWLWIFI, NOT
>> BOTH.
>> >
>> > mwlwifi driver leveraged code from existing MWL8K driver in the
>> > following areas:
>> > - 802.11n setting for mac80211
>> > - Functions needed to hook up to mac80211
>> > - Interactions with mac80211 to establish BA streams
>> > - Partial firmware APIs, some data fields
>> > - Method to pass Rx packets to mac80211 except 11ac rates
>> >
>> > In addition, mwlwifi driver supports:
>> > - future scalability and future development (refactored source code)
>> > - Marvell 802.11ac chipsets, including combo BT devices
>> > - 802.11ac related settings and functions
>> > - concurrent AP+STA functionalities with single firmware per chip
>> > - firmware APIs for the supported chipset
>> > - communicating new mac80211 settings to firmware
>> > - Different TX/RX datapath where applicable
>> > - A-MSDU and A-MPDU
>> > - mac80211-based MESH (work in progress)
>> > - Refined the code to establish BA streams
>> >
>> > NOTE: MWLWIFI will be organized under new vendor specific
>> > folder/marvell, as per request of the gate keeper and community.
>> >
>> > Signed-off-by: David Lin <[email protected]>
>>
>> It's been quite a while since this was reviewed. Do you have a new version of
>> the driver?
>>
>
> Yes we have some updates, and continue working on it. But we felt that community does not seem to be very interested in this driver, so we have not been updating the wireless org. Let us know if you are supportive and waiting for it.
My understanding was that we'd very much like the driver to be sent
upstream. From my perspective, it looked like you'd lost interest, not
us.
Thanks,
--
Julian Calaby
Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
Hi David,
On Thu, Nov 12, 2015 at 2:51 PM, David Lin <[email protected]> wrote:
> This patch provides the mwlwifi driver for Marvell 8863, 8864 and 8897
> chipsets.
> This driver was developed as part of the openwrt.org project to support
> Linksys WRT1900AC and is maintained on https://github.com/kaloz/mwlwifi.
>
> The mwlwifi driver differs from existing mwifiex driver:
> o mwlwifi is a "softmac driver" using the kernel? mac802.11 subsystem
> to provide full AP/Wireless Bridge functionality (routers).
> o mwifiex is a "fullmac driver" which provides a comprehensive set of
> client functions (laptops/embedded devices)
> o only mwlwifi supports Marvell AP chip 886X series
>
> NOTE: Users with Marvell 88W8897 chipsets currently should enable
> (CONFIG=Y or M) either CONFIG_MWIFIEX or CONFIG_MWLWIFI, NOT BOTH.
>
> mwlwifi driver leveraged code from existing MWL8K driver in the
> following areas:
> - 802.11n setting for mac80211
> - Functions needed to hook up to mac80211
> - Interactions with mac80211 to establish BA streams
> - Partial firmware APIs, some data fields
> - Method to pass Rx packets to mac80211 except 11ac rates
>
> In addition, mwlwifi driver supports:
> - future scalability and future development (refactored source code)
> - Marvell 802.11ac chipsets, including combo BT devices
> - 802.11ac related settings and functions
> - concurrent AP+STA functionalities with single firmware per chip
> - firmware APIs for the supported chipset
> - communicating new mac80211 settings to firmware
> - Different TX/RX datapath where applicable
> - A-MSDU and A-MPDU
> - mac80211-based MESH (work in progress)
> - Refined the code to establish BA streams
>
> NOTE: MWLWIFI will be organized under new vendor specific folder/marvell,
> as per request of the gate keeper and community.
>
> Signed-off-by: David Lin <[email protected]>
It's been quite a while since this was reviewed. Do you have a new
version of the driver?
Thanks,
--
Julian Calaby
Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
PiBGcm9tOiBKdWxpYW4gQ2FsYWJ5IFttYWlsdG86anVsaWFuLmNhbGFieUBnbWFpbC5jb21dIFRo
dXJzZGF5LCBNYXJjaCAxNywgMjAxNiA5OjMyIEFNPiANCj4gSGkgRGF2aWQsDQo+IA0KPiBPbiBU
aHUsIE1hciAxNywgMjAxNiBhdCAxMjoyMyBQTSwgRGF2aWQgTGluIDxkbGluQG1hcnZlbGwuY29t
PiB3cm90ZToNCj4gPj4gRnJvbTogSnVsaWFuIENhbGFieSBbbWFpbHRvOmp1bGlhbi5jYWxhYnlA
Z21haWwuY29tXSBUaHVyc2RheSwgTWFyY2gNCj4gPj4gMTcsIDIwMTYgNzoyNCBBTQ0KPiA+Pg0K
PiA+PiBIaSBEYXZpZCwNCj4gPj4NCj4gPj4gT24gVGh1LCBOb3YgMTIsIDIwMTUgYXQgMjo1MSBQ
TSwgRGF2aWQgTGluIDxkbGluQG1hcnZlbGwuY29tPiB3cm90ZToNCj4gPj4gPiBUaGlzIHBhdGNo
IHByb3ZpZGVzIHRoZSBtd2x3aWZpIGRyaXZlciBmb3IgTWFydmVsbCA4ODYzLCA4ODY0IGFuZA0K
PiA+PiA+IDg4OTcg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TXkgdW5k
ZXJzdGFuZGluZyB3YXMgdGhhdCB3ZSdkIHZlcnkgbXVjaCBsaWtlIHRoZSBkcml2ZXIgdG8gYmUg
c2VudCB1cHN0cmVhbS4NCj4gRnJvbSBteSBwZXJzcGVjdGl2ZSwgaXQgbG9va2VkIGxpa2UgeW91
J2QgbG9zdCBpbnRlcmVzdCwgbm90IHVzLg0KPiANCg0KV2UgZmVsdCBzb21lIHJlc2lzdGFuY2Ug
ZnJvbSB2YXJpb3VzIHBlb3BsZSwgYW5kIGdldCBkaXNjb3VyYWdlZC4gVGhvdWdoIHdlIGNvbnRp
bnVlIHRvIHdvcmsgb24gaXQgaW50ZXJuYWxseSwgd2Ugd2VyZSBqdXN0IGtlZXBpbmcgZnVydGhl
ciBzdWJtaXNzaW9uIGF0IHRoZSBiYWNrIG9mIG91ciBtaW5kLiBXZSBkbyBrZWVwIHRoZSBmZWVk
YmFjayBmcm9tIGNvbW11bml0eSBhbmQgd2lsbCB3b3JrIG9uIGNvbXBsaWFuY3kgd2hlcmUgYXBw
bGljYWJsZSBhbmQgcG9zc2libGUuDQoNCk5leHQsIHdlIHdpbGwgcHJlcGFyZSBhIHBhdGNoOCBm
b3Igc3VibWlzc2lvbiBsYXRlci4NCg0KPg0KPiBUaGFua3MsDQo+IA0KPiAtLQ0KPiBKdWxpYW4g
Q2FsYWJ5DQo+IA0KPiBFbWFpbDoganVsaWFuLmNhbGFieUBnbWFpbC5jb20NCj4gUHJvZmlsZTog
aHR0cDovL3d3dy5nb29nbGUuY29tL3Byb2ZpbGVzL2p1bGlhbi5jYWxhYnkvDQo=
David Lin <[email protected]> writes:
> We felt some resistance from various people, and get discouraged.
Sorry to hear that. I believe this is a misunderstanding. I am
convinced that *everyone* who commented on the driver did so with the
intention to help getting it merged.
I for one would very much like to see this driver in mainline. But for
that to happen, you wil have to:
1) create a feature frozen branch for mainline submission
2) respond relatively quickly to comments received, posting new
versions of the patch set if necessary
The main issue preventing this driver from being merged so far, in my
view, is that you have continued to add features between each attemt to
get it merged. Adding new features is of course not bad, but you should
do that in another branch *until* the initial version is accepted.
Let me know if there is anything I can do to help getting this into mainline
Bjørn
Bjørn Mork <[email protected]> writes:
> David Lin <[email protected]> writes:
>
>> We felt some resistance from various people, and get discouraged.
>
> Sorry to hear that. I believe this is a misunderstanding. I am
> convinced that *everyone* who commented on the driver did so with the
> intention to help getting it merged.
Exactly. Why would we otherwise spend so much time reviewing the driver
if we would not want it included?
> I for one would very much like to see this driver in mainline. But for
> that to happen, you wil have to:
> 1) create a feature frozen branch for mainline submission
> 2) respond relatively quickly to comments received, posting new
> versions of the patch set if necessary
>
> The main issue preventing this driver from being merged so far, in my
> view, is that you have continued to add features between each attemt to
> get it merged. Adding new features is of course not bad, but you should
> do that in another branch *until* the initial version is accepted.
Thanks for the good summary, I think we should even add that to our wiki
as a guideline for new drivers. Then submitting a new driver (or normal
patches for that matter) you really want to optimise the use of
reviewer's time. Just fix the issues pointed out in the review, don't do
anything extra as the chances are that it just slows down everything.
--
Kalle Valo