1. 15 5月, 2008 3 次提交
    • B
      mac80211: use hardware flags for signal/noise units · 566bfe5a
      Bruno Randolf 提交于
      trying to clean up the signal/noise code. the previous code in mac80211 had
      confusing names for the related variables, did not have much definition of
      what units of signal and noise were provided and used implicit mechanisms from
      the wireless extensions.
      
      this patch introduces hardware capability flags to let the hardware specify
      clearly if it can provide signal and noise level values and which units it can
      provide. this also anticipates possible new units like RCPI in the future.
      
      for signal:
      
        IEEE80211_HW_SIGNAL_UNSPEC - unspecified, unknown, hw specific
        IEEE80211_HW_SIGNAL_DB     - dB difference to unspecified reference point
        IEEE80211_HW_SIGNAL_DBM    - dBm, difference to 1mW
      
      for noise we currently only have dBm:
      
        IEEE80211_HW_NOISE_DBM     - dBm, difference to 1mW
      
      if IEEE80211_HW_SIGNAL_UNSPEC or IEEE80211_HW_SIGNAL_DB is used the driver has
      to provide the maximum value (max_signal) it reports in order for applications
      to make sense of the signal values.
      
      i tried my best to find out for each driver what it can provide and update it
      but i'm not sure (?) for some of them and used the more conservative guess in
      doubt. this can be fixed easily after this patch has been merged by changing
      the hardware flags of the driver.
      
      DRIVER          SIGNAL    MAX	NOISE   QUAL
      -----------------------------------------------------------------
      adm8211         unspec(?) 100   n/a     missing
      at76_usb        unspec(?) (?)   unused  missing
      ath5k           dBm             dBm     percent rssi
      b43legacy       dBm             dBm     percent jssi(?)
      b43             dBm             dBm     percent jssi(?)
      iwl-3945        dBm             dBm     percent snr+more
      iwl-4965        dBm             dBm     percent snr+more
      p54             unspec    127   n/a     missing
      rt2x00          dBm	        n/a     percent rssi+tx/rx frame success
        rt2400        dBm             n/a
        rt2500pci     dBm             n/a
        rt2500usb     dBm             n/a
        rt61pci       dBm             n/a
        rt73usb       dBm             n/a
      rtl8180         unspec(?) 65    n/a     (?)
      rtl8187         unspec(?) 65    (?)     noise(?)
      zd1211          dB(?)     100   n/a     percent
      
      drivers/net/wireless/ath5k/base.c:      Changes-licensed-under: 3-Clause-BSD
      Signed-off-by: NBruno Randolf <br1@einfach.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      566bfe5a
    • B
      iwl3945: do not delay hardware scan if it is a direct scan · 15dbf1b7
      Bill Moss 提交于
      iwl3945 <---> mac80211 <----> wpa_supplicant <---> NetworkManager
      
      When a hardware scan is completed and another scan is requested in less
      than two seconds, iwlwifi will not do the second scan and will pass the
      error code -EAGAIN back to mac80211 where it quickly dies. The error
      code is not passed along to the calling program wpa_supplicant. After a
      timeout, wpa_supplicant will just give up but it will not know why the
      scan failed. This is a weakness in the design.
      
      I ran into this issue when I was trying to figure out why it takes more
      an a minute for NetworkManager to connect after Networking has been
      disabled and then re-enabled. I found a good deal of unnecessary work
      being done because mac80211 requests authentication when the interface
      is not configured, the ANY mode. I created an experimental passive
      (NOTANY) mode for mac80211 to eliminate this case. Then NetworkManager
      became so fast that I ran into the iwlwifi 2 second delay next scan
      issue which we are discussing.
      
      The patch resolves the problem by bypassing the delay if the scan request
      is a direct scan. It should do less harm to the hardware.
      Signed-off-by: NBill Moss <bmoss@CLEMSON.EDU>
      Signed-off-by: NZhu Yi <yi.zhu@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      15dbf1b7
    • A
      iwlwifi : Set monitor mode for 3945 · 5ec03976
      Abhijeet Kolekar 提交于
      The patch leverages mac80211 configure_filter to enable iwl3945
      monitor mode.
      Signed-off-by: NAbhijeet Kolekar <abhijeet.kolekar@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5ec03976
  2. 08 5月, 2008 4 次提交
  3. 02 5月, 2008 2 次提交
  4. 24 4月, 2008 1 次提交
  5. 17 4月, 2008 1 次提交
  6. 09 4月, 2008 3 次提交
  7. 02 4月, 2008 3 次提交
  8. 28 3月, 2008 3 次提交
  9. 25 3月, 2008 2 次提交
  10. 14 3月, 2008 2 次提交
  11. 08 3月, 2008 6 次提交
  12. 07 3月, 2008 3 次提交
  13. 01 3月, 2008 6 次提交
  14. 16 2月, 2008 1 次提交