13 Jul, 2007

3 commits

  • Currently, CTS protection is partially implemented twice:
    1. via prism2 ioctls, only used by hostapd
    2. via STA beacon parsing, recorded in sta.use_protection but never used
    (other than printed in debugfs)

    Protection control should be implemented on a per-subif basis. For example,
    a single physical device may be running a soft AP on one channel, and a STA
    on another. The AP interface should use protection based on what hostapd told
    it, and the STA interface should use protection based on beacon parsing.
    These should operate independantly: one subif using protection should not
    influence the other.

    To implement this, I moved the use_protection flag into ieee80211_sub_if_data
    and removed the device-global cts_protect_erp_frames flag.

    I also made the PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES write operation only
    available for AP interfaces, to avoid any possibility of the user messing with
    the behaviour of a STA.

    Signed-off-by: Daniel Drake
    Signed-off-by: Jiri Benc
    Signed-off-by: John W. Linville

    Daniel Drake
     
  • The "protection needed" flag is currently parsed out of the ERP IE in
    beacons. This patch allows the ERP IE to be available at assocation time
    and causes the appropriate actions to be performed earlier.

    It is slightly complicated by the fact that most APs don't include the
    ERP IE in association responses. To work around this, we store ERP
    values in the ieee80211_sta_bss structure.

    Also added some WLAN_ERP defines for use by upcoming patches.

    Signed-off-by: Jiri Benc
    Signed-off-by: John W. Linville

    Daniel Drake
     
  • This patch reorders some fields in struct ieee802_11_elems to save 17*7
    or 17*3 bytes (on 64/32-bit machines respectively) stack space in a few
    functions.

    Signed-off-by: Johannes Berg
    Signed-off-by: Jiri Benc
    Signed-off-by: John W. Linville

    Johannes Berg
     

12 Jun, 2007

1 commit


29 May, 2007

2 commits


11 May, 2007

1 commit

  • | CC net/mac80211/ieee80211_sta.o
    | In file included from linux/net/mac80211/ieee80211_sta.c:31:
    | include2/asm/delay.h: In function '__const_udelay':
    | include2/asm/delay.h:33: error: 'loops_per_jiffy' undeclared (first use in this function)
    | include2/asm/delay.h:33: error: (Each undeclared identifier is reported only once
    | include2/asm/delay.h:33: error: for each function it appears in.)

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: John W. Linville
    Signed-off-by: David S. Miller

    Geert Uytterhoeven
     

06 May, 2007

1 commit