Comment 10 for bug 1424676

Revision history for this message
Aaron Miller (aaroneusthegreat) wrote : 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