← Back to team overview

kernel-packages team mailing list archive

[Bug 1424676] Re: bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu2: bcmwl kernel module failed to build [error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function)]

 

Just a little input, if you have recently upgraded your kernel, and your
dkms fails to reinsert, a simpler way to fix this than the above
instructions would be as follows:

gksudo gedit
/usr/src/bcmwl-6.30.223.248+bdcom/src/wl/sys/wl_cfg80211_hybrid.c

Search for

STATION_INFO_TX_BITRATE;

replace as described above by Rodrigo-vivi with:

BIT(NL80211_STA_INFO_TX_BITRATE);

and search for

STATION_INFO_SIGNAL

replace with:

BIT(NL80211_STA_INFO_SIGNAL)

and then simply run

sudo dkms install bcmwl/6.30.223.248+bdcom

and let dkms take care of the making and inserting for you. Then reboot
and you should be good to go. This worked for me in Vivid Vervet 15.04

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bcmwl in Ubuntu.
https://bugs.launchpad.net/bugs/1424676

Title:
  bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu2: bcmwl kernel module
  failed to build [error: ‘STATION_INFO_TX_BITRATE’ undeclared (first
  use in this function)]

Status in bcmwl package in Ubuntu:
  Confirmed

Bug description:
  bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu2: bcmwl kernel module
  failed to build

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu2
  ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
  Uname: Linux 3.18.0-13-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.16.1-0ubuntu2
  Architecture: amd64
  DKMSKernelVersion: 4.0.0-040000rc1-generic
  Date: Mon Feb 23 18:14:07 2015
  DuplicateSignature: dkms:bcmwl-kernel-source:6.30.223.248+bdcom-0ubuntu2:/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:1444:20: error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function)
  InstallationDate: Installed on 2014-11-22 (93 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141121)
  PackageVersion: 6.30.223.248+bdcom-0ubuntu2
  SourcePackage: bcmwl
  Title: bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu2: bcmwl kernel module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1424676/+subscriptions


References