Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 16, 2013
  1. SoftapControllerATH: add wakelock

    ar6000 + WoW + AP mode = no workie. Disable WoW in AP mode and add
    a wakelock to keep the CPU alive. This consumes more battery, but
    actually makes it work reliably.
    Change-Id: Ibd882b0990f58a35ec52407b3af9751a6b367c40
Commits on Jan 14, 2013
  1. Fix race condition in pthread_create()

    Jurijs Oniscuks committed with
    Do not send "&this->mThread" to pthread_create() as newly
    created thread can "delete this" before pthread_create() saves
    thread id. This would lead to heap corruption.
    Change-Id: I9c4cd5e1002b85985514a36ae542778a783db6fb
  2. Revive SoftapControllerATH

    Support for legacy ar6000 chipsets. Backported from CM's Gingerbread
    branch, with various changes to make it work correctly with current
    netd, and a fix for a hostapd initialization race condition.
    Change-Id: I6d99b6f1fdece1346a8034abf99fe703476565a4
Commits on Aug 17, 2012
  1. @cyanogen

    Merge "system/netd TI mac80211: Hostapd updates from omapzoom JB" int…

    cyanogen committed with Gerrit Code Review
    …o jellybean
Commits on Aug 10, 2012
  1. @cyanogen
Commits on Jul 29, 2012
  1. @mdeejay @tbalden

    system/netd TI mac80211: Hostapd updates from omapzoom JB

    mdeejay committed with tbalden
    Change-Id: Ib7f1220dbc51684c1041167e855aa299ba408fe8
    Changes to SoftAPController for TI solution
    (TI solution is based on hostapd)
    Change-Id: I500dd743e83702701fcd1bed6916b8d8a62688f4
    Signed-off-by: Vishal Mahaveer <>
Commits on Jul 26, 2012
  1. @athurh

    netd: Insert Android iptables rules on top

    athurh committed
    Avoid a mix of rules with iptables scripts at boot (init.d)
    Change-Id: Id4a3ad7a6fd86b4f106594258f4f4ebc69be19fa
Commits on Jul 13, 2012
  1. @freexperia

    TISoftap: LOG to ALOG change

    freexperia committed
Commits on Jul 11, 2012
  1. @tlusk

    Fix merge error. Logging macros were renamed from LOG to ALOG in jell…

    tlusk committed
    Change-Id: I5f35c059ef25c9678ef476f585092286e2fe1758
Commits on Jul 10, 2012
  1. @freexperia @rmcc

    netd: TI softap for wl12xx devices

    freexperia committed with rmcc
  2. @yath @rmcc

    Allow different lease time in tether start command

    yath committed with rmcc
    Make "tether start" recognize an optional argument for the lease time in
    seconds. Defaults to 1 hour.
    Change-Id: Ic65818fdb472a49c72fb56b1ad3ac33e4136a9a4
  3. @rmcc

    NatController: Raise the max length of an interface name

    rmcc committed with rmcc
    "rmnet_sdioX" has more than 10 characters, so devices using qcom's
    SDIO_AL stuff were unable to use rmnet as an upstream tethering
    Change-Id: If4ae0060a135294583f38fc2d88c94675abccd79
  4. @bukington @rmcc

    Allow removing hostapd entropy parameter (-e)

    bukington committed with rmcc
    Do not pass "-e WIFI_ENTROPY_FILE" to hostapd when
    Change-Id: I219637d11b56650ff41e4b6f64b032b679eb673d
  5. @rmcc

    Support LGE's version of the bcm4329 SoftAP

    rmcc committed
    LGE has a number of SDIO and power-management patches on top of
    bcm4329, which include separate pairs of functions to start/stop
    the driver in STA or AP mode. Use LGE's SOFTAP priv functions if
    Change-Id: Id90a679794f12bfd3a35f9e0608288ae72cefd5f
  6. @mkasick @rmcc

    Clamp MSS when tethering to fix broken fragmentation.

    mkasick committed with rmcc
    Adds a netfilter rule to allow tethering with ISPs that don't support
    fragmented packets, but do advertise an appropraite path MTU.
    Background: some ISPs don't support IP fragmentation, either because
    they're afraid of IP fragmentation attacks, or their routers are braindead.
    Usually this isn't an issue for connecting clients because their DHCP
    responses include an interface MTU equal to the path MTU.  In response, the
    client ensures during TCP handshakes that connections use an MSS that
    results in TCP/IP packets never being fragmented.
    However, problems occur when the connecting "client" is a NAT router (such
    as a tethering phone).  Often the phone-tethered host interface (e.g., USB
    RNDIS, 802.11, etc.) uses a preset MTU (usually 1500) that exceeds the path
    MTU advertised by the ISP.  The host will open TCP connections with
    too-large of an MSS, and inevitably large packets will become fragmented
    and lost.  The fix is to have the router (phone) mangle TCP handshakes to
    clamp the MSS such that generated TCP/IP packets never exceed the path MTU.
    This implements such a fix as described in the iptables(8) man page.
  7. @bukington @rmcc

    Allow hostapd driver configuration

    bukington committed with rmcc
    Introduce BOARD_HOSTAPD_DRIVER_NAME that allows overriding hostapd driver
    written in hostapd.conf.
    Change-Id: I3ca7062603446ee3bd0e8c45a19dab7da1694768
Commits on May 9, 2012
  1. merge in jb-release history after reset to jb-dev

    The Android Automerger committed
