diff mbox

[1/3] ath10k: update WMI 10.x service map

Message ID 1448386655-13936-2-git-send-email-poh@qca.qualcomm.com (mailing list archive)
State Not Applicable
Delegated to: Kalle Valo
Headers show

Commit Message

Peter Oh Nov. 24, 2015, 5:37 p.m. UTC
Update WMI 10.x service map to sync with firmware 10.2.4.70.12-2
released on 11/11/2015 which is the latest QCA988X firmware as of
11/18/2015.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/wmi.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

kernel test robot Nov. 24, 2015, 6:08 p.m. UTC | #1
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
kernel test robot Nov. 24, 2015, 9:19 p.m. UTC | #2
Hi Peter,

[auto build test WARNING on net-next/master]
[also build test WARNING 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: m68k-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All warnings (new ones prefixed by >>):

   In file included from include/linux/bitops.h:36:0,
                    from include/linux/kernel.h:10,
                    from include/asm-generic/bug.h:13,
                    from arch/m68k/include/asm/bug.h:28,
                    from include/linux/bug.h:4,
                    from include/net/mac80211.h:18,
                    from drivers/net/wireless/ath/ath10k/mac.h:21,
                    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);
            ^
   arch/m68k/include/asm/bitops.h:63:50: note: in definition of macro 'set_bit'
    #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \
                                                     ^
>> drivers/net/wireless/ath/ath10k/wmi.h:398:4: note: in expansion of macro '__set_bit'
       __set_bit(y, out); \
       ^
>> drivers/net/wireless/ath/ath10k/wmi.h:456:2: note: in expansion of macro 'SVCMAP'
     SVCMAP(WMI_10X_SERVICE_MESH,
     ^
   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);
            ^
   arch/m68k/include/asm/bitops.h:63:50: note: in definition of macro 'set_bit'
    #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \
                                                     ^
>> drivers/net/wireless/ath/ath10k/wmi.h:398:4: note: in expansion of macro '__set_bit'
       __set_bit(y, out); \
       ^
>> drivers/net/wireless/ath/ath10k/wmi.h:456:2: note: in expansion of macro 'SVCMAP'
     SVCMAP(WMI_10X_SERVICE_MESH,
     ^
   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);
            ^
   arch/m68k/include/asm/bitops.h:63:50: note: in definition of macro 'set_bit'
    #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \
                                                     ^
