mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-30 01:52:51 +00:00 
			
		
		
		
	ath11k: disable HE160/80+80 on cypress/hawkeye
[ 307.970726] qcom-q6v5-wcss-pil cd00000.qcom_q6v5_wcss: fatal error received: [ 307.970726] QC Image Version: QC_IMAGE_VERSION_STRING=WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1 [ 307.970726] Image Variant : IMAGE_VARIANT_STRING=6018.wlanfw.evalQ [ 307.970726] [ 307.970726] phyrf_reset.c:1131 Assertion (boardOpFlags == WHAL_WLAN_11AG_CAPABILITY) || ((boardOpFlags == WHALparam0 :zero, param1 :zero, param2 :zero. [ 307.970726] Thread ID : 0x00000068 Thread name : WLAN RT0 Process ID : 0 [ 307.970726] Register: [ 307.970726] SP : 0x4bb6e720 [ 307.970726] FP : 0x4bb6e728 [ 307.970726] PC : 0x4ac8d44c [ 307.970726] SSR : 0x00000008 [ 307.970726] BADVA : 0x00020000 [ 307.970726] LR : 0x4ac8cbe8 [ 307.970726] [ 307.970726] Stack Dump [ 307.970726] from : 0x4bb6e720 [ 307.970726] to : 0x4bb6eec0 [ 307.970726] [ 308.023043] remoteproc remoteproc0: crash detected in cd00000.qcom_q6v5_wcss: type fatal error [ 308.045307] remoteproc remoteproc0: handling crash #1 in cd00000.qcom_q6v5_wcss [ 308.053681] remoteproc remoteproc0: recovering cd00000.qcom_q6v5_wcss Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		
							
								
								
									
										31
									
								
								feeds/wifi-ax/mac80211/patches/pending/260-phymodes.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								feeds/wifi-ax/mac80211/patches/pending/260-phymodes.patch
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| Index: backports-20210222_001-4.4.60-b157d2276/drivers/net/wireless/ath/ath11k/mac.c | ||||
| =================================================================== | ||||
| --- backports-20210222_001-4.4.60-b157d2276.orig/drivers/net/wireless/ath/ath11k/mac.c | ||||
| +++ backports-20210222_001-4.4.60-b157d2276/drivers/net/wireless/ath/ath11k/mac.c | ||||
| @@ -5872,6 +5915,7 @@ static int ath11k_mac_copy_he_cap(struct | ||||
|  				  int band) | ||||
|  { | ||||
|  	int i, idx = 0; | ||||
| +	struct ath11k_base *ab = ar->ab; | ||||
|   | ||||
|  	for (i = 0; i < NUM_NL80211_IFTYPES; i++) { | ||||
|  		struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; | ||||
| @@ -5904,6 +5948,17 @@ static int ath11k_mac_copy_he_cap(struct | ||||
|  			~IEEE80211_HE_PHY_CAP5_BEAMFORMEE_NUM_SND_DIM_UNDER_80MHZ_MASK; | ||||
|  		he_cap_elem->phy_cap_info[5] |= ar->num_tx_chains - 1; | ||||
|   | ||||
| +		he_cap_elem->phy_cap_info[0] &= | ||||
| +			~IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_80PLUS80_MHZ_IN_5G; | ||||
| +		switch (ab->hw_rev) { | ||||
| +		case ATH11K_HW_QCN6122: | ||||
| +		case ATH11K_HW_QCN9074_HW10: | ||||
| +			break; | ||||
| +		default: | ||||
| +			he_cap_elem->phy_cap_info[0] &= | ||||
| +				~IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_160MHZ_IN_5G; | ||||
| +			break; | ||||
| +		} | ||||
|  		switch (i) { | ||||
|  		case NL80211_IFTYPE_AP: | ||||
|  			he_cap_elem->phy_cap_info[3] &= | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin