26 Nov, 2008

1 commit

  • This adds country IE parsing to mac80211 and enables its usage
    within the new regulatory infrastructure in cfg80211. We parse
    the country IEs only on management beacons for the BSSID you are
    associated to and disregard the IEs when the country and environment
    (indoor, outdoor, any) matches the already processed country IE.

    To avoid following misinformed or outdated APs we build and use
    a regulatory domain out of the intersection between what the AP
    provides us on the country IE and what CRDA is aware is allowed
    on the same country.

    A secondary device is allowed to follow only the same country IE
    as it make no sense for two devices on a system to be in two
    different countries.

    In the case the AP is using country IEs for an incorrect country
    the user may help compliance further by setting the regulatory
    domain before or after the IE is parsed and in that case another
    intersection will be performed.

    CONFIG_WIRELESS_OLD_REGULATORY is supported but requires CRDA
    present.

    Signed-off-by: Luis R. Rodriguez
    Acked-by: Johannes Berg
    Signed-off-by: John W. Linville

    Luis R. Rodriguez
     

11 Nov, 2008

2 commits

  • This introduces a debugfs file (ieee80211/phy#/hwsim/ps) that can be
    used to force a simulated radio into power save mode. Following values
    can be written into this file to change PS mode:
    0 = power save disabled (constantly awake)
    1 = power save enabled (drop all frames; do not send PS-Poll)
    2 = power save enabled (send PS-Poll frames automatically to receive
    buffered unicast frames); not yet fully implemented
    3 = manual PS-Poll trigger (send a single PS-Poll frame)

    Two different behavior for power save mode processing can be tested:
    - move between modes 1 and 0 (i.e., receive all buffered frames at a
    time)
    - move to mode 1 and use manual PS-Poll frames (write 3 to the 'ps'
    debugfs file) to fetch power save buffered frames one at a time

    Mode 2 (automatic PS-Poll) does not yet parse Beacon frames, but
    eventually, it should take a look at TIM IE and send PS-Poll if a
    traffic bit is set for our AID.

    Signed-off-by: Jouni Malinen
    Signed-off-by: John W. Linville

    Jouni Malinen
     
  • This is a constant from the 802.11 specification.

    Signed-off-by: Johannes Berg
    Cc: Javier Cardona
    Signed-off-by: John W. Linville

    Johannes Berg
     

01 Nov, 2008

3 commits


25 Sep, 2008

1 commit

  • Currently the mesh code doesn't support bridging mesh point interfaces
    with wired ethernet or AP to construct an MPP or MAP. This patch adds
    code to support the "6 address frame format packet" functionality to
    mesh point interfaces. Now the mesh network can be used as backhaul
    for end to end communication.

    Signed-off-by: Li YanBo
    Signed-off-by: John W. Linville

    YanBo
     

12 Sep, 2008

2 commits

  • Some of the HT code in mlme.c is misplaced:
    * constants/definitions belong to the ieee80211.h header
    * code being used in other modes as well shouldn't be there

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

    Johannes Berg
     
  • This patch follows 11n spec naming more rigorously replacing MIMO_PS
    with SM_PS (Spatial Multiplexing Power Save).

    (Originally submitted as 4 patches, "mac80211: change MIMO_PS to SM_PS",
    "iwlwifi: change MIMO_PS to SM_PS", "ath9k: change MIMO_PS to SM_PS",
    and "iwlwifi: remove double definition of SM PS". -- JWL)

    Signed-off-by: Ron Rindjunsky
    Signed-off-by: Tomas Winkler
    Signed-off-by: Zhu Yi
    Signed-off-by: John W. Linville

    Tomas Winkler
     

30 Aug, 2008

1 commit


05 Aug, 2008

1 commit

  • This patch adds the dtim_period in ieee80211_bss_conf, this allows the low
    level driver to know the dtim_period, and to plan power save accordingly.

    Signed-off-by: Emmanuel Grumbach
    Signed-off-by: Tomas Winkler
    Signed-off-by: Zhu Yi
    Acked-by: Johannes Berg
    Signed-off-by: John W. Linville

    Emmanuel Grumbach
     

09 Jul, 2008

1 commit


08 Jul, 2008

1 commit


27 Jun, 2008

2 commits


15 Jun, 2008

3 commits

  • Replaced by the new helper ieee80211_has_morefrags which is
    more consistent with the intent of the function.

    Signed-off-by: Harvey Harrison
    Signed-off-by: John W. Linville

    Harvey Harrison
     
  • A few general categories:

    1) ieee80211_has_* tests if particular fctl bits are set, the helpers are de
    in the same order as the fctl defines:

    A combined _has_a4 was also added to test when both FROMDS and TODS are set.

    2) ieee80211_is_* is meant to test whether the frame control is of a certain
    ftype - data, mgmt, ctl, and two special helpers _is_data_qos, _is_data_pres
    which also test a subset of the stype space.

    When testing for a particular stype applicable only to one ftype, functions
    like ieee80211_is_ack have been added. Note that the ftype is also being
    checked in these helpers. They have been added for all mgmt and ctl stypes
    in the same order as the STYPE defines.

    3) ieee80211_get_* is meant to take a struct ieee80211_hdr * and returns a
    pointer to somewhere in the struct, see get_SA, get_DA, get_qos_ctl.

    The intel wireless drivers had helpers that used this namespace, convert the
    all to use the new helpers and remove the byteshifting as they were defined
    in cpu-order rather than little-endian.

    Signed-off-by: Harvey Harrison
    Signed-off-by: John W. Linville

    Harvey Harrison
     
  • This patch removes redundant flags regarding to FAT channel. Use
    mac80211's flag instead.

    Signed-off-by: Emmanuel Grumbach
    Signed-off-by: Tomas Winkler
    Signed-off-by: Zhu Yi
    Signed-off-by: John W. Linville

    Emmanuel Grumbach
     

