1. 27 8月, 2013 4 次提交
  2. 23 8月, 2013 1 次提交
    • B
      mwifiex: do not create AP and P2P interfaces upon driver loading · 1211c961
      Bing Zhao 提交于
      Bug 60747 - 1286:2044 [Microsoft Surface Pro]
          Marvell 88W8797 wifi show 3 interface under network
      https://bugzilla.kernel.org/show_bug.cgi?id=60747
      
      This issue was also reported previously by OLPC and some folks from
      the community.
      
      There are 3 network interfaces with different types being created
      when mwifiex driver is loaded:
      
      1. mlan0 (infra. STA)
      2. uap0 (AP)
      3. p2p0 (P2P_CLIENT)
      
      The Network Manager attempts to use all 3 interfaces above without
      filtering the managed interface type. As the result, 3 identical
      interfaces are displayed under network manager. If user happens to
      click on an entry under which its interface is uap0 or p2p0, the
      association will fail.
      
      Work around it by removing the creation of AP and P2P interfaces
      at driver loading time. These interfaces can be added with 'iw' or
      other applications manually when they are needed.
      Signed-off-by: NBing Zhao <bzhao@marvell.com>
      Signed-off-by: NAvinash Patil <patila@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1211c961
  3. 13 8月, 2013 1 次提交
  4. 10 8月, 2013 4 次提交
  5. 02 8月, 2013 2 次提交
  6. 01 8月, 2013 3 次提交
  7. 27 7月, 2013 3 次提交
  8. 24 7月, 2013 19 次提交
  9. 23 7月, 2013 2 次提交
    • S
      wireless: Convert mwifiex/pcie to dev_pm_ops from legacy pm_ops · 3266d732
      Shuah Khan 提交于
      Convert the mwifiex/pci driver to use dev_pm_ops for power management and
      remove Legacy PM handling. This change re-uses existing suspend and resume
      interfaces for dev_pm_ops, and changes CONFIG_PM ifdefs to CONFIG_PM_SLEEP
      as the driver does not support run-time PM.
      Signed-off-by: NShuah Khan <shuah.kh@samsung.com>
      Acked-by: NBing Zhao <bzhao@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3266d732
    • D
      mwifiex: fix IRQ enable/disable · 232fde06
      Daniel Drake 提交于
      During tear down (e.g. mwifiex_sdio_remove during system suspend),
      mwifiex left IRQs enabled for a significant period of time when it was
      unable to handle them correctly. This caused interrupt storms and
      interfered with the bluetooth interface on the same SDIO card.
      
      Solve this by disabling interrupts at the point when they can no longer
      be handled correctly, which is at the start of mwifiex_remove_card().
      
      For cleanliness, we now enable interrupts in the mwifiex_add_card() path,
      to be symmetrical with the disabling of interrupts. We also couple the
      registration of the sdio IRQ handler with the actual enable/disable of
      interrupts at the hardware level.
      
      I also removed a write to this register in mwifiex_init_sdio which seemed
      pointless and won't cause any ill effects now that we only register
      the SDIO IRQ handler when we are ready to accept interrupts.
      
      Includes some corrections from Amitkumar Karwar.
      Signed-off-by: NDaniel Drake <dsd@laptop.org>
      Acked-by: NBing Zhao <bzhao@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      232fde06
  10. 16 7月, 2013 1 次提交