Ipq806x NSS build (Netgear R7800 / TP-Link C2600 / Linksys EA8500)

Kernel gets custom hash modifier with the additional commits. One option (not clean) is to use the opkg --force-depends option.

The cleanest method is to include the packages from the start. Which packages are you adding on? (I could possibly add them on to start with or I could help you with compiling your own custom flavor).

aw yiss :smiley: hold my beer

It will likely be fixed in near future. The author placed the override option definition block wrongly into the kernel Kconfig.

See my debugging:

EDIT:
Fix has been committed on 1 Jan 2021 as:

2 Likes

opkg --force-depends fails with nss build, don't really know why

Here is my list of packages used with automated build on asu

acme acme-dnsapi arp-scan arp-scan-database ath10k-board-qca99x0 ath10k-firmware-qca99x0-ct ath10k-firmware-qca99x0-ct-full-htt attendedsysupgrade-common base-files busybox ca-bundle cgi-io curl ddns-scripts ddns-scripts-cloudflare ddns-scripts-noip ddns-scripts-services dnscrypt-proxy2 dnsmasq-full dropbear firewall fstools fwtool getrandom hostapd-common htop ip-full ip-tiny ip6tables ip6tables-extra ip6tables-mod-nat ipset iptables iptables-mod-conntrack-extra iptables-mod-ipopt iw-full iwinfo jshn jsonfilter kernel kmod-ata-ahci kmod-ata-ahci-platform kmod-ata-core kmod-ath kmod-ath10k-ct kmod-bonding kmod-cfg80211 kmod-gpio-button-hotplug kmod-hwmon-core kmod-ifb kmod-ip6tables kmod-ip6tables-extra kmod-ipt-conntrack kmod-ipt-conntrack-extra kmod-ipt-core kmod-ipt-ipopt kmod-ipt-ipset kmod-ipt-nat kmod-ipt-nat6 kmod-ipt-offload kmod-ipt-raw kmod-leds-gpio kmod-ledtrig-default-on kmod-ledtrig-gpio kmod-ledtrig-heartbeat kmod-ledtrig-netdev kmod-ledtrig-timer kmod-lib-crc-ccitt kmod-mac80211 kmod-mii kmod-nf-conntrack kmod-nf-conntrack-netlink kmod-nf-conntrack6 kmod-nf-flow kmod-nf-ipt kmod-nf-ipt6 kmod-nf-nat kmod-nf-nat6 kmod-nf-reject kmod-nf-reject6 kmod-nfnetlink kmod-nls-base kmod-phy-qcom-ipq806x-usb kmod-ppp kmod-pppoe kmod-pppox kmod-sched-cake kmod-sched-core kmod-scsi-core kmod-slhc kmod-udptunnel4 kmod-udptunnel6 kmod-usb-core kmod-usb-dwc3 kmod-usb-dwc3-qcom kmod-usb-ehci kmod-usb-ledtrig-usbport kmod-usb-net kmod-usb-net-cdc-ether kmod-usb-net-cdc-mbim kmod-usb-net-cdc-ncm kmod-usb-net-cdc-subset kmod-usb-net-huawei-cdc-ncm kmod-usb-net-qmi-wwan kmod-usb-net-rndis kmod-usb-ohci kmod-usb-wdm kmod-usb2 kmod-usb3 kmod-wireguard libatomic1 libblobmsg-json libc libcap libcap-ng libconfig11 libcurl4 libelf1 libgcc1 libgmp10 libip4tc2 libip6tc2 libipset13 libiwinfo-lua libiwinfo20200105 libjson-c5 libjson-script liblua5.1.5 liblucihttp-lua liblucihttp0 libmnl0 libncurses6 libnetfilter-conntrack3 libnettle7 libnfnetlink0 libnl-tiny1 libopenssl-conf libopenssl1.1 libpcap1 libpcre libpthread librt libstdcpp6 libubox20191228 libubus-lua libubus20191227 libuci20130104 libuclient20160123 libustream-wolfssl20200215 libuuid1 libwolfssl24 libxml2 libxtables12 logd lua luci-app-acme luci-app-advanced-reboot luci-app-attendedsysupgrade luci-app-ddns luci-app-firewall luci-app-ledtrig-usbport luci-app-opkg luci-app-sqm luci-app-upnp luci-app-vpn-policy-routing luci-app-wireguard luci-base luci-compat luci-i18n-acme-ru luci-i18n-advanced-reboot-ru luci-i18n-attendedsysupgrade-ru luci-i18n-base-ru luci-i18n-ddns-ru luci-i18n-firewall-ru luci-i18n-opkg-ru luci-i18n-sqm-ru luci-i18n-upnp-ru luci-i18n-vpn-policy-routing-ru luci-i18n-wireguard-ru luci-lib-base luci-lib-ip luci-lib-ipkg luci-lib-jsonc luci-lib-nixio luci-mod-admin-full luci-mod-network luci-mod-status luci-mod-system luci-proto-bonding luci-proto-ipv6 luci-proto-ppp luci-proto-qmi luci-proto-wireguard luci-ssl-nginx luci-theme-bootstrap luci-theme-openwrt-2020 miniupnpd mtd nano netifd netperf nginx-all-module nginx-mod-luci nginx-mod-luci-ssl nginx-ssl nginx-ssl-util nginx-util odhcp6c odhcpd-ipv6only openssl-util openwrt-keyring opkg ppp ppp-mod-pppoe procd proto-bonding resolveip rpcd rpcd-mod-file rpcd-mod-iwinfo rpcd-mod-luci rpcd-mod-rpcsys rpcd-mod-rrdns socat speedtest-netperf sqm-scripts sqm-scripts-extra swconfig tc terminfo ubi-utils uboot-envtools ubox ubus ubusd uci uclient-fetch uhttpd uhttpd-mod-ubus uqmi urandom-seed urngd usign uwsgi uwsgi-cgi-plugin uwsgi-luci-support uwsgi-syslog-plugin vpn-policy-routing wget wireguard wireguard-tools wireless-regdb wpad-basic-wolfssl wwan zlib