04 Jun, 2008

1 commit

  • This patch allows to disable FAT channel in specific configurations.

    For example the configuration (8, +1), (primary channel 8, extension
    channel 12) isn't permitted in U.S., but (8, -1), (primary channel 8,
    extension channel 4) is. When FAT channel configuration is not
    permitted, FAT channel should be reported as not supported in the
    capabilities of the HT IE in association request. And sssociation is
    performed on 20Mhz channel.

    Signed-off-by: Emmanuel Grumbach
    Signed-off-by: Tomas Winkler
    Signed-off-by: John W. Linville

    Emmanuel Grumbach
     

22 May, 2008

1 commit

  • This patch follows the 11n spec in separation between Tx and Rx MCS
    capabilities. Up until now, when configuring the HT possible set of Tx
    MCS only Rx MCS were considered, assuming they are the same as the Tx MCS.
    This patch fixed this by looking at low level driver Tx capabilities.

    Signed-off-by: Ron Rindjunsky
    Signed-off-by: Tomas Winkler
    Signed-off-by: John W. Linville

    Ron Rindjunsky
     

15 May, 2008

1 commit


01 May, 2008

1 commit


24 Apr, 2008

1 commit

  • This patch updates mesh EID values, some of which where conflicting with
    already-approved 11h EIDs (pointed out by Tomas Winkler). I wanted to use the
    values suggested in the last available 802.11 draft (2.0) but it assigns 50 to
    MESH_CONFIG, the same value than EXT_SUPP_RATES. Using the values proposed in
    the draft incremented by one.

    Signed-off-by: Luis Carlos Cobo
    Signed-off-by: John W. Linville

    Luis Carlos Cobo
     

07 Mar, 2008

1 commit


02 Feb, 2008

1 commit


29 Jan, 2008

4 commits

  • This patch changes ieee80211_bar control and start_seq_num to
    match the proper bitwise attribute expected from ieee 802.11 frame

    Signed-off-by: Ron Rindjunsky
    Signed-off-by: Tomas Winkler
    Signed-off-by: John W. Linville

    Ron Rindjunsky
     
  • This patch adds the basic needed abilities and functions for A-MPDU Rx session
    changed functions:
    - ieee80211_sta_process_addba_request - Rx A-MPDU initialization enabled
    - ieee80211_stop - stops all A-MPDU Rx in case interface goes down
    added functions:
    - ieee80211_send_delba - used for sending out Del BA in A-MPDU sessions
    - ieee80211_sta_stop_rx_BA_session - stopping Rx A-MPDU session
    - sta_rx_agg_session_timer_expired - stops A-MPDU Rx use if load is too
    low

    Signed-off-by: Ron Rindjunsky
    Signed-off-by: John W. Linville
    Signed-off-by: David S. Miller

    Ron Rindjunsky
     
  • This patch adds several structs and definitions to ieee80211.h
    to support 802.11n draft specifications.
    As 802.11n depends on and extends the 802.11e standard in several issues,
    there are also several definitions that belong to 802.11e.

    Signed-off-by: Ron Rindjunsky
    Signed-off-by: John W. Linville
    Signed-off-by: David S. Miller

    Ron Rindjunsky
     
  • This patch adds IEEE80211_MAX_FRAME_LEN which is useful for drivers trying
    to determine how much to allocate for their RX buffers.

    It also updates the comment on IEEE80211_MAX_DATA_LEN based on revisions
    in 802.11e.

    IEEE80211_MAX_FRAG_THRESHOLD and IEEE80211_MAX_RTS_THRESHOLD are also
    revised due to the new maximum frame size.

    Signed-off-by: Michael Wu
    Signed-off-by: John W. Linville
    Signed-off-by: David S. Miller

    Michael Wu
     

11 Oct, 2007

1 commit


13 Jul, 2007

1 commit

  • 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
     

06 May, 2007

1 commit