orospakr@orospakr-laptop:~/code/others/iwlwifi$ make KSRC=/usr/src/linux-source-2.6.22/
Checking kernel compatibility in:
/usr/src/linux-source-2.6.22/
* Kernel requires compatibility version:
- Requires IEEE80211_CONF_CHANNEL_SWITCH compat.
Building compatibility version in 'compatible/' directory:
Copying compatible/ from origin/...done
+ Applying: patches/06-csa.patch
Add IEEE80211_CONF_CHANNEL_SWITCH define into iwlwifi.h
make -C /usr/src/linux-source-2.6.22/ O=/usr/src/linux-source-2.6.22/ M=/home/orospakr/code/others/iwlwifi/compatible/ modules
make[1]: Entering directory `/usr/src/linux-source-2.6.22'
WARNING: Symbol version dump /usr/src/linux-source-2.6.22/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/orospakr/code/others/iwlwifi/compatible/base-3945.o
CC [M] /home/orospakr/code/others/iwlwifi/compatible/iwl-3945.o
CC [M] /home/orospakr/code/others/iwlwifi/compatible/iwl-3945-rs.o
CC [M] /home/orospakr/code/others/iwlwifi/compatible/base-4965.o
/home/orospakr/code/others/iwlwifi/compatible/base.c:1822: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list
/home/orospakr/code/others/iwlwifi/compatible/base.c:1822: warning: its scope is only this definition or declaration, which is probably not what you want
/home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘iwl_fill_probe_req’:
/home/orospakr/code/others/iwlwifi/compatible/base.c:1910: error: ‘WLAN_EID_HT_CAPABILITY’ undeclared (first use in this function)
/home/orospakr/code/others/iwlwifi/compatible/base.c:1910: error: (Each undeclared identifier is reported only once
/home/orospakr/code/others/iwlwifi/compatible/base.c:1910: error: for each function it appears in.)
/home/orospakr/code/others/iwlwifi/compatible/base.c:1911: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_ht_capability’
/home/orospakr/code/others/iwlwifi/compatible/base.c:1912: warning: passing argument 2 of ‘iwl_mac_get_ht_capab’ from incompatible pointer type
/home/orospakr/code/others/iwlwifi/compatible/base.c:1913: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_ht_capability’
/home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘iwl_tx_skb’:
/home/orospakr/code/others/iwlwifi/compatible/base.c:2871: error: ‘IEEE80211_TXCTL_HT_MPDU_AGG’ undeclared (first use in this function)
/home/orospakr/code/others/iwlwifi/compatible/base.c: At top level:
/home/orospakr/code/others/iwlwifi/compatible/base.c:8025: warning: ‘struct ieee80211_ht_additional_info’ declared inside parameter list
/home/orospakr/code/others/iwlwifi/compatible/base.c:8025: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list
/home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘sta_ht_info_init’:
/home/orospakr/code/others/iwlwifi/compatible/base.c:8040: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8041: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8051: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8051: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8065: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8066: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8071: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8073: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c: At top level:
/home/orospakr/code/others/iwlwifi/compatible/base.c:8085: warning: ‘struct ieee80211_ht_additional_info’ declared inside parameter list
/home/orospakr/code/others/iwlwifi/compatible/base.c:8085: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list
/home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘iwl_mac_conf_ht’:
/home/orospakr/code/others/iwlwifi/compatible/base.c:8092: warning: passing argument 1 of ‘sta_ht_info_init’ from incompatible pointer type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8092: warning: passing argument 2 of ‘sta_ht_info_init’ from incompatible pointer type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8100: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c: At top level:
/home/orospakr/code/others/iwlwifi/compatible/base.c:8107: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list
/home/orospakr/code/others/iwlwifi/compatible/base.c:8108: error: conflicting types for ‘iwl_mac_get_ht_capab’
/home/orospakr/code/others/iwlwifi/compatible/base.c:1822: error: previous declaration of ‘iwl_mac_get_ht_capab’ was here
/home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘iwl_mac_get_ht_capab’:
/home/orospakr/code/others/iwlwifi/compatible/base.c:8125: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8126: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8128: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8129: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8130: error: dereferencing pointer to incomplete type
/home/orospakr/code/others/iwlwifi/compatible/base.c: At top level:
/home/orospakr/code/others/iwlwifi/compatible/base.c:8876: error: unknown field ‘conf_ht’ specified in initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8876: warning: initialization from incompatible pointer type
/home/orospakr/code/others/iwlwifi/compatible/base.c:8877: error: unknown field ‘get_ht_capab’ specified in initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8877: warning: excess elements in struct initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8877: warning: (near initialization for ‘iwl_hw_ops’)
/home/orospakr/code/others/iwlwifi/compatible/base.c:8879: error: unknown field ‘ht_tx_agg_start’ specified in initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8879: warning: excess elements in struct initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8879: warning: (near initialization for ‘iwl_hw_ops’)
/home/orospakr/code/others/iwlwifi/compatible/base.c:8880: error: unknown field ‘ht_tx_agg_stop’ specified in initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8880: warning: excess elements in struct initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8880: warning: (near initialization for ‘iwl_hw_ops’)
/home/orospakr/code/others/iwlwifi/compatible/base.c:8881: error: unknown field ‘ht_rx_agg_start’ specified in initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8881: warning: excess elements in struct initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8881: warning: (near initialization for ‘iwl_hw_ops’)
/home/orospakr/code/others/iwlwifi/compatible/base.c:8882: error: unknown field ‘ht_rx_agg_stop’ specified in initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8882: warning: excess elements in struct initializer
/home/orospakr/code/others/iwlwifi/compatible/base.c:8882: warning: (near initialization for ‘iwl_hw_ops’)
make[3]: *** [/home/orospakr/code/others/iwlwifi/compatible/base-4965.o] Error 1
make[2]: *** [_module_/home/orospakr/code/others/iwlwifi/compatible] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.22'
make: *** [modules] Error 2