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

kbuild test robot lkp at intel.com
Tue Jan 31 13:54:43 PST 2017


Hi Ashok,

[auto build test WARNING on ath6kl/ath-next]
[also build test WARNING on v4.10-rc6 next-20170131]
[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/20170201-032529
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
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 >>):

   drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_sta_set_txpwr':
   drivers/net/wireless/ath/ath10k/mac.c:5997:13: error: 'struct ieee80211_sta' has no member named 'txpwr'
     txpwr = sta->txpwr;
                ^
   drivers/net/wireless/ath/ath10k/mac.c: At top level:
   drivers/net/wireless/ath/ath10k/mac.c:7581:2: error: unknown field 'sta_set_txpwr' specified in initializer
     .sta_set_txpwr   = ath10k_sta_set_txpwr,
     ^
>> drivers/net/wireless/ath/ath10k/mac.c:7581:2: warning: initialization from incompatible pointer type
   drivers/net/wireless/ath/ath10k/mac.c:7581:2: warning: (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:8226: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:8226:11: note: each undeclared identifier is reported only once for each function it appears in

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

  7565	static const struct ieee80211_ops ath10k_ops = {
  7566		.tx				= ath10k_mac_op_tx,
  7567		.wake_tx_queue			= ath10k_mac_op_wake_tx_queue,
  7568		.start				= ath10k_start,
  7569		.stop				= ath10k_stop,
  7570		.config				= ath10k_config,
  7571		.add_interface			= ath10k_add_interface,
  7572		.remove_interface		= ath10k_remove_interface,
  7573		.configure_filter		= ath10k_configure_filter,
  7574		.bss_info_changed		= ath10k_bss_info_changed,
  7575		.set_coverage_class		= ath10k_mac_op_set_coverage_class,
  7576		.hw_scan			= ath10k_hw_scan,
  7577		.cancel_hw_scan			= ath10k_cancel_hw_scan,
  7578		.set_key			= ath10k_set_key,
  7579		.set_default_unicast_key        = ath10k_set_default_unicast_key,
  7580		.sta_state			= ath10k_sta_state,
> 7581		.sta_set_txpwr			= ath10k_sta_set_txpwr,
  7582		.conf_tx			= ath10k_conf_tx,
  7583		.remain_on_channel		= ath10k_remain_on_channel,
  7584		.cancel_remain_on_channel	= ath10k_cancel_remain_on_channel,
  7585		.set_rts_threshold		= ath10k_set_rts_threshold,
  7586		.set_frag_threshold		= ath10k_mac_op_set_frag_threshold,
  7587		.flush				= ath10k_flush,
  7588		.tx_last_beacon			= ath10k_tx_last_beacon,
  7589		.set_antenna			= ath10k_set_antenna,

---
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: 39247 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20170201/6fd50e66/attachment-0001.gz>


More information about the ath10k mailing list