09 Oct, 2012

2 commits


21 Sep, 2012

3 commits


20 Sep, 2012

1 commit


19 Sep, 2012

2 commits


14 Sep, 2012

3 commits

  • Peer link which is blocked using the "iw mesh0 station
    set plink_action block" is previously not able
    to re-open using "iw mesh0 station set
    plink_action open". This patch is intended to solve this.

    If the station plink state remains at OPN_SNT once open,
    try block and open again should solve this problem.

    Signed-off-by: Chun-Yeow Yeoh
    Signed-off-by: Johannes Berg

    Chun-Yeow Yeoh
     
  • Make the function acquire the necessary mutex itself
    to simplify the callers.

    Signed-off-by: Johannes Berg

    Johannes Berg
     
  • Currently, mac80211 uses the power constraint IE, and reduces
    the regulatory max TX power by it. This can cause issues if
    the AP is advertising a large power constraint value matching
    a high TX power in its country IE, for example in this case:

    ...
    Country: US Environment: Indoor/Outdoor
    ...
    Channels [157 - 157] @ 30 dBm
    ...
    Power constraint: 13 dB
    ...

    What happened here is that our local regulatory TX power is
    15 dBm, and gets reduced by 13 dB so we end up with only
    2 dBm effective TX power, which is way too low.

    Instead, handle the country IE/power constraint IE combined
    and restrict our TX power to the max of the regulatory power
    and the maximum power advertised by the AP, in this case
    17 dBm (= 30 dBm - 13 dB).

    Also print a message when this happens to let the user know
    and help us debug issues with it.

    Reported-by: Carl A. Cook
    Tested-by: Carl A. Cook
    Signed-off-by: Johannes Berg

    Johannes Berg
     

11 Sep, 2012

2 commits


10 Sep, 2012

2 commits

  • mac80211 calls synchronize_rcu() on sta deletion,
    which increase the roaming time significantly.

    Convert it into a call_rcu() mechanism, in order
    to avoid blocking. Since some of the cleanup
    functions might sleep, schedule from the call_rcu
    callback a new work that will do the actual cleanup.

    In order to make sure the cleanup occurs before
    the interface went down, flush local->workqueue
    on ieee80211_do_stop().

    Signed-off-by: Yoni Divinsky
    Signed-off-by: Eliad Peller
    Signed-off-by: Johannes Berg

    Eliad Peller
     
  • Mark keys that might be used to receive management
    frames so drivers can fall back on software crypto
    for them if they don't support hardware offload.
    As the new flag is only set correctly for RX keys
    and the existing IEEE80211_KEY_FLAG_SW_MGMT flag
    can only affect TX, also rename the latter to
    IEEE80211_KEY_FLAG_SW_MGMT_TX.

    Signed-off-by: Johannes Berg

    Johannes Berg
     

07 Sep, 2012

3 commits


06 Sep, 2012

8 commits


05 Sep, 2012

2 commits


04 Sep, 2012

2 commits


23 Aug, 2012

1 commit


22 Aug, 2012

3 commits


20 Aug, 2012

6 commits