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

kbuild test robot lkp at intel.com
Tue Jun 14 11:48:38 PDT 2016


Hi,

[auto build test WARNING on ath6kl/ath-next]
[also build test WARNING on v4.7-rc3 next-20160614]
[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/20160615-014225
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:5836: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:7399:2: error: unknown field 'sta_set_txpwr' specified in initializer
     .sta_set_txpwr   = ath10k_sta_set_txpwr,
     ^
>> drivers/net/wireless/ath/ath10k/mac.c:7399:2: warning: initialization from incompatible pointer type
   drivers/net/wireless/ath/ath10k/mac.c:7399:2: warning: (near initialization for 'ath10k_ops.sta_pre_rcu_remove')

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

  7383	
  7384	static const struct ieee80211_ops ath10k_ops = {
  7385		.tx				= ath10k_mac_op_tx,
  7386		.wake_tx_queue			= ath10k_mac_op_wake_tx_queue,
  7387		.start				= ath10k_start,
  7388		.stop				= ath10k_stop,
  7389		.config				= ath10k_config,
  7390		.add_interface			= ath10k_add_interface,
  7391		.remove_interface		= ath10k_remove_interface,
  7392		.configure_filter		= ath10k_configure_filter,
  7393		.bss_info_changed		= ath10k_bss_info_changed,
  7394		.hw_scan			= ath10k_hw_scan,
  7395		.cancel_hw_scan			= ath10k_cancel_hw_scan,
  7396		.set_key			= ath10k_set_key,
  7397		.set_default_unicast_key        = ath10k_set_default_unicast_key,
  7398		.sta_state			= ath10k_sta_state,
> 7399		.sta_set_txpwr			= ath10k_sta_set_txpwr,
  7400		.conf_tx			= ath10k_conf_tx,
  7401		.remain_on_channel		= ath10k_remain_on_channel,
  7402		.cancel_remain_on_channel	= ath10k_cancel_remain_on_channel,
  7403		.set_rts_threshold		= ath10k_set_rts_threshold,
  7404		.set_frag_threshold		= ath10k_mac_op_set_frag_threshold,
  7405		.flush				= ath10k_flush,
  7406		.tx_last_beacon			= ath10k_tx_last_beacon,
  7407		.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/octet-stream
Size: 36318 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20160615/c69cab28/attachment-0001.obj>


More information about the ath10k mailing list