mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 14:04:26 -04:00 
			
		
		
		
	Adjust our local ath10k-ct patches to the change
from the -ct 6.2 version to 6.4.
This restores e.g. the LED functionality.
Fixes: 7d3651f1b9 ("ath10k-ct: switch to 6.4")
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
		
	
			
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/ath10k-6.4/pci.c
 | |
| +++ b/ath10k-6.4/pci.c
 | |
| @@ -131,7 +131,11 @@ static const struct ce_attr pci_host_ce_
 | |
|  		.flags = CE_ATTR_FLAGS,
 | |
|  		.src_nentries = 0,
 | |
|  		.src_sz_max = 2048,
 | |
| +#ifndef CONFIG_ATH10K_SMALLBUFFERS
 | |
|  		.dest_nentries = 512,
 | |
| +#else
 | |
| +		.dest_nentries = 128,
 | |
| +#endif
 | |
|  		.recv_cb = ath10k_pci_htt_htc_rx_cb,
 | |
|  	},
 | |
|  
 | |
| @@ -140,7 +144,11 @@ static const struct ce_attr pci_host_ce_
 | |
|  		.flags = CE_ATTR_FLAGS,
 | |
|  		.src_nentries = 0,
 | |
|  		.src_sz_max = 2048,
 | |
| +#ifndef CONFIG_ATH10K_SMALLBUFFERS
 | |
|  		.dest_nentries = 128,
 | |
| +#else
 | |
| +		.dest_nentries = 64,
 | |
| +#endif
 | |
|  		.recv_cb = ath10k_pci_htc_rx_cb,
 | |
|  	},
 | |
|  
 | |
| @@ -167,7 +175,11 @@ static const struct ce_attr pci_host_ce_
 | |
|  		.flags = CE_ATTR_FLAGS,
 | |
|  		.src_nentries = 0,
 | |
|  		.src_sz_max = 512,
 | |
| +#ifndef CONFIG_ATH10K_SMALLBUFFERS
 | |
|  		.dest_nentries = 512,
 | |
| +#else
 | |
| +		.dest_nentries = 128,
 | |
| +#endif
 | |
|  		.recv_cb = ath10k_pci_htt_rx_cb,
 | |
|  	},
 | |
|  
 | |
| @@ -192,7 +204,11 @@ static const struct ce_attr pci_host_ce_
 | |
|  		.flags = CE_ATTR_FLAGS,
 | |
|  		.src_nentries = 0,
 | |
|  		.src_sz_max = 2048,
 | |
| +#ifndef CONFIG_ATH10K_SMALLBUFFERS
 | |
|  		.dest_nentries = 128,
 | |
| +#else
 | |
| +		.dest_nentries = 96,
 | |
| +#endif
 | |
|  		.recv_cb = ath10k_pci_pktlog_rx_cb,
 | |
|  	},
 | |
|  
 |