All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Jouni Malinen <jouni@codeaurora.org>, Kalle Valo <kvalo@codeaurora.org>
Cc: kbuild-all@lists.01.org, ath9k-devel@qca.qualcomm.com,
	linux-wireless@vger.kernel.org,
	Jouni Malinen <jouni@codeaurora.org>
Subject: Re: [PATCH 2/2] ath9k_htc: Set RX filter based to allow broadcast Action frame RX
Date: Tue, 28 Apr 2020 12:35:21 +0800	[thread overview]
Message-ID: <202004281220.j0LQI20f%lkp@intel.com> (raw)
In-Reply-To: <20200426084733.7889-2-jouni@codeaurora.org>

[-- Attachment #1: Type: text/plain, Size: 4483 bytes --]

Hi Jouni,

I love your patch! Yet something to improve:

[auto build test ERROR on wireless-drivers-next/master]
[also build test ERROR on wireless-drivers/master ath6kl/ath-next v5.7-rc3 next-20200424]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Jouni-Malinen/ath9k-Set-RX-filter-based-to-allow-broadcast-Action-frame-RX/20200428-022034
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
config: nds32-allyesconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/ath9k/htc_drv_txrx.c: In function 'ath9k_htc_calcrxfilter':
>> drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:897:40: error: 'FIF_MCAST_ACTION' undeclared (first use in this function)
     897 |      priv->rxfilter & (FIF_OTHER_BSS | FIF_MCAST_ACTION))
         |                                        ^~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:897:40: note: each undeclared identifier is reported only once for each function it appears in
--
   drivers/net/wireless/ath/ath9k/htc_drv_main.c: In function 'ath9k_htc_configure_filter':
>> drivers/net/wireless/ath/ath9k/htc_drv_main.c:1254:2: error: 'FIF_MCAST_ACTION' undeclared (first use in this function)
    1254 |  FIF_MCAST_ACTION |   \
         |  ^~~~~~~~~~~~~~~~
>> drivers/net/wireless/ath/ath9k/htc_drv_main.c:1267:19: note: in expansion of macro 'SUPPORTED_FILTERS'
    1267 |  changed_flags &= SUPPORTED_FILTERS;
         |                   ^~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath9k/htc_drv_main.c:1254:2: note: each undeclared identifier is reported only once for each function it appears in
    1254 |  FIF_MCAST_ACTION |   \
         |  ^~~~~~~~~~~~~~~~
>> drivers/net/wireless/ath/ath9k/htc_drv_main.c:1267:19: note: in expansion of macro 'SUPPORTED_FILTERS'
    1267 |  changed_flags &= SUPPORTED_FILTERS;
         |                   ^~~~~~~~~~~~~~~~~
--
   drivers/net/wireless/ath/ath9k/htc_drv_init.c: In function 'ath9k_set_hw_capab':
>> drivers/net/wireless/ath/ath9k/htc_drv_init.c:784:10: error: 'NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS' undeclared (first use in this function)
     784 |          NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS);
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath9k/htc_drv_init.c:784:10: note: each undeclared identifier is reported only once for each function it appears in

vim +/FIF_MCAST_ACTION +897 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c

   864	
   865		struct ath_hw *ah = priv->ah;
   866		u32 rfilt;
   867	
   868		rfilt = (ath9k_hw_getrxfilter(ah) & RX_FILTER_PRESERVE)
   869			| ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST
   870			| ATH9K_RX_FILTER_MCAST;
   871	
   872		if (priv->rxfilter & FIF_PROBE_REQ)
   873			rfilt |= ATH9K_RX_FILTER_PROBEREQ;
   874	
   875		if (ah->is_monitoring)
   876			rfilt |= ATH9K_RX_FILTER_PROM;
   877	
   878		if (priv->rxfilter & FIF_CONTROL)
   879			rfilt |= ATH9K_RX_FILTER_CONTROL;
   880	
   881		if ((ah->opmode == NL80211_IFTYPE_STATION) &&
   882		    (priv->nvifs <= 1) &&
   883		    !(priv->rxfilter & FIF_BCN_PRBRESP_PROMISC))
   884			rfilt |= ATH9K_RX_FILTER_MYBEACON;
   885		else
   886			rfilt |= ATH9K_RX_FILTER_BEACON;
   887	
   888		if (conf_is_ht(&priv->hw->conf)) {
   889			rfilt |= ATH9K_RX_FILTER_COMP_BAR;
   890			rfilt |= ATH9K_RX_FILTER_UNCOMP_BA_BAR;
   891		}
   892	
   893		if (priv->rxfilter & FIF_PSPOLL)
   894			rfilt |= ATH9K_RX_FILTER_PSPOLL;
   895	
   896		if (priv->nvifs > 1 ||
 > 897		    priv->rxfilter & (FIF_OTHER_BSS | FIF_MCAST_ACTION))
   898			rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL;
   899	
   900		return rfilt;
   901	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 56128 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 2/2] ath9k_htc: Set RX filter based to allow broadcast Action frame RX
Date: Tue, 28 Apr 2020 12:35:21 +0800	[thread overview]
Message-ID: <202004281220.j0LQI20f%lkp@intel.com> (raw)
In-Reply-To: <20200426084733.7889-2-jouni@codeaurora.org>

