[PATCH v3] ath10k: add support for controlling tx power to a station

kbuild test robot lkp at intel.com
Sat Feb 11 16:04:19 PST 2017


Hi Ashok,

[auto build test ERROR on v4.9-rc8]
[cannot apply to ath6kl/ath-next next-20170210]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Ashok-Raj-Nagarajan/ath10k-add-support-for-controlling-tx-power-to-a-station/20170208-203305
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_sta_set_txpwr':
   drivers/net/wireless/ath/ath10k/mac.c:5900:15: error: 'struct ieee80211_sta' has no member named 'txpwr'
     txpwr = MBM_TO_DBM(sta->txpwr);
                  ^~
   drivers/net/wireless/ath/ath10k/mac.c: At top level:
   drivers/net/wireless/ath/ath10k/mac.c:7469:2: error: unknown field 'sta_set_txpwr' specified in initializer
     .sta_set_txpwr   = ath10k_sta_set_txpwr,
     ^
>> drivers/net/wireless/ath/ath10k/mac.c:7469:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .sta_set_txpwr   = ath10k_sta_set_txpwr,
                      ^~~~~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath10k/mac.c:7469:19: note: (near initialization for 'ath10k_ops.sta_pre_rcu_remove')
   drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_mac_register':
   drivers/net/wireless/ath/ath10k/mac.c:8008:11: error: 'NL80211_EXT_FEATURE_STA_TX_PWR' undeclared (first use in this function)
              NL80211_EXT_FEATURE_STA_TX_PWR);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath10k/mac.c:8008:11: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors

vim +7469 drivers/net/wireless/ath/ath10k/mac.c

  7463		.bss_info_changed		= ath10k_bss_info_changed,
  7464		.hw_scan			= ath10k_hw_scan,
  7465		.cancel_hw_scan			= ath10k_cancel_hw_scan,
  7466		.set_key			= ath10k_set_key,
  7467		.set_default_unicast_key        = ath10k_set_default_unicast_key,
  7468		.sta_state			= ath10k_sta_state,
> 7469		.sta_set_txpwr			= ath10k_sta_set_txpwr,
  7470		.conf_tx			= ath10k_conf_tx,
  7471		.remain_on_channel		= ath10k_remain_on_channel,
  7472		.cancel_remain_on_channel	= ath10k_cancel_remain_on_channel,

---
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/gzip
Size: 56232 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20170212/d8a41f8e/attachment-0001.gz>


More information about the ath10k mailing list