20 Aug, 2009

4 commits


18 Aug, 2009

1 commit

  • Fix trace_skb_sources build when CONFIG_NET is not enabled:

    kernel/built-in.o: In function `probe_skb_dequeue':
    trace_skb_sources.c:(.text+0xd9152): undefined reference to `init_net'
    trace_skb_sources.c:(.text+0xd9188): undefined reference to `dev_get_by_index'

    Signed-off-by: Randy Dunlap
    Signed-off-by: David S. Miller

    Randy Dunlap
     

15 Aug, 2009

18 commits


14 Aug, 2009

17 commits

  • Also implement get/set BB mult, get/set TX gain, set RX gain,
    disable/restore CRS, run/stop DDFS, RX IQ est and QDIV roundup
    in the process.

    Signed-off-by: Gábor Stefanik
    Acked-by: Michael Buesch
    Signed-off-by: John W. Linville

    Gábor Stefanik
     
  • This patch fixes a bug in ath9k_stop() where the HW
    was not put into FULL_SLEEP state. Not doing so will
    cause issues in suspend-resume and the HW will not respond
    to chip resets.

    Signed-off-by: Sujith
    Signed-off-by: John W. Linville

    Sujith
     
  • This patch fixes a bug where the device was enabled
    before restoring the PCI state.

    Signed-off-by: Sujith
    Signed-off-by: John W. Linville

    Sujith
     
  • diversity_control and antenna_switch_swap are already
    present in ath9k_ops_config. Remove duplicate occurrences
    in ath_hw.

    Signed-off-by: Sujith
    Signed-off-by: John W. Linville

    Sujith
     
  • PHY counters are available in all chipsets supported
    by ath9k. Remove the check.

    Signed-off-by: Sujith
    Signed-off-by: John W. Linville

    Sujith
     
  • ath9k supports the AR9002 family of chipsets. This includes
    the AR9285 and the miniPCI AR9223 and AR9220 (which themselves
    have AR9280+AR5133).

    We now refer people to the wiki page as it seems this is not
    as popular as we would have hoped.

    Reported-by: JD
    Cc: Dakota Lee
    Signed-off-by: Luis R. Rodriguez
    Signed-off-by: John W. Linville

    Luis R. Rodriguez
     
  • Sometimes drivers might have a good reason to override
    the PS default, like iwlwifi right now where it affects
    RX performance significantly at this point. This will
    allow them to override the default, if desired, in a
    way that users can still change it according to their
    trade-off choices, not the driver's, like would happen
    if the driver just disabled PS completely then.

    Signed-off-by: Johannes Berg
    Signed-off-by: John W. Linville

    Johannes Berg
     
  • If you trigger a scan request on an interface and then
    take it down, or rmmod the module or unplug the device
    the driver might "forget" to cancel the scan request.
    That is a bug in the driver, but the current behaviour
    is that we just hang endlessly waiting for the netdev
    refcount to become 0 which it never will. To improve
    robustness, check for this situation in cfg80211, warn
    about it and clean up behind the driver. I don't just
    clean up silently because it's likely that the driver
    also has some internal state it has now leaked.

    Additionally, this fixes a locking bug, clearing the
    scan_req pointer should be done under the rdev lock.

    Finally, we also need to _wait_ for the scan work and
    not just abort it since it might be pending and wanting
    to do a cleanup.

    Signed-off-by: Johannes Berg
    Signed-off-by: John W. Linville

    Johannes Berg
     
  • The length of the fixed portion of plink confirm frames is 4 bytes longer than
    the other plink_action frames. This path corrects an error in the length
    adjustment done for these type of frames.

    Signed-off-by: Javier Cardona
    Signed-off-by: John W. Linville

    David Woo
     
  • If a PREQ frame is received giving us a fresher DSN than what we have, record
    the new dsn and mark it as valid. This patch fixes a bug in the setting of the
    MESH_PATH_DSN_VALID flag.

    Also, minor fix to coding style on that file.

    Signed-off-by: Javier Cardona
    Signed-off-by: John W. Linville

    David Woo
     
  • This matches ath9k, providing consistency when reading both drivers.

    Signed-off-by: Luis R. Rodriguez
    Signed-off-by: John W. Linville

    Luis R. Rodriguez
     
  • Now that its shared we can remove ath5k's own implementation.

    Signed-off-by: Luis R. Rodriguez
    Signed-off-by: John W. Linville

    Luis R. Rodriguez
     
  • Turns out ath5k and ath9k can share the same helper to
    allocates RX skbs. We allocate skbs aligned to the cache line
    size. This requirement seems to have come from AR5210; when
    this was not done it seems sometimes we'd get bogus data. I'm
    also told it may have been a performance enhancement
    consideration. In the end I can't be sure we can remove this
    on new hardware so just keep this and start sharing it through
    ath.ko.

    Make ath9k start using this, ath5k is next.

    Signed-off-by: Luis R. Rodriguez
    Signed-off-by: John W. Linville

    Luis R. Rodriguez
     
  • Luis reported that IRQ_MASK conflicts with include/pcmcia/cs.h on
    compat-wireless. Remove that and a bunch of other unused defines
    from wl1251_reg.h.

    Reported-by: Luis R. Rodriguez
    Signed-off-by: Kalle Valo
    Signed-off-by: John W. Linville

    Kalle Valo
     
  • Commit "wl1251: remove wl1251_ops" originally removed file wl1251_ops.c,
    but while I rebased the patch the removal got lost. Now remote the file
    for real.

    Signed-off-by: Kalle Valo
    Signed-off-by: John W. Linville

    Kalle Valo
     
  • Commit "iwlwifi: Traffic type and counter for debugFs" broke iwl3945 in
    a case when CONFIG_IWLWIFI_LEDS is disabled:

    drivers/net/wireless/iwlwifi/iwl-3945.c:580: error: 'hdr' undeclared (first use in this function)

    Fix it by removing the ifdef check for hdr variable.

    Signed-off-by: Kalle Valo
    Acked-by: Reinette Chatre
    Signed-off-by: John W. Linville

    Kalle Valo
     
  • Make it possible to write individual gain table entries.
    Allow gain table entries to be written outside gain table init.
    Add version-agnostic helpers for writing gain tables.
    Use the new TX gain table helpers during table init.

    Signed-off-by: Gábor Stefanik
    Signed-off-by: John W. Linville

    Gábor Stefanik