It's a bit weird but it works fine with dual wireguard tunnelling, one from Russia to Finland, and another one to my devices on the go, and the the split tunneling for local internet services. This ssetup allow me the use of everything not available locally and maxxing out my router :wink:

linksys ea7500 v1 work like a charm over copper, for wireless i 'm geting like 275mbps from wan, top shows load like 0.1 max when near one gig nat saturation flow. luci run quite smooth, i'l check over pppoe soon when switch it with my main pfsense box. thanks for this build :slight_smile:

1 Like

That is a good number of packages. If I were you - I’d make a custom build. I have easy instructions in my second post on how to replicate my build.

Add your custom flavor of packages to the NSS drivers and you’ll have something that perfectly suits your needs. :sunglasses:

1 Like

All looks correct!

Oh something else... with 802.11kv disabled, I still have the dropping out issues! Is it possible 802.11r is misconfigured or having some issues?

I've left settings as default, but maybe I should change something?

Oh and with 802.11krv, here are the system logs I receive:

Fri Jan  1 13:34:31 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session B597477D0B02D5F2
Fri Jan  1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan  1 13:39:43 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan  1 13:43:24 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 1C44E68651186E2D
Fri Jan  1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan  1 13:43:59 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 04BF7776CB09A57D
Fri Jan  1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan  1 13:46:27 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session EF746874295FD069
Fri Jan  1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan  1 13:47:21 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Jan  1 13:47:21 2021 daemon.err hostapd: nl80211: NL80211_ATTR_STA_VLAN (addr=ce:c5:62:d0:73:fe ifname=wlan0 vlan_id=0) failed: -2 (No such file or directory)
Fri Jan  1 13:47:21 2021 daemon.info hostapd: wlan0: STA ce:c5:62:d0:73:fe IEEE 802.11: associated (aid 1)
Fri Jan  1 13:47:58 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 13:47:59 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:48:13 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 13:48:13 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 13:48:13 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session A5219A282E9830F3
Fri Jan  1 13:48:13 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan  1 13:49:12 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan  1 13:49:12 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan  1 13:51:06 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 13:51:07 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:51:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 13:51:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 13:51:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 8A793E57B7F509EF
Fri Jan  1 13:51:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan  1 13:52:47 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 5644A12F0C119447
Fri Jan  1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan  1 13:54:21 2021 daemon.info hostapd: wlan0: STA ce:c5:62:d0:73:fe IEEE 802.11: disassociated due to inactivity
Fri Jan  1 13:54:22 2021 daemon.info hostapd: wlan0: STA ce:c5:62:d0:73:fe IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:55:58 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 13:55:59 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:56:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 13:56:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 13:56:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 5978210E0C2D62F2
Fri Jan  1 13:56:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan  1 13:58:09 2021 daemon.err uhttpd[2208]: luci: accepted login on / for root from 192.168.1.242
Fri Jan  1 13:58:19 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan  1 13:58:19 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan  1 13:59:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 13:59:09 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 13:59:10 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 13:59:10 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 13:59:10 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 3E19E370BDF2ECE4
Fri Jan  1 13:59:10 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan  1 14:00:25 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan  1 14:00:25 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan  1 14:03:17 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan  1 14:03:18 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan  1 14:03:21 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan  1 14:03:21 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan  1 14:03:33 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan  1 14:03:33 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan  1 14:03:33 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 9535318B1C316CC1
Fri Jan  1 14:03:33 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)

