Bug 1375003

Summary: Missing enum for IEEE80211_BAND_2HGZ
Product: [Fedora] Fedora Reporter: Herbert.Gillman
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: gansalmon, ichavero, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-11 23:53:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Herbert.Gillman 2016-09-11 16:12:24 UTC
Description of problem: cfg80211.h has changed between version 4.6 and 4.7
Missing lines make it impossible to install Broadcom wireless software

/**
 * enum ieee80211_band - supported frequency bands
 *
 * The bands are assigned this way because the supported
 * bitrates differ in these bands.
 *
 * @IEEE80211_BAND_2GHZ: 2.4GHz ISM band
 * @IEEE80211_BAND_5GHZ: around 5GHz band (4.9-5.7)
 * @IEEE80211_BAND_60GHZ: around 60 GHz band (58.32 - 64.80 GHz)
 * @IEEE80211_NUM_BANDS: number of defined bands
 */
enum ieee80211_band {
        IEEE80211_BAND_2GHZ = NL80211_BAND_2GHZ,
        IEEE80211_BAND_5GHZ = NL80211_BAND_5GHZ,
        IEEE80211_BAND_60GHZ = NL80211_BAND_60GHZ,

        /* keep last */
        IEEE80211_NUM_BANDS
}; 


Version-Release number of selected component (if applicable):
enum existed in /usr/src/kernels/4.6.7-200.fc23.x86_64/include/net
but is missing in 4.7.2-101.fc23.x86_64

How reproducible:
attempt build and install 

fedora23_broadcom_wl_install.sh

Expected results:

Get broadcom wireless working


Additional info:

Comment 1 Josh Boyer 2016-09-11 23:53:01 UTC
This was done with upstream commit:

commit 57fbcce37be7c1d2622b56587c10ade00e96afa3
Author: Johannes Berg <johannes.berg>
Date:   Tue Apr 12 15:56:15 2016 +0200

    cfg80211: remove enum ieee80211_band
    
    This enum is already perfectly aliased to enum nl80211_band, and
    the only reason for it is that we get IEEE80211_NUM_BANDS out of
    it. There's no really good reason to not declare the number of
    bands in nl80211 though, so do that and remove the cfg80211 one.
    
    Signed-off-by: Johannes Berg <johannes.berg>


Fedora does not provide or support out of tree and/or proprietary drivers.  Your best course of action is to report this to whomever you got the wl driver from as they will need to adapt it for upstream changes.