aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/ieee802_11_defs.h
Commit message (Collapse)AuthorAgeFilesLines
* WFD: Add support for sending Wi-Fi Display service discovery requestsJouni Malinen2012-12-141-0/+1
| | | | | | | | | | | | | | | | | wpa_cli p2p_serv_disc_req command can now be used to request WSD request to be sent to specified or all peers who support WSD. format: wifi-display <list of roles> <list of subelements> examples: p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [source] 2,3,4,5 p2p_serv_disc_req 02:01:02:03:04:05 wifi-display [pri-sink] 3 p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [sec-source] 2 p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [source+sink] 2,3,4,5 p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [source][pri-sink] 2,3,4,5 Change-Id: I14f8a92aa9a2161d7db97f5670d2dfe3b63ef1e3 Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* WFD: Add Wi-Fi Display supportJouni Malinen2012-12-141-0/+16
| | | | | | | | | | | | | | | | | | | | This commit adds control interface commands and internal storage of Wi-Fi Display related configuration. In addition, WFD IE is now added to various P2P frames, Probe Request/Response, and (Re)Association Request/Response frames. WFD subelements from peers are stored in the P2P peer table. Following control interface commands are now available: SET wifi_display <0/1> GET wifi_display WFD_SUBELEM_SET <subelem> [hexdump of length+body] WFD_SUBELEM_GET <subelem> Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com> [vishalm@ti.com: Backported it to curent tree] Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Change-Id: Ief0cd61903facd9209927d9dc84c8f093f3b6bac
* hostapd: Initial IEEE 802.11ac (VHT) definitionsMahesh Palivela2012-06-301-0/+49
| | | | | | Add IEEE 802.11ac definitions for config, IEEE structures, constants. Signed-hostap: Mahesh Palivela <maheshp@posedge.com>
* WNM: Add advertisement of BSS max idle periodJouni Malinen2012-05-271-0/+1
| | | | | | | | | | | If WNM is enabled for the build (CONFIG_WNM=y), add BSS max idle period information to the (Re)Association Response frame from the AP and parse this information on the station. For SME-in-wpa_supplicant case, add a timer to handle periodic transmission of the keep-alive frame. The actual request for the driver to transmit a frame is not yet implemented. Signed-hostap: Jouni Malinen <j@w1.fi>
* HS 2.0: Indicate Hotspot 2.0 in BSS table and statusJouni Malinen2012-05-081-0/+1
| | | | | | | If the AP indicates support for Hotspot 2.0, show this in the ctrl_iface commands for BSS table and status. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* HS 2.0: Define Hotspot 2.0 OUI types and subtype valuesJay Katabathuni2012-05-081-0/+10
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Define IEEE 802.11v WNM-Sleep elementsXi Chen2012-05-031-0/+38
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Define 20/40 BSS Coexistence elementsRajkumar Manoharan2012-05-031-0/+21
| | | | | | | | | This patch defines 20/40 BSS Intolerant Channel Report element (IEEE 802.11-2012 8.4.2.60) and 20/40 BSS Coexistence element (IEEE 802.11-2012 8.4.2.62). Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* Support HT capability overridesBen Greear2012-01-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | This allows HT capabilities overrides on kernels that support these features. MCS Rates can be disabled to force to slower speeds when using HT. Rates cannot be forced higher. HT can be disabled, forcing an 802.11a/b/g/n station to act like an 802.11a/b/g station. HT40 can be disabled. MAX A-MSDU can be disabled. A-MPDU Factor and A-MPDU Density can be modified. Please note that these are suggestions to the kernel. Only mac80211 drivers will work at all. The A-MPDU Factor can only be decreased and the A-MPDU Density can only be increased currently. Signed-hostap: Ben Greear <greearb@candelatech.com>
* AP: Pass station's WMM configuration to driver wrappersJason Young2011-12-171-0/+4
| | | | | | | This updates a previous patch did more or less the same thing by providing the qosinfo as a single variable to the driver wrappers. Signed-hostap: Jason Young <jason.young@dspg.com>
* Remove incorrect le16 type castJouni Malinen2011-11-181-1/+1
| | | | | | | HT_INFO_OPERATION_MODE_OP_MODE_MASK is used with variables in host byte order, so it should not be claimed as le16. Signed-hostap: Jouni Malinen <j@w1.fi>
* TDLS: Process discovery requests and send discovery responsesArik Nemtsov2011-10-231-0/+1
| | | | | | | | | When a discovery request is received, add the peer to the TDLS peer cache and send a response containing minimal data. Mandatory IEs in the discovery response frame will be filled out by the driver. Signed-off-by: Arik Nemtsov <arik@wizery.com> Cc: Kalyan C Gaddam <chakkal@iit.edu>
* Add support for Time AdvertisementJouni Malinen2011-10-181-0/+2
| | | | | This adds preliminary support for IEEE 802.11v Time Advertisement mechanism with UTC TSF offset.
* Interworking: Add support for configuring Roaming Consortium ListJouni Malinen2011-10-171-0/+1
|
* Interworking: Parse NAI Realms and match against home realmJouni Malinen2011-10-161-0/+30
|
* Define new IEEE 802.11u status codesJouni Malinen2011-10-161-0/+10
|
* WNM: Add BSS Transition Management Request for ESS Disassoc ImminentJouni Malinen2011-10-161-0/+54
| | | | | | | "hostapd_cli ess_disassoc (STA addr) (URL)" can now be used to send an ESS Dissassociation Imminent notification to the STA. This event is shown in wpa_supplicant ctrl_iface monitors (e.g., wpa_cli): "WNM: ESS Disassociation Imminent - session_info_url=http://example.com/session/"
* IEEE 802.11u: Allow Interworking and HESSID to be configuredJouni Malinen2011-10-161-0/+9
| | | | | | The new wpa_supplicant.conf file global parameters interworking and hessid can be used to configure wpa_supplicant to include Interworking element in Probe Request frames.
* IEEE 802.11u: Add configuration and advertisement for InterworkingJouni Malinen2011-10-161-0/+8
|
* Rename and fix ANQP definitions to match IEEE Std 802.11u-2011Jouni Malinen2011-09-261-18/+20
|
* Fix typos found by codespellPavel Roskin2011-09-221-1/+1
| | | | Signed-off-by: Pavel Roskin <proski@gnu.org>
* TDLS: Add initial support for TDLS (IEEE Std 802.11z-2010)Ganesh Prasadh2011-03-061-0/+8
|
* hostapd: Add require_ht configuration parameterJouni Malinen2011-02-091-2/+4
| | | | | This can be used to configure hostapd to reject association with any station that does not support HT PHY.
* hostapd: Allow TDLS use to be prohibited in the BSSJouni Malinen2011-01-281-0/+1
| | | | | | tdls_prohibit=1 and tdls_prohibit_chan_switch=1 and now be used to disable use of TDLS or TDLS channel switching in the BSS using extended cabilities IE as defined in IEEE 802.11z.
* Allow AP mode to disconnect STAs based on low ACK conditionJohannes Berg2010-12-281-0/+2
| | | | | | | | | | | The nl80211 driver can report low ACK condition (in fact it reports complete loss right now only). Use that, along with a config option, to disconnect stations when the data connection is not working properly, e.g., due to the STA having went outside the range of the AP. This is disabled by default and can be enabled with disassoc_low_ack=1 in hostapd or wpa_supplicant configuration file. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* wlantest: Add support for decrypting TDLS framesJouni Malinen2010-12-131-0/+15
| | | | | Derive TPK based on TDLS TPK Handshake and decrypt frames on the direct link with TPK-TK.
* wlantest: Add preliminary version of IEEE 802.11 protocol testing toolJouni Malinen2010-11-071-0/+6
| | | | | | | This tool can be used to capture IEEE 802.11 frames either from a monitor interface for realtime capturing or from pcap files for offline analysis. This version is only adding basic infrastructure for going through the frames and parsing their headers.
* P2P: Fix a typo in P2P manager definitionJouni Malinen2010-10-081-1/+1
|
* P2P: Add defined values for P2P Manageability BitmapJouni Malinen2010-09-091-0/+5
|
* P2P: Rename SD info not available define to match with spec changeJouni Malinen2010-09-091-1/+1
|
* P2P: Add driver operations for P2P useJouni Malinen2010-09-091-0/+2
|
* P2P: Wi-Fi Direct frame format definitionsJouni Malinen2010-09-091-0/+106
|
* Define Public Action and Vendor-specific Public Action framesJouni Malinen2010-07-171-0/+10
|
* IEEE 802.11u GAS definesJouni Malinen2010-07-171-0/+36
|
* Move vendor-specific IE type defines away from driver.hJouni Malinen2009-12-101-0/+2
| | | | | These are generic IEEE 802.11 defines and do not really need to be in the driver interface specific header file.
* HT: Remove unneeded struct ht_cap_ie wrapperJouni Malinen2009-11-291-6/+0
| | | | | It is simpler to just use the HT Capabilities IE payload structure as-is.
* Remove unused/unneeded IEEE 802.11n definitionsJouni Malinen2009-11-291-120/+17
|
* Rename HT Capabilities IE fields to match with IEEE Std 802.11n-2009Jouni Malinen2009-11-291-8/+8
|
* Move definitions away from hostapd_defs.hJouni Malinen2009-11-231-0/+19
| | | | | Clean up definitions to reduce need to include header files from the hostapd directory into files under the src subdirectories.
* nl80211: Use defines for cipher suite selectorsZhu Yi2009-09-031-0/+13
|
* Drop unprotected Robust Action frames from MFP STAsJouni Malinen2009-05-081-0/+2
| | | | | These frames are delivered through mac80211 monitor interface, so we need to filter them out in hostapd.
* Update SA Query transaction id length based on IEEE 802.11w/D8.0Jouni Malinen2009-05-061-2/+2
| | | | | IEEE 802.11w/D8.0 changed the length of the SA Query transaction identifier from 16 to 2 octets.
* FT: Fix status code values to match with IEEE 802.11r-2007Jouni Malinen2009-03-091-4/+3
| | | | | It looks like couple of status code values were changed during the 802.11r draft process and these were not updated in source code yet.
* FT: Add RIC Request processing and RIC Response generationJouni Malinen2009-03-091-0/+4
| | | | | | | | | | hostapd will now go through the RIC Request and process each RDIE. Only WMM TSPEC requests are currently supported; all other request descriptors will be declined. RIC Response is written by hostapd and verified by wpa_supplicant (MIC validation). wpa_supplicant does not yet have code to notify the driver about the resource request results.
* WMM-AC: Fix hostapd processing of ADDTS Request and add test codeJouni Malinen2009-03-061-0/+85
| | | | | | | | | | | Calculate the estimated medium time using integer variables since there is no real need to use floating point arithmetics here. In addition, make sure there is no division by zero regardless of how invalid the request from the station is. Reject invalid parameters and refuse requests that would take most of the bandwidth by themselves. Add test code into wpa_supplicant mlme.c to allow WMM-AC negotiation to be tested with driver_test.
* WMM cleanup (WME -> WMM rename, comments, etc.)Jouni Malinen2009-03-041-19/+23
| | | | | | | This updates the terminogy to match with the final WMM specification. In addition, some of the WMM TSPEC structure fields were in incorrect order and used without byte order swapping. Those are also taken care of this cleanup patch.
* Fixed MFP Association Comeback mechanism to use Timeout Interval IEJouni Malinen2009-01-191-1/+5
| | | | | | | The separate Association Comeback Time IE was removed from IEEE 802.11w and the Timeout Interval IE (from IEEE 802.11r) is used instead. The editing on this is still somewhat incomplete in IEEE 802.11w/D7.0, but still, the use of Timeout Interval IE is the expected mechanism.
* MFP: Fix SA Query Action CategoryJouni Malinen2008-12-311-1/+1
| | | | | | | IEEE 802.11w/D7.0 incorrectly changed the Action Category from 8 to 7 when renaming Ping to SA Query. Category 7 is reserved for HT (IEEE 802.11n) and IEEE 802.11w will need to continue to use the category 8 that was allocated for it.
* Renamed Ping procedure into SA Query procedure per 802.11w/D7.0Jouni Malinen2008-12-261-9/+9
| | | | | | This commit changes just the name and Action category per D7.0. The retransmit/timeout processing in the AP is not yet updated with the changes in D7.0.