1. 07 Dec, 2010 4 commits
    • Joe Perches's avatar
      ath: Add and use ath_printk and ath_<level> · 21a99f93
      Joe Perches authored
      Add ath_printk and ath_<level> similar to
      dev_printk and dev_<level> from device.h
      
      This allows a more gradual rename of ath_print
      to to ath_dbg or perhaps ath_debug.
      
      This basically removes debug.h leaving
      only an #define ath_printk ath_dbg
      there and moving all the ATH_DBG_<foo>
      enums to ath.h
      
      I do not think there's much purpose for struct
      ath_common * being passed to the ath_printk
      functions, but perhaps there might be.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      21a99f93
    • Eliad Peller's avatar
      mac80211: fix dynamic-ps/pm_qos magic numbers · 0ab82b04
      Eliad Peller authored
      mac80211 uses pm_qos (/dev/network_latency) in order to determine the
      dynamic ps timeout (or disable the dynamic-ps at all in some cases).
      
      commit ff616381 added a comparison for the current network_latency
      against one high value (1900ms), and against the default value
      (2000sec, rather than the commented 2sec).
      
      however, the representation of 1900ms was incorrect:
      1900ms = 1900000us ( != 1900000000 )
      
      fix it by using USEC_TO_MSEC/SEC consts.
      Signed-off-by: default avatarEliad Peller <eliad@wizery.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      0ab82b04
    • David Kilroy's avatar
      orinoco: allow IW_AUTH_MFP to pass through · 329b32fe
      David Kilroy authored
      The card doesn't support MFP, so silently accept DISABLED and OPTIONAL
      settings.
      
      This avoids the following failure in wpa_supplicant logs:
      
      State: SCANNING -> ASSOCIATING
      wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
      netlink: Operstate: linkmode=-1, operstate=5
      wpa_driver_wext_associate
      wpa_driver_wext_set_drop_unencrypted
      wpa_driver_wext_set_psk
      wpa_driver_wext_associate: assoc failed because set_auth_param(IW_AUTH_MFP) failed
      Association request to the driver failed
      
      Signed-off by: David Kilroy <kilroyd@googlemail.com>
      Reported by: Giacomo Comes <comes@naic.edu>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      329b32fe
    • Bruno Randolf's avatar
      nl80211/mac80211: Report signal average · 541a45a1
      Bruno Randolf authored
      Extend nl80211 to report an exponential weighted moving average (EWMA) of the
      signal value. Since the signal value usually fluctuates between different
      packets, an average can be more useful than the value of the last packet.
      
      This uses the recently added generic EWMA library function.
      
      --
      v2:	fix ABI breakage and change factor to be a power of 2.
      Signed-off-by: default avatarBruno Randolf <br1@einfach.org>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      541a45a1
  2. 06 Dec, 2010 19 commits
  3. 02 Dec, 2010 17 commits