>> drivers/net/wireless/ath/ath10k/wmi.h:398:4: note: in expansion of macro '__set_bit'
       __set_bit(y, out); \
       ^
   drivers/net/wireless/ath/ath10k/wmi.h:458:2: note: in expansion of macro 'SVCMAP'
     SVCMAP(WMI_10X_SERVICE_EXT_RES_CFG_SUPPORT,
     ^

vim +/__set_bit +398 drivers/net/wireless/ath/ath10k/wmi.h

37b9f933 Michal Kazior 2014-11-27  392  	 __le32_to_cpu((wmi_svc_bmap)[(svc_id)/(sizeof(u32))]) & \
cff990ce Michal Kazior 2014-08-04  393  	 BIT((svc_id)%(sizeof(u32))))
cff990ce Michal Kazior 2014-08-04  394  
37b9f933 Michal Kazior 2014-11-27  395  #define SVCMAP(x, y, len) \
cff990ce Michal Kazior 2014-08-04  396  	do { \
37b9f933 Michal Kazior 2014-11-27  397  		if (WMI_SERVICE_IS_ENABLED((in), (x), (len))) \
cff990ce Michal Kazior 2014-08-04 @398  			__set_bit(y, out); \
cff990ce Michal Kazior 2014-08-04  399  	} while (0)
cff990ce Michal Kazior 2014-08-04  400  
37b9f933 Michal Kazior 2014-11-27  401  static inline void wmi_10x_svc_map(const __le32 *in, unsigned long *out,
37b9f933 Michal Kazior 2014-11-27  402  				   size_t len)
cff990ce Michal Kazior 2014-08-04  403  {
cff990ce Michal Kazior 2014-08-04  404  	SVCMAP(WMI_10X_SERVICE_BEACON_OFFLOAD,
37b9f933 Michal Kazior 2014-11-27  405  	       WMI_SERVICE_BEACON_OFFLOAD, len);
cff990ce Michal Kazior 2014-08-04  406  	SVCMAP(WMI_10X_SERVICE_SCAN_OFFLOAD,
37b9f933 Michal Kazior 2014-11-27  407  	       WMI_SERVICE_SCAN_OFFLOAD, len);
cff990ce Michal Kazior 2014-08-04  408  	SVCMAP(WMI_10X_SERVICE_ROAM_OFFLOAD,
37b9f933 Michal Kazior 2014-11-27  409  	       WMI_SERVICE_ROAM_OFFLOAD, len);
cff990ce Michal Kazior 2014-08-04  410  	SVCMAP(WMI_10X_SERVICE_BCN_MISS_OFFLOAD,
37b9f933 Michal Kazior 2014-11-27  411  	       WMI_SERVICE_BCN_MISS_OFFLOAD, len);
cff990ce Michal Kazior 2014-08-04  412  	SVCMAP(WMI_10X_SERVICE_STA_PWRSAVE,
37b9f933 Michal Kazior 2014-11-27  413  	       WMI_SERVICE_STA_PWRSAVE, len);
cff990ce Michal Kazior 2014-08-04  414  	SVCMAP(WMI_10X_SERVICE_STA_ADVANCED_PWRSAVE,
37b9f933 Michal Kazior 2014-11-27  415  	       WMI_SERVICE_STA_ADVANCED_PWRSAVE, len);
cff990ce Michal Kazior 2014-08-04  416  	SVCMAP(WMI_10X_SERVICE_AP_UAPSD,
37b9f933 Michal Kazior 2014-11-27  417  	       WMI_SERVICE_AP_UAPSD, len);
cff990ce Michal Kazior 2014-08-04  418  	SVCMAP(WMI_10X_SERVICE_AP_DFS,
37b9f933 Michal Kazior 2014-11-27  419  	       WMI_SERVICE_AP_DFS, len);
cff990ce Michal Kazior 2014-08-04  420  	SVCMAP(WMI_10X_SERVICE_11AC,
37b9f933 Michal Kazior 2014-11-27  421  	       WMI_SERVICE_11AC, len);
cff990ce Michal Kazior 2014-08-04  422  	SVCMAP(WMI_10X_SERVICE_BLOCKACK,
37b9f933 Michal Kazior 2014-11-27  423  	       WMI_SERVICE_BLOCKACK, len);
cff990ce Michal Kazior 2014-08-04  424  	SVCMAP(WMI_10X_SERVICE_PHYERR,
37b9f933 Michal Kazior 2014-11-27  425  	       WMI_SERVICE_PHYERR, len);
cff990ce Michal Kazior 2014-08-04  426  	SVCMAP(WMI_10X_SERVICE_BCN_FILTER,
37b9f933 Michal Kazior 2014-11-27  427  	       WMI_SERVICE_BCN_FILTER, len);
cff990ce Michal Kazior 2014-08-04  428  	SVCMAP(WMI_10X_SERVICE_RTT,
37b9f933 Michal Kazior 2014-11-27  429  	       WMI_SERVICE_RTT, len);
cff990ce Michal Kazior 2014-08-04  430  	SVCMAP(WMI_10X_SERVICE_RATECTRL,
37b9f933 Michal Kazior 2014-11-27  431  	       WMI_SERVICE_RATECTRL, len);
cff990ce Michal Kazior 2014-08-04  432  	SVCMAP(WMI_10X_SERVICE_WOW,
37b9f933 Michal Kazior 2014-11-27  433  	       WMI_SERVICE_WOW, len);
cff990ce Michal Kazior 2014-08-04  434  	SVCMAP(WMI_10X_SERVICE_RATECTRL_CACHE,
37b9f933 Michal Kazior 2014-11-27  435  	       WMI_SERVICE_RATECTRL_CACHE, len);
cff990ce Michal Kazior 2014-08-04  436  	SVCMAP(WMI_10X_SERVICE_IRAM_TIDS,
37b9f933 Michal Kazior 2014-11-27  437  	       WMI_SERVICE_IRAM_TIDS, len);
cff990ce Michal Kazior 2014-08-04  438  	SVCMAP(WMI_10X_SERVICE_BURST,
37b9f933 Michal Kazior 2014-11-27  439  	       WMI_SERVICE_BURST, len);
cff990ce Michal Kazior 2014-08-04  440  	SVCMAP(WMI_10X_SERVICE_SMART_ANTENNA_SW_SUPPORT,
37b9f933 Michal Kazior 2014-11-27  441  	       WMI_SERVICE_SMART_ANTENNA_SW_SUPPORT, len);
cff990ce Michal Kazior 2014-08-04  442  	SVCMAP(WMI_10X_SERVICE_FORCE_FW_HANG,
37b9f933 Michal Kazior 2014-11-27  443  	       WMI_SERVICE_FORCE_FW_HANG, len);
cff990ce Michal Kazior 2014-08-04  444  	SVCMAP(WMI_10X_SERVICE_SMART_ANTENNA_HW_SUPPORT,
37b9f933 Michal Kazior 2014-11-27  445  	       WMI_SERVICE_SMART_ANTENNA_HW_SUPPORT, len);
52c22a63 Yanbo Li      2015-04-15  446  	SVCMAP(WMI_10X_SERVICE_ATF,
52c22a63 Yanbo Li      2015-04-15  447  	       WMI_SERVICE_ATF, len);
de0c789b Yanbo Li      2015-04-15  448  	SVCMAP(WMI_10X_SERVICE_COEX_GPIO,
de0c789b Yanbo Li      2015-04-15  449  	       WMI_SERVICE_COEX_GPIO, len);
96a31b26 Peter Oh      2015-11-24  450  	SVCMAP(WMI_10X_SERVICE_AUX_SPECTRAL_INTF,
96a31b26 Peter Oh      2015-11-24  451  	       WMI_SERVICE_AUX_SPECTRAL_INTF, len);
96a31b26 Peter Oh      2015-11-24  452  	SVCMAP(WMI_10X_SERVICE_AUX_CHAN_LOAD_INTF,
96a31b26 Peter Oh      2015-11-24  453  	       WMI_SERVICE_AUX_CHAN_LOAD_INTF, len);
96a31b26 Peter Oh      2015-11-24  454  	SVCMAP(WMI_10X_SERVICE_BSS_CHANNEL_INFO_64,
96a31b26 Peter Oh      2015-11-24  455  	       WMI_SERVICE_BSS_CHANNEL_INFO_64, len);
96a31b26 Peter Oh      2015-11-24 @456  	SVCMAP(WMI_10X_SERVICE_MESH,
96a31b26 Peter Oh      2015-11-24 @457  	       WMI_SERVICE_MESH, len);
96a31b26 Peter Oh      2015-11-24  458  	SVCMAP(WMI_10X_SERVICE_EXT_RES_CFG_SUPPORT,
96a31b26 Peter Oh      2015-11-24  459  	       WMI_SERVICE_EXT_RES_CFG_SUPPORT, len);
5e3dd157 Kalle Valo    2013-06-12  460  }

