Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Bluetooth for Linux

ej
New Contributor II

Hello, 

We are moving from the cymdhd driver to the brcfmac backport with an CYM43455. We needed to set the following dhd build flags in order to achieve good 5Ghz WiFi throughput. What are the equivalent settings in brcmfmac?

   DHDCFLAGS += -DCUSTOM_AMPDU_MPDU=16
   DHDCFLAGS += -DCUSTOM_AMPDU_BA_WSIZE=64

   DHDCFLAGS += -DCUSTOM_GLOM_SETTING=8
   DHDCFLAGS += -DBCMSDIOH_TXGLOM -DCUSTOM_TXGLOM=1
   DHDCFLAGS += -DDHDTCPACK_SUPPRESS
   DHDCFLAGS += -DRXFRAME_THREAD
   DHDCFLAGS += -DCUSTOM_MAX_TXGLOM_SIZE=31
   DHDCFLAGS += -DMAX_HDR_READ=128
   DHDCFLAGS += -DDHD_FIRSTREAD=128

Thanks!

0 Likes
1 Solution
GauravS_31
Moderator
Moderator

From all the parameters mentioned in your initial description, i could only find the module parameter txglomsz which is maximum tx packet chain size for SDIO in brcmfmac/common.c. The default value is BRCMF_DEFAULT_TXGLOM_SIZE which is 32.

View solution in original post

4 Replies
DS_Lin
Contributor II

Hi ej,

Your Fmac  Cypress Linux WiFi Driver Release (FMAC) [2020-09-25]  Yes?/No?

This is Cypress's Linux brcmfmac driver and firmware support package.

* Backports package (cypress-backports-v5.4.18-2020_0925-module-src.tar.gz)
* Firmware/clm_blob files (cypress-firmware-v5.4.18-2020_0925.tar.gz)
* Cypress fmac patch files (cypress-patch-v5.4.18-2020_0925.tar.gz)
* Device tree files (cypress-devicetree-2020-09-25.tar.gz)
* hostapd/wpa_supplicant patch (cypress-hostap_2_9-2020_0925.tar.gz)
* Cirrent Agent (cypress-cirrent-1.60.tar.gz)

0 Likes
ej
New Contributor II

Thanks yes we are using the backported brcmfmac from the Cypress 2020-09-25 package you linked to.

I outlined the issues we're having at a higher level in this question if that helps to provide context

https://community.cypress.com/t5/Wi-Fi-Bluetooth-for-Linux/Poor-5GHz-throughput-using-brcmfmac-inste...

0 Likes
DS_Lin
Contributor II

Hi ej,

you can try new driver cypress-fmac-v5.4.18-2021_0114.zip 

Br,
DS

0 Likes
GauravS_31
Moderator
Moderator

From all the parameters mentioned in your initial description, i could only find the module parameter txglomsz which is maximum tx packet chain size for SDIO in brcmfmac/common.c. The default value is BRCMF_DEFAULT_TXGLOM_SIZE which is 32.

View solution in original post