Qualcommax NSS Build

Hi @bgcngm,

Yes, this is the recipe I use to compile all the devices I support:

CONFIG_NSS_MEM_PROFILE_HIGH=y
# CONFIG_NSS_MEM_PROFILE_MEDIUM is not set
# CONFIG_NSS_MEM_PROFILE_LOW is not set
.....
# CONFIG_ATH11K_MEM_PROFILE_1G is not set
CONFIG_ATH11K_MEM_PROFILE_512M=y
# CONFIG_ATH11K_MEM_PROFILE_256M is not set
.....
#
# Qualcomm IPQ Options
#

#
# Kernel build options
#
# CONFIG_IPQ_MEM_PROFILE_1024 is not set
CONFIG_IPQ_MEM_PROFILE_512=y
# CONFIG_IPQ_MEM_PROFILE_256 is not set
CONFIG_KERNEL_IPQ_MEM_PROFILE=512
CONFIG_KERNEL_SKB_RECYCLER=y
# CONFIG_SKB_RECYCLE_SIZE_1856 is not set
CONFIG_SKB_RECYCLE_SIZE_2304=y
CONFIG_KERNEL_SKB_RECYCLE_SIZE=2304
CONFIG_KERNEL_SKB_RECYCLER_MULTI_CPU=y
# CONFIG_KERNEL_SKB_RECYCLER_PREALLOC is not set
# CONFIG_KERNEL_SKB_FIXED_SIZE_2K is not set
# CONFIG_KERNEL_ALLOC_SKB_PAGE_FRAG_DISABLE is not set
CONFIG_KERNEL_PREEMPT_NONE=y
CONFIG_KERNEL_PREEMPT_NONE_BUILD=y
# CONFIG_KERNEL_PREEMPT is not set
# end of Qualcomm IPQ Options

Regards, Agustin

1 Like

Thanks for sharing. Are these limits doing any good for the issues that I mentioned with memory leak? I mean, is that a known fix or something?

I have Xiaomi AX3600, for the record.

Yep, it is the best configuration between performance and RAM usage.

1 Like

Thanks for the great work. i have AX3600 and just one router. No mesh. Is it stable enough for me to just upgrade ? or i need to do anything in particular ? do i need to start SQM or MWAN3 ? all i have in my setup is adguardhome

Hi @everydaydealer,

With the normal version, you should be fine and you don't need to activate any additional services.

Link: https://github.com/AgustinLorenzo/openwrt/releases/tag/ipq807x-nsswifi-2025-01-09-1946

Regards, Agustin

You can just max out the mem profile. Unused ram is wasted ram^^

Thank you. Even in 5g wifi my speed dropped with this firmware. I’m not sure why. I have 1.5 gbps fiber. In LAN I’m getting 940 mbps. Wifi I usually get 500 plus but now maxing at 90. What can I do?

Hi @everydaydealer,

Check your wifi configuration, something is wrong for sure.

Can you give me a screenshot of LUCI's home page?

Regards, Agustin

(attachments)



Hi @everydaydealer,

Check your cable to WAN is stuck at 100M.... (unplug and plug)

Regards, Agustin

2 Likes

who else interests with lto builds
i got very stable lto build with -flto-partition=locality gcc option
I don't know if it has anything to do with performance increase
but its rock solid anyway

currently i only can build with mold-2.34.1 and patch must backported to gcc-14 of course

1 Like

Does anyone knows, what do i need to do to have ethernet clients getting routed trough the main lan-bridge on a router setup as a dhcp client, aka repeater/dumb router? is an mx5300 fresh install, something is not working just with ethernet vlan ports, everyhing else is working smooth


Exciting good news, skb has been fixed, memory recall is now working, wireless is working, nss is working!

2 Likes

where can I find I NSS build for Meraki MR 42 and 52?

They don't exist, yet.

I have never seen my OpenWRT with that much free memory as in the picture, Looking good!

Waiting for @AgustinLorenzo to implement the patches :slight_smile:

hi, it would be nice if you add support for mx8500, thanks!

is ax3600 supported in this ? im not seeing the list of devices supported

I gave it a quick try on one of my MX4300 satellites that currently runs a vanilla build. Looks promising; but unfortunately gets locked out as soon as I apply my VLAN config. If I get a chance, I'll try it this weekend on one of my AX3600s that has serial access to see what's going on.

Works like this for months: https://github.com/JuliusBairaktaris/Qualcommax_NSS_Builder/blob/main/ax3600.config

1 Like