1. 25 7月, 2009 3 次提交
    • R
      iwlwifi: make debug level more user friendly · a562a9dd
      Reinette Chatre 提交于
      * Deprecate the "debug50" module parameter used to obtain
        5000 series and up debugging. Replace it with "debug" module
        parameter to match with original driver and be consistent
        between them. The "debug50" module parameter can still be used,
        except that the module parameter is not writable in keeping
        with its previous state. We currently just mark it as "deprecated"
        and do not have it in the feature-removal-schedule. Some more
        cleanup of module parameters needs to be done and can then be
        entered together.
      
      * Only make "debug" module parameters visible if the driver
        is compiled with CONFIG_IWLWIFI_DEBUG. This will eliminate
        a lot of confusion where users think they have set debug flags
        but yet cannot see any debug output.
      
      * Make module parameters writable. This eliminates the need for the
        "debug_level" sysfs file, which can now also be deprecated and
        added to feature-removal-schedule. This file is in significant
        use though with many iwlwifi documents and text referring users
        to it. We can thus not take its removal lightly and keep it around.
      
      With iwlcore shared between iwlagn and iwl3945 we really do not need
      debug module parameters for each but can instead have one debug
      module parameter for the iwlcore module. The same issue is here as
      with the sysfs file - a lot of iwlwifi documentation and text (like
      bug reports) rely on iwlagn and iwl3945 having this module parameter,
      so changing this to a module parameter of iwlcore will have significant
      impact and we do not do this for that reason.
      
      One consequence of this patch is that if a user is running a system
      with both 3945 and later hardware then the setting of the one module
      parameter will affect the value of the other. The likelihood of this
      seems low - and even if this setup is present it does not seem like an
      issue for both modules to run with the same debug level.
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a562a9dd
    • W
      iwlwifi: add led debugfs function · a283c011
      Wey-Yi Guy 提交于
      Adding debugfs file to show current led blinking rate
      /sys/kernel/debug/ieee80211/phy0/iwlagn/data/led
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a283c011
    • W
      iwlwifi: move show_qos to debugfs · f5ad69fa
      Wey-Yi Guy 提交于
      This move the show_qos file from sysfs to debugfs because the "one
      value per file" sysfs rule.
      
      The file is located in
      /sys/kernel/debug/ieee80211/phy0/iwlagn/data
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f5ad69fa
  2. 11 7月, 2009 1 次提交
  3. 23 5月, 2009 1 次提交
  4. 23 4月, 2009 1 次提交
  5. 10 2月, 2009 1 次提交
  6. 30 1月, 2009 9 次提交
  7. 20 12月, 2008 1 次提交
  8. 13 12月, 2008 1 次提交
  9. 05 12月, 2008 1 次提交
  10. 22 11月, 2008 1 次提交
  11. 01 11月, 2008 2 次提交
  12. 23 8月, 2008 1 次提交
  13. 07 8月, 2008 1 次提交
  14. 05 8月, 2008 1 次提交
  15. 30 7月, 2008 1 次提交
    • D
      iwlwifi: compilation error when CONFIG_IWLWIFI_DEBUG is not set · c0b6a1c9
      Denis V. Lunev 提交于
      CC [M]  drivers/net/wireless/iwlwifi/iwl-rfkill.o
      drivers/net/wireless/iwlwifi/iwl-led.c: In function 'iwl_led_brightness_set':
      drivers/net/wireless/iwlwifi/iwl-led.c:198: error: 'led_type_str' undeclared (first use in this function)
      drivers/net/wireless/iwlwifi/iwl-led.c:198: error: (Each undeclared identifier is reported only once
      drivers/net/wireless/iwlwifi/iwl-led.c:198: error: for each function it appears in.)
      
      The problem is that led_type_str is defined under CONFIG_IWLWIFI_DEBUG
      while IWL_DEBUG is a static inline function in this case. Replace it
      with macro.
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c0b6a1c9
  16. 15 6月, 2008 2 次提交
  17. 22 5月, 2008 2 次提交
  18. 15 5月, 2008 3 次提交
  19. 26 3月, 2008 2 次提交
  20. 14 3月, 2008 1 次提交
  21. 07 3月, 2008 1 次提交
  22. 29 1月, 2008 3 次提交