[PATCH 1/3] ath10k: update WMI 10.x service map
kbuild test robot
lkp at intel.com
Tue Nov 24 10:08:00 PST 2015
Hi Peter,
[auto build test ERROR on net-next/master]
[also build test ERROR on v4.4-rc2 next-20151124]
url: https://github.com/0day-ci/linux/commits/Peter-Oh/ath10k-introduce-Mesh-support-in-native-WiFi-mode-for-QCA988X/20151125-014059
config: x86_64-randconfig-x006-11230704 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
In file included from drivers/net/wireless/ath/ath10k/core.h:32:0,
from drivers/net/wireless/ath/ath10k/mac.h:22,
from drivers/net/wireless/ath/ath10k/mac.c:18:
drivers/net/wireless/ath/ath10k/wmi.h: In function 'wmi_10x_svc_map':
>> drivers/net/wireless/ath/ath10k/wmi.h:457:9: error: 'WMI_SERVICE_MESH' undeclared (first use in this function)
WMI_SERVICE_MESH, len);
^
drivers/net/wireless/ath/ath10k/wmi.h:398:14: note: in definition of macro 'SVCMAP'
__set_bit(y, out); \
^
drivers/net/wireless/ath/ath10k/wmi.h:457:9: note: each undeclared identifier is reported only once for each function it appears in
WMI_SERVICE_MESH, len);
^
drivers/net/wireless/ath/ath10k/wmi.h:398:14: note: in definition of macro 'SVCMAP'
__set_bit(y, out); \
^
>> drivers/net/wireless/ath/ath10k/wmi.h:459:9: error: 'WMI_SERVICE_EXT_RES_CFG_SUPPORT' undeclared (first use in this function)
WMI_SERVICE_EXT_RES_CFG_SUPPORT, len);
^
drivers/net/wireless/ath/ath10k/wmi.h:398:14: note: in definition of macro 'SVCMAP'
__set_bit(y, out); \
^
vim +/WMI_SERVICE_MESH +457 drivers/net/wireless/ath/ath10k/wmi.h
392 __le32_to_cpu((wmi_svc_bmap)[(svc_id)/(sizeof(u32))]) & \
393 BIT((svc_id)%(sizeof(u32))))
394
395 #define SVCMAP(x, y, len) \
396 do { \
397 if (WMI_SERVICE_IS_ENABLED((in), (x), (len))) \
> 398 __set_bit(y, out); \
399 } while (0)
400
401 static inline void wmi_10x_svc_map(const __le32 *in, unsigned long *out,
402 size_t len)
403 {
404 SVCMAP(WMI_10X_SERVICE_BEACON_OFFLOAD,
405 WMI_SERVICE_BEACON_OFFLOAD, len);
406 SVCMAP(WMI_10X_SERVICE_SCAN_OFFLOAD,
407 WMI_SERVICE_SCAN_OFFLOAD, len);
408 SVCMAP(WMI_10X_SERVICE_ROAM_OFFLOAD,
409 WMI_SERVICE_ROAM_OFFLOAD, len);
410 SVCMAP(WMI_10X_SERVICE_BCN_MISS_OFFLOAD,
411 WMI_SERVICE_BCN_MISS_OFFLOAD, len);
412 SVCMAP(WMI_10X_SERVICE_STA_PWRSAVE,
413 WMI_SERVICE_STA_PWRSAVE, len);
414 SVCMAP(WMI_10X_SERVICE_STA_ADVANCED_PWRSAVE,
415 WMI_SERVICE_STA_ADVANCED_PWRSAVE, len);
416 SVCMAP(WMI_10X_SERVICE_AP_UAPSD,
417 WMI_SERVICE_AP_UAPSD, len);
418 SVCMAP(WMI_10X_SERVICE_AP_DFS,
419 WMI_SERVICE_AP_DFS, len);
420 SVCMAP(WMI_10X_SERVICE_11AC,
421 WMI_SERVICE_11AC, len);
422 SVCMAP(WMI_10X_SERVICE_BLOCKACK,
423 WMI_SERVICE_BLOCKACK, len);
424 SVCMAP(WMI_10X_SERVICE_PHYERR,
425 WMI_SERVICE_PHYERR, len);
426 SVCMAP(WMI_10X_SERVICE_BCN_FILTER,
427 WMI_SERVICE_BCN_FILTER, len);
428 SVCMAP(WMI_10X_SERVICE_RTT,
429 WMI_SERVICE_RTT, len);
430 SVCMAP(WMI_10X_SERVICE_RATECTRL,
431 WMI_SERVICE_RATECTRL, len);
432 SVCMAP(WMI_10X_SERVICE_WOW,
433 WMI_SERVICE_WOW, len);
434 SVCMAP(WMI_10X_SERVICE_RATECTRL_CACHE,
435 WMI_SERVICE_RATECTRL_CACHE, len);
436 SVCMAP(WMI_10X_SERVICE_IRAM_TIDS,
437 WMI_SERVICE_IRAM_TIDS, len);
438 SVCMAP(WMI_10X_SERVICE_BURST,
439 WMI_SERVICE_BURST, len);
440 SVCMAP(WMI_10X_SERVICE_SMART_ANTENNA_SW_SUPPORT,
441 WMI_SERVICE_SMART_ANTENNA_SW_SUPPORT, len);
442 SVCMAP(WMI_10X_SERVICE_FORCE_FW_HANG,
443 WMI_SERVICE_FORCE_FW_HANG, len);
444 SVCMAP(WMI_10X_SERVICE_SMART_ANTENNA_HW_SUPPORT,
445 WMI_SERVICE_SMART_ANTENNA_HW_SUPPORT, len);
446 SVCMAP(WMI_10X_SERVICE_ATF,
447 WMI_SERVICE_ATF, len);
448 SVCMAP(WMI_10X_SERVICE_COEX_GPIO,
449 WMI_SERVICE_COEX_GPIO, len);
450 SVCMAP(WMI_10X_SERVICE_AUX_SPECTRAL_INTF,
451 WMI_SERVICE_AUX_SPECTRAL_INTF, len);
452 SVCMAP(WMI_10X_SERVICE_AUX_CHAN_LOAD_INTF,
453 WMI_SERVICE_AUX_CHAN_LOAD_INTF, len);
454 SVCMAP(WMI_10X_SERVICE_BSS_CHANNEL_INFO_64,
455 WMI_SERVICE_BSS_CHANNEL_INFO_64, len);
456 SVCMAP(WMI_10X_SERVICE_MESH,
> 457 WMI_SERVICE_MESH, len);
458 SVCMAP(WMI_10X_SERVICE_EXT_RES_CFG_SUPPORT,
> 459 WMI_SERVICE_EXT_RES_CFG_SUPPORT, len);
460 }
461
462 static inline void wmi_main_svc_map(const __le32 *in, unsigned long *out,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 25291 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20151125/8c919669/attachment-0001.obj>
More information about the ath10k
mailing list