Changeset 40696


Ignore:
Timestamp:
2014-05-05T18:45:13+02:00 (4 years ago)
Author:
nbd
Message:

mac80211: fix station info rx bitrate for IBSS mode

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/mac80211/patches/300-pending_work.patch

    r40691 r40696  
     1commit 92e9dd662542683856e62a5e7e43fcf5b9da5c4a 
     2Author: Henning Rogge <hrogge@gmail.com> 
     3Date:   Thu May 1 10:03:46 2014 +0200 
     4 
     5    mac80211: Fix mac80211 station info rx bitrate for IBSS mode 
     6     
     7    Filter out incoming multicast packages before applying their bitrate 
     8    to the rx bitrate station info field to prevent them from setting the 
     9    rx bitrate to the basic multicast rate. 
     10     
     11    Signed-off-by: Henning Rogge <hrogge@gmail.com> 
     12 
    113commit 4c8a3486cb577d40c1ef75f0a8dc9a04773eef83 
    214Author: Nickolay Ledovskikh <nledovskikh@gmail.com> 
     
    542554  
    543555        return 0; 
     556--- a/net/mac80211/rx.c 
     557+++ b/net/mac80211/rx.c 
     558@@ -1231,7 +1231,8 @@ ieee80211_rx_h_sta_process(struct ieee80 
     559                if (ether_addr_equal(bssid, rx->sdata->u.ibss.bssid) && 
     560                    test_sta_flag(sta, WLAN_STA_AUTHORIZED)) { 
     561                        sta->last_rx = jiffies; 
     562-                       if (ieee80211_is_data(hdr->frame_control)) { 
     563+                       if (ieee80211_is_data(hdr->frame_control) && 
     564+                           !is_multicast_ether_addr(hdr->addr1)) { 
     565                                sta->last_rx_rate_idx = status->rate_idx; 
     566                                sta->last_rx_rate_flag = status->flag; 
     567                                sta->last_rx_rate_vht_flag = status->vht_flag; 
Note: See TracChangeset for help on using the changeset viewer.