:::::: The code at line 398 was first introduced by commit
:::::: cff990ce7ddd6a43f86757867399a8a64aa29af9 ath10k: fix wmi service bitmap debug

:::::: TO: Michal Kazior <michal.kazior@tieto.com>
:::::: CC: Kalle Valo <kvalo@qca.qualcomm.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
Peter Oh Nov. 25, 2015, 1:22 a.m. UTC | #3
I believe the robot report is false.
Am I right?

Thanks,
Peter
On 11/24/2015 01:19 PM, kbuild test robot wrote:
> Hi Peter,
>
> [auto build test WARNING on net-next/master]
> [also build test WARNING on v4.4-rc2 next-20151124]
>
> url:
> https://github.com/0day-ci/linux/commits/Peter-Oh/ath10k-introduce-Mesh-su
> pport-in-native-WiFi-mode-for-QCA988X/20151125-014059
> config: m68k-allmodconfig (attached as .config)
> reproduce:
>          wget
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/
> make.cross -O ~/bin/make.cross
>          chmod +x ~/bin/make.cross
>          # save the attached .config to linux build tree
>          make.cross ARCH=m68k
>
> All warnings (new ones prefixed by >>):
>
>     In file included from include/linux/bitops.h:36:0,
>                      from include/linux/kernel.h:10,
>                      from include/asm-generic/bug.h:13,
>                      from arch/m68k/include/asm/bug.h:28,
>                      from include/linux/bug.h:4,
>                      from include/net/mac80211.h:18,
>                      from drivers/net/wireless/ath/ath10k/mac.h:21,
>                      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);
>              ^
>     arch/m68k/include/asm/bitops.h:63:50: note: in definition of macro
> 'set_bit'
>      #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \
>                                                       ^
>>> drivers/net/wireless/ath/ath10k/wmi.h:398:4: note: in expansion of
> macro '__set_bit'
>         __set_bit(y, out); \
>         ^
>>> drivers/net/wireless/ath/ath10k/wmi.h:456:2: note: in expansion of
> macro 'SVCMAP'
>       SVCMAP(WMI_10X_SERVICE_MESH,
>       ^
>     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);
>              ^
>     arch/m68k/include/asm/bitops.h:63:50: note: in definition of macro
> 'set_bit'
>      #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \
>                                                       ^
>>> drivers/net/wireless/ath/ath10k/wmi.h:398:4: note: in expansion of
> macro '__set_bit'
>         __set_bit(y, out); \
>         ^
>>> drivers/net/wireless/ath/ath10k/wmi.h:456:2: note: in expansion of
> macro 'SVCMAP'
>       SVCMAP(WMI_10X_SERVICE_MESH,
>       ^
>     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);
>              ^
>     arch/m68k/include/asm/bitops.h:63:50: note: in definition of macro
> 'set_bit'
>      #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \
>                                                       ^
>>> drivers/net/wireless/ath/ath10k/wmi.h:398:4: note: in expansion of
> macro '__set_bit'
>         __set_bit(y, out); \
>         ^
>     drivers/net/wireless/ath/ath10k/wmi.h:458:2: note: in expansion of
> macro 'SVCMAP'
>       SVCMAP(WMI_10X_SERVICE_EXT_RES_CFG_SUPPORT,
>       ^
>
> vim +/__set_bit +398 drivers/net/wireless/ath/ath10k/wmi.h
>
> 37b9f933 Michal Kazior 2014-11-27  392
> __le32_to_cpu((wmi_svc_bmap)[(svc_id)/(sizeof(u32))]) & \
> cff990ce Michal Kazior 2014-08-04  393
> BIT((svc_id)%(sizeof(u32))))
> cff990ce Michal Kazior 2014-08-04  394
> 37b9f933 Michal Kazior 2014-11-27  395  #define SVCMAP(x, y, len) \
> cff990ce Michal Kazior 2014-08-04  396  	do { \
> 37b9f933 Michal Kazior 2014-11-27  397  		if
> (WMI_SERVICE_IS_ENABLED((in), (x), (len))) \
> cff990ce Michal Kazior 2014-08-04 @398
> __set_bit(y, out); \
> cff990ce Michal Kazior 2014-08-04  399  	} while (0)
> cff990ce Michal Kazior 2014-08-04  400
> 37b9f933 Michal Kazior 2014-11-27  401  static inline void
> wmi_10x_svc_map(const __le32 *in, unsigned long *out,
> 37b9f933 Michal Kazior 2014-11-27  402
> size_t len)
> cff990ce Michal Kazior 2014-08-04  403  {
> cff990ce Michal Kazior 2014-08-04  404
> SVCMAP(WMI_10X_SERVICE_BEACON_OFFLOAD,
> 37b9f933 Michal Kazior 2014-11-27  405
> WMI_SERVICE_BEACON_OFFLOAD, len);
> cff990ce Michal Kazior 2014-08-04  406
> SVCMAP(WMI_10X_SERVICE_SCAN_OFFLOAD,
> 37b9f933 Michal Kazior 2014-11-27  407
> WMI_SERVICE_SCAN_OFFLOAD, len);
> cff990ce Michal Kazior 2014-08-04  408
> SVCMAP(WMI_10X_SERVICE_ROAM_OFFLOAD,
> 37b9f933 Michal Kazior 2014-11-27  409
> WMI_SERVICE_ROAM_OFFLOAD, len);
> cff990ce Michal Kazior 2014-08-04  410
> SVCMAP(WMI_10X_SERVICE_BCN_MISS_OFFLOAD,
> 37b9f933 Michal Kazior 2014-11-27  411
> WMI_SERVICE_BCN_MISS_OFFLOAD, len);
> cff990ce Michal Kazior 2014-08-04  412
> SVCMAP(WMI_10X_SERVICE_STA_PWRSAVE,
> 37b9f933 Michal Kazior 2014-11-27  413
> WMI_SERVICE_STA_PWRSAVE, len);
> cff990ce Michal Kazior 2014-08-04  414
> SVCMAP(WMI_10X_SERVICE_STA_ADVANCED_PWRSAVE,
> 37b9f933 Michal Kazior 2014-11-27  415
> WMI_SERVICE_STA_ADVANCED_PWRSAVE, len);
> cff990ce Michal Kazior 2014-08-04  416
> SVCMAP(WMI_10X_SERVICE_AP_UAPSD,
> 37b9f933 Michal Kazior 2014-11-27  417
> WMI_SERVICE_AP_UAPSD, len);
> cff990ce Michal Kazior 2014-08-04  418
> SVCMAP(WMI_10X_SERVICE_AP_DFS,
> 37b9f933 Michal Kazior 2014-11-27  419  	       WMI_SERVICE_AP_DFS,
> len);
> cff990ce Michal Kazior 2014-08-04  420
> SVCMAP(WMI_10X_SERVICE_11AC,
> 37b9f933 Michal Kazior 2014-11-27  421  	       WMI_SERVICE_11AC,
> len);
> cff990ce Michal Kazior 2014-08-04  422
> SVCMAP(WMI_10X_SERVICE_BLOCKACK,
> 37b9f933 Michal Kazior 2014-11-27  423
> WMI_SERVICE_BLOCKACK, len);
> cff990ce Michal Kazior 2014-08-04  424
> SVCMAP(WMI_10X_SERVICE_PHYERR,
> 37b9f933 Michal Kazior 2014-11-27  425  	       WMI_SERVICE_PHYERR,
> len);
> cff990ce Michal Kazior 2014-08-04  426
> SVCMAP(WMI_10X_SERVICE_BCN_FILTER,
> 37b9f933 Michal Kazior 2014-11-27  427
> WMI_SERVICE_BCN_FILTER, len);
> cff990ce Michal Kazior 2014-08-04  428
> SVCMAP(WMI_10X_SERVICE_RTT,
> 37b9f933 Michal Kazior 2014-11-27  429  	       WMI_SERVICE_RTT,
> len);
> cff990ce Michal Kazior 2014-08-04  430
> SVCMAP(WMI_10X_SERVICE_RATECTRL,
> 37b9f933 Michal Kazior 2014-11-27  431
> WMI_SERVICE_RATECTRL, len);
> cff990ce Michal Kazior 2014-08-04  432
> SVCMAP(WMI_10X_SERVICE_WOW,
> 37b9f933 Michal Kazior 2014-11-27  433  	       WMI_SERVICE_WOW,
> len);
> cff990ce Michal Kazior 2014-08-04  434
> SVCMAP(WMI_10X_SERVICE_RATECTRL_CACHE,
> 37b9f933 Michal Kazior 2014-11-27  435
> WMI_SERVICE_RATECTRL_CACHE, len);
> cff990ce Michal Kazior 2014-08-04  436
> SVCMAP(WMI_10X_SERVICE_IRAM_TIDS,
> 37b9f933 Michal Kazior 2014-11-27  437
> WMI_SERVICE_IRAM_TIDS, len);
> cff990ce Michal Kazior 2014-08-04  438
> SVCMAP(WMI_10X_SERVICE_BURST,
> 37b9f933 Michal Kazior 2014-11-27  439  	       WMI_SERVICE_BURST,
> len);
> cff990ce Michal Kazior 2014-08-04  440
> SVCMAP(WMI_10X_SERVICE_SMART_ANTENNA_SW_SUPPORT,
> 37b9f933 Michal Kazior 2014-11-27  441
> WMI_SERVICE_SMART_ANTENNA_SW_SUPPORT, len);
> cff990ce Michal Kazior 2014-08-04  442
> SVCMAP(WMI_10X_SERVICE_FORCE_FW_HANG,
> 37b9f933 Michal Kazior 2014-11-27  443
> WMI_SERVICE_FORCE_FW_HANG, len);
> cff990ce Michal Kazior 2014-08-04  444
> SVCMAP(WMI_10X_SERVICE_SMART_ANTENNA_HW_SUPPORT,
> 37b9f933 Michal Kazior 2014-11-27  445
> WMI_SERVICE_SMART_ANTENNA_HW_SUPPORT, len);
> 52c22a63 Yanbo Li      2015-04-15  446
> SVCMAP(WMI_10X_SERVICE_ATF,
> 52c22a63 Yanbo Li      2015-04-15  447  	       WMI_SERVICE_ATF,
> len);
> de0c789b Yanbo Li      2015-04-15  448
> SVCMAP(WMI_10X_SERVICE_COEX_GPIO,
> de0c789b Yanbo Li      2015-04-15  449
> WMI_SERVICE_COEX_GPIO, len);
> 96a31b26 Peter Oh      2015-11-24  450
> SVCMAP(WMI_10X_SERVICE_AUX_SPECTRAL_INTF,
> 96a31b26 Peter Oh      2015-11-24  451
> WMI_SERVICE_AUX_SPECTRAL_INTF, len);
> 96a31b26 Peter Oh      2015-11-24  452
> SVCMAP(WMI_10X_SERVICE_AUX_CHAN_LOAD_INTF,
> 96a31b26 Peter Oh      2015-11-24  453
> WMI_SERVICE_AUX_CHAN_LOAD_INTF, len);
> 96a31b26 Peter Oh      2015-11-24  454
> SVCMAP(WMI_10X_SERVICE_BSS_CHANNEL_INFO_64,
> 96a31b26 Peter Oh      2015-11-24  455
> WMI_SERVICE_BSS_CHANNEL_INFO_64, len);
> 96a31b26 Peter Oh      2015-11-24 @456
> SVCMAP(WMI_10X_SERVICE_MESH,
> 96a31b26 Peter Oh      2015-11-24 @457  	       WMI_SERVICE_MESH,
> len);
> 96a31b26 Peter Oh      2015-11-24  458
> SVCMAP(WMI_10X_SERVICE_EXT_RES_CFG_SUPPORT,
> 96a31b26 Peter Oh      2015-11-24  459
> WMI_SERVICE_EXT_RES_CFG_SUPPORT, len);
> 5e3dd157 Kalle Valo    2013-06-12  460  }
>
> :::::: The code at line 398 was first introduced by commit
> :::::: cff990ce7ddd6a43f86757867399a8a64aa29af9 ath10k: fix wmi service
> bitmap debug
>
> :::::: TO: Michal Kazior <michal.kazior@tieto.com>
> :::::: CC: Kalle Valo <kvalo@qca.qualcomm.com>
>
> ---
> 0-DAY kernel test infrastructure                Open Source Technology
> Center
> https://lists.01.org/pipermail/kbuild-all                   Intel
> Corporation

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kalle Valo Nov. 25, 2015, 10:59 a.m. UTC | #4
(fixing quotes)

