1. 01 11月, 2008 1 次提交
  2. 28 10月, 2008 1 次提交
  3. 16 9月, 2008 1 次提交
  4. 12 9月, 2008 1 次提交
  5. 09 9月, 2008 1 次提交
  6. 23 8月, 2008 1 次提交
  7. 18 8月, 2008 1 次提交
    • H
      removed unused #include <version.h> · 3eb75aac
      Huang Weiyi 提交于
      The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
        drivers/net/wireless/ath5k/base.c
        drivers/net/wireless/b43/main.c
        drivers/net/wireless/ipw2100.c
        drivers/net/wireless/ipw2200.c
        drivers/net/wireless/iwlwifi/iwl-3945.c
        drivers/net/wireless/iwlwifi/iwl-4965.c
        drivers/net/wireless/iwlwifi/iwl-5000.c
        drivers/net/wireless/iwlwifi/iwl-agn.c
        drivers/net/wireless/iwlwifi/iwl-core.c
        drivers/net/wireless/iwlwifi/iwl-eeprom.c
        drivers/net/wireless/iwlwifi/iwl-hcmd.c
        drivers/net/wireless/iwlwifi/iwl-power.c
        drivers/net/wireless/iwlwifi/iwl3945-base.c
      
      This patch removes the said #include <version.h>.
      Signed-off-by: NHuang Weiyi <weiyi.huang@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3eb75aac
  8. 05 8月, 2008 1 次提交
  9. 02 8月, 2008 1 次提交
  10. 30 7月, 2008 1 次提交
  11. 15 7月, 2008 1 次提交
  12. 08 7月, 2008 1 次提交
  13. 03 7月, 2008 1 次提交
  14. 15 6月, 2008 1 次提交
    • H
      mac80211: add helpers for frame control testing · fd7c8a40
      Harvey Harrison 提交于
      A few general categories:
      
      1) ieee80211_has_* tests if particular fctl bits are set, the helpers are de
      in the same order as the fctl defines:
      
      A combined _has_a4 was also added to test when both FROMDS and TODS are set.
      
      2) ieee80211_is_* is meant to test whether the frame control is of a certain
      ftype - data, mgmt, ctl, and two special helpers _is_data_qos, _is_data_pres
      which also test a subset of the stype space.
      
      When testing for a particular stype applicable only to one ftype, functions
      like ieee80211_is_ack have been added.  Note that the ftype is also being
      checked in these helpers.  They have been added for all mgmt and ctl stypes
      in the same order as the STYPE defines.
      
      3) ieee80211_get_* is meant to take a struct ieee80211_hdr * and returns a
      pointer to somewhere in the struct, see get_SA, get_DA, get_qos_ctl.
      
      The intel wireless drivers had helpers that used this namespace, convert the
      all to use the new helpers and remove the byteshifting as they were defined
      in cpu-order rather than little-endian.
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      fd7c8a40
  15. 22 5月, 2008 2 次提交
  16. 15 5月, 2008 1 次提交
    • 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
  17. 13 5月, 2008 1 次提交
  18. 08 5月, 2008 1 次提交
  19. 29 4月, 2008 1 次提交
  20. 09 4月, 2008 2 次提交
  21. 28 3月, 2008 1 次提交
    • M
      iwlwifi: Add led support · ab53d8af
      Mohamed Abbas 提交于
      This patch add LEDS support to 3965 and 4965 drivers. It is based on
      led trigger and class. For our drivers we needed to avoid two things.
      1- We receive led trigger on/off on each Rx\Tx frame. In our driver
          we can not call led command like that. In this driver once driver
          receive a start of traffic it call the led command to start blinking
          then we count all bytes of Tx and Rx frame, after two second we count the
          blink rate of last two second then id blink rate changed we call the led
           commands
      2- Since we can call led command very often, we make sure we call the
          led command after we receive the statistics notification so
          we don't need to wake up the ucode id it is in sleep state.
          This patch was tested with 4965 and 3945.
      Signed-off-by: NMohamed Abbas <mabbas@linux.intel.com>
      Signed-off-by: Ian Schram<ischram@telenet.be>
      Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ab53d8af
  22. 14 3月, 2008 2 次提交
  23. 08 3月, 2008 5 次提交
  24. 07 3月, 2008 1 次提交
  25. 01 3月, 2008 2 次提交
    • T
      iwlwifi: Add tx_ant_num hw setting variable · 3e82a822
      Tomas Winkler 提交于
      Added tx_ant_num variable into hw_setting
      This will be used for scanning TX antenna toggling
      On the way removed ac_queue_num unused
      Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3e82a822
    • J
      cfg80211 API for channels/bitrates, mac80211 and driver conversion · 8318d78a
      Johannes Berg 提交于
      This patch creates new cfg80211 wiphy API for channel and bitrate
      registration and converts mac80211 and drivers to the new API. The
      old mac80211 API is completely ripped out. All drivers (except ath5k)
      are updated to the new API, in many cases I expect that optimisations
      can be done.
      
      Along with the regulatory code I've also ripped out the
      IEEE80211_HW_DEFAULT_REG_DOMAIN_CONFIGURED flag, I believe it to be
      unnecessary if the hardware simply gives us whatever channels it wants
      to support and we then enable/disable them as required, which is pretty
      much required for travelling.
      
      Additionally, the patch adds proper "basic" rate handling for STA
      mode interface, AP mode interface will have to have new API added
      to allow userspace to set the basic rate set, currently it'll be
      empty... However, the basic rate handling will need to be moved to
      the BSS conf stuff.
      
      I do expect there to be bugs in this, especially wrt. transmit
      power handling where I'm basically clueless about how it should work.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8318d78a
  26. 02 2月, 2008 1 次提交
  27. 01 2月, 2008 1 次提交
  28. 29 1月, 2008 5 次提交
    • A
      drivers/net/wireless/iwlwifi/iwl-3945.c: fix printk warning · d2594d07
      Andrew Morton 提交于
      drivers/net/wireless/iwlwifi/iwl-3945.c: In function 'iwl3945_add_radiotap':
      drivers/net/wireless/iwlwifi/iwl-3945.c:269: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d2594d07
    • Z
      iwlwifi: delay firmware loading from pci_probe to network interface open · 5a66926a
      Zhu Yi 提交于
      This patch moves the firmware loading (read firmware from disk and load
      it into the device SRAM) from pci_probe time to the first network
      interface open time. There are two reasons for doing this:
      
      1. To support kernel buildin iwlwifi drivers. Because kernel initializes
         network devices subsystem before hard disk and SATA subsystem, it is
         impossible to get the firmware image from hard disk in the PCI probe
         handler. Thus delaying the firmware loading into the network
         interface open time is the way to go. Note, we only read the firmware
         image from hard disk the first time the interface is open. After this
         is succeeded, we cache the firmware image into the host memory. This
         is a performance gain when user open and close the interface multiple
         times and is necessary for device suspend and resume.
      
      2. For better power saving. When the iwlwifi modules are loaded (or
         buildin the kernel) but the wireless network interface is not being
         used, it is a good practice the wireless device consumes as less
         power as possible. Unloading the firmware from the wireless device
         and unregister the driver's interrupt handler in the network
         interface close handler provides users a way to achieve this. User
         space network configuration tools (i.e NetworkManager) can also
         contribute here when it detects a wired cable is connected and
         close the wireless interface automatically.
      
      This patch also includes the pci_save/restore_state() fixed by Ian Schram
      upon the first version.
      Signed-off-by: NZhu Yi <yi.zhu@intel.com>
      Signed-off-by: NIan Schram <ischram@telenet.be>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5a66926a
    • J
      mac80211: add unified BSS configuration · 471b3efd
      Johannes Berg 提交于
      This patch (based on Ron Rindjunsky's) creates a framework for
      a unified way to pass BSS configuration to drivers that require
      the information, e.g. for implementing power save mode.
      
      This patch introduces new ieee80211_bss_conf structure that is
      passed to the driver via the new bss_info_changed() callback
      when the BSS configuration changes.
      
      This new BSS configuration infrastructure adds the following
      new features:
       * drivers are notified of their association AID
       * drivers are notified of association status
      
      and replaces the erp_ie_changed() callback. The patch also does
      the relevant driver updates for the latter change.
      Signed-off-by: NRon Rindjunsky <ron.rindjunsky@intel.com>
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      471b3efd
    • Z
      iwlwifi: proper monitor support · 12342c47
      Zhu Yi 提交于
      This patch changes the iwlwifi driver to properly support
      monitor interfaces after the filter flags change.
      
      The patch is originally created by Johannes Berg for iwl4965. I fixed some
      of the comments and created a similar patch for iwl3945.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NZhu Yi <yi.zhu@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      12342c47
    • R
      iwlwifi: 802.11n add support to 8K A-MSDU Rx frames · 9ee1ba47
      Ron Rindjunsky 提交于
      This patch give the iwlwifi the ability to support A-MSDU up to 8K
      
      Please notice - in order to work in 8K A-MSDU ucode support is needed,
      version 4.44.1.19 (soon to be published). 4K A-MSDU works in current ucode
      version as well.
      Signed-off-by: NRon Rindjunsky <ron.rindjunsky@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9ee1ba47