Comment 48 for bug 408165

Revision history for this message
Yohann CHASTRE (yohann-chastre) wrote :

A notice : There are a problem to build the module with the option "HAS_CFG80211_SUPPORT" and the kernel version 2.6.31 and 2.6.32. Somes functions and data structures were modified or deleted, hence the build errors:

CC [M] [...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.o
[...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.c:349: attention : initialization from incompatible pointer type
[...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_RegHint11D’:
[...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.c:698: erreur: implicit declaration of function ‘regulatory_hint_11d’
[...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_RegRuleApply’:
[...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.c:731: attention : unused variable ‘IdReg’
[...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_Scaning’:
[...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.c:977: erreur: ‘struct ieee80211_channel’ has no member named ‘max_bandwidth’
[...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.c:979: erreur: ‘struct ieee80211_channel’ has no member named ‘max_bandwidth’
[...]/2009_1222_RT3572_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/cfg80211.c:983: erreur: ‘struct ieee80211_channel’ has no member named ‘max_bandwidth’

The option "HAS_CFG80211_SUPPORT" should work with the kernel version 2.6.28, 2.6.29 and 2.6.30.