2008/1/11, Zhu Yi <yi.zhu@xxxxxxxxx>: > Hi Joonwoo, > > We already did something similiar in our code base. Could you please > take a look at this patch? > > http://intellinuxwireless.org/repos/?p=iwlwifi.git;a=commitdiff;h=57aa02255e9d7be5e2494683fc2793bd1d0707e2 > > Thanks, > -yi Ooops :-) I should have checked code base, it's my fault. it's seems very similar, but I could not made build unfortunately. Can you introduce to me how to build it please? my build error is here: jason@ehus ~/SRC/DRIVERS/iwlwifi $ KSRC=/home/jason/SRC/LINUX/linux-2.6 make make -C /home/jason/SRC/LINUX/linux-2.6 O= M=/home/jason/SRC/DRIVERS/iwlwifi/compatible/ EXTRA_CFLAGS="-DCONFIG_IWL3945_DEBUG=y -DCONFIG_IWL4965_DEBUG=y -DCONFIG_IWL3945_SPECTRUM_MEASUREMENT=y -DCONFIG_IWL4965_SPECTRUM_MEASUREMENT=y -DCONFIG_IWL4965_SENSITIVITY=y -DCONFIG_IWL3945_QOS=y -DCONFIG_IWL4965_QOS=y" modules make[1]: Entering directory `/home/jason/SRC/LINUX/linux-2.6' CC [M] /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.o In file included from /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:51: /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl-3945.h:443: error: expected specifier-qualifier-list before 'ieee80211_key_alg' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c: In function 'iwl3945_add_station': /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:539: error: implicit declaration of function 'MAC_ARG' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:539: warning: too few arguments for format /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c: In function 'iwl3945_commit_rxon': /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:1161: warning: too few arguments for format /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c: In function 'iwl3945_update_sta_key_info': /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:1400: error: 'struct iwl3945_hw_key' has no member named 'alg' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:1401: error: 'struct iwl3945_hw_key' has no member named 'keylen' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:1402: error: 'struct iwl3945_hw_key' has no member named 'key' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:1402: error: 'struct iwl3945_hw_key' has no member named 'key' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c: In function 'iwl3945_build_tx_cmd_hwcrypto': /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:2594: error: 'struct iwl3945_hw_key' has no member named 'alg' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:2597: error: 'struct iwl3945_hw_key' has no member named 'keylen' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:2597: error: 'struct iwl3945_hw_key' has no member named 'key' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:2597: error: 'struct iwl3945_hw_key' has no member named 'keylen' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:2597: error: 'struct iwl3945_hw_key' has no member named 'key' /home/jason/SRC/DRIVERS/iwlwifi/compatible/iwl3945-base.c:2597: error: 'struct iwl3945_hw_key' has no member named 'keylen' Thanks, Joonwoo - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html