[-- Attachment #1: Type: text/plain, Size: 4580 bytes --]

Hi Jouni,

I love your patch! Yet something to improve:

[auto build test ERROR on wireless-drivers-next/master]
[also build test ERROR on wireless-drivers/master ath6kl/ath-next v5.7-rc3 next-20200424]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Jouni-Malinen/ath9k-Set-RX-filter-based-to-allow-broadcast-Action-frame-RX/20200428-022034
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
config: nds32-allyesconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/ath9k/htc_drv_txrx.c: In function 'ath9k_htc_calcrxfilter':
>> drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:897:40: error: 'FIF_MCAST_ACTION' undeclared (first use in this function)
     897 |      priv->rxfilter & (FIF_OTHER_BSS | FIF_MCAST_ACTION))
         |                                        ^~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:897:40: note: each undeclared identifier is reported only once for each function it appears in
--
   drivers/net/wireless/ath/ath9k/htc_drv_main.c: In function 'ath9k_htc_configure_filter':
>> drivers/net/wireless/ath/ath9k/htc_drv_main.c:1254:2: error: 'FIF_MCAST_ACTION' undeclared (first use in this function)
    1254 |  FIF_MCAST_ACTION |   \
         |  ^~~~~~~~~~~~~~~~
>> drivers/net/wireless/ath/ath9k/htc_drv_main.c:1267:19: note: in expansion of macro 'SUPPORTED_FILTERS'
    1267 |  changed_flags &= SUPPORTED_FILTERS;
         |                   ^~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath9k/htc_drv_main.c:1254:2: note: each undeclared identifier is reported only once for each function it appears in
    1254 |  FIF_MCAST_ACTION |   \
         |  ^~~~~~~~~~~~~~~~
>> drivers/net/wireless/ath/ath9k/htc_drv_main.c:1267:19: note: in expansion of macro 'SUPPORTED_FILTERS'
    1267 |  changed_flags &= SUPPORTED_FILTERS;
         |                   ^~~~~~~~~~~~~~~~~
--
   drivers/net/wireless/ath/ath9k/htc_drv_init.c: In function 'ath9k_set_hw_capab':
>> drivers/net/wireless/ath/ath9k/htc_drv_init.c:784:10: error: 'NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS' undeclared (first use in this function)
     784 |          NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS);
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath9k/htc_drv_init.c:784:10: note: each undeclared identifier is reported only once for each function it appears in

vim +/FIF_MCAST_ACTION +897 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c

   864	
   865		struct ath_hw *ah = priv->ah;
   866		u32 rfilt;
   867	
   868		rfilt = (ath9k_hw_getrxfilter(ah) & RX_FILTER_PRESERVE)
   869			| ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST
   870			| ATH9K_RX_FILTER_MCAST;
   871	
   872		if (priv->rxfilter & FIF_PROBE_REQ)
   873			rfilt |= ATH9K_RX_FILTER_PROBEREQ;
   874	
   875		if (ah->is_monitoring)
   876			rfilt |= ATH9K_RX_FILTER_PROM;
   877	
   878		if (priv->rxfilter & FIF_CONTROL)
   879			rfilt |= ATH9K_RX_FILTER_CONTROL;
   880	
   881		if ((ah->opmode == NL80211_IFTYPE_STATION) &&
   882		    (priv->nvifs <= 1) &&
   883		    !(priv->rxfilter & FIF_BCN_PRBRESP_PROMISC))
   884			rfilt |= ATH9K_RX_FILTER_MYBEACON;
   885		else
   886			rfilt |= ATH9K_RX_FILTER_BEACON;
   887	
   888		if (conf_is_ht(&priv->hw->conf)) {
   889			rfilt |= ATH9K_RX_FILTER_COMP_BAR;
   890			rfilt |= ATH9K_RX_FILTER_UNCOMP_BA_BAR;
   891		}
   892	
   893		if (priv->rxfilter & FIF_PSPOLL)
   894			rfilt |= ATH9K_RX_FILTER_PSPOLL;
   895	
   896		if (priv->nvifs > 1 ||
 > 897		    priv->rxfilter & (FIF_OTHER_BSS | FIF_MCAST_ACTION))
   898			rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL;
   899	
   900		return rfilt;
   901	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 56128 bytes --]

  reply	other threads:[~2020-04-28  4:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26  8:47 [PATCH 1/2] ath9k: Set RX filter based to allow broadcast Action frame RX Jouni Malinen
2020-04-26  8:47 ` [PATCH 2/2] ath9k_htc: " Jouni Malinen
2020-04-28  4:35   ` kbuild test robot [this message]
2020-04-28  4:35     ` kbuild test robot
2020-04-28  5:05     ` Kalle Valo
2020-04-28  5:05       ` Kalle Valo
2020-05-08  8:39 ` [PATCH 1/2] ath9k: " Kalle Valo
2020-05-30 14:18 ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202004281220.j0LQI20f%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ath9k-devel@qca.qualcomm.com \
    --cc=jouni@codeaurora.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kvalo@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.