06 Mar, 2013

1 commit

  • This is the sort of thing gcc's LTO could do, but since
    we don't have that yet we can also do it manually. The
    advantage is reduced code, both source and binary, e.g.
    on x86-64

    text data bss dec hex filename
    442825 56230 776 499831 7a077 cfg80211.ko (before)
    441585 56230 776 498591 79b9f cfg80211.ko (after)

    a reduction of ~1k.

    But in order to not complicate the code move only those
    functions that are simple wrappers, not those that have
    functionality of their own.

    Signed-off-by: Johannes Berg

    Johannes Berg
     

03 Jan, 2013

1 commit


08 Nov, 2012

1 commit


18 Oct, 2012

1 commit


29 Jun, 2012

2 commits

  • We need to know which channel is used by a running
    AP and mesh for channel context accounting and
    finding matching/active interface combination.

    STA/IBSS have current_bss already which allows us
    to check which channel a vif is tuned to.
    Non-fixed channel IBSS can be handled with
    additional changes.

    Monitor mode is going to be handled differently.

    Signed-off-by: Michal Kazior
    Signed-off-by: Johannes Berg

    Michal Kazior
     
  • This functionality will be reused when interface
    is going down. Avoids code duplication. Also adds
    missing wdev locking.

    Signed-off-by: Michal Kazior
    Signed-off-by: Johannes Berg

    Michal Kazior