Commits on May 8, 2012
  1. netd: NetlinkHandler: explicitly ignore "platform" and "backlight" ev…

    JP Abgrall committed
    The new vsync api uses uevents to notify userspace... 60 events/sec. :(
    Don't log unexpected event's subsystem if it is one of the known ones.
    Change-Id: Ie900898b326c9451b76ac5f6ba047870fd62093a
Commits on May 3, 2012
  1. BandwidthController: Fix double counting

    JP Abgrall committed
    Only have qtaguid only count in the bw_INPUT/bw_OUTPUT chains
    and not in the costly_* subchains.
    We don't use --goto anymore.
    Change-Id: I2eded2e0fa12b46843d32e74406cfeda85f242d1
Commits on Apr 30, 2012
  1. merge in jb-release history after reset to jb-dev

    The Android Automerger committed
Commits on Apr 27, 2012
  1. BandwidthController: Avoid setting a uid multiple times in NaughtyApps

    JP Abgrall committed
    Use the naughtyAppUids list before inserting a new app.
    Bug: 6292513
    Change-Id: I6726b7d589569a6198b8a0ff32c32c0e40ed5319
  2. BandwidthController: hookup qtaguid for tracking closest to devices.

    JP Abgrall committed
    Before, qtaguid would rely on netdev (up/down) callbacks to read out the
    dev rx/tx stats.
    Now it uses (raw) PREROUTING and (mangle) POSTROUTING iptable hooks.
    We use mangle on the out path because nat is not available in ipv6.
    The NatController only masquerades in nat POSTROUTING so we don't count
    traffic that might get dropped.
    Bug: 5444089
    Change-Id: I997b8b3c81264a545f1f575baaf0445c0afc8f72
  3. netd: Netlink: Use KOBJECT_UEVENT instead of IDLETIMER

    JP Abgrall committed
    The initial idletimer support required using NETLINK_IDLETIMER
    netlink socket type.
    Instead we now just re-use the existing KOBJECT_UEVENT socket.
    Change-Id: I951f2f29182c7cf7f29a054a0eabc88dc25f6d1f
Commits on Apr 26, 2012
  1. bandwidthcontroller: hide iptables errors when they don't matter

    JP Abgrall committed
    Some commands are run to be able to recover after failures.
    Those cleanup commands are generally allowed to fail.
    But the lower level system commands would log an error.
    Now that error is hidden if nobody will care about the result.
    A "#define LOG_NDEBUG 0" will show those failing commands.
    Removed leftover LOG_NDEBUG in CommandListener.
    Bug: 6377175
    Change-Id: I1205fb077f7d0496969bd2a0b5da42025bc5a8dc
  2. netd: NatController: don't setup iptables hooks in constructor.

    JP Abgrall committed
    iptables top-level chain updates should happen within CommandListener()
    when it invokes the various modules' setupIptablesHooks().
    And remove the extra DROP rule.
    Change-Id: I33d2cfbd5444516f855ff85152c472352944cc77
Commits on Apr 25, 2012
  1. merge in jb-release history after reset to jb-dev

    The Android Automerger committed
Commits on Apr 24, 2012
  1. Merge "Store certain MDNS fields as quoted strings"

    Robert Greenwalt committed with Android (Google) Code Review
Commits on Apr 23, 2012
  1. merge in jb-release history after reset to master

    The Android Automerger committed
Commits on Apr 20, 2012
  1. Store certain MDNS fields as quoted strings

    Robert Greenwalt committed
    They sometimes contain spaces so a space-delimited response requires more care.
    bug: 6353048
    Change-Id: I84d5cc156bf4d9f1419b7202e9aa00ddb7209b2f
  2. netd: Idletimer vs Nat vs Bandwidth controllers

    JP Abgrall committed
    * modified iptables users to work in controller specific custom chains.
     - each controller only works withing his own custom chains and not the
      top level ones (INPUT, OUTPUT, FORWARD, POSTROUTING,...)
     - CommandListener now invokes setupIptablesHooks() for each controller
       once. That is the only time they are allowed to access the top-level
    * Added idletimer controller.
     - supported commands
       . ndc idletimer enable
       . ndc idletimer add <iface> <timeout>
       . ndc idletimer remove <iface> <timeout_used_during_add>
     There is a framework change elsewhere that receives netlink messages.
    Signed-off-by: Ashish Sharma <>
    Signed-off-by: JP Abgrall <>
    Change-Id: Ia57450c09166ce20f21d1e3b49047ef1e98f2a3d
Commits on Apr 19, 2012
  1. @jsharkey

    Add "metered" flag to DHCP offer vendor info.

    jsharkey committed
    Bug: 6344821
    Change-Id: Ic8cd235a1cbdd848ff839f6f0f03161de2090751
Commits on Apr 16, 2012
  1. merge in jb-release history after reset to master

    The Android Automerger committed
Commits on Apr 12, 2012
  1. Initial release of mdns interface.

    Robert Greenwalt committed
    Uses extern/mdnsresponder and communicate with the framework via nativedaemonconnector.
    Change-Id: I5c090528197afa090836d7cb5bf75dfba33ff11c
  2. @ashish-s-sharma

    netd: Add support for interface idletimer netlink notifications.

    ashish-s-sharma committed
    Change-Id: Ifda5b8ecf68533eea42b133dbe0a581b4401ab11
Commits on Apr 3, 2012
  1. Merge remote-tracking branch 'goog/ics-aah'

    Mike Lockwood committed
Something went wrong with that request. Please try again.