1. 08 12月, 2010 3 次提交
    • E
      mac80211: fix dynamic-ps/pm_qos magic numbers · 0ab82b04
      Eliad Peller 提交于
      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: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      0ab82b04
    • D
      orinoco: allow IW_AUTH_MFP to pass through · 329b32fe
      David Kilroy 提交于
      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: NJohn W. Linville <linville@tuxdriver.com>
      329b32fe
    • B
      nl80211/mac80211: Report signal average · 541a45a1
      Bruno Randolf 提交于
      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: NBruno Randolf <br1@einfach.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      541a45a1
  2. 07 12月, 2010 19 次提交
  3. 03 12月, 2010 18 次提交