1. 27 9月, 2014 5 次提交
    • A
      rtl818x_pci: add RSSI information for rtl8187SE · 8084bb03
      andrea.merello 提交于
      This patch makes the driver to report signal strength information
      to mac80211 for rtl8187se boards.
      
      It differs from my previous RFT patch:
      http://marc.info/?l=linux-wireless&m=140155388332534&w=2
      because:
      - I have now a working rtl8187se card, so I could serve my RFT by myself. :)
      - CCK measurement code has changed a bit, but it does basically the same things.
      - OFDM measurement method is changed because the older method reported incorrect
        measures, at least for signals stronger than -40dBm).
      
      CCK measurement seems quite good. OFDM seems less accurate, but this is the
      same as the "reference" staging driver dose. I wanted not to change things just
      to make measures of _one_ (my) card a bit more close to what _I_ (in my setup)
      expected..
      
      IMHO results are still good enough to justify reporting signal in dBm rather than in
      "unspecified" units, so this is what this patch actually does.
      
      Results of my tests with a working rtl8187se card connected with coaxes and
      various RF attenuators to my AP are:
      
      Input (approx) | CCK meas | OFDM meas
      --------------------------------------
            -30dBm   |  -32dBm  |  -31dBm
            -40dBm   |  -40dBm  |  -41dBm
            -50dBm   |  -50dBm  |  -55dBm
            -60dBm   |  -59dBm  |  -63dBm
            -70dBm   |  -69dBm  |  -73dBm
            -80dBm   |  -79dBm  |  -83dBm
      
      Also some real-field tests has been done (no coax, packets in the air) for the CCK
      measure method, and they resulted in reasonable values.
      
      Thanks-to: Bernhard Schiffner <bernhard@schiffner-limbach.de> [ for real-field tests]
      Signed-off-by: Nandrea.merello <andrea.merello@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8084bb03
    • S
      ath9k: Fix p2p address management · 2ce73c02
      Sujith Manoharan 提交于
      When multiple channel contexts are enabled, a p2p interface
      that is assigned to a context will have an address that
      is different from the device mac address, which is used
      by wpa_s as the p2p device ID.
      
      Certain frames like provision requests use the device address
      and these get dropped since ath9k_calculate_summary_state()
      iterates over only the active interfaces in a context and the
      device address is not used.
      
      Fix this by adding the device mac address to the bssid mask.
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2ce73c02
    • A
      mwifiex: ensure user_scan_in not NULL while setting scan channel gap · 8eda10ea
      Avinash Patil 提交于
      Check for scan channel gap only when user_scan_in is not NULL.
      user_scan_in is NULL for internal scans and if we check scan channel gap
      at this place, it may result into crash.
      Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NAvinash Patil <patila@marvell.com>
      Signed-off-by: NCathy Luo <cluo@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8eda10ea
    • S
      ath9k: Cache BSS information · cb35582a
      Sujith Manoharan 提交于
      Using the BSS information stored in mac80211 directly
      is racy in certain conditions. For example, in a MCC
      setup, if the scheduler is switching channels when
      a local deauth is issued, calculation of the opmode/bssid
      etc. is incorrect. To avoid this, store the bss params
      in the driver and use it.
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      cb35582a
    • P
      ath5k: Remove AHB bus support · 093ec3c5
      Paul Bolle 提交于
      AHB bus support was added in v2.6.38, through commit a0b907ee
      ("ath5k: Add AHB bus support."). That code can only be build if the
      Kconfig symbol ATHEROS_AR231X is set. But that symbol has never been
      added to the tree. So AHB bus support has always been dead code.
      
      Let's remove all code that depends on ATHEROS_AR231X. If that symbol
      ever gets added to the tree the AHB bus support can be re-added too.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      093ec3c5
  2. 22 9月, 2014 2 次提交
  3. 21 9月, 2014 8 次提交
  4. 18 9月, 2014 10 次提交
  5. 17 9月, 2014 12 次提交
  6. 16 9月, 2014 3 次提交