tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git 
pending
head:   c7e12d92078f1789c8409523f81ad89fa8fe4bd8
commit: c7e12d92078f1789c8409523f81ad89fa8fe4bd8 [17/17] mac80211: add support 
for HE RX rate reporting
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout c7e12d92078f1789c8409523f81ad89fa8fe4bd8
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   net/mac80211/sta_info.c: In function 'sta_stats_decode_rate':
>> net/mac80211/sta_info.c:1996:18: error: 'RATE_INFO_FLAGS_HE_MCS' undeclared 
>> (first use in this function)
      rinfo->flags = RATE_INFO_FLAGS_HE_MCS;
                     ^~~~~~~~~~~~~~~~~~~~~~
   net/mac80211/sta_info.c:1996:18: note: each undeclared identifier is 
reported only once for each function it appears in
>> net/mac80211/sta_info.c:1999:8: error: 'struct rate_info' has no member 
>> named 'he_gi'
      rinfo->he_gi = STA_STATS_GET(HE_GI, rate);
           ^~
>> net/mac80211/sta_info.c:2000:8: error: 'struct rate_info' has no member 
>> named 'he_ru_alloc'
      rinfo->he_ru_alloc = STA_STATS_GET(HE_RU, rate);
           ^~
>> net/mac80211/sta_info.c:2001:8: error: 'struct rate_info' has no member 
>> named 'he_dcm'
      rinfo->he_dcm = STA_STATS_GET(HE_DCM, rate);
           ^~

vim +/RATE_INFO_FLAGS_HE_MCS +1996 net/mac80211/sta_info.c

  1990                  else
  1991                          shift = 0;
  1992                  rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift);
  1993                  break;
  1994                  }
  1995          case STA_STATS_RATE_TYPE_HE:
> 1996                  rinfo->flags = RATE_INFO_FLAGS_HE_MCS;
  1997                  rinfo->mcs = STA_STATS_GET(HE_MCS, rate);
  1998                  rinfo->nss = STA_STATS_GET(HE_NSS, rate);
> 1999                  rinfo->he_gi = STA_STATS_GET(HE_GI, rate);
> 2000                  rinfo->he_ru_alloc = STA_STATS_GET(HE_RU, rate);
> 2001                  rinfo->he_dcm = STA_STATS_GET(HE_DCM, rate);
  2002                  break;
  2003          }
  2004  }

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to