History

nl80211: add OCE scan and capability flags

Add Optimized Connectivity Experience (OCE) scan and capability flags. Some of them unique to OCE and some are stand alone. And add scan flags to enable/disable them.

Roee Zamir committed 9 years ago

Commit 2d23d071 parent ffa46292 files · +111 −63Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+33−4
@@ -4914,6 +4914,15 @@ enum nl80211_feature_flags { · 4913 unmodified lines
4914 * handshake with 802.1X in station mode (will pass EAP frames to the host4914 * handshake with 802.1X in station mode (will pass EAP frames to the host
4915 * and accept the set_pmk/del_pmk commands), doing it in the host might not4915 * and accept the set_pmk/del_pmk commands), doing it in the host might not
4916 * be supported.4916 * be supported.
4917 * @NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME: Driver is capable of overriding
4918 * the max channel attribute in the FILS request params IE with the
4919 * actual dwell time.
4920 * @NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP: Driver accepts broadcast probe
4921 * response
4922 * @NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE: Driver supports sending
4923 * the first probe request in each channel at rate of at least 5.5Mbps.
4924 * @NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: Driver supports
4925 * probe request tx deferral and suppression
4917 *4926 *
4918 * @NUM_NL80211_EXT_FEATURES: number of extended features.4927 * @NUM_NL80211_EXT_FEATURES: number of extended features.
4919 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.4928 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
@@ -4936,6 +4945,10 @@ enum nl80211_ext_feature_index { · 16 unmodified lines
4936 NL80211_EXT_FEATURE_FILS_SK_OFFLOAD,4945 NL80211_EXT_FEATURE_FILS_SK_OFFLOAD,
4937 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK,4946 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK,
4938 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X,4947 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X,
4948 NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME,
4949 NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP,
4950 NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE,
4951 NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION,
4939 4952
4940 /* add new features before the definition below */4953 /* add new features before the definition below */
4941 NUM_NL80211_EXT_FEATURES,4954 NUM_NL80211_EXT_FEATURES,
@@ -5012,12 +5025,28 @@ enum nl80211_timeout_reason { · 70 unmodified lines
5012 * locally administered 1, multicast 0) is assumed.5025 * locally administered 1, multicast 0) is assumed.
5013 * This flag must not be requested when the feature isn't supported, check5026 * This flag must not be requested when the feature isn't supported, check
5014 * the nl80211 feature flags for the device.5027 * the nl80211 feature flags for the device.
5028 * @NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME: fill the dwell time in the FILS
5029 * request parameters IE in the probe request
5030 * @NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP: accept broadcast probe responses
5031 * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE: send probe request frames at
5032 * rate of at least 5.5M. In case non OCE AP is dicovered in the channel,
5033 * only the first probe req in the channel will be sent in high rate.
5034 * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: allow probe request
5035 * tx deferral (dot11FILSProbeDelay shall be set to 15ms)
5036 * and suppression (if it has received a broadcast Probe Response frame,
5037 * Beacon frame or FILS Discovery frame from an AP that the STA considers
5038 * a suitable candidate for (re-)association - suitable in terms of
5039 * SSID and/or RSSI
5015 */5040 */
5016enum nl80211_scan_flags {5041enum nl80211_scan_flags {
5017 NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0,5042 NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0,
5018 NL80211_SCAN_FLAG_FLUSH = 1<<1,5043 NL80211_SCAN_FLAG_FLUSH = 1<<1,
5019 NL80211_SCAN_FLAG_AP = 1<<2,5044 NL80211_SCAN_FLAG_AP = 1<<2,
5020 NL80211_SCAN_FLAG_RANDOM_ADDR = 1<<3,5045 NL80211_SCAN_FLAG_RANDOM_ADDR = 1<<3,
5046 NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 1<<4,
5047 NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 1<<5,
5048 NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 1<<6,
5049 NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 1<<7,
5021};5050};
5022 5051
5023/**5052/**