]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath10k: increase copy engine entries for rx wmi
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 4 Mar 2015 13:43:44 +0000 (15:43 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 5 Mar 2015 13:49:01 +0000 (15:49 +0200)
Having lower number of copy engine entries for target to host
WMI ring is causing drops in receiving management frames. This
issue is observed during max clients (128 clients) stress testing.
While bursting deauthentication frames from simulated clients,
approx. 70% of frames are getting dropped due to lower ring entries.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c

index 7681237fe298a4d430ec4d8ac95fd5fad2cc9de2..631b026a487b2fc17de97c969d08971dab8a565b 100644 (file)
@@ -113,7 +113,7 @@ static const struct ce_attr host_ce_config_wlan[] = {
                .flags = CE_ATTR_FLAGS,
                .src_nentries = 0,
                .src_sz_max = 2048,
-               .dest_nentries = 32,
+               .dest_nentries = 128,
        },
 
        /* CE3: host->target WMI */
@@ -183,7 +183,7 @@ static const struct ce_pipe_config target_ce_config_wlan[] = {
        {
                .pipenum = __cpu_to_le32(2),
                .pipedir = __cpu_to_le32(PIPEDIR_IN),
-               .nentries = __cpu_to_le32(32),
+               .nentries = __cpu_to_le32(64),
                .nbytes_max = __cpu_to_le32(2048),
                .flags = __cpu_to_le32(CE_ATTR_FLAGS),
                .reserved = __cpu_to_le32(0),