Issues adding variables to local_info struct

ahuguet at cttc.es ahuguet
Wed May 2 02:42:34 PDT 2007


Greetings,

following the recommendations received through this mailing list, I've
tried to declare variables that are interface specific, inside the
local_info struct that is in hostap_wlan.h file.

To that end, I edited the hostap_wlan.h file, and added:

struct sk_buff *last_data_rx;

just after struct net_device_stats stadevstats; inside the local_info
struct declaration.

However, seems that something more has to be done too, as when compiling
(no errors reported) and restarting the computer just so the new changes
take effect, the card is not recognized.

Dmesg shows the following messages, regarding hostap_cs (I've a PC card in
a PCI slot, through a PCMCIA-PCI adapter):

[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_set_hostapd
[17179591.316000] hostap_cs: Unknown symbol hostap_set_hostapd
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_set_encryption
[17179591.316000] hostap_cs: Unknown symbol hostap_set_encryption
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_remove_proc
[17179591.316000] hostap_cs: Unknown symbol hostap_remove_proc
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_set_auth_algs
[17179591.316000] hostap_cs: Unknown symbol hostap_set_auth_algs
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_add_interface
[17179591.316000] hostap_cs: Unknown symbol hostap_add_interface
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_free_data
[17179591.316000] hostap_cs: Unknown symbol hostap_free_data
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_info_process
[17179591.316000] hostap_cs: Unknown symbol hostap_info_process
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_set_antsel
[17179591.316000] hostap_cs: Unknown symbol hostap_set_antsel
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_setup_dev
[17179591.316000] hostap_cs: Unknown symbol hostap_setup_dev
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_init_data
[17179591.316000] hostap_cs: Unknown symbol hostap_init_data
[17179591.316000] hostap_cs: disagrees about version of symbol
hostap_init_ap_proc
[17179591.316000] hostap_cs: Unknown symbol hostap_init_ap_proc
[17179591.320000] hostap_cs: disagrees about version of symbol
hostap_set_hostapd_sta
[17179591.320000] hostap_cs: Unknown symbol hostap_set_hostapd_sta
[17179591.320000] hostap_cs: disagrees about version of symbol
hostap_init_proc
[17179591.320000] hostap_cs: Unknown symbol hostap_init_proc
[17179591.320000] hostap_cs: disagrees about version of symbol
hostap_check_sta_fw_version
[17179591.320000] hostap_cs: Unknown symbol hostap_check_sta_fw_version
[17179591.320000] hostap_cs: disagrees about version of symbol
hostap_get_porttype
[17179591.320000] hostap_cs: Unknown symbol hostap_get_porttype
[17179591.320000] hostap_cs: disagrees about version of symbol
hostap_set_roaming
[17179591.320000] hostap_cs: Unknown symbol hostap_set_roaming
[17179591.320000] hostap_cs: disagrees about version of symbol
hostap_handle_sta_tx_exc
[17179591.320000] hostap_cs: Unknown symbol hostap_handle_sta_tx_exc
[17179591.320000] hostap_cs: disagrees about version of symbol
hostap_info_init
[17179591.320000] hostap_cs: Unknown symbol hostap_info_init
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_set_hostapd
[17179591.324000] hostap_cs: Unknown symbol hostap_set_hostapd
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_set_encryption
[17179591.324000] hostap_cs: Unknown symbol hostap_set_encryption
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_remove_proc
[17179591.324000] hostap_cs: Unknown symbol hostap_remove_proc
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_set_auth_algs
[17179591.324000] hostap_cs: Unknown symbol hostap_set_auth_algs
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_add_interface
[17179591.324000] hostap_cs: Unknown symbol hostap_add_interface
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_free_data
[17179591.324000] hostap_cs: Unknown symbol hostap_free_data
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_info_process
[17179591.324000] hostap_cs: Unknown symbol hostap_info_process
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_set_antsel
[17179591.324000] hostap_cs: Unknown symbol hostap_set_antsel
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_setup_dev
[17179591.324000] hostap_cs: Unknown symbol hostap_setup_dev
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_init_data
[17179591.324000] hostap_cs: Unknown symbol hostap_init_data
[17179591.324000] hostap_cs: disagrees about version of symbol
hostap_init_ap_proc
[17179591.324000] hostap_cs: Unknown symbol hostap_init_ap_proc
[17179591.328000] hostap_cs: disagrees about version of symbol
hostap_set_hostapd_sta
[17179591.328000] hostap_cs: Unknown symbol hostap_set_hostapd_sta
[17179591.328000] hostap_cs: disagrees about version of symbol
hostap_init_proc
[17179591.328000] hostap_cs: Unknown symbol hostap_init_proc
[17179591.328000] hostap_cs: disagrees about version of symbol
hostap_check_sta_fw_version
[17179591.328000] hostap_cs: Unknown symbol hostap_check_sta_fw_version
[17179591.328000] hostap_cs: disagrees about version of symbol
hostap_get_porttype
[17179591.328000] hostap_cs: Unknown symbol hostap_get_porttype
[17179591.328000] hostap_cs: disagrees about version of symbol
hostap_set_roaming
[17179591.328000] hostap_cs: Unknown symbol hostap_set_roaming
[17179591.328000] hostap_cs: disagrees about version of symbol
hostap_handle_sta_tx_exc
[17179591.328000] hostap_cs: Unknown symbol hostap_handle_sta_tx_exc
[17179591.328000] hostap_cs: disagrees about version of symbol
hostap_info_init
[17179591.328000] hostap_cs: Unknown symbol hostap_info_init
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_set_hostapd
[17179591.332000] hostap_cs: Unknown symbol hostap_set_hostapd
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_set_encryption
[17179591.332000] hostap_cs: Unknown symbol hostap_set_encryption
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_remove_proc
[17179591.332000] hostap_cs: Unknown symbol hostap_remove_proc
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_set_auth_algs
[17179591.332000] hostap_cs: Unknown symbol hostap_set_auth_algs
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_add_interface
[17179591.332000] hostap_cs: Unknown symbol hostap_add_interface
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_free_data
[17179591.332000] hostap_cs: Unknown symbol hostap_free_data
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_info_process
[17179591.332000] hostap_cs: Unknown symbol hostap_info_process
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_set_antsel
[17179591.332000] hostap_cs: Unknown symbol hostap_set_antsel
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_setup_dev
[17179591.332000] hostap_cs: Unknown symbol hostap_setup_dev
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_init_data
[17179591.332000] hostap_cs: Unknown symbol hostap_init_data
[17179591.332000] hostap_cs: disagrees about version of symbol
hostap_init_ap_proc
[17179591.332000] hostap_cs: Unknown symbol hostap_init_ap_proc
[17179591.336000] hostap_cs: disagrees about version of symbol
hostap_set_hostapd_sta
[17179591.336000] hostap_cs: Unknown symbol hostap_set_hostapd_sta
[17179591.336000] hostap_cs: disagrees about version of symbol
hostap_init_proc
[17179591.336000] hostap_cs: Unknown symbol hostap_init_proc
[17179591.336000] hostap_cs: disagrees about version of symbol
hostap_check_sta_fw_version
[17179591.336000] hostap_cs: Unknown symbol hostap_check_sta_fw_version
[17179591.336000] hostap_cs: disagrees about version of symbol
hostap_get_porttype
[17179591.336000] hostap_cs: Unknown symbol hostap_get_porttype
[17179591.336000] hostap_cs: disagrees about version of symbol
hostap_set_roaming
[17179591.336000] hostap_cs: Unknown symbol hostap_set_roaming
[17179591.336000] hostap_cs: disagrees about version of symbol
hostap_handle_sta_tx_exc
[17179591.336000] hostap_cs: Unknown symbol hostap_handle_sta_tx_exc
[17179591.336000] hostap_cs: disagrees about version of symbol
hostap_info_init
[17179591.336000] hostap_cs: Unknown symbol hostap_info_init
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_set_hostapd
[17179591.340000] hostap_cs: Unknown symbol hostap_set_hostapd
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_set_encryption
[17179591.340000] hostap_cs: Unknown symbol hostap_set_encryption
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_remove_proc
[17179591.340000] hostap_cs: Unknown symbol hostap_remove_proc
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_set_auth_algs
[17179591.340000] hostap_cs: Unknown symbol hostap_set_auth_algs
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_add_interface
[17179591.340000] hostap_cs: Unknown symbol hostap_add_interface
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_free_data
[17179591.340000] hostap_cs: Unknown symbol hostap_free_data
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_info_process
[17179591.340000] hostap_cs: Unknown symbol hostap_info_process
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_set_antsel
[17179591.340000] hostap_cs: Unknown symbol hostap_set_antsel
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_setup_dev
[17179591.340000] hostap_cs: Unknown symbol hostap_setup_dev
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_init_data
[17179591.340000] hostap_cs: Unknown symbol hostap_init_data
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_init_ap_proc
[17179591.340000] hostap_cs: Unknown symbol hostap_init_ap_proc
[17179591.340000] hostap_cs: disagrees about version of symbol
hostap_set_hostapd_sta
[17179591.340000] hostap_cs: Unknown symbol hostap_set_hostapd_sta
[17179591.344000] hostap_cs: disagrees about version of symbol
hostap_init_proc
[17179591.344000] hostap_cs: Unknown symbol hostap_init_proc
[17179591.344000] hostap_cs: disagrees about version of symbol
hostap_check_sta_fw_version
[17179591.344000] hostap_cs: Unknown symbol hostap_check_sta_fw_version
[17179591.344000] hostap_cs: disagrees about version of symbol
hostap_get_porttype
[17179591.344000] hostap_cs: Unknown symbol hostap_get_porttype
[17179591.344000] hostap_cs: disagrees about version of symbol
hostap_set_roaming
[17179591.344000] hostap_cs: Unknown symbol hostap_set_roaming
[17179591.344000] hostap_cs: disagrees about version of symbol
hostap_handle_sta_tx_exc
[17179591.344000] hostap_cs: Unknown symbol hostap_handle_sta_tx_exc
[17179591.344000] hostap_cs: disagrees about version of symbol
hostap_info_init
[17179591.344000] hostap_cs: Unknown symbol hostap_info_init

If I comment the line struct sk_buff *last_data_rx; and compile, the card
is recognized again.
Could someone tell me what else is needed, after editing the local_info
structure, for those changes to be accepted?

Thanks for your help.





More information about the Hostap mailing list