ath10k: Add new service IDs
PATCH 1/1 ath10k: Add new service IDs
From: Sujith Manoharan <[email protected]>
With the new firmware, various new services have been added. Add them to the service list and display them in the "wmi_services" file.
Signed-off-by Sujith Manoharan <[email protected]>
--- drivers/net/wireless/ath/ath10k/debug.c | 7 +------ drivers/net/wireless/ath/ath10k/wmi.h | 12 ++++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-)
drivers/net/wireless/ath/ath10k/debug.c +1 -6
@@ -126,11 +126,6 @@ static ssize_t ath10k_read_wmi_services(struct file *file,if (len > buf_len) len = buf_len; - len +=scnprintf (buf + len, buf_len - len,"\n" ); - len +=scnprintf (buf + len, buf_len - len,"%30s\n" , -"ath10k WMI supported services" ); - len +=scnprintf (buf + len, buf_len - len,"%30s\n\n" , -"=================" );for (i =0 ; i <WMI_SERVICE_LAST ; i++) {if (WMI_SERVICE_IS_ENABLED (ar->debug.wmi_service_bitmap, i)) status ="enabled" ;
@@ -138,7 +133,7 @@ static ssize_t ath10k_read_wmi_services(struct file *file, status ="disabled" ; len +=scnprintf (buf + len, buf_len - len, -" - 0x%02x - %20s - %s\n" , +"0x%02x - %20s - %s\n" , i,wmi_service_name (i), status); }
drivers/net/wireless/ath/ath10k/wmi.h +12 -0
@@ -91,6 +91,8 @@ enum wmi_service_id {WMI_SERVICE_RTT ,/* RTT (round trip time) support */ WMI_SERVICE_RATECTRL ,/* Rate-control */ WMI_SERVICE_WOW ,/* WOW Support */ +WMI_SERVICE_RATECTRL_CACHE ,/* Rate-control caching */ +WMI_SERVICE_IRAM_TIDS ,/* TIDs in IRAM */ WMI_SERVICE_ARPNS_OFFLOAD ,/* ARP NS Offload support */ WMI_SERVICE_NLO ,/* Network list offload service */ WMI_SERVICE_GTK_OFFLOAD, /* GTK offload */
@@ -143,6 +145,10 @@ static inline char *wmi_service_name(int service_id)return "RATECTRL" ;case WMI_SERVICE_WOW :return "WOW" ; +case WMI_SERVICE_RATECTRL_CACHE : +return "RATECTRL CACHE" ; +case WMI_SERVICE_IRAM_TIDS : +return "IRAM TIDS" ;case WMI_SERVICE_ARPNS_OFFLOAD :return "ARPNS_OFFLOAD" ;case WMI_SERVICE_NLO :
@@ -163,6 +169,12 @@ static inline char *wmi_service_name(int service_id)return "FORCE FW HANG" ;case WMI_SERVICE_GPIO :return "GPIO" ; +case WMI_SERVICE_STA_DTIM_PS_MODULATED_DTIM : +return "MODULATED DTIM" ; +case WMI_STA_UAPSD_BASIC_AUTO_TRIG : +return "BASIC UAPSD" ; +case WMI_STA_UAPSD_VAR_AUTO_TRIG : +return "VAR UAPSD" ;case WMI_SERVICE_TX_ENCAP :return "TX ENCAP" ;default :
Signature · 1 line
1.8.2.2
Kalle Valo
AppliedPATCH 1/1 ath10k: Add new service IDs
Quoted 7 lines · Sujith Manoharan
From: Sujith Manoharan <[email protected]>
With the new firmware, various new services have been added. Add them to the service list and display them in the "
wmi_services" file.Signed-off-by Sujith Manoharan <[email protected]>
Thanks, applied.
Signature · 1 line
Kalle Valo