[PATCH] ath10k: set MAC timestamp in management Rx frame

kbuild test robot lkp at intel.com
Tue Feb 23 10:43:53 PST 2016


Hi poh,

[auto build test WARNING on wireless-drivers-next/master]
[also build test WARNING on v4.5-rc5 next-20160223]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Peter-Oh/ath10k-set-MAC-timestamp-in-management-Rx-frame/20160224-022132
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
config: xtensa-allyesconfig (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=xtensa 

All warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_event_mgmt_rx':
>> drivers/net/wireless/ath/ath10k/wmi.c:2293:4: warning: left shift count >= width of type
       __le32_to_cpu(arg.ext_info.rx_mac_timestamp_u32) << 32 |
       ^

vim +2293 drivers/net/wireless/ath/ath10k/wmi.c

  2277	
  2278		ath10k_dbg(ar, ATH10K_DBG_MGMT,
  2279			   "event mgmt rx status %08x\n", rx_status);
  2280	
  2281		if ((test_bit(ATH10K_CAC_RUNNING, &ar->dev_flags)) ||
  2282		    (rx_status & (WMI_RX_STATUS_ERR_DECRYPT |
  2283		    WMI_RX_STATUS_ERR_KEY_CACHE_MISS | WMI_RX_STATUS_ERR_CRC))) {
  2284			dev_kfree_skb(skb);
  2285			return 0;
  2286		}
  2287	
  2288		if (rx_status & WMI_RX_STATUS_ERR_MIC)
  2289			status->flag |= RX_FLAG_MMIC_ERROR;
  2290	
  2291		if (rx_status & WMI_RX_STATUS_EXT_INFO) {
  2292			status->mactime =
> 2293				__le32_to_cpu(arg.ext_info.rx_mac_timestamp_u32) << 32 |
  2294				__le32_to_cpu(arg.ext_info.rx_mac_timestamp_l32);
  2295			status->flag |= RX_FLAG_MACTIME_END;
  2296		}
  2297		/* Hardware can Rx CCK rates on 5GHz. In that case phy_mode is set to
  2298		 * MODE_11B. This means phy_mode is not a reliable source for the band
  2299		 * of mgmt rx.
  2300		 */
  2301		if (channel >= 1 && channel <= 14) {

---
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: 44076 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20160224/dad7b4f2/attachment-0001.obj>


More information about the ath10k mailing list