From c5340b8d587621ce66dbfe16c9c8cdd427ebd745 Mon Sep 17 00:00:00 2001 From: Sean Khan Date: Sun, 4 Aug 2024 01:42:54 -0400 Subject: [PATCH] qca-nss: Bump 11.4 FW to 11.4.0.5-6 This bumps NSS 11.4.0.5-5 to 11.4.0.5-6 along with the driver and client packages. This is the actual final release of 11.4.0.5 series. It brings in changes related to mesh dummy paths and wifi. Signed-off-by: Sean Khan --- firmware/nss-firmware/Makefile | 10 +- qca-nss-clients/Makefile | 4 +- .../0018-kernel-6.1-support.patch | 4 +- ...shmgr-fix-uninitialized-and-implicit.patch | 32 ++--- .../0028-dtlsmgr-use-eth_hw_addr_set.patch | 3 +- qca-nss-drv/Makefile | 6 +- ...s_wifili_if-compilation-error-GCC-13.patch | 2 +- .../0013-backport-12.4-docs.patch | 119 ++---------------- .../0022-nss-drv-set-addr-to-const.patch | 2 +- 9 files changed, 42 insertions(+), 140 deletions(-) diff --git a/firmware/nss-firmware/Makefile b/firmware/nss-firmware/Makefile index b3359a8..d7e3d57 100644 --- a/firmware/nss-firmware/Makefile +++ b/firmware/nss-firmware/Makefile @@ -8,10 +8,10 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nss-firmware -PKG_SOURCE_DATE:=2024-07-22 -PKG_SOURCE_VERSION:=8dceff47ef0ac967d01bf0dacd84d44842774af2 -PKG_MIRROR_HASH:=3334a63d0b2c7afe4f6d4e3c2ac86bc3e2a0d97df17f478eeec7d29936062edf -PKG_RELEASE:=2 +PKG_SOURCE_DATE:=2024-08-04 +PKG_SOURCE_VERSION:=794fe3732fca4ef9b74e7be6f621d160d831b636 +PKG_MIRROR_HASH:=a3bb68bd729469470cbccd538d7fc529acabad46a2c9aa2ad6bb19fb05f01b45 +PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/qosmio/qca-sdk-nss-fw.git @@ -97,7 +97,7 @@ endef ifneq ($(CONFIG_NSS_FIRMWARE_VERSION_11_4),) NSS_MAJOR=11 NSS_MINOR=4 - NSS_REL=5 + NSS_REL=6 VERSION_PATH=$(PKG_BUILD_DIR)/QCA_Networking_2021.SPF_$(NSS_MAJOR).$(NSS_MINOR)/CS else ifneq ($(CONFIG_NSS_FIRMWARE_VERSION_12_1),) NSS_MAJOR=12 diff --git a/qca-nss-clients/Makefile b/qca-nss-clients/Makefile index 49d78b2..646b443 100644 --- a/qca-nss-clients/Makefile +++ b/qca-nss-clients/Makefile @@ -53,8 +53,8 @@ PKG_CONFIG_DEPENDS:=\ ifeq ($(CONFIG_NSS_FIRMWARE_VERSION_11_4),y) PKG_SOURCE_DATE:=2021-08-17 -PKG_SOURCE_VERSION:=153998d -PKG_MIRROR_HASH:=57511079f6ab5cfd17769e03ca60b7ed5f7ea87cbf3b7d610c08b8ab43c6c5a5 +PKG_SOURCE_VERSION:=c4049d1 +PKG_MIRROR_HASH:=56cd0b3daca414bd215c3c804d5ca9bdbdaca128c05a9452c7b1eb592b17061c PATCH_DIR:=$(CURDIR)/patches-11.4 QSDK_VERSION:=11.4.0.5 PKG_VERSION:=$(QSDK_VERSION).$(subst -,.,$(PKG_SOURCE_DATE))~$(PKG_SOURCE_VERSION) diff --git a/qca-nss-clients/patches-11.4/0018-kernel-6.1-support.patch b/qca-nss-clients/patches-11.4/0018-kernel-6.1-support.patch index c8e71ca..212bda3 100644 --- a/qca-nss-clients/patches-11.4/0018-kernel-6.1-support.patch +++ b/qca-nss-clients/patches-11.4/0018-kernel-6.1-support.patch @@ -216,7 +216,7 @@ @@ -305,9 +305,9 @@ static void nss_pvxlanmgr_dummy_netdev_s dev->priv_destructor = NULL; #endif - + - memcpy(dev->dev_addr, "\x00\x00\x00\x00\x00\x00", dev->addr_len); - memset(dev->broadcast, 0xff, dev->addr_len); - memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); @@ -224,7 +224,7 @@ + eth_hw_addr_set(dev, mac_addr); + eth_broadcast_addr(dev->broadcast); } - + /* --- a/clmapmgr/nss_clmapmgr.c +++ b/clmapmgr/nss_clmapmgr.c diff --git a/qca-nss-clients/patches-11.4/0019-wifi-meshmgr-fix-uninitialized-and-implicit.patch b/qca-nss-clients/patches-11.4/0019-wifi-meshmgr-fix-uninitialized-and-implicit.patch index 65dc002..6f3160a 100644 --- a/qca-nss-clients/patches-11.4/0019-wifi-meshmgr-fix-uninitialized-and-implicit.patch +++ b/qca-nss-clients/patches-11.4/0019-wifi-meshmgr-fix-uninitialized-and-implicit.patch @@ -27,7 +27,7 @@ if (nss_status != NSS_WIFI_MESHMGR_SUCCESS) { nss_wifi_meshmgr_warn("%px: Failed to dealloc encap: %d\n", &wmgr_ctx, nss_status); } -@@ -253,10 +253,10 @@ static void nss_wifi_meshmgr_tx_msg_cb(v +@@ -257,10 +257,10 @@ static void nss_wifi_meshmgr_tx_msg_cb(v /* * FIXME: The wmesh_ctx can be invalid if the memory goes away with the caller being timedout. */ @@ -40,7 +40,7 @@ } complete(&wmesh_ctx->complete); -@@ -285,10 +285,10 @@ static nss_wifi_meshmgr_status_t nss_wif +@@ -289,10 +289,10 @@ static nss_wifi_meshmgr_status_t nss_wif ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -53,7 +53,7 @@ up(&wmesh_ctx->sem); return status; } -@@ -320,7 +320,7 @@ nss_wifi_meshmgr_status_t nss_wifi_meshm +@@ -324,7 +324,7 @@ nss_wifi_meshmgr_status_t nss_wifi_meshm return NSS_WIFI_MESHMGR_FAILURE; } @@ -62,7 +62,7 @@ nss_wifi_meshmgr_ref_dec(wmesh_ctx); return nss_status; } -@@ -544,10 +544,10 @@ nss_wifi_meshmgr_dump_mesh_path_sync(nss +@@ -548,10 +548,10 @@ nss_wifi_meshmgr_dump_mesh_path_sync(nss ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -75,7 +75,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -639,10 +639,10 @@ nss_wifi_meshmgr_dump_mesh_proxy_path_sy +@@ -643,10 +643,10 @@ nss_wifi_meshmgr_dump_mesh_proxy_path_sy ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -88,7 +88,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -711,7 +711,7 @@ nss_wifi_meshmgr_assoc_link_vap(nss_wifi +@@ -715,7 +715,7 @@ nss_wifi_meshmgr_assoc_link_vap(nss_wifi /* * Send the link vap mesage to the NSS synchronously. */ @@ -97,7 +97,7 @@ if (nss_status != NSS_WIFI_MESHMGR_SUCCESS) { nss_wifi_meshmgr_warn("%px: Mesh link vap association failed: %d.\n", &wmgr_ctx, nss_status); } -@@ -757,10 +757,10 @@ nss_wifi_meshmgr_assoc_link_vap_sync(nss +@@ -761,10 +761,10 @@ nss_wifi_meshmgr_assoc_link_vap_sync(nss ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -110,7 +110,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -882,10 +882,10 @@ nss_wifi_meshmgr_mesh_config_update_sync +@@ -886,10 +886,10 @@ nss_wifi_meshmgr_mesh_config_update_sync ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -123,7 +123,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -981,10 +981,10 @@ nss_wifi_meshmgr_mesh_proxy_path_delete_ +@@ -985,10 +985,10 @@ nss_wifi_meshmgr_mesh_proxy_path_delete_ ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -136,7 +136,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -1080,10 +1080,10 @@ nss_wifi_meshmgr_mesh_proxy_path_update_ +@@ -1084,10 +1084,10 @@ nss_wifi_meshmgr_mesh_proxy_path_update_ ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -149,7 +149,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -1179,10 +1179,10 @@ nss_wifi_meshmgr_mesh_proxy_path_add_syn +@@ -1183,10 +1183,10 @@ nss_wifi_meshmgr_mesh_proxy_path_add_syn ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -162,7 +162,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -1278,10 +1278,10 @@ nss_wifi_meshmgr_mesh_path_delete_sync(n +@@ -1282,10 +1282,10 @@ nss_wifi_meshmgr_mesh_path_delete_sync(n ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -175,7 +175,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -1377,10 +1377,10 @@ nss_wifi_meshmgr_mesh_path_add_sync(nss_ +@@ -1381,10 +1381,10 @@ nss_wifi_meshmgr_mesh_path_add_sync(nss_ ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -188,7 +188,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); return nss_status; -@@ -1475,10 +1475,10 @@ nss_wifi_meshmgr_mesh_path_update_sync(n +@@ -1479,10 +1479,10 @@ nss_wifi_meshmgr_mesh_path_update_sync(n ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -201,7 +201,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -1574,10 +1574,10 @@ nss_wifi_meshmgr_mesh_path_exception_syn +@@ -1578,10 +1578,10 @@ nss_wifi_meshmgr_mesh_path_exception_syn ret = wait_for_completion_timeout(&wmesh_ctx->complete, msecs_to_jiffies(NSS_WIFI_MESH_TX_TIMEOUT)); if (!ret) { nss_wifi_meshmgr_warn("%px: WiFi mesh msg tx failed due to timeout\n", &wmgr_ctx); @@ -214,7 +214,7 @@ up(&wmesh_ctx->sem); nss_wifi_meshmgr_ref_dec(wmesh_ctx); -@@ -1791,7 +1791,7 @@ nss_wifi_mesh_handle_t nss_wifi_meshmgr_ +@@ -1795,7 +1795,7 @@ nss_wifi_mesh_handle_t nss_wifi_meshmgr_ int32_t encap_ifnum, decap_ifnum; uint32_t features = 0; nss_wifi_mesh_handle_t mesh_handle; diff --git a/qca-nss-clients/patches-11.4/0028-dtlsmgr-use-eth_hw_addr_set.patch b/qca-nss-clients/patches-11.4/0028-dtlsmgr-use-eth_hw_addr_set.patch index 6a20388..20a1e8e 100644 --- a/qca-nss-clients/patches-11.4/0028-dtlsmgr-use-eth_hw_addr_set.patch +++ b/qca-nss-clients/patches-11.4/0028-dtlsmgr-use-eth_hw_addr_set.patch @@ -1,6 +1,6 @@ --- a/dtls/v2.0/nss_dtlsmgr_ctx_dev.c +++ b/dtls/v2.0/nss_dtlsmgr_ctx_dev.c -@@ -532,7 +536,8 @@ void nss_dtlsmgr_ctx_dev_setup(struct ne +@@ -532,7 +532,8 @@ void nss_dtlsmgr_ctx_dev_setup(struct ne #else dev->priv_destructor = nss_dtlsmgr_ctx_dev_free; #endif @@ -11,4 +11,3 @@ + eth_broadcast_addr(dev->broadcast); memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); } - diff --git a/qca-nss-drv/Makefile b/qca-nss-drv/Makefile index 518dec6..e1fdbcc 100644 --- a/qca-nss-drv/Makefile +++ b/qca-nss-drv/Makefile @@ -62,9 +62,9 @@ PKG_CONFIG_DEPENDS:= \ CONFIG_NSS_FIRMWARE_VERSION_11_4 ifeq ($(CONFIG_NSS_FIRMWARE_VERSION_11_4),y) -PKG_SOURCE_DATE:=2021-06-24 -PKG_SOURCE_VERSION:=dc14ca2 -PKG_MIRROR_HASH:=11bff5afcf6037a4f79fc212a50ed42dbe6db5f93099050a5b3f55d85f5279ad +PKG_SOURCE_DATE:=2021-09-13 +PKG_SOURCE_VERSION:=53e5863 +PKG_MIRROR_HASH:=24ffda06f6f4fe52f6d47a32d43d58e111a35ae65a0893664c931cb7bb7eca12 PATCH_DIR:=$(CURDIR)/patches-11.4 QSDK_VERSION:=11.4.0.5 PKG_VERSION:=$(QSDK_VERSION).$(subst -,.,$(PKG_SOURCE_DATE))~$(PKG_SOURCE_VERSION) diff --git a/qca-nss-drv/patches-11.4/0007-nss-drv-Fix-nss_wifili_if-compilation-error-GCC-13.patch b/qca-nss-drv/patches-11.4/0007-nss-drv-Fix-nss_wifili_if-compilation-error-GCC-13.patch index 89cce25..1d7e8c9 100644 --- a/qca-nss-drv/patches-11.4/0007-nss-drv-Fix-nss_wifili_if-compilation-error-GCC-13.patch +++ b/qca-nss-drv/patches-11.4/0007-nss-drv-Fix-nss_wifili_if-compilation-error-GCC-13.patch @@ -1,6 +1,6 @@ --- a/exports/nss_wifili_if.h +++ b/exports/nss_wifili_if.h -@@ -1994,7 +1994,7 @@ void nss_wifili_release_external_if(nss_ +@@ -1995,7 +1995,7 @@ void nss_wifili_release_external_if(nss_ */ uint8_t nss_wifili_thread_scheme_alloc(struct nss_ctx_instance *nss_ctx, int32_t radio_ifnum, diff --git a/qca-nss-drv/patches-11.4/0013-backport-12.4-docs.patch b/qca-nss-drv/patches-11.4/0013-backport-12.4-docs.patch index 5ca1933..34f2b09 100644 --- a/qca-nss-drv/patches-11.4/0013-backport-12.4-docs.patch +++ b/qca-nss-drv/patches-11.4/0013-backport-12.4-docs.patch @@ -64,7 +64,7 @@ }; /** -@@ -350,7 +350,7 @@ struct nss_wifi_mesh_proxy_path_del_msg +@@ -353,7 +353,7 @@ struct nss_wifi_mesh_proxy_path_del_msg /** * nss_wifi_mesh_mpath_not_found_msg @@ -73,7 +73,7 @@ */ struct nss_wifi_mesh_mpath_not_found_msg { uint8_t dest_mac_addr[ETH_ALEN]; /**< Destination MAC address. */ -@@ -386,27 +386,27 @@ struct nss_wifi_mesh_path_expiry_msg { +@@ -389,28 +389,28 @@ struct nss_wifi_mesh_path_expiry_msg { * Encapsulation statistics. */ struct nss_wifi_mesh_encap_stats { @@ -98,6 +98,7 @@ - uint32_t no_headroom; /* Number of packets dropped because there is no headroom. */ - uint32_t path_refresh_sent; /* Number of times path refresh is sent to host. */ - uint32_t linearise_failed; /* Number of packets dropped because pb_linearise. */ +- uint32_t mp_exception_event_rl_dropped; /* Number of packets dropped due to rate limit. */ + uint32_t expiry_notify_sent; /**< Number of times expiry notification sent to host. */ + uint32_t mc_count; /**< Number of multicast packets. */ + uint32_t mp_not_found; /**< Number of times mesh path is not found. */ @@ -119,10 +120,11 @@ + uint32_t no_headroom; /**< Number of packets dropped because there is no headroom. */ + uint32_t path_refresh_sent; /**< Number of times path refresh is sent to host. */ + uint32_t linearise_failed; /**< Number of packets dropped because pb_linearise. */ ++ uint32_t mp_exception_event_rl_dropped; /**< Number of packets dropped due to rate limit. */ }; /* -@@ -526,22 +526,22 @@ struct nss_wifi_mesh_path_stats { +@@ -532,22 +532,22 @@ struct nss_wifi_mesh_path_stats { * Wi-Fi mesh proxy path statistics. */ struct nss_wifi_mesh_proxy_path_stats { @@ -158,10 +160,10 @@ + uint32_t update_requests; /**< Mesh proxy path updation requests. */ + uint32_t mda_updations; /**< Mesh proxy path mda updations. */ + uint32_t flag_updations; /**< Mesh proxy path flags updations. */ - }; - - /** -@@ -958,7 +958,7 @@ nss_tx_status_t nss_wifi_mesh_tx_msg_ext + uint32_t mesh_proxy_path_dummy_lookup_success; /**< Mesh proxy path dummy entry lookup successes. */ + uint32_t mesh_proxy_path_dummy_lookup_failures; /**< Mesh proxy path dummy entry lookup failures. */ + uint32_t mesh_proxy_path_dummy_add_failures; /**< Mesh proxy path dummy entry add failures. */ +@@ -975,7 +975,7 @@ nss_tx_status_t nss_wifi_mesh_tx_msg_ext /** * nss_wifi_mesh_verify_if_num @@ -170,7 +172,7 @@ * * @datatypes * interface number \n -@@ -997,4 +997,9 @@ extern int nss_wifi_mesh_stats_register_ +@@ -1014,4 +1014,9 @@ extern int nss_wifi_mesh_stats_register_ * 0 on success or non-zero on failure. */ extern int nss_wifi_mesh_stats_unregister_notifier(struct notifier_block *nb); @@ -180,105 +182,6 @@ + */ + #endif /* __NSS_WIFI_MESH_H */ ---- a/nss_wifi_mesh_strings.c -+++ b/nss_wifi_mesh_strings.c -@@ -106,22 +106,22 @@ static ssize_t nss_wifi_mesh_path_stats_ - * Wi-Fi mesh proxy path statistics string. - */ - struct nss_stats_info nss_wifi_mesh_strings_proxy_path_stats[NSS_WIFI_MESH_PROXY_PATH_STATS_TYPE_MAX] = { -- {"alloc_failures", NSS_STATS_TYPE_SPECIAL}, -- {"entry_exist_failures", NSS_STATS_TYPE_SPECIAL}, -- {"add_success", NSS_STATS_TYPE_SPECIAL}, -- {"table_full_errors", NSS_STATS_TYPE_SPECIAL}, -- {"insert_failures", NSS_STATS_TYPE_SPECIAL}, -- {"not_found", NSS_STATS_TYPE_SPECIAL}, -- {"unhashed_errors", NSS_STATS_TYPE_SPECIAL}, -- {"delete_failures", NSS_STATS_TYPE_SPECIAL}, -- {"delete_success", NSS_STATS_TYPE_SPECIAL}, -- {"update_success", NSS_STATS_TYPE_SPECIAL}, -- {"lookup_success", NSS_STATS_TYPE_SPECIAL}, -- {"add_requests", NSS_STATS_TYPE_SPECIAL}, -- {"del_requests", NSS_STATS_TYPE_SPECIAL}, -- {"update_requests", NSS_STATS_TYPE_SPECIAL}, -- {"mda_updations", NSS_STATS_TYPE_SPECIAL}, -- {"flag_updations", NSS_STATS_TYPE_SPECIAL} -+ {"alloc_failures", NSS_STATS_TYPE_SPECIAL}, -+ {"entry_exist_failures", NSS_STATS_TYPE_SPECIAL}, -+ {"add_success", NSS_STATS_TYPE_SPECIAL}, -+ {"table_full_errors", NSS_STATS_TYPE_SPECIAL}, -+ {"insert_failures", NSS_STATS_TYPE_SPECIAL}, -+ {"not_found", NSS_STATS_TYPE_SPECIAL}, -+ {"unhashed_errors", NSS_STATS_TYPE_SPECIAL}, -+ {"delete_failures", NSS_STATS_TYPE_SPECIAL}, -+ {"delete_success", NSS_STATS_TYPE_SPECIAL}, -+ {"update_success", NSS_STATS_TYPE_SPECIAL}, -+ {"lookup_success", NSS_STATS_TYPE_SPECIAL}, -+ {"add_requests", NSS_STATS_TYPE_SPECIAL}, -+ {"del_requests", NSS_STATS_TYPE_SPECIAL}, -+ {"update_requests", NSS_STATS_TYPE_SPECIAL}, -+ {"mda_updations", NSS_STATS_TYPE_SPECIAL}, -+ {"flag_updations", NSS_STATS_TYPE_SPECIAL} - }; - - /* ---- a/exports/nss_wifi.h -+++ b/exports/nss_wifi.h -@@ -641,8 +641,8 @@ struct nss_wifi_stats_sync_msg { - * Information for creating a Wi-Fi peer freelist. - */ - struct nss_wifi_peer_freelist_append_msg { -- uint32_t addr; /**< Starting address of peer freelist pool. */ -- uint32_t length; /**< Size of peer freelist pool. */ -+ uint32_t addr; /**< Starting address of the peer freelist pool. */ -+ uint32_t length; /**< Size of the peer freelist pool. */ - uint32_t num_peers; /**< Maximum peer entries supported in the pool. */ - }; - -@@ -709,7 +709,7 @@ struct nss_wifi_peer_ol_stats { - uint32_t tx_mcast; /**< Number of multicast packets sent. */ - uint32_t tx_ucast; /**< Number of unicast packets sent. */ - uint32_t tx_data; /**< Number data packets sent. */ -- uint32_t tx_bytes; /**< Number of bytes sent. */ -+ uint32_t tx_bytes; /**< Number of bytes transmitted. */ - uint32_t tx_fail; /**< Number of failed Tx packets. */ - uint32_t thrup_bytes; /**< Number of throughput bytes. */ - uint32_t tx_bcast_pkts; /**< Number of broadcast packets sent. */ -@@ -742,7 +742,7 @@ struct nss_wifi_ol_stats_msg { - - /** - * nss_wifi_sta_kickout_msg -- * Station kickout message from NSS Firmware -+ * Station kickout message from NSS firmware. - */ - struct nss_wifi_sta_kickout_msg { - uint32_t peer_id; /**< Peer ID. */ -@@ -759,7 +759,7 @@ struct nss_wifi_peer_isolation_msg { - - /** - * nss_wifi_wnm_peer_rx_activity_msg -- * Rx active state information for the peer. -+ * Receive active state information for the peer. - */ - struct nss_wifi_wnm_peer_rx_activity_msg { - uint16_t nentries; /**< Number of entries. */ -@@ -917,7 +917,7 @@ struct nss_wifi_msg { - struct nss_wifi_cmd_msg wcmdm; - /**< Pdev command information. */ - struct nss_wifi_enable_ol_statsv2 wesh_msg; -- /**< Enable version 2 tx/rx stats. */ -+ /**< Enable version 2 transmit/receive statistics. */ - struct nss_wifi_ol_peer_time_msg wopt_msg; - /**< Send per peer/TID timestamp statistics to host. */ - struct nss_wifi_peer_isolation_msg isolation_msg; -@@ -927,7 +927,7 @@ struct nss_wifi_msg { - - /** - * nss_wifi_get_context -- * Gets the Wi-Fi context used in nss_gre_tx. -+ * Gets the Wi-Fi context used in NSS GRE transmit. - * - * @return - * Pointer to the NSS core context. --- a/exports/nss_c2c_rx.h +++ b/exports/nss_c2c_rx.h @@ -1,6 +1,6 @@ @@ -918,7 +821,7 @@ * above copyright notice and this permission notice appear in all copies. --- a/exports/nss_wifi_vdev.h +++ b/exports/nss_wifi_vdev.h -@@ -1071,13 +1071,13 @@ struct nss_wifi_vdev_msg { +@@ -1069,13 +1069,13 @@ struct nss_wifi_vdev_msg { struct nss_wifi_vdev_me_snptbl_deny_grp_add_msg vdev_deny_member_add; /**< Add a snooplist member to the deny list. */ struct nss_wifi_vdev_me_hmmc_add_msg vdev_hmmc_member_add; diff --git a/qca-nss-drv/patches-11.4/0022-nss-drv-set-addr-to-const.patch b/qca-nss-drv/patches-11.4/0022-nss-drv-set-addr-to-const.patch index e08a37d..3ed5db6 100644 --- a/qca-nss-drv/patches-11.4/0022-nss-drv-set-addr-to-const.patch +++ b/qca-nss-drv/patches-11.4/0022-nss-drv-set-addr-to-const.patch @@ -22,7 +22,7 @@ * nss_vlan_tx_vsi_attach_msg --- a/exports/nss_wifi_vdev.h +++ b/exports/nss_wifi_vdev.h -@@ -1329,7 +1329,7 @@ nss_tx_status_t nss_wifi_vdev_base_set_n +@@ -1327,7 +1327,7 @@ nss_tx_status_t nss_wifi_vdev_base_set_n * @return * Status of the Tx operation. */