I have noticed the Fri Jan 1 13:47:21 2021 daemon.err hostapd: nl80211: NL80211_ATTR_STA_VLAN (addr=ce:c5:62:d0:73:fe ifname=wlan0 vlan_id=0) failed: -2 (No such file or directory) error, so going to try FT over the Air to see if it may fix the issue?

Also, happy new year! :partying_face:

Double check the basics and see if your AP has all the right configuration.

If starting from the default OpenWRT settings - It should be:

  1. plug in via LAN
  2. set static address
  3. ignore DHCP on lan interface- this is critical!

Seems like no matter how much do i bump the netlink_buffer_size, nlbwmon will hang shortly after restart and counter stop updating. What bothers me is that i have tons of udp connection in conntrack, sometimes it even reaches the limit (16k) and got a kernel warning about it. Is that normal that shortly (20-60s) after launching qbittorrent udp connections bumps to 13k+ (despite that tcp is the flavored protocol and max. global conn. set to 250)? Switched from Zyxel Armor Z1 (IPQ8064, old openwrt based software) but I don't remember that I ever reached the max conntrack count.

BitTorrent uses both TCP and UDP. Here is an example of a UDP congestion control that bit torrent uses and is probably the source of your thousands of connections: http://www.bittorrent.org/beps/bep_0029.html

BitTorrent uses tons of connections and can eat up a good chunk of bandwidth too.

Not too worried about that number of connections with BitTorrent. Here is my morning’s stats with just some light browsing:

16k connections is not normal, i have limit to max 50 seeds for one torrent and 500 for all of them, no problem for rtorrent, but when i downloading by synology download station it generates couple of more time load of cpu in ,y pfsense router with little more tweaked firewall list

1 Like

All looks correct to me, I followed that wiki page to set up the AP. Ignore DHCP is ticked and firewall, dnsmasq and odhcpd are all disabled at startup and not running.

Also, I looked at the system logs at the time when the connection wasn't working and here's the output:

Fri Jan  1 16:50:50 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Jan  1 16:50:50 2021 daemon.info hostapd: wlan0: STA 9a:ef:44:2e:13:28 IEEE 802.11: associated (aid 1)
Fri Jan  1 16:50:52 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan  1 16:50:52 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan  1 16:51:32 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan  1 16:52:14 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Jan  1 16:52:14 2021 daemon.info hostapd: wlan0: STA 9a:ef:44:2e:13:28 IEEE 802.11: associated (aid 1)
Fri Jan  1 16:52:16 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan  1 16:52:31 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan  1 16:52:31 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!

Related at all do you think?

I’d remove the dawn and dawn luci package. If it works - the dawn network controller may be causing issues for your clients.

got it
will test it asap and let you know
thanks

I'm familiar with that, but it's explicity set to TCP only: image, and as I mentioned earlier on familiar setup (openwrt 12.09 + qcom sdk), I didn't had conntrack table full warning in kernel log (but it had 32k max. net.nf_conntrack_max -- just checked now). Torrents causing conntrack table to overflow

Anyway it's pretty stable on C2600, haven't run into a single issue (which related to NSS / build). Just flashed C2600-20201231 @ yesterday, no issues.
btw:
/sys/kernel/debug/qca-nss-drv/stats/pppoe
RX_BYTES RX_PACKETS + RX_BYTES always zero, is that normal?

Is there a way to get the NSS CPU cores usage?

p.s.: did u revert openwrt's branch?
C2600-20201228 was r15430+1-774b4f318f
C2600-20201231 is r15366+83-dbb542f194