Peter Oh <poh@codeaurora.org> writes:

>>     In file included from include/linux/bitops.h:36:0,
>>                      from include/linux/kernel.h:10,
>>                      from include/asm-generic/bug.h:13,
>>                      from arch/m68k/include/asm/bug.h:28,
>>                      from include/linux/bug.h:4,
>>                      from include/net/mac80211.h:18,
>>                      from drivers/net/wireless/ath/ath10k/mac.h:21,
>>                      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);
>>              ^
>>     arch/m68k/include/asm/bitops.h:63:50: note: in definition of macro
>> 'set_bit'
>>      #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \
>>                                                       ^
>>>> drivers/net/wireless/ath/ath10k/wmi.h:398:4: note: in expansion of
>> macro '__set_bit'
>>         __set_bit(y, out); \
>>         ^
>
> I believe the robot report is false.
> Am I right?

I think these are false, at least I didn't notice anything when I
applied these to ath.git pending branch.
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h
index 80d3f1c..0747055 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.h
+++ b/drivers/net/wireless/ath/ath10k/wmi.h
@@ -208,6 +208,11 @@  enum wmi_10x_service {
 	WMI_10X_SERVICE_SMART_ANTENNA_HW_SUPPORT,
 	WMI_10X_SERVICE_ATF,
 	WMI_10X_SERVICE_COEX_GPIO,
+	WMI_10X_SERVICE_AUX_SPECTRAL_INTF,
+	WMI_10X_SERVICE_AUX_CHAN_LOAD_INTF,
+	WMI_10X_SERVICE_BSS_CHANNEL_INFO_64,
+	WMI_10X_SERVICE_MESH,
+	WMI_10X_SERVICE_EXT_RES_CFG_SUPPORT,
 };
 
 enum wmi_main_service {
@@ -448,6 +453,16 @@  static inline void wmi_10x_svc_map(const __le32 *in, unsigned long *out,
 	       WMI_SERVICE_ATF, len);
 	SVCMAP(WMI_10X_SERVICE_COEX_GPIO,
 	       WMI_SERVICE_COEX_GPIO, len);
+	SVCMAP(WMI_10X_SERVICE_AUX_SPECTRAL_INTF,
+	       WMI_SERVICE_AUX_SPECTRAL_INTF, len);
+	SVCMAP(WMI_10X_SERVICE_AUX_CHAN_LOAD_INTF,
+	       WMI_SERVICE_AUX_CHAN_LOAD_INTF, len);
+	SVCMAP(WMI_10X_SERVICE_BSS_CHANNEL_INFO_64,
+	       WMI_SERVICE_BSS_CHANNEL_INFO_64, len);
+	SVCMAP(WMI_10X_SERVICE_MESH,
+	       WMI_SERVICE_MESH, len);
+	SVCMAP(WMI_10X_SERVICE_EXT_RES_CFG_SUPPORT,
+	       WMI_SERVICE_EXT_RES_CFG_SUPPORT, len);
 }
 
 static inline void wmi_main_svc_map(const __le32 *in, unsigned long *out,