30 Sep, 2016

1 commit


12 Sep, 2016

1 commit


14 Jan, 2016

1 commit

  • Currently mac80211 does not inform the driver of the session
    block ack timeout when starting a rx aggregation session.
    Drivers that manage the reorder buffer need to know this
    parameter.
    Seeing that there are now too many arguments for the
    drv_ampdu_action() function, wrap them inside a structure.

    Signed-off-by: Sara Sharon
    Signed-off-by: Johannes Berg

    Sara Sharon
     

03 Nov, 2015

2 commits

  • Channel context driver operations can sleep, so add might_sleep()
    and document this.

    Signed-off-by: Chaitanya T K
    Signed-off-by: Johannes Berg

    Chaitanya T K
     
  • If drv_start() fails during hw_restart, all the running
    interfaces are being closed/stopped, which results in
    drv_stop() being called, although the driver was never
    started successfully.

    This might cause drivers to perform operations on uninitialized
    memory (as they assume it was initialized on drv_start)

    Consider the local->started flag, and call the driver's stop()
    op only if drv_start() succeeded before.

    Move drv_start() and drv_stop() to driver-ops.c, as they are no
    longer simple wrappers.

    Signed-off-by: Eliad Peller
    Signed-off-by: Emmanuel Grumbach
    Signed-off-by: Johannes Berg

    Eliad Peller
     

29 Sep, 2015

6 commits

  • With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os,
    after deinlining these functions have sizes and callsite counts
    as follows:

    drv_get_tsf: 634 bytes, 6 calls
    drv_set_tsf: 626 bytes, 2 calls
    drv_reset_tsf: 617 bytes, 2 calls

    Total size reduction is about 4.2 kbytes.

    Signed-off-by: Denys Vlasenko
    CC: Johannes Berg
    CC: John Linville
    CC: Michal Kazior
    CC: linux-wireless@vger.kernel.org
    CC: linux-kernel@vger.kernel.org
    Signed-off-by: Johannes Berg

    Denys Vlasenko
     
  • With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os,
    after deinlining the function size is 755 bytes and there are
    6 callsites.

    Total size reduction is about 3.3 kbytes.

    Signed-off-by: Denys Vlasenko
    CC: Johannes Berg
    CC: John Linville
    CC: Michal Kazior
    CC: linux-wireless@vger.kernel.org
    CC: linux-kernel@vger.kernel.org
    Signed-off-by: Johannes Berg

    Denys Vlasenko
     
  • With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os,
    after deinlining the function size is 821 bytes and there are
    2 callsites, reducing code size by about 800 bytes.

    Signed-off-by: Denys Vlasenko
    CC: Johannes Berg
    CC: John Linville
    CC: Michal Kazior
    CC: linux-wireless@vger.kernel.org
    CC: linux-kernel@vger.kernel.org
    [adjust code-style a bit]
    Signed-off-by: Johannes Berg

    Denys Vlasenko
     
  • With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os,
    after deinlining these functions have sizes and callsite counts
    as follows:

    drv_add_interface: 638 bytes, 5 calls
    drv_remove_interface: 611 bytes, 6 calls
    drv_change_interface: 658 bytes, 1 call

    Total size reduction is about 9 kbytes.

    Signed-off-by: Denys Vlasenko
    CC: John Linville
    CC: Michal Kazior
    CC: Johannes Berg
    CC: linux-wireless@vger.kernel.org
    CC: linux-kernel@vger.kernel.org
    Signed-off-by: Johannes Berg

    Denys Vlasenko
     
  • With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os,
    after deinlining the function size is 706 bytes and there are
    2 callsites, reducing code size by about 700 bytes.

    Signed-off-by: Denys Vlasenko
    CC: John Linville
    CC: Michal Kazior
    CC: Johannes Berg
    CC: linux-wireless@vger.kernel.org
    CC: linux-kernel@vger.kernel.org
    Signed-off-by: Johannes Berg

    Denys Vlasenko
     
  • With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os,
    after deinlining the function size is 785 bytes and there are
    7 callsites.

    Total size reduction is about 3.5 kbytes.

    Signed-off-by: Denys Vlasenko
    CC: John Linville
    CC: Michal Kazior
    CC: Johannes Berg
    CC: linux-wireless@vger.kernel.org
    CC: linux-kernel@vger.kernel.org
    Signed-off-by: Johannes Berg

    Denys Vlasenko
     

17 Jul, 2015

1 commit

  • With this .config: http://busybox.net/~vda/kernel_config,
    after deinlining the function size is 3132 bytes and there are
    7 callsites.

    Total size reduction: about 20 kbytes.

    Signed-off-by: Denys Vlasenko
    CC: John Linville
    CC: Michal Kazior
    Cc: Johannes Berg
    Cc: linux-wireless@vger.kernel.org
    Cc: netdev@vger.kernel.org
    CC: linux-kernel@vger.kernel.org
    Signed-off-by: Johannes Berg

    Denys Vlasenko