Dunno why the stats are zero - that is interesting. Haven’t seen a way to measure NSS cores usage. I’d need some help to figure that out.

The version gets a little wonky when you have add on commits. Versions are managed by the get version script - getver.sh. There are 67 commits (the rebase commit is never counted) so here is the reasonings for the version changes:

C2600-20201228 was r15430+1 = “15431” (I made 1 local commit “+1”, no commits from master in the timeframe from the build the prior day so I didn’t rebase with master- the get version script gets tricked and thinks that 65 of my branch’s commits are a part of master)

C2600-20201231 is r15366+83 = “15449” (this is a more common nomenclature, it has +66 of my branch’s commits and +17 commits from the last time I rebased with master on Dec 28th - “+83”)

So “15449” is the newer build. :sunglasses:

Thanks, gave that a try as well but seems to have failed as well.

Seems my iDevices will never be happy! Appreciate all your help :+1:

1 Like

Just flash your firmware of EA7500 V1. Booting is ok !
I'm not sure how to verify nss driver is working or not.need research previous posts
thank you very much for your great work!
I also will test r7500 v2 later and let you know

1 Like

With NSS you should see full line speed (940mbps) and minimal CPU usage (if you have gig speed from your ISP). Wifi should have a small improvement too. :sunglasses:

Enjoy!

I'm trying to build by myself from your repo
I have built it ,now I want to update to the latest openwrt master
So I do
1 git stash
2 git fetch upstream && git rebase upstream/maste
but I got following,I'm a new openwrt, please help me
thanks

Applying: Fix NSS for NBG6817 (Zyxel Armor Z2)
Applying: Fix NSS for C2600
Applying: Fix NSS for EA7500 v1
Applying: rebase
Applying: Add qca package for qsdk10.0
Using index info to reconstruct a base tree...
.git/rebase-apply/patch:109: trailing whitespace.
 
.git/rebase-apply/patch:116: trailing whitespace.
 
.git/rebase-apply/patch:118: space before tab in indent.
 		crypto_bench_debug("#");
.git/rebase-apply/patch:119: trailing whitespace.
 
.git/rebase-apply/patch:120: space before tab in indent.
 		/* get start time */
warning: squelched 985 whitespace errors
warning: 990 lines add whitespace errors.
Falling back to patching base and 3-way merge...
warning: Cannot merge binary files: package/qca/qca-nss-drv/files/nss-firmware/qca-nss1-retail.bin (HEAD vs. Add qca package for qsdk10.0)
warning: Cannot merge binary files: package/qca/qca-nss-drv/files/nss-firmware/qca-nss0-retail.bin (HEAD vs. Add qca package for qsdk10.0)
CONFLICT (add/add): Merge conflict in package/qca/shortcut-fe/shortcut-fe/files/etc/init.d/shortcut-fe
Auto-merging package/qca/shortcut-fe/shortcut-fe/files/etc/init.d/shortcut-fe
CONFLICT (add/add): Merge conflict in package/qca/qca-nss-ecm/Makefile
Auto-merging package/qca/qca-nss-ecm/Makefile
CONFLICT (add/add): Merge conflict in package/qca/qca-nss-drv/files/nss-firmware/qca-nss1-retail.bin
Auto-merging package/qca/qca-nss-drv/files/nss-firmware/qca-nss1-retail.bin
CONFLICT (add/add): Merge conflict in package/qca/qca-nss-drv/files/nss-firmware/qca-nss0-retail.bin
Auto-merging package/qca/qca-nss-drv/files/nss-firmware/qca-nss0-retail.bin
CONFLICT (add/add): Merge conflict in package/qca/qca-nss-crypto/Makefile
Auto-merging package/qca/qca-nss-crypto/Makefile
error: Failed to merge in the changes.
Patch failed at 0067 Add qca package for qsdk10.0
hint: Use 'git am --show-current-patch' to see the failed patch
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

git clone -b kernel5.4-nss-qsdk10.0 https://github.com/ACwifidude/openwrt.git

cd openwrt

git remote add upstream https://git.openwrt.org/openwrt/openwrt.git

git fetch upstream && git rebase upstream/master && ./scripts/feeds update -a && ./scripts/feeds install -a && cp diffconfig .config && make defconfig && ./scripts/getver.sh

make -j5