iwlwifi: provide firmware version
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 30 Oct 2009 21:36:04 +0000 (14:36 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Nov 2009 20:39:43 +0000 (15:39 -0500)
commit5ebeb5a676c864acf59caa166b3cc0a13b7cff93
tree062b1eb905cad31fbd5eaae30c2b16bf2b2f84fe
parent9aa4aee30f4d155fc91abbaecfef9b3bb759699e
iwlwifi: provide firmware version

By setting the firmware version in wiphy it is possible to obtain this
information via ethtool. Some examples,

    # ethtool -i wlan1
    driver: iwlagn
    version: 2.6.32-rc5-wl-56840-g26d8540
    firmware-version: 228.57.2.23
    bus-info: 0000:03:00.0
    # ethtool -i wlan0
    driver: iwl3945
    version: 2.6.32-rc5-wl-56840-g26d8540
    firmware-version: 15.28.2.8
    bus-info: 0000:02